lean4-htt/library
Leonardo de Moura e844a5be74 feat: simplify MetavarContext
Remove `AbstractMetavarContext` and `TmpMetavarContext`.
Disable `TypeUtil` until we decide this is the right design.

Using very simple approach:
- No distinction betwen temporary and regular metavariables.
- Metavariables have a `depth` Nat field.
- MetavarContext also has a `depth` field.
- We bump the `MetavarContext` depth when we create a nested problem.
  Example: Elaborator (depth = 0) -> Simplifier matcher (depth = 1) -> TC (level = 2) -> TC (level = 3) -> ...
- When MetavarContext is at depth N, isDefEq does not assign variables from depth < N.
- Metavariables from depth N+1 must be fully assigned before we return to level N.
- New design even allows us to invoke tactics from TC.

cc @dselsam
2019-11-05 18:44:33 -08:00
..
Init feat: simplify MetavarContext 2019-11-05 18:44:33 -08:00
library.md chore(library/library.md): update documentation 2017-08-16 14:17:26 -07:00
Makefile.in fix: file and import names, tests and stage0 2019-10-04 17:04:02 -07:00
relative.py chore: preparing for new naming convention 2019-10-04 14:22:23 -07:00