Leonardo de Moura
|
b8f665e561
|
feat(frontends/lean): elaborate recursive equations
Remark: we are not compiling them yet.
|
2014-12-10 22:25:40 -08:00 |
|
Leonardo de Moura
|
bf875d5778
|
feat(library/definitional/equations): add support for inaccessible patterns
|
2014-12-10 12:35:08 -08:00 |
|
Leonardo de Moura
|
d98aabe9ab
|
refactor(library): move library/definitional/util module to library
|
2014-12-10 11:23:23 -08:00 |
|
Leonardo de Moura
|
58432d0968
|
feat(library/definitional): add no_confusion construction that is compatible with the HoTT library
|
2014-12-08 22:11:48 -08:00 |
|
Leonardo de Moura
|
2bb51554d5
|
feat(library/definitional/util): add telescope equality for HoTT library
This is needed for implementing no_confusion for HoTT.
We can't use heterogeneous equality in HoTT.
|
2014-12-07 18:35:55 -08:00 |
|
Leonardo de Moura
|
6736f58548
|
refactor(library/definitional/util): cleanup
|
2014-12-07 16:41:28 -08:00 |
|
Leonardo de Moura
|
c8d8e7ac93
|
chore(library/definitional/equations): fix style
|
2014-12-04 16:00:33 -08:00 |
|
Leonardo de Moura
|
e267b2d120
|
feat(library/definitional/equations): add support for serializing equations
|
2014-12-04 15:11:18 -08:00 |
|
Leonardo de Moura
|
1d401ad862
|
feat(library/definitional): add "datastructure" for storing recursive equations
|
2014-12-04 12:39:59 -08:00 |
|
Leonardo de Moura
|
fca97d5bb2
|
feat(library/definitional): add brec_on construction, closes #272
|
2014-12-03 10:39:32 -08:00 |
|
Leonardo de Moura
|
f948241bb9
|
feat(library/definitional): add auxiliary functions
|
2014-12-03 10:28:55 -08:00 |
|
Leonardo de Moura
|
6640fbf11b
|
feat(library/definitional/brec_on): simplify universe level constraints for non-reflexive recursive datatypes
|
2014-12-01 17:11:06 -08:00 |
|
Leonardo de Moura
|
df51ba8b7c
|
feat(library/definitional/projection): use strict implicit inference, closes #344
|
2014-11-25 18:04:06 -08:00 |
|
Leonardo de Moura
|
ef75cac1c0
|
feat(kernel/expr): change the rules for inferring implicit arguments, closes #344
|
2014-11-25 12:54:07 -08:00 |
|
Leonardo de Moura
|
6bc89f0916
|
feat(library/definitional): define ibelow and below
These are helper definitions for brec_on and binduction_on
|
2014-11-12 16:38:46 -08:00 |
|
Leonardo de Moura
|
b07b82cf43
|
fix(library/definitional): marking cases_on and rec_on as reducible
The idea is to avoid counter-intuitive behavior
|
2014-11-12 15:03:30 -08:00 |
|
Leonardo de Moura
|
858538a329
|
refactor(library/definitional): add new to_telescope procedure, and remove code duplication in no_confusion.cpp
|
2014-11-12 13:31:31 -08:00 |
|
Leonardo de Moura
|
b4c37d180b
|
refactor(library/definitional): add some helper functions
|
2014-11-12 12:24:22 -08:00 |
|
Leonardo de Moura
|
e2bfe6ee36
|
refactor(library/definitional/no_confusion): cleanup API
|
2014-11-11 16:12:44 -08:00 |
|
Leonardo de Moura
|
f6889951c6
|
fix(library/definitional/cases_on): bug in inductive datatypes with higher-order recursion
|
2014-11-11 15:14:08 -08:00 |
|
Leonardo de Moura
|
902a551048
|
feat(definitional/brec_on): add 'mk_below' skeleton
|
2014-11-11 14:55:21 -08:00 |
|
Leonardo de Moura
|
5fbf9ee964
|
refactor(library/definitional/util): remove code duplication
|
2014-11-11 13:53:41 -08:00 |
|
Leonardo de Moura
|
1079d6b320
|
refactor(library/definitional): combine auxiliary functions used by definitional package in a single module
|
2014-11-11 13:46:36 -08:00 |
|
Leonardo de Moura
|
b4be96c980
|
feat(library/definitional/util): add is_inductive_predicate auxiliary predicate
|
2014-11-11 13:32:56 -08:00 |
|
Leonardo de Moura
|
4fd1ee7619
|
feat(library/definitional/util): add is_recursive_datatype auxiliary function
|
2014-11-11 12:26:26 -08:00 |
|
Leonardo de Moura
|
363d4a7577
|
fix(library/definitional/no_confusion): assertion violation
|
2014-11-10 10:32:03 -08:00 |
|
Leonardo de Moura
|
e8bc0f8249
|
feat(library/defitional): add no_confusion construction for inductive datatypes that are not propositions
|
2014-11-08 18:56:52 -08:00 |
|
Leonardo de Moura
|
b5da143fc0
|
feat(library/defitional): add no_confusion_type construction for inductive datatypes that are not propositions
|
2014-11-08 15:20:19 -08:00 |
|
Leonardo de Moura
|
edd94c00df
|
fix(library/definitional): add missing files
|
2014-11-03 18:36:25 -08:00 |
|
Leonardo de Moura
|
c306bfa83c
|
feat(frontends/lean/structure_cmd): add 'eta' theorem for structures
|
2014-11-03 18:33:44 -08:00 |
|
Leonardo de Moura
|
aaad9a3c43
|
feat(library/definitional/projection): add option for marking main premise as instance implicit (i.e., [] binder decorator)
|
2014-10-31 19:01:32 -07:00 |
|
Leonardo de Moura
|
88d55bfef0
|
fix(library/definitional/projection): remove redundant 'error in'
|
2014-10-29 16:51:06 -07:00 |
|
Leonardo de Moura
|
30571ce418
|
fix(library/definitional/projection): error messages for projection generation
|
2014-10-29 13:39:17 -07:00 |
|
Leonardo de Moura
|
fe4ea48381
|
feat(library/definitional/projection): add projection generator, closes #257
|
2014-10-29 13:13:05 -07:00 |
|
Leonardo de Moura
|
c7f6a6b94e
|
feat(library/definitional/cases_on): automatically add 'cases_on'
|
2014-10-25 17:22:02 -07:00 |
|
Leonardo de Moura
|
c751bdd9e6
|
chore(library/definitional): remove dead code
|
2014-10-25 15:11:48 -07:00 |
|
Leonardo de Moura
|
fa1bf40d0f
|
fix(library/definitional): make sure argument is an inductive datatype
|
2014-10-25 15:09:24 -07:00 |
|
Leonardo de Moura
|
cdcde661ef
|
feat(library/definitional/induction_on): automatically add 'induction_on'
|
2014-10-25 13:37:04 -07:00 |
|
Leonardo de Moura
|
a7a06ab0f8
|
feat(library/definitional/rec_on): automatically generate rec_on function for inductive datatypes
|
2014-10-25 13:08:59 -07:00 |
|