Sebastian Ullrich
|
d1b5031dbd
|
feat(library): add some spacing hints
|
2015-09-30 17:36:32 -07:00 |
|
Leonardo de Moura
|
40ef589d8c
|
fix(library/data/finset,library/data/list): fixes #799
Make sure standard library - theories folder can be compiled with --to_axiom
|
2015-08-15 09:49:40 -07:00 |
|
Leonardo de Moura
|
de3d0e4162
|
feat(library/data/list/comb): show that (list A) is isomorphic to A if A is isomorphic to nat
|
2015-08-10 16:04:02 -07:00 |
|
Leonardo de Moura
|
56e2e0c0a5
|
feat(library/data/encodable): show that (finset A) is encodable when A is encodable
|
2015-08-10 07:47:00 -07:00 |
|
Leonardo de Moura
|
70bd95d931
|
feat(library/data/list): show that (sort R l1 = sort R l2) when R is a decidable total order and l1 is a permutation of l2
|
2015-08-09 23:36:08 -07:00 |
|
Leonardo de Moura
|
2a22c75e52
|
feat(library/data/list/sort): prove that (sort R l) is strongly_sorted
|
2015-08-09 23:36:07 -07:00 |
|
Leonardo de Moura
|
276771e6ca
|
feat(library/data/list/sort): add sort for lists
TODO: prove the result is sorted, prove that l1 ~ l2 -> sort R l1 = sort R l2
|
2015-08-09 14:23:09 -07:00 |
|
Leonardo de Moura
|
b4828283fa
|
feat(library/data/list/sorted): add locally_sorted, sorted and strongly_sorted predicates for lists
|
2015-08-09 10:28:41 -07:00 |
|
Leonardo de Moura
|
811bae5566
|
feat(library/data/vec): expand vec
|
2015-07-30 23:17:01 -07:00 |
|
Leonardo de Moura
|
0a29581b0e
|
feat(library/data/vec): add more theorems to vec (vectors as subtypes)
|
2015-07-30 18:09:10 -07:00 |
|
Jeremy Avigad
|
9cd7db3fea
|
fix(library/data/list/perm): fix typo in theorem names
|
2015-07-25 14:02:44 -04:00 |
|
Leonardo de Moura
|
8be82d7405
|
feat(data/list): add count for lists
|
2015-07-24 23:44:11 -07:00 |
|
Mario Carneiro
|
066b0fcdf9
|
feat(library): clean up "sorry"s in library
Breaking changes: pnat was redefined to use subtype instead of a custom inductive type, which affects the notation for pnat 2 and 3
|
2015-07-24 12:21:33 -04:00 |
|
Leonardo de Moura
|
18dd7c13f9
|
feat(frontends/lean): add '[congr]' attribute
|
2015-07-22 17:21:47 -07:00 |
|
Leonardo de Moura
|
092c8d05b9
|
feat(frontends/lean,library): rename '[rewrite]' to '[simp]'
|
2015-07-22 09:01:42 -07:00 |
|
Leonardo de Moura
|
ff425b66e7
|
feat(library/data/list): test type notation in the standard library
|
2015-07-20 22:00:05 -07:00 |
|
Leonardo de Moura
|
10e5b182b5
|
refactor(library/data): use "suppose"-expressions to cleanup proofs
|
2015-07-20 19:45:54 -07:00 |
|
Leonardo de Moura
|
6936d71030
|
feat(library/data/list/basic): add 'firstn' definition and theorems
|
2015-07-19 20:15:40 -07:00 |
|
Leonardo de Moura
|
73f665dce3
|
refactor(library/data/list/perm): use anonymous 'suppose' and 'have' expressions
|
2015-07-19 12:35:12 -07:00 |
|
Leonardo de Moura
|
812ddf1ef5
|
feat(frontends/lean): add 'suppose'-expression
It is a variant of 'assume' that allow anonymous declarations.
|
2015-07-19 12:15:12 -07:00 |
|
Leonardo de Moura
|
92f8eb173b
|
feat(frontends/lean): use 'this' as the name for anonymous 'have'-expression
|
2015-07-18 13:36:05 -05:00 |
|
Leonardo de Moura
|
ade60278d0
|
refactor(library): rename iff.mp' to iff.mpr
|
2015-07-18 08:52:58 -05:00 |
|
Leonardo de Moura
|
16f50d9aea
|
feat(library/data/list/basic): add list.is_inhabited
|
2015-07-17 06:52:43 -04:00 |
|
Haitao Zhang
|
9ba350098f
|
feat(library/data): add a few convenience lemmas
|
2015-07-15 17:44:37 -07:00 |
|
Haitao Zhang
|
721d3781ca
|
feat(library/data/list/basic): add a lemma length_pos_of_mem
|
2015-07-15 14:49:53 -04:00 |
|
Haitao Zhang
|
fae8176363
|
feat(library/data/list/comb): add map theorems
|
2015-07-13 22:02:17 -04:00 |
|
Leonardo de Moura
|
ebe6ec0017
|
feat(library): add '[rewrite]' annotation some some theorems
|
2015-07-13 16:39:53 -04:00 |
|
Leonardo de Moura
|
9f7c4aac69
|
feat(library): add helper lemmas for equivalent types
|
2015-07-06 12:17:57 -07:00 |
|
Leonardo de Moura
|
77d5657813
|
refactor(library/algebra/function): move function.lean to init folder
Motivation: this file defines basic things such as function composition.
In the HoTT library, it is located in the init folder.
|
2015-07-06 07:29:56 -07:00 |
|
Floris van Doorn
|
124c9d3d8a
|
feat(hott): various cleanup and fixes, rename \~ to ~, expand types.pointed
|
2015-06-25 22:31:40 -04:00 |
|
Leonardo de Moura
|
8967f57818
|
refactor(library/data/list): reduce reliance on definitional equality
|
2015-06-24 15:58:19 -07:00 |
|
Jeremy Avigad
|
a4a8253f50
|
refactor(library,hott,tests): rename succ_inj to succ.inj, add abbreviation eq_of_succ_eq_succ
|
2015-06-15 22:52:38 +10:00 |
|
Haitao Zhang
|
ef4b4d19ce
|
feat(library/data/list/basic): add cons related equalities
|
2015-06-14 16:59:56 -07:00 |
|
Haitao Zhang
|
798b240149
|
fix(library/data/list/comb): adjust dmap related names to comply with convention
|
2015-06-14 16:59:56 -07:00 |
|
Haitao Zhang
|
6105263222
|
feat(library/data/list/comb): add theorem on dmap and adjust names
|
2015-06-11 15:29:52 -07:00 |
|
Leonardo de Moura
|
1c5c79fbc1
|
refactor(library/data/list/perm): use improved 'obtain' to cleanup proof
|
2015-06-08 11:58:21 -07:00 |
|
Jeremy Avigad
|
f475408f4c
|
feat(library/data/list/*): add theorems from Haitao Zhang and clean up
|
2015-06-05 09:32:00 -07:00 |
|
Floris van Doorn
|
7f5caab694
|
feat(nat): redefine le and lt in the standard library
|
2015-06-04 20:14:13 -04:00 |
|
Leonardo de Moura
|
63f61a35f4
|
feat(library/data/list/set): cleanup nodup_map proof
|
2015-06-04 15:21:40 -07:00 |
|
Leonardo de Moura
|
9a7cff0e89
|
feat(library/data/list/comb): add length_product theorem
|
2015-06-04 15:11:09 -07:00 |
|
Jeremy Avigad
|
df69bb4cfc
|
feat(library/*): add theorems from Haitao on sets and functions, clean up
|
2015-06-04 11:55:25 -07:00 |
|
Leonardo de Moura
|
7a39d5aaa3
|
feat(library/data): add auxiliary definitions
|
2015-06-02 22:08:25 -07:00 |
|
Leonardo de Moura
|
5da4922397
|
feat(library/data/list/perm): cleanup proofs
refl and symm were refering to the setoid.refl and setoid.symm.
Moreover, they were producing harder elaboration problems
|
2015-05-27 12:30:56 -07:00 |
|
Leonardo de Moura
|
6db08c5519
|
test(library): test new tactics in the standard library
|
2015-05-25 16:48:33 -07:00 |
|
Leonardo de Moura
|
7e875c8d85
|
refactor(library): simplify theorems using improved tactics
|
2015-05-25 10:43:28 -07:00 |
|
Leonardo de Moura
|
3181471024
|
feat(library/data/list/basic): add nth_eq_some aux theorem
|
2015-05-24 10:10:23 -07:00 |
|
Jeremy Avigad
|
8bebd104ff
|
refactor(library/*): remove 'Module:' lines
|
2015-05-23 20:52:23 +10:00 |
|
Jeremy Avigad
|
59c1801921
|
refactor(library/data/{list,set,finset}/basic.lean): make subset reserved notation
|
2015-05-23 12:34:07 +10:00 |
|
Leonardo de Moura
|
19361f0196
|
feat(library/unifier): do not fire type class resolution as last resort when type contains metavariables
see discussion at #604
|
2015-05-18 15:45:23 -07:00 |
|
Jeremy Avigad
|
eae047bd31
|
refactor,feat(library/{data,algebra}): move bigops to algebra, define sums
|
2015-05-16 18:42:13 +10:00 |
|