lean4-htt/library
Mario Carneiro cc9de4af58 feat(init/meta/interactive): cases with equality
This is the equivalent of the `ginduction` tactic for cases, but rolled into the same syntax as `cases` itself. `cases h : term` is the syntax, and it will introduce a hypothesis `h : term = C a b...` demonstrating that the original term is equal to the current case.

I considered the possibility of calling `injection` on the generated equalities, but it's useless in the casaes when the equality carries some real information (such as `f x = C1 a`), and when the input term is a local constant, `injection` will do subst, which will undo the effect of the `cases`. If the input term is a constructor, then `injection` would do something interesting, but you would never want to call `cases` in this case because the constructor is already exposed.
2017-09-05 14:31:52 -07:00
..
data refactor(library): move lazy_list back to core library 2017-08-16 14:08:46 -07:00
init feat(init/meta/interactive): cases with equality 2017-09-05 14:31:52 -07:00
smt chore(library/init/meta): add to_unfold parameter to simplify, and remove redundant simp* tactics 2017-07-02 15:26:06 -07:00
system refactor(library): add has_to_string back (but it produces unquoted values) 2017-06-18 18:30:10 -07:00
tools/debugger feat(init/meta/derive): implement [derive] attribute 2017-09-05 23:14:34 +02:00
leanpkg.path feat(leanpkg): add package manager 2017-05-01 14:11:38 -07:00
library.md chore(library/library.md): update documentation 2017-08-16 14:17:26 -07:00