Leonardo de Moura
|
677e0aeef6
|
fix(frontends/lean/structure_cmd): accept ': Type' when universe levels are not specified
|
2014-11-05 12:02:52 -08:00 |
|
Leonardo de Moura
|
d6dc624ca8
|
fix(frontends/lean/structure_cmd): error parsing structure without parameters followed by ': Type'
|
2014-11-05 12:02:52 -08:00 |
|
Leonardo de Moura
|
5b87d060cf
|
fix(frontends/lean/structure_cmd): universe level validation
|
2014-11-04 22:19:23 -08:00 |
|
Leonardo de Moura
|
60eac0195d
|
feat(frontends/lean/structure_cmd): generate projection over constructor theorems for structures
|
2014-11-04 09:10:25 -08:00 |
|
Leonardo de Moura
|
b6722a5d33
|
feat(frontends/lean/structure_cmd): add 'private' modifier for parent structures
When it is used coercions/instances to parent structure are to registered
|
2014-11-03 23:16:49 -08:00 |
|
Leonardo de Moura
|
b24165dc7b
|
feat(frontends/lean/structure_cmd): remove 'cases_on' for structures since it may confuse users, add 'destruct' as alternative name for 'rec_on'
|
2014-11-03 23:06:33 -08:00 |
|
Leonardo de Moura
|
7897e21a14
|
feat(frontends/lean/structure_cmd): allow fields to be suppresed, but constructor to be provided
|
2014-11-03 22:55:51 -08:00 |
|
Leonardo de Moura
|
08b4ce2db9
|
feat(frontends/lean/structure_cmd): use 'mk' as constructor name when it is not provided
|
2014-11-03 22:40:08 -08:00 |
|
Leonardo de Moura
|
8f3139231b
|
feat(frontends/lean/structure_cmd): allow structure declarations that contains only a header
|
2014-11-03 22:17:43 -08:00 |
|
Leonardo de Moura
|
91749d2364
|
fix(frontends/lean/structure_cmd): modify coercion generation
The previous coercion was more efficient, but the computation was
getting stuck when processing algebraic structures
|
2014-11-03 19:37:11 -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
|
186d910d0b
|
feat(frontends/lean/structure_cmd): mark coercion to parents as coercions and instances (when both structures as classes)
|
2014-11-03 17:55:59 -08:00 |
|
Leonardo de Moura
|
9531203d9d
|
feat(frontends/lean/structure_cmd): mark structure as 'class' when [class] modifier is used
|
2014-11-03 17:47:08 -08:00 |
|
Leonardo de Moura
|
b112f3c582
|
feat(frontends/lean/structure_cmd): add coercions to parent structures
|
2014-11-03 17:39:52 -08:00 |
|
Leonardo de Moura
|
7afa69577e
|
feat(frontends/lean/structure_cmd): add aliases for structure decls
|
2014-11-03 15:50:41 -08:00 |
|
Leonardo de Moura
|
594e3ea8fc
|
fix(frontends/lean/structure_cmd): 'rec' must be marked as protected
|
2014-11-03 14:50:12 -08:00 |
|
Leonardo de Moura
|
5872c93eaf
|
feat(frontends/lean/structure_cmd): add structure_cmd core
|
2014-11-03 14:14:40 -08:00 |
|
Leonardo de Moura
|
158682219f
|
feat(frontends/lean): allow parameters only in contexts
|
2014-10-11 17:13:56 -07:00 |
|
Leonardo de Moura
|
33ad41b93e
|
refactor(frontends/lean): adjust function names to reflect how parameters/variables behave
|
2014-10-11 15:33:31 -07:00 |
|
Leonardo de Moura
|
bf081ed431
|
refactor(kernel): rename var_decl to constant_assumption
Motivation: it matches the notation used to declare it.
|
2014-10-02 17:55:34 -07:00 |
|
Leonardo de Moura
|
358074ae3d
|
refactor(kernel/record): remove kernel extension for records, we will
implement it outside of the kernel on top of the inductive datatypes
|
2014-09-24 10:12:28 -07:00 |
|
Leonardo de Moura
|
da481c3274
|
refactor(kernel): explicit initialization/finalization
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-24 10:12:28 -07:00 |
|
Leonardo de Moura
|
29d6bff785
|
refactor(frontends/lean): explicit initialization/finalization
|
2014-09-23 10:00:36 -07:00 |
|
Leonardo de Moura
|
08ccd58eb6
|
feat(frontends/lean): add 'reducible' modifier for controlling which
definitions are unfolded during elaboration
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-19 15:54:32 -07:00 |
|
Leonardo de Moura
|
2f699fa53a
|
feat(*): make sections 'permanent', and add 'transient' contexts, closes #88
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 15:45:15 -07:00 |
|
Leonardo de Moura
|
9588336c15
|
refactor(kernel/type_checker): remove "global" constraint buffer from type_checker, and use constraint_seq instead
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
4cf3d32e0c
|
chore(*): create alias for std::pair
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
33c77afc29
|
feat(frontends/lean/structure): add 'structure' command skeleton
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-28 19:59:38 -07:00 |
|