Leonardo de Moura
49c5c5c08a
fix: horrible error message due to constApprox := true
...
The new test `typeMismatch.lean` contains two examples where the error
message was dreadful.
2020-09-29 07:54:48 -07:00
Leonardo de Moura
36bfe7b266
feat: add assertAfter tactic
2020-09-17 19:25:53 -07:00
Leonardo de Moura
4ebf1356d7
feat: add MetavarContext.findUserName?
2020-09-16 10:14:59 -07:00
Leonardo de Moura
d00dc1988a
fix: isWellFormed
2020-09-16 10:14:47 -07:00
Leonardo de Moura
d6a3e22992
chore: add auxiliary function
2020-09-13 13:13:34 -07:00
Leonardo de Moura
ac6fd1382d
fix: collectDeps issue
2020-09-13 09:47:00 -07:00
Leonardo de Moura
b2f932c4dc
feat: lift let rec expressions nested in a mutual block
2020-09-04 15:40:58 -07:00
Leonardo de Moura
238c38fed9
feat: preserve nonDep flag at LocalDecl.ldecl
2020-09-03 09:08:59 -07:00
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
5e582823ec
feat: add MonadLCtx and MonadMCtx helper classes
2020-08-28 16:48:42 -07:00
Leonardo de Moura
81d2754cd2
chore: add headBeta to avoid unnecessary applications introduced by metavariable management
2020-07-24 16:05:05 -07:00
Leonardo de Moura
9dc5ca66e2
chore: use headBeta on type
2020-07-24 15:34:19 -07:00
Leonardo de Moura
fe5a0026cd
fix: levelMVarToParam consider Expr assignment
2020-07-22 14:01:32 -07:00
Leonardo de Moura
10fec63568
fix: missing resulting mctx
2020-07-14 16:50:08 -07:00
Leonardo de Moura
1612097788
chore: move HashMap and HashSet to Std
2020-06-25 12:46:56 -07:00
Leonardo de Moura
1be221a1f4
chore: move PersistentHashMap and PersistentHashSet to Std
2020-06-25 11:56:00 -07:00
Leonardo de Moura
249bda16c0
chore: remove prelude commands from Lean package
2020-06-25 11:21:17 -07:00
Leonardo de Moura
4ccc3fef52
chore: move Init.Lean files to Lean package
2020-05-26 15:04:35 -07:00