Zulip Chat Archive

Stream: general

Topic: old vs new structure cmd: docs


Johan Commelin (Jan 23 2020 at 11:46):

Is there any documentation of old vs new structure cmd that one can link to?

Johan Commelin (Jan 23 2020 at 11:46):

I couldn't find the difference explained in TPIL.

Sebastian Ullrich (Jan 23 2020 at 12:21):

Do you know about https://github.com/leanprover/lean/wiki/Refactoring-structures? Not completely up to date though.

Johan Commelin (Jan 23 2020 at 14:07):

@Sebastian Ullrich I think I've seen it before. But thanks.

Johan Commelin (Jan 23 2020 at 14:08):

Otoh, that's not really what I had in mind. I would like an explanation that shows how structures work in Lean 3. Written for people that don't know Lean. (You may assume the reader knows type theory.)

Kevin Buzzard (Jan 23 2020 at 14:32):

All I know is that old_structure_cmd should really be called other_structure_cmd (it's not deprecated, just historically an older idea)


Last updated: Dec 20 2023 at 11:08 UTC