Commit graph

5183 commits

Author SHA1 Message Date
Sebastian Ullrich
b1d9e37d66 test: add re-elaborating delaborator PoC to playground 2020-03-19 17:18:46 -07:00
Sebastian Ullrich
7f09973d43 feat: basic delaborator 2020-03-19 17:17:34 -07:00
Sebastian Ullrich
ed14375dad feat: sort and deduplicate "expected" tokens in parser error messages 2020-03-19 17:17:08 -07:00
Leonardo de Moura
eaaaaabc60 feat: allow Lean.Parser.Term.id to be used in binders
cc @Kha
2020-03-18 20:54:08 -07:00
Leonardo de Moura
2954f6ad3e feat: add MetaHasEval instance for TermElabM
cc @Kha
2020-03-18 20:09:14 -07:00
Leonardo de Moura
5d35b2c419 test: decide! tests 2020-03-18 16:48:28 -07:00
Leonardo de Moura
736925bbce feat: allow decide! and nativeDecide! take _ as an argument
We use the expected type in this case.
2020-03-18 16:00:06 -07:00
Leonardo de Moura
c8b51b0fb3 feat: elab decide! 2020-03-18 15:48:22 -07:00
Leonardo de Moura
5b350d52ee feat: elaborate nativeDecide! 2020-03-18 15:39:23 -07:00
Leonardo de Moura
bfe7d1ffe8 chore: add kernel WHNF test 2020-03-18 11:07:24 -07:00
Leonardo de Moura
6f62986368 feat: add isDefEqStringLit 2020-03-18 11:05:44 -07:00
Leonardo de Moura
cee478dc94 feat: MetaM support for expanding String literal at recursors 2020-03-18 10:29:52 -07:00
Leonardo de Moura
b4942fcd30 feat: add ToExpr instances 2020-03-18 10:22:24 -07:00
Leonardo de Moura
72ec0ec3ad feat: string literal support on recursors and kernel isDefEq 2020-03-17 17:23:33 -07:00
Leonardo de Moura
78b5e714c5 test: add rfl tests 2020-03-17 16:18:18 -07:00
Leonardo de Moura
3df7f35dd0 test: kernel isDefEq support for Nat operations 2020-03-17 13:38:06 -07:00
Leonardo de Moura
7a82318d37 fix: to_pattern_fn bug 2020-03-17 12:58:08 -07:00
Leonardo de Moura
97b8d8551d feat: elaborate nativeRefl! macro 2020-03-16 16:21:51 -07:00
Leonardo de Moura
acee5719af test: proofs by reflection 2020-03-16 14:33:30 -07:00
Leonardo de Moura
b69c851a5a feat: add Expr.foldConsts 2020-03-16 14:33:30 -07:00
Leonardo de Moura
596a547e57 feat: add helper theorems 2020-03-16 11:17:41 -07:00
Leonardo de Moura
fba18edfa3 feat: add support for Lean.reduceNat and Lean.reduceBool at MetaM isDefEq 2020-03-16 10:58:14 -07:00
Leonardo de Moura
87f8ae99eb test: reduceBool test 2020-03-14 15:07:14 -07:00
Sebastian Ullrich
e30717a85a fix: interpreter::call_boxed on unboxed constants 2020-03-14 15:04:38 -07:00
Leonardo de Moura
2d7ec0b49c fix: bug at unsafe umapMAux implementation
closes #125
2020-03-14 13:41:14 -07:00
Leonardo de Moura
2e6fac2853 feat: add support for reduceBool and reduceNat in the kernel type_checker 2020-03-14 12:13:22 -07:00
Leonardo de Moura
52e2655915 feat: add Kernel.isDefEq 2020-03-14 09:16:46 -07:00
Leonardo de Moura
abf27d843e feat: synthPending implementation 2020-03-13 13:52:00 -07:00
Leonardo de Moura
174771cdb3 fix: nat lit support 2020-03-13 06:54:33 -07:00
Sebastian Ullrich
10f161353e chore: remove leanpkg script 2020-03-11 14:53:24 +01:00
Leonardo de Moura
629f14384a test: add dependent elimination tests 2020-03-09 15:12:07 -07:00
Leonardo de Moura
1eb03c85f3 test: add injection tests 2020-03-08 18:27:50 -07:00
Leonardo de Moura
d24acdde46 test: injection tactic tests 2020-03-08 17:45:58 -07:00
Leonardo de Moura
354bc450e6 feat: elaborate let! 2020-03-08 16:02:00 -07:00
Leonardo de Moura
5770edbffd feat: workaround for the constant approximation issue
@Kha It seems to cover all the scenarios we discussed earlier today.
2020-03-06 16:47:02 -08:00
Leonardo de Moura
88a62f9f7e fix: #121 in the old frontend
This is temporary hack. We will delete this module in the near future.
2020-03-06 13:43:19 -08:00
Leonardo de Moura
8db309a079 feat: remove hack
We can't solve
```
```
anymore, but the hack was unstable. For example, it is weird that the
one above could be solved, but the following failed.
```
```
The difference is that the types in the first example were atomic
`Unit` and `Bool`, but not in the second.
2020-03-06 13:43:19 -08:00
Leonardo de Moura
062a95aa58 test: repro for #121 2020-03-06 13:43:19 -08:00
Leonardo de Moura
35000ff4cd feat: add mkNoConfusion 2020-03-05 18:44:33 -08:00
Leonardo de Moura
52a6d92c50 test: new tests 2020-03-05 18:44:33 -08:00
Leonardo de Moura
5bdc54d344 test: unifier 2020-03-05 18:44:33 -08:00
Sebastian Ullrich
c7e85e3cec chore: update cross benchmark setup 2020-03-05 17:43:24 +01:00
Leonardo de Moura
dfa392fa17 feat: add generalizeIndices
Helper tactic for `cases`
2020-03-04 16:27:01 -08:00
Leonardo de Moura
a799bcd76a chore: rename test 2020-02-28 10:53:41 -08:00
Leonardo de Moura
090b1e664d feat: rename maxSharing => shareCommon 2020-02-28 10:53:41 -08:00
Sebastian Ullrich
25cdfa8c37 chore: lower const_fold inputs again to prevent stack overflow in sanitized build 2020-02-28 13:23:39 +01:00
Sebastian Ullrich
84b53a316c chore: cumulative interpreter benchmark 2020-02-28 10:51:23 +01:00
Sebastian Ullrich
e2facc3507 chore: adjust "small" bench/ inputs to be reasonable for interpreter
The "big" benchmarking inputs are stored in speedcenter.exec.yaml
2020-02-28 10:04:13 +01:00
Sebastian Ullrich
80603a256d chore: fix benchmark once more
Github Actions' `sh` doesn't seem to like `echo -e`
2020-02-28 09:28:41 +01:00
Sebastian Ullrich
6a19f54344 chore: fix benchmark... 2020-02-27 19:55:15 +01:00