Commit graph

29 commits

Author SHA1 Message Date
Leonardo de Moura
3de7d6d5c3 fix: remove mvarTypeNotWellFormedInSmallerLCtx
We use `check` recursively instead of `isWellFormed`.

@kha This was the last bug for the repro
```
```
This example works now, but I am sure there are many other bugs.
2020-01-07 16:56:10 -08:00
Leonardo de Moura
69be2148d6 chore: remove buggy optimization 2020-01-07 16:29:59 -08:00
Leonardo de Moura
4b08b1eea3 fix: ?m t =?= ?n 2020-01-07 16:05:17 -08:00
Leonardo de Moura
d059b7be76 chore: add stuck trace message 2020-01-07 12:56:15 -08:00
Leonardo de Moura
c5c158e5b9 fix: isDefEqQuick 2019-12-19 11:10:58 -08:00
Leonardo de Moura
fadd453395 fix: avoid nontermination 2019-12-19 10:37:24 -08:00
Leonardo de Moura
40576ac3dd fix: missing ! 2019-12-19 10:27:49 -08:00
Leonardo de Moura
e922f8a46c feat: split synthetic into synthetic and syntheticOpaque 2019-12-16 17:06:45 -08:00
Leonardo de Moura
067dca5a65 chore: naming convention 2019-12-15 18:28:00 -08:00
Leonardo de Moura
e0510520ed chore: update TODOs 2019-12-15 18:12:45 -08:00
Leonardo de Moura
ac86983128 chore: naming convention 2019-12-15 07:40:32 -08:00
Leonardo de Moura
93d987461a chore: naming convention 2019-12-13 19:17:45 -08:00
Leonardo de Moura
119742e463 feat: make sure MetaM also implements new unifier approximation 2019-12-13 19:12:53 -08:00
Leonardo de Moura
afc50a801d feat: add lazy unfolding to field name resolution 2019-12-13 09:52:44 -08:00
Leonardo de Moura
523748f40a fix: bug at isDefEq 2019-12-12 14:28:04 -08:00
Leonardo de Moura
c3005671f5 chore: avoid ^do ... 2019-12-11 06:19:12 -08:00
Leonardo de Moura
1352619ee4 refactor: MonadTracer and helper functions
This commit adds
- `addContext : MessageData -> m MessageData` method. We need it to
  make sure we wrap the message with the current context. Before this
  commit I had to redefine `trace` for `MetaM`, `SynthM`, and
  `TermElabM`.
- polymorphic `traceM` method.
2019-12-08 09:05:15 -08:00
Leonardo de Moura
dd0b71938d feat: register Meta tracing options 2019-12-05 06:38:28 -08:00
Leonardo de Moura
1aa398415c fix: accidental variable shadowing 2019-12-03 14:38:59 -08:00
Leonardo de Moura
f85ac7b5dc feat: add isLevelDefEqStuck exception 2019-12-01 18:42:33 -08:00
Leonardo de Moura
99840f6212 chore: move abbreviation 2019-12-01 18:32:48 -08:00
Leonardo de Moura
f701683388 chore: add abbreviations MVarId and FVarId 2019-11-28 08:18:06 -08:00
Leonardo de Moura
f8fb195719 feat: cache local instances at metavariable declarations 2019-11-28 05:57:46 -08:00
Leonardo de Moura
e99f8a9d22 chore: naming convention
suffix `?` should only be used for functions/methods returning `Bool`.
2019-11-27 05:50:31 -08:00
Leonardo de Moura
856fb0c000 feat: use isProofQuick to implement isDefEqProofIrrel 2019-11-25 08:42:23 -08:00
Leonardo de Moura
ea2d971bd3 chore: add isDefEq abbreviation for isExprDefEq
Most tactic users will never use `isLevelDefEq`.
2019-11-22 11:54:06 -08:00
Leonardo de Moura
ad3f5b2490 feat: ensure trace messages at MetaM save Environment, MetavarContext, and LocalContext 2019-11-22 11:50:19 -08:00
Leonardo de Moura
b0ee140670 chore: trace messages 2019-11-22 11:18:48 -08:00
Leonardo de Moura
c445199747 chore: library/Init ==> src/Init
cc @Kha @dselsam @cipher1024
2019-11-22 06:06:05 -08:00
Renamed from library/Init/Lean/Meta/ExprDefEq.lean (Browse further)