leanprover / lean3

Lean Theorem Prover
http://leanprover.github.io/
Apache License 2.0
2.15k stars 217 forks source link

Add inductive no confusion #1994

Closed digama0 closed 5 years ago

digama0 commented 5 years ago

Adds the add_ginductive hook for producing nested/mutual inductive types, as well as regular inductive types with all the fancy features you normally get from the inductive command (by contrast to add_inductive which only gives you a really basic inductive with no lemmas that doesn't work with the equation compiler or induction tactic).

digama0 commented 5 years ago

wrong repo...