Leonardo de Moura
89703ce669
feat(library/vm/vm_expr): expose replace
2016-10-01 09:23:40 -07:00
Leonardo de Moura
6644748d45
fix(library/vm/vm_declaration): is_theorem implies is_definition
2016-10-01 09:22:45 -07:00
Leonardo de Moura
c0022253a7
feat(frontends/lean/tactic_notation): allow lemmas to be removed
2016-09-30 19:53:51 -07:00
Leonardo de Moura
fd6dc8154a
feat(library/init/meta/interactive): add interactive tactics
2016-09-30 19:02:45 -07:00
Leonardo de Moura
23ce2b0587
feat(frontends/lean/tactic_notation, library/init/meta/interactive): add "interactive" versions of define/assert/definev/assertv/note tactics
2016-09-29 18:48:32 -07:00
Leonardo de Moura
572751c56e
feat(frontends/lean): force user to use meta keyword on meta inductive/structure/class
...
Before this commit, we were inferring whether an
inductive/structure/class were meta or not. This was bad since the user
had no clue whether the type was trusted (non meta) or not.
Moreover, users could get confused by this behavior and assume the
kernel was allowing trusted code to rely on untrusted one.
2016-09-29 17:56:35 -07:00
Leonardo de Moura
ceeebb7e40
feat(frontends/lean/elaborator): improve error messages for eliminators
2016-09-29 11:29:59 -07:00
Leonardo de Moura
018d73ce84
feat(library/tactic/rewrite_tactic): improve error message
2016-09-28 21:17:57 -07:00
Leonardo de Moura
4a5d881c50
feat(library/type_context): better error messages
2016-09-28 15:59:43 -07:00
Leonardo de Moura
92373bb749
feat(library/type_context): universe constraint postponement
2016-09-28 15:30:14 -07:00
Leonardo de Moura
0ab46c2506
chore(library/type_context): simplify
2016-09-28 11:33:15 -07:00
Leonardo de Moura
fa252019f6
chore(library/print): clang++ compilation warning
2016-09-28 09:11:37 -07:00
Leonardo de Moura
e5ba0d7733
chore(*): cleanup
2016-09-27 17:30:57 -07:00
Leonardo de Moura
d59410cc41
refactor(kernel): support only proof irrelevant mode
2016-09-27 17:18:52 -07:00
Leonardo de Moura
d0d75c0923
refactor(kernel): reduce number of configurations supported in the kernel
...
Now, eta and impredicativity are assumed to be always true.
Motivation: the rest of the system assumes eta.
Regarding impredicativity, we decided to support only the standard library.
2016-09-27 17:07:01 -07:00
Leonardo de Moura
9ef3ebbd5b
refactor(*): delete HoTT support
2016-09-27 16:33:39 -07:00
Leonardo de Moura
c6ec659bf5
feat(frontends/lean): improve 'begin...end' blocks
2016-09-27 13:34:11 -07:00
Leonardo de Moura
c6609543d0
chore(library/init): minor changes
2016-09-27 07:23:51 -07:00
Leonardo de Moura
8b110dec8d
fix(library/type_context): use scope_trace_env in trace msgs
2016-09-26 16:25:30 -07:00
Leonardo de Moura
ebe3b1047a
feat(library/vm/vm_exceptional): handle formatted_exception
2016-09-25 18:52:13 -07:00
Leonardo de Moura
3c71d7eda2
feat(frontends/lean,library/tactic/tactic_state): improve error localization
2016-09-25 18:40:41 -07:00
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