Leonardo de Moura
2f4340f63c
feat: refine refine tactic
...
Now `refine stx` reports an error when there are natural unassigned
metavariables after we elaborate syntax `stx`. The idea is that only
synthetic holes `?<hole-name>` become new goals.
The tactic `refine! stx` implements the Lean3 behavior.
2020-08-30 16:14:38 -07:00
Leonardo de Moura
b74741b741
chore: "begin ... end" ==> "by { ... }"
...
cc @Kha
2020-08-30 14:01:27 -07:00
Leonardo de Moura
360cebf680
fix: induction tactic must check expected major premise type
...
`whnfUntil` now returns `Option Expr`.
2020-04-09 11:18:02 -07:00
Leonardo de Moura
9a5bed0f94
fix: missing ! at whnfUntil
2020-04-09 10:49:20 -07:00
Leonardo de Moura
7a5fcfae8b
feat: add [recursor] attribute to Iff.elim
2020-04-09 10:45:27 -07:00
Leonardo de Moura
40336131bb
feat: do not switch to term mode in the RHS of induction and cases tactics
2020-04-08 17:45:06 -07:00
Leonardo de Moura
52a6d92c50
test: new tests
2020-03-05 18:44:33 -08:00
Leonardo de Moura
2be69f1d56
test: add new induction tactic tests
2020-02-23 19:30:33 -08:00