Leonardo de Moura
a9578513ea
fix(library/type_context): use copy_tag when create auxiliary meta-variables
2016-09-19 13:59:08 -07:00
Leonardo de Moura
2153661642
fix(frontends/lean/parser): missing position information
2016-09-19 13:37:22 -07:00
Leonardo de Moura
1cf5419757
chore(tests/lean/run): move tests to new elaborator
2016-09-19 11:43:59 -07:00
Leonardo de Moura
e4553e0446
fix(library/type_context): bug in occurs check
2016-09-19 11:40:00 -07:00
Leonardo de Moura
0a6f571f07
fix(library/tactic/simplifier/simplifier): assertion
2016-09-19 11:29:03 -07:00
Leonardo de Moura
10f4a22fff
fix(frontends/lean/elaborator): try to synthesize pending type class instances before processing eliminator/recursor
2016-09-19 11:14:49 -07:00
Leonardo de Moura
fab357dd94
chore(tests/lean/run): move tests to new elaborator
2016-09-19 11:04:14 -07:00
Leonardo de Moura
564bcaab94
chore(library/init): cleanup using anonymous constructor
2016-09-19 10:31:43 -07:00
Leonardo de Moura
6bfecdf00c
chore(tests/lean/run): move tests to new elaborator
2016-09-18 19:10:48 -07:00
Leonardo de Moura
677d3d4cf9
fix(frontends/lean/elaborator): ignore annotations around function when deciding which kind of elaborator strategy should be used
2016-09-18 19:10:13 -07:00
Leonardo de Moura
c81f283068
chore(tests/lean/run): move tests to new elaborator
2016-09-18 18:38:41 -07:00
Leonardo de Moura
9d9f2b2636
fix(library/equations_compiler/structural_rec): bug at check_arg_type
2016-09-18 18:36:20 -07:00
Leonardo de Moura
4ba9644bd7
chore(library/rfl_lemmas): comment assertion
...
TODO: investigate why we have added it.
2016-09-18 18:20:18 -07:00
Leonardo de Moura
4e0e812811
fix(frontends/lean/builtin_exprs): patterns in do-notation
2016-09-18 18:19:51 -07:00
Leonardo de Moura
bc31e43317
chore(tests/lean/run): delete old tests
2016-09-18 18:19:04 -07:00
Leonardo de Moura
ba974cc1d6
refactor(library/init/state): fix stateT at universe 1
2016-09-18 17:48:37 -07:00
Leonardo de Moura
5df705ebe8
fix(library/equations_compiler/compiler): nested match-exprs in meta_definitions
2016-09-18 17:20:52 -07:00
Leonardo de Moura
98da86eac0
chore(tests/lean/run): move tests to new elaborator
2016-09-18 17:13:13 -07:00
Leonardo de Moura
51845d1622
fix(frontends/lean/parser): support as_atomic exprs at to_pattern_fn
2016-09-18 16:55:59 -07:00
Leonardo de Moura
194d1be0dd
fix(library/equations_compiler/structural_rec): reflexive type support
2016-09-18 16:15:31 -07:00
Leonardo de Moura
06df5fef1d
chore(tests/lean/run): make sure tests work with new elaborator
2016-09-18 14:48:47 -07:00
Leonardo de Moura
b524e3d5f1
fix(frontends/lean/elaborator): postprocess rec_fn_macros used in meta_definitions
2016-09-18 13:01:50 -07:00
Leonardo de Moura
6657876566
feat(library/equations_compiler): add support for meta_definitions
2016-09-18 10:52:38 -07:00
Leonardo de Moura
5b747d75b1
refactor(library/init): make sure we don't use Type* in the stdlib
2016-09-18 10:37:18 -07:00
Leonardo de Moura
382928f0fa
fix(library/init/logic): typo
2016-09-18 10:05:55 -07:00
Leonardo de Moura
ac87de33e7
fix(frontends/lean/structure_cmd): universe level validation in the structure command
2016-09-18 10:00:31 -07:00
Leonardo de Moura
4c15c9833d
fix(frontends/lean/elaborator): use_elim_elab_core
2016-09-17 20:04:14 -07:00
Leonardo de Moura
75d5087d43
fix(library/type_context): using incorrect local_context at revert
2016-09-17 19:44:38 -07:00
Leonardo de Moura
14db9259f8
refactor(library/init): universe polymorphic monad library
2016-09-17 18:58:27 -07:00
Leonardo de Moura
adcfd89623
feat(library/type_context): remove normalize
2016-09-17 18:29:11 -07:00
Leonardo de Moura
90bfd84a07
feat(frontends/lean): Type is now (Type 1)
...
In the standard library, we should use explicit universe variables for
universe polymorphic definitions.
Users that want to declare universe polymorphic definitions but do not
want to provide universe level parameters should use
Type _
or
Type*
2016-09-17 14:30:54 -07:00
Leonardo de Moura
928d567a3f
chore(tests/lean): providing universes
2016-09-17 12:54:20 -07:00
Leonardo de Moura
29b35ef12d
chore(tests/lean/hott): delete old HoTT tests
2016-09-17 12:26:11 -07:00
Leonardo de Moura
5e8f2add84
refactor(library/init): use universe variables
2016-09-17 12:25:02 -07:00
Leonardo de Moura
3bc71dd847
refactor(library/init/quot): use new elaborator
2016-09-17 11:31:03 -07:00
Leonardo de Moura
9013dacd03
fix(frontends/lean/decl_util): bug at collect_implicit_locals
2016-09-16 22:35:33 -07:00
Leonardo de Moura
f8df2cd44f
fix(frontends/lean/decl_util): section variables/parameters
2016-09-16 15:32:51 -07:00
Daniel Selsam
52f87760d8
feat(src/library/inductive_compiler): support for nested inductive types
2016-09-16 12:50:59 -07:00
Leonardo de Moura
9e37a8d665
refactor(library/init/fin): use new elaborator
2016-09-16 12:50:52 -07:00
Leonardo de Moura
a53abd5d65
fix(library/type_context): branch is reachable
2016-09-16 09:04:59 -07:00
Leonardo de Moura
63be1418f7
refactor(library/init): move files to new elaborator
2016-09-16 08:31:21 -07:00
Leonardo de Moura
7fb407d2fd
fix(library/equations_compiler/structural_rec): typo
2016-09-16 07:56:28 -07:00
Leonardo de Moura
80e8315959
refactor(library/init): move files to new elaborator
2016-09-16 07:48:09 -07:00
Leonardo de Moura
9b996f14c2
fix(library/type_context): normalize assignment
2016-09-16 07:42:23 -07:00
Leonardo de Moura
c9e925dfb8
refactor(library/init/classical): use new elaborator
2016-09-15 18:48:15 -07:00
Leonardo de Moura
9c8b7be225
chore(frontends/lean/elaborator): improve error message
2016-09-15 18:47:32 -07:00
Leonardo de Moura
194985f335
fix(frontends/lean/decl_util): bug when creating local ref
2016-09-15 18:47:02 -07:00
Leonardo de Moura
af0f8bcd29
fix(library/explicit): annotation name
2016-09-15 17:57:01 -07:00
Leonardo de Moura
80ddb0e706
feat(frontends/lean/elaborator): use type class resolution for _ arguments even when @ (or @@) is used
2016-09-15 17:29:38 -07:00
Leonardo de Moura
25714d71a2
refactor(frontends/lean/elaborator): rename visit_default_app since it is not the "default" elaboration strategy anymore
2016-09-15 17:14:01 -07:00