Commit graph

3238 commits

Author SHA1 Message Date
Leonardo de Moura
bbf21b4e65 feat(frontends/lean/begin_end_block): auto-quote identifiers 2016-09-25 17:25:21 -07:00
Leonardo de Moura
8b132c758a feat(frontends/lean/begin_end_block): add basic auto-quotation 2016-09-25 17:03:12 -07:00
Leonardo de Moura
c11bcdc2fd fix(library/type_context): incorrect context being used when tracing type classes resolution 2016-09-25 13:32:24 -07:00
Leonardo de Moura
6a49b2e18b chore(library/vm,library/tactic): fix warnings produced by the new clang++ 2016-09-25 11:14:28 -07:00
Leonardo de Moura
97261fcc48 feat(frontends/lean): add very basic 'begin ... end' block support 2016-09-24 21:27:27 -07:00
Leonardo de Moura
9ee553945c feat(frontends/lean/brackets): set_of notation 2016-09-24 13:47:41 -07:00
Leonardo de Moura
148da46481 feat(frontends/lean): 'mutual' and 'meta' are now keywords 2016-09-24 10:44:40 -07:00
Leonardo de Moura
823357462e feat(library/equations_compiler/structural_rec): validation 2016-09-23 13:50:55 -07:00
Leonardo de Moura
f00e6c0a96 feat(frontends/lean): anonymous instances
The instance name is synthesized automatically.
2016-09-23 13:34:34 -07:00
Leonardo de Moura
f9eaab8130 feat(frontends/lean/definition_cmds): improve error minimization 2016-09-23 10:16:46 -07:00
Leonardo de Moura
9068dd9a88 chore(library/equations_compiler/equations): style 2016-09-23 10:05:18 -07:00
Leonardo de Moura
01f828a094 fix(library,frontends/lean): formatted_exception and elaborator_exception were missing main_expr when being cloned 2016-09-23 09:33:23 -07:00
Leonardo de Moura
c8e13cd391 feat(frontends/lean): minimize errors being reported 2016-09-23 09:20:31 -07:00
Leonardo de Moura
973bc5f1d6 feat(frontends/lean): add notation for 'sep' 2016-09-21 16:29:59 -07:00
Leonardo de Moura
c0ff9967af feat(frontends/lean): add basic notation for collections 2016-09-21 16:20:57 -07:00
Leonardo de Moura
5e5285ee67 refactor(library): rename pr1/pr2 ==> fst/snd 2016-09-21 09:48:39 -07:00
Leonardo de Moura
b2e1e920a9 chore(frontends/lean,library,linja): remove .ilean files 2016-09-20 08:43:45 -07:00
Leonardo de Moura
465f898882 chore(library): remove lean2 old type checker 2016-09-19 22:21:19 -07:00
Leonardo de Moura
89f62edaf0 refactor(library): reduce dependecies on old code, simplify normalize module 2016-09-19 22:12:34 -07:00
Leonardo de Moura
668be38bb2 chore(library): remove old_type_context 2016-09-19 21:34:27 -07:00
Leonardo de Moura
a1d36b6c4d chore(library): remove legacy_type_context 2016-09-19 21:31:21 -07:00
Leonardo de Moura
10b799c341 chore(library): remove more dead code 2016-09-19 21:26:33 -07:00
Leonardo de Moura
bbd10b99f7 chore(library): remove old type class resolution procedure 2016-09-19 21:22:02 -07:00
Leonardo de Moura
165e2d5b97 chore(*): fix compilation warnings 2016-09-19 17:36:28 -07:00
Leonardo de Moura
d2b400ac2c chore(library): remove old unifier 2016-09-19 17:18:47 -07:00
Leonardo de Moura
c66dbf202b chore(library/equations_compiler): remove old equation compiler 2016-09-19 17:13:30 -07:00
Gabriel Ebner
4dac796337 feat(library/local_context): make get_unused_name O(log(n)) 2016-09-19 16:38:03 -07:00
Gabriel Ebner
3ef9149902 feat(library/tactic/tactic_state): add get_unused_name 2016-09-19 16:38:03 -07:00
Gabriel Ebner
8d06a88840 feat(library/tactic/intro_tactic): use get_unused_name 2016-09-19 16:38:03 -07:00
Leonardo de Moura
9a967001be chore(library/equations_compiler/compiler): use exception until well_founded recursion support is implemented 2016-09-19 14:41:25 -07:00
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
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
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
5df705ebe8 fix(library/equations_compiler/compiler): nested match-exprs in meta_definitions 2016-09-18 17:20:52 -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
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
75d5087d43 fix(library/type_context): using incorrect local_context at revert 2016-09-17 19:44:38 -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
Daniel Selsam
52f87760d8 feat(src/library/inductive_compiler): support for nested inductive types 2016-09-16 12:50:59 -07:00
Leonardo de Moura
a53abd5d65 fix(library/type_context): branch is reachable 2016-09-16 09:04:59 -07:00
Leonardo de Moura
7fb407d2fd fix(library/equations_compiler/structural_rec): typo 2016-09-16 07:56:28 -07:00
Leonardo de Moura
9b996f14c2 fix(library/type_context): normalize assignment 2016-09-16 07:42:23 -07:00
Leonardo de Moura
af0f8bcd29 fix(library/explicit): annotation name 2016-09-15 17:57:01 -07:00
Leonardo de Moura
f8fbc95e29 fix(library/delayed_abstraction): nested delayed abstractions 2016-09-15 15:46:25 -07:00
Leonardo de Moura
13d1aff3d4 fix(library/type_context): revert method may modify the size of the input argument 2016-09-14 17:29:57 -07:00
Leonardo de Moura
78c77d8981 feat(library/type_context): support delayed_abstraction's at is_def_eq 2016-09-14 11:20:21 -07:00