Leonardo de Moura
|
cb925a3a3c
|
fix: return some at simpCnstrPos? if arith expr was normalized, but not simplified
Example: converted `<`, `>`, or `>=` into `<=`.
|
2022-03-16 16:36:39 -07:00 |
|
Leonardo de Moura
|
9b9ed6db68
|
feat: add simp_all_arith macro
|
2022-03-16 16:17:45 -07:00 |
|
Leonardo de Moura
|
4ba5a9b041
|
fix: bug at KExprMap
|
2022-03-16 16:07:14 -07:00 |
|
Leonardo de Moura
|
09648521d1
|
chore: add Repr instances
|
2022-03-16 16:07:14 -07:00 |
|
Sebastian Ullrich
|
4fd520e902
|
feat: generalize inferred namespace notation to functions
|
2022-03-16 23:40:05 +01:00 |
|
Leonardo de Moura
|
68154a6c69
|
test: add Pos view
|
2022-03-16 10:08:43 -07:00 |
|
Leonardo de Moura
|
05a2778b0d
|
fix: ensure explicit pattern variables provided by the uses are indeed pattern variables
|
2022-03-16 07:50:29 -07:00 |
|
Leonardo de Moura
|
90c442da76
|
feat: add internal option for communicating to the delaborator that input term is a pattern
|
2022-03-16 07:50:29 -07:00 |
|
Sebastian Ullrich
|
a3c73f5df8
|
chore: remove orphan file
|
2022-03-16 10:25:18 +01:00 |
|
Leonardo de Moura
|
0a2d0bc3fd
|
chore: update stage0
|
2022-03-15 17:43:52 -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
|
d6de53a7aa
|
perf: custom splitAnd
|
2022-03-15 16:59:11 -07:00 |
|
Leonardo de Moura
|
b8a4f3a7a3
|
perf: quick filter for simpMatch when proving equation theorems
|
2022-03-15 15:53:29 -07:00 |
|
Leonardo de Moura
|
e44b36cab0
|
chore: cleanup optimization using Lean bitwise operators
|
2022-03-15 12:06:08 -07:00 |
|
Leonardo de Moura
|
49e33fdb23
|
chore: fix tests
|
2022-03-15 11:35:47 -07:00 |
|
Leonardo de Moura
|
e1ba83d902
|
chore: update stage0
|
2022-03-15 11:31:39 -07:00 |
|
Leonardo de Moura
|
d3e2dfb079
|
perf: optimize mkApp
|
2022-03-15 11:31:15 -07:00 |
|
Leonardo de Moura
|
9d73317d76
|
perf: faster Expr.data
|
2022-03-15 11:30:41 -07:00 |
|
Leonardo de Moura
|
d2dc38fdb6
|
perf: use HasConstCache to minimize the number of visited terms at Structural and WF
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2022-03-15 08:40:47 -07:00 |
|
Leonardo de Moura
|
5283007aa4
|
feat: add HasConstCache
|
2022-03-15 08:39:48 -07:00 |
|
Leonardo de Moura
|
3278d7bc2a
|
chore: update stage0
|
2022-03-15 07:16:17 -07:00 |
|
Leonardo de Moura
|
ca6453a0ab
|
perf: efficient unsigned hash(expr const & e)
|
2022-03-15 07:15:00 -07:00 |
|
Leonardo de Moura
|
eccd5c11c9
|
perf: removeUnusedEqnHypotheses
|
2022-03-15 06:53:43 -07:00 |
|
Leonardo de Moura
|
2b71bc84f3
|
perf: try injection before contradiction at mkSplitterProof
|
2022-03-15 05:37:10 -07:00 |
|
Leonardo de Moura
|
c3c0b8b8a2
|
chore: remove unnecessary code
|
2022-03-15 05:26:33 -07:00 |
|
Leonardo de Moura
|
aa68057c85
|
chore: more general type universes in example
|
2022-03-15 05:19:02 -07:00 |
|
Leonardo de Moura
|
7ee7ca30b8
|
fix: index out of bounds
|
2022-03-15 05:16:19 -07:00 |
|
Leonardo de Moura
|
4e261b15e5
|
fix: smart unfolding bug in over applications
|
2022-03-14 19:17:21 -07:00 |
|
Leonardo de Moura
|
eb7539ef77
|
fix: mkEqnTypes overapplied lhs in equational theorems
This issue was exposed by the "Dependent de Bruijn indices" from CPDT.
|
2022-03-14 17:42:21 -07:00 |
|
Leonardo de Moura
|
c6dae18787
|
chore: add helper theorems
|
2022-03-14 16:24:05 -07:00 |
|
Leonardo de Moura
|
40f608bfbd
|
chore: cleanup String.extract reference implementation
|
2022-03-14 16:23:13 -07:00 |
|
Leonardo de Moura
|
8e29747fe7
|
feat: add simp theorem (a : Nat) : (a ≤ 0) = (a = 0)
|
2022-03-14 15:43:42 -07:00 |
|
Leonardo de Moura
|
bbe6bd4e72
|
chore: simplify String.utf8ByteSize reference implementation
|
2022-03-14 15:42:58 -07:00 |
|
Leonardo de Moura
|
14ed473777
|
feat: mark Nat.zero_le as simp theorem
|
2022-03-14 15:19:52 -07:00 |
|
Leonardo de Moura
|
7fda1f47f8
|
test: add test for issue fixed in previous commit
|
2022-03-14 14:11:08 -07:00 |
|
Leonardo de Moura
|
86fc089e07
|
fix: tryAutoCongrTheorem? may still use dsimp for fixed arguments
Reviewed-by: Leonardo de Moura <leonardo@microsoft.com>
|
2022-03-14 14:04:28 -07:00 |
|
Leonardo de Moura
|
ef154ec0cf
|
test: add TreeNode example using for in notation
|
2022-03-14 11:52:54 -07:00 |
|
Leonardo de Moura
|
cab3217b05
|
feat: add forIn'_eq_forIn theorem for lists
|
2022-03-14 11:50:47 -07:00 |
|
Leonardo de Moura
|
2ac9cfb7b1
|
fix: eta expand partial applications of recursive function being defined
|
2022-03-14 10:05:33 -07:00 |
|
Leonardo de Moura
|
801552e1ac
|
chore: fix tests
|
2022-03-14 10:05:33 -07:00 |
|
Leonardo de Moura
|
9988faf8bd
|
fix: missing mkRecAppWithSyntax
|
2022-03-14 10:05:33 -07:00 |
|
Leonardo de Moura
|
02145f66cf
|
chore: fix typo
|
2022-03-14 10:05:33 -07:00 |
|
Sebastian Ullrich
|
147a5c2933
|
chore: prefer LEAN_SRC_PATH
|
2022-03-14 17:24:25 +01:00 |
|
Leonardo de Moura
|
d2cc5b4a83
|
chore: fix test
|
2022-03-13 15:53:21 -07:00 |
|
Leonardo de Moura
|
fa0964c07e
|
fix: preserve variable name at WF decreasing goals when function has only one non fixed argument
|
2022-03-13 13:20:07 -07:00 |
|
Leonardo de Moura
|
060be7e7ec
|
fix: :: is infix right
|
2022-03-13 09:25:56 -07:00 |
|
Leonardo de Moura
|
672a889c83
|
test: add hlist pattern match example
|
2022-03-13 09:15:55 -07:00 |
|
Leonardo de Moura
|
30c153aa76
|
chore: update stage0
|
2022-03-12 20:18:20 -08:00 |
|
Leonardo de Moura
|
bfe57a1cb0
|
chore: simplify definition
|
2022-03-12 20:16:45 -08:00 |
|
Leonardo de Moura
|
231120c118
|
chore: update RELEASES.md
|
2022-03-12 20:02:39 -08:00 |
|