Leonardo de Moura
|
f9a90b9920
|
feat(frontends/lean): add 'export' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 18:37:01 -07:00 |
|
Leonardo de Moura
|
5e18e6609c
|
feat(frontends/lean): add 'as' clause to 'open' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 17:37:02 -07:00 |
|
Leonardo de Moura
|
e51c4ad2e9
|
feat(frontends/lean): rename 'using' command to 'open'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 16:00:38 -07:00 |
|
Leonardo de Moura
|
0f9478d91e
|
feat(frontends/lean): add 'class' command back
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-02 15:04:23 -07:00 |
|
Leonardo de Moura
|
8dec18018c
|
refactor(library/data/list): avoid placeholders '_', make first argument of false_elim implicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-01 19:44:04 -07:00 |
|
Jeremy Avigad
|
6ffd719c1a
|
refactor(library/logic): move identities from classical to identities
|
2014-08-29 22:28:22 -07:00 |
|
Leonardo de Moura
|
1e80a9dfe9
|
feat(frontends/lean): avoid exponential blowup when processing let-expressions with a lot of sharing, cleanup show-expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 16:27:52 -07:00 |
|
Leonardo de Moura
|
d536475e49
|
refactor(library): more implicit_args for: and_assoc, and_comm, or_assoc, or_comm, if_pos, if_neg
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 11:10:04 -07:00 |
|
Leonardo de Moura
|
6b7e79b62f
|
feat(library/data/nat): mark more arguments implicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 10:38:58 -07:00 |
|
Jeremy Avigad
|
00a049a667
|
refactor(library/logic): rename connectives -> core, basic -> connectives
|
2014-08-27 18:43:24 -07:00 |
|
Leonardo de Moura
|
2d78387541
|
refactor(library/logic/basic): rename absurd_elim to absurd, delete contrapos and trivial_not_true theorems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-27 18:34:09 -07:00 |
|
Leonardo de Moura
|
477b7b4811
|
fix(tests/lean/run/class_coe): adjust test to reflect library changes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-27 17:55:42 -07:00 |
|
Leonardo de Moura
|
a8d58fdd33
|
refactor(library): mark absurd_elim argument as implicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-26 18:27:39 -07:00 |
|
Leonardo de Moura
|
c11fd6b0d2
|
fix(tests/lean/run): adjust tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-25 21:39:46 -07:00 |
|
Leonardo de Moura
|
04d9eb17d1
|
feat(kernel/conveter): improve support for proof irrelevant in the converter
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-25 11:19:18 -07:00 |
|
Leonardo de Moura
|
42a8fb5965
|
chore(tests/lean/run/matrix): simplify same_dim_irrel proof
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-25 09:27:19 -07:00 |
|
Leonardo de Moura
|
60d5e87a66
|
test(tests/lean/run): add matrix test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-25 09:04:39 -07:00 |
|
Leonardo de Moura
|
cbc81ea6c5
|
chore(*): minimize dependencies on tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-24 19:58:48 -07:00 |
|
Leonardo de Moura
|
dbaf81e16d
|
refactor(library): remove unnecessary 'standard' subdirectory
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 18:08:09 -07:00 |
|
Jeremy Avigad
|
47a1c00a6d
|
refactor(library/standard): collect notation in general_notation
|
2014-08-23 17:53:02 -07:00 |
|
Leonardo de Moura
|
a5f0593df1
|
feat(*): change inductive datatype syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 15:46:10 -07:00 |
|
Leonardo de Moura
|
626cd952e7
|
test(tests/lean/run): add overload test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 15:23:33 -07:00 |
|
Leonardo de Moura
|
937c465685
|
fix(library/unifier): too much reduction
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 21:37:51 -07:00 |
|
Leonardo de Moura
|
6cf73b51e2
|
fix(library/unifier): bug in occurs_check, the dependency may be eliminated by reducing term
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 17:56:18 -07:00 |
|
Leonardo de Moura
|
725f5ba0a0
|
feat(frontends/lean): use 'begin-end' instead of 'proof-qed' for blocks of tactics, closes #81
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 16:58:25 -07:00 |
|
Jeremy Avigad
|
6264fb52d6
|
fix(lean/library/standard): fix tests, more cleanup
|
2014-08-20 18:04:31 -07:00 |
|
Leonardo de Moura
|
f5987b7bda
|
refactor(library/unifier): make it easier to add new options to the unifier
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 17:30:08 -07:00 |
|
Leonardo de Moura
|
b60c9d9ecc
|
test(tests/lean/run): add test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
f0d50e0d33
|
feat(frontends/lean): change the name resolution rules: when in a namespace N that defines C, then C always refers to N.C (i.e., it overrides any alias)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
08ae17650b
|
feat(frontends/lean): try overloaded notation and declarations in the order they were defined
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
919f02983e
|
feat(frontends/lean/elaborator): case-split on coercions that cannot be resolved by postponing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
4a96fefd96
|
fix(library/unifier): bug in unifier priority queue
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
1436212a34
|
fix(library/unifier): use depth-first search strategy for solving class-instance constraints
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-16 13:51:24 -07:00 |
|
Leonardo de Moura
|
670bfe24f5
|
chore(build): remove hott library directory, and move hott tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-15 13:30:56 -07:00 |
|
Leonardo de Moura
|
094459504b
|
fix(tests/lean/run): adjust test to changes in the library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-15 13:27:18 -07:00 |
|
Leonardo de Moura
|
60ab6d3bd8
|
feat(frontends/lean): remove feature that in declarations such as (A B : Type), forced A and B to be in the same universe
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
70c0eda9fc
|
feat(frontends/lean): make sure all scopes are closed in the end of the module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 17:08:59 -07:00 |
|
Leonardo de Moura
|
1a67e69678
|
feat(library/scoped_ext): force user to end a scope with an identifier matching the one used in beginning of scope, closes #30
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 16:59:08 -07:00 |
|
Leonardo de Moura
|
9e6c5695be
|
fix(library/unifier): make sure the imitation step is type correct, fix ensure_sufficient_args
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 16:09:45 -07:00 |
|
Leonardo de Moura
|
4ad7e709aa
|
feat(frontends/lean): default for inductive types, closes #32
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 07:52:37 -07:00 |
|
Leonardo de Moura
|
069f217215
|
fix(frontends/lean/elaborator): use full local context for metavariables due to coercions and overloads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 17:21:21 -07:00 |
|
Leonardo de Moura
|
d1924097d5
|
feat(library/match): add 'local' backtracking
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 10:09:00 -07:00 |
|
Leonardo de Moura
|
e6ffda0c51
|
feat(library/match): add basic match_plugin that just invokes whnf before failing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 08:37:03 -07:00 |
|
Leonardo de Moura
|
56d151ef7f
|
feat(frontends/lean): 'partial' aliases. closes #24
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 22:08:10 -07:00 |
|
Leonardo de Moura
|
938b4e8421
|
test(tests/lean/run): add unicode in identifiers test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 20:05:46 -07:00 |
|
Leonardo de Moura
|
fbc4a7af3b
|
feat(library/unifier): when unifier.expensive == true, then use only restrict higher-order unification (a fragment slightly more general than higher-order pattern matching) for solving class-instance constraints
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 14:30:25 -07:00 |
|
Leonardo de Moura
|
5e2185cfbe
|
feat(library/unifier): postpone as much as possible universe constraints of the form ?m1 =?= max(l1, l2) and ?m1 =?= imax(l1, l2) where ?m1 occurs in the right hand side. When there is nothing else to be done, try to solve them by reducing to ?m1 = l1 and ?m1 = l2.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 09:14:35 -07:00 |
|
Leonardo de Moura
|
3795d466c1
|
fix(frontends/lean/elaborator): provide type information for expressions using '@' operator, and strict function applications
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 20:57:24 -07:00 |
|
Leonardo de Moura
|
4cb8fb20fe
|
fix(frontends/lean/elaborator): bug when mixing string and non-strict implict arguments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 10:58:20 -07:00 |
|
Leonardo de Moura
|
8e6324185a
|
fix(tests/lean): adjust tests to new library structure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 09:37:23 -07:00 |
|