Commit graph

26011 commits

Author SHA1 Message Date
Leonardo de Moura
4184165573 feat: enable foApprox and ctxApprox during type class instance synthesis 2019-12-13 19:24:00 -08:00
Leonardo de Moura
93d987461a chore: naming convention 2019-12-13 19:17:45 -08:00
Leonardo de Moura
119742e463 feat: make sure MetaM also implements new unifier approximation 2019-12-13 19:12:53 -08:00
Leonardo de Moura
cac78d7e88 test: add new test 2019-12-13 18:27:23 -08:00
Leonardo de Moura
6f52385c3a chore: update stage0 2019-12-13 18:27:12 -08:00
Leonardo de Moura
8feb40e9f7 fix: add new approximation flag
During TC, we don't want it. It allows us to find "solutions" that
trigger nontermination.
2019-12-13 18:15:47 -08:00
Leonardo de Moura
6ee5aa5276 chore: disable test
@Kha I will try to figure out why it is broken later.
2019-12-13 17:54:40 -08:00
Leonardo de Moura
15c8b14aad fix: is_def_eq approximation 2019-12-13 10:29:30 -08:00
Leonardo de Moura
afc50a801d feat: add lazy unfolding to field name resolution 2019-12-13 09:52:44 -08:00
Leonardo de Moura
1b701dae2f feat: add resolveField 2019-12-13 09:41:06 -08:00
Leonardo de Moura
be50f24d64 chore: cleanup 2019-12-12 15:41:02 -08:00
Leonardo de Moura
b279db4374 chore: ns ==> currNamespace 2019-12-12 15:27:36 -08:00
Leonardo de Moura
b25117a159 chore: update stage0 2019-12-12 15:27:27 -08:00
Leonardo de Moura
41f4476ca8 feat: add synthetic sorry 2019-12-12 15:18:38 -08:00
Leonardo de Moura
523748f40a fix: bug at isDefEq 2019-12-12 14:28:04 -08:00
Leonardo de Moura
c595eead5c feat: simplify exception handling 2019-12-12 14:00:39 -08:00
Leonardo de Moura
3974fee87c chore: update stage0 2019-12-12 09:00:02 -08:00
Leonardo de Moura
a124461dca chore: rename projection function major field to self
This is useful for projection function for classes + named arguments.
2019-12-12 08:55:55 -08:00
Leonardo de Moura
d18e8d95b9 feat: add isStructure 2019-12-12 08:48:49 -08:00
Leonardo de Moura
fc375b56bc test: Structure.lean 2019-12-12 08:28:57 -08:00
Leonardo de Moura
40304df1af feat: add helper functions for accessing structures 2019-12-12 08:19:59 -08:00
Leonardo de Moura
9caf3b2878 chore: add instances 2019-12-12 08:19:38 -08:00
Leonardo de Moura
ad62992373 feat: add appendBefore 2019-12-12 08:19:13 -08:00
Leonardo de Moura
820016e09a chore: remove dead code 2019-12-12 07:58:55 -08:00
Leonardo de Moura
a30ffce32d feat: handle Lean.Parser.Term.proj kind 2019-12-12 06:29:25 -08:00
Leonardo de Moura
8165abb125 chore: naming convention 2019-12-12 06:29:13 -08:00
Leonardo de Moura
36648ebe69 fix: DiscrTree.getKeyArgs 2019-12-12 05:04:31 -08:00
Leonardo de Moura
d6b4b96ab8 test: HasBeq Nat instance 2019-12-11 18:09:23 -08:00
Leonardo de Moura
34332ecaa9 fix: forallBoundedTelescope 2019-12-11 18:08:41 -08:00
Leonardo de Moura
4b285a48dc fix: forallMetaTelescopeReducing 2019-12-11 18:03:11 -08:00
Leonardo de Moura
77bf2a60e1 fix: lambdaMetaTelescope 2019-12-11 17:50:34 -08:00
Leonardo de Moura
2ae62fd3e8 test: instances generated by class command 2019-12-11 17:22:55 -08:00
Leonardo de Moura
acccfdfbd5 chore: update stage0 2019-12-11 17:20:43 -08:00
Leonardo de Moura
b773bb9ceb fix: make sure instances created by class command are stored in the new DiscrTree 2019-12-11 17:16:12 -08:00
Leonardo de Moura
cb8dacf76a feat: elaborate missing notation 2019-12-11 16:41:41 -08:00
Leonardo de Moura
8f21f6a062 chore: update stage0 2019-12-11 16:27:18 -08:00
Leonardo de Moura
e7d818fe61 chore: add workaround for attribute parsing infrastructure 2019-12-11 16:26:34 -08:00
Leonardo de Moura
8fd70ee882 feat: add builtin notation 2019-12-11 16:22:23 -08:00
Leonardo de Moura
6cd7d568d3 chore: HasModn ==> HasModN 2019-12-11 15:36:58 -08:00
Leonardo de Moura
a119bdd8e4 feat: elaborate instance implicit arguments 2019-12-11 15:23:23 -08:00
Leonardo de Moura
becbc9e2eb feat: elaborate $ 2019-12-11 14:15:24 -08:00
Leonardo de Moura
ef82c327eb fix: List notation 2019-12-11 10:49:06 -08:00
Leonardo de Moura
18db026367 fix: elabAppArgsAux 2019-12-11 10:41:41 -08:00
Leonardo de Moura
524a34ba29 fix: List notation elaborator 2019-12-11 10:33:57 -08:00
Leonardo de Moura
8192828b9c fix: lean_expr_update_* functions 2019-12-11 10:15:21 -08:00
Leonardo de Moura
2f1d4d50e9 chore: update stage0 2019-12-11 09:54:04 -08:00
Leonardo de Moura
820f57880f chore: compilation warning 2019-12-11 09:53:28 -08:00
Sebastian Ullrich
203bf76ff4 chore: ignore stale .c file at update-stage0 2019-12-11 09:45:15 -08:00
Sebastian Ullrich
0c9f01ac18 fix: truly separate stage2/3 builds by copying all sources 2019-12-11 09:45:01 -08:00
Leonardo de Moura
a884280e24 feat: elaborate named arguments 2019-12-11 09:40:46 -08:00