Commit graph

5193 commits

Author SHA1 Message Date
Leonardo de Moura
d79cfa38e3 test: generalizeTelescope tests 2020-03-25 16:00:55 -07:00
Sebastian Ullrich
6ffe310c48 feat: delab coercions 2020-03-24 17:27:10 +01:00
Sebastian Ullrich
3c71c4f0ea chore: fix benchmark 2020-03-24 17:27:02 +01:00
Sebastian Ullrich
fdc03c9d74 feat: delab projections 2020-03-24 17:27:02 +01:00
Leonardo de Moura
2ca347fcd6 chore: fix test 2020-03-23 15:47:51 -07:00
Leonardo de Moura
dc80b76106 feat: add IO.FS.lines 2020-03-23 14:53:27 -07:00
Leonardo de Moura
41949ee801 refactor: String.toNat ==> String.toNat? and String.toNat! 2020-03-23 14:29:48 -07:00
Leonardo de Moura
94f016a3e8 fix: readLine and test 2020-03-23 14:06:17 -07:00
Leonardo de Moura
db914052ce fix: IO.getLine 2020-03-23 12:26:09 -07:00
Leonardo de Moura
4296e1d83e feat: add tests for Closure.lean 2020-03-20 18:32:04 -07:00
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