Sebastian Ullrich
e81ba951c6
fix: Core.transform API and uses
2022-08-25 19:07:42 -07:00
Gabriel Ebner
a8cab84735
refactor: use computed fields for Expr
2022-07-11 14:19:41 -07:00
E.W.Ayers
0707e4d442
fix: traverseChildrenWithPos bug
2022-06-17 17:47:51 -07:00
E.W.Ayers
0e84f67d99
feat: with pos expr traversal functions
2022-06-17 17:47:51 -07:00
E.W.Ayers
562070fe8b
refactor: more extract methods from transform
2022-06-17 17:47:51 -07:00
E.W.Ayers
8311c88fd0
refactor: extract methods from Lean.Meta.transform
...
Lean.Meta.transform is created with a series of recursive
visit functions. However these visit functions are useful
on their own outside of transform for traversing expressions.
This commit moves the visit functions outside the main function.
2022-06-17 17:47:51 -07:00
Leonardo de Moura
041827bed5
chore: unused variables
2022-06-07 17:54:10 -07:00
Wojciech Nawrocki
5b13a4909b
doc: fix transform docstring
2022-06-06 23:06:47 +02:00
Leonardo de Moura
704242f865
feat: zetaReduce should expand nested let-expressions too
2022-05-31 07:01:52 -07:00
Leonardo de Moura
d8aab852e8
feat: add usedLetOnly parameter to Meta.transform
2022-05-31 07:00:53 -07:00
Leonardo de Moura
3cf425ba52
fix: pattern hover information
...
We annotate patterns with the corresponding `Syntax` during
elaboration, and do not populate the info tree. Reason: the set of
pattern variables is not known during pattern elaboration.
2022-04-08 15:03:42 -07:00
Leonardo de Moura
0bd9de1cb9
perf: add InstantiateLevelCaches for types and values at CoreM
2022-03-15 17:42:38 -07:00
Leonardo de Moura
dbe9bf61c5
fix: unfold auxiliary theorems created by decreasing_tactic
2022-02-23 09:02:23 -08:00
Leonardo de Moura
8fbe7062fa
fix: preserve unused let-decls at Meta.transform
2022-02-09 10:13:52 -08:00
Leonardo de Moura
660c49840f
fix: another instance of the binder cache issue
...
See issue #439
2021-05-05 10:45:38 -07:00
zygi
65c0c787ef
fix: make Meta.transform use matching aux functions
...
visitForall should probably be used in forallE case, same for lambda
2021-01-17 10:04:33 +01:00
Leonardo de Moura
90428cc09b
feat: expand let-decls at decide!
2020-12-31 09:47:05 -08:00
Leonardo de Moura
f345c8c708
feat: add betaReduce
2020-12-13 15:49:22 -08:00
Leonardo de Moura
265b7571b4
chore: change checkCache type
2020-12-06 16:24:51 -08:00
Leonardo de Moura
0869f38de4
chore: update structure, class, inductive
2020-11-27 15:09:30 -08:00
Leonardo de Moura
f67c93191f
feat: use |>.
2020-11-19 08:38:47 -08:00
Leonardo de Moura
c305c2691f
chore: use :=
2020-11-19 07:22:31 -08:00
Leonardo de Moura
45cd9fe725
feat: add Core.transform
2020-11-18 18:47:22 -08:00
Leonardo de Moura
83deff4cde
feat: add transform
2020-11-18 18:47:22 -08:00