Leonardo de Moura
6577cc87a3
feat(library): add pre_monad
...
closes #1235
2016-12-08 12:48:55 -08:00
Daniel Selsam
f952dbc78e
fix(init/meta/expr.lean): is_app_of can return true for constants as well
2016-12-08 11:23:53 -08:00
Leonardo de Moura
b9de2fda0c
chore(library/init/algebra/order): remove unnecessary *.refl lemmas
2016-12-08 07:32:25 -08:00
Leonardo de Moura
023f216cab
chore(init/algebra/order): use new attribute syntax
2016-12-08 07:22:58 -08:00
Jeremy Avigad
281903edee
refactor(library/init/data/nat/lemmas): better name for self_lt_succ
2016-12-08 07:20:39 -08:00
Jeremy Avigad
16b239cbff
feat(library/init/algebra/order): add refl and trans attribute and dot notation
2016-12-08 07:20:22 -08:00
Jeremy Avigad
9c6605c992
refator(library/init/data/set): make implicit argument in subset weak
2016-12-08 07:20:12 -08:00
Jeremy Avigad
814da88858
refactor(library/init/data/nat/basic,lemmas): alternative name, and rename le.elim to le.dest
2016-12-08 07:20:02 -08:00
Jeremy Avigad
acb58e8a87
feat(library/init/algebra/group,ring): alternative names for calculation lemmas
2016-12-08 07:19:41 -08:00
Jeremy Avigad
da6dfa6fdd
feat(library/init/logic): alternative theorem names, and make some arguments explicit
2016-12-08 07:19:38 -08:00
Jared Roesch
e65d90ac79
feat(*): C++ code generator
...
in progress move of Lean.native to init
2016-12-05 16:11:41 -08:00
Leonardo de Moura
5d1716a983
refactor(library/data): delete init/data/instances.lean
2016-12-02 16:41:16 -08:00
Leonardo de Moura
e4285bf684
refactor(library/init): list classes => instances
2016-12-02 16:29:15 -08:00
Leonardo de Moura
46cb2dfd02
refactor(library/init): move instances.lean => init.data
2016-12-02 16:25:27 -08:00
Leonardo de Moura
ed97ab486f
refactor(library/init): timeit, trace ==> util
2016-12-02 16:19:15 -08:00
Leonardo de Moura
e423588463
refactor(library/init): merge some files
2016-12-02 16:13:45 -08:00
Leonardo de Moura
d96fed26b0
refactor(library/init): move propext to its own file
2016-12-02 16:04:39 -08:00
Leonardo de Moura
fb38b6e016
refactor(library/init): move combinator logic to core
2016-12-02 15:56:52 -08:00
Leonardo de Moura
00f5a807af
refactor(library/init): create init.category folder
2016-12-02 15:52:49 -08:00
Leonardo de Moura
e11fd8820a
refactor(library/init): create init.data folder
2016-12-02 14:23:06 -08:00
Leonardo de Moura
af6ee4ad9d
refactor(library/init): move algebra to its own folder
2016-12-02 11:24:43 -08:00
Gabriel Ebner
7ff2a77d67
feat(library/vm/vm_task): expose task_result objects to VM
2016-11-29 11:12:43 -08:00
Gabriel Ebner
a8df381d20
feat(*): parallel compilation
2016-11-29 11:12:40 -08:00
Leonardo de Moura
94c882f4d5
feat(library/documentation, frontends/lean): add /-! -/ doc string module block
2016-11-27 12:23:53 -08:00
Leonardo de Moura
6978906a78
chore(frontends/lean): remove namespace documentation
...
We will add module level doc strings /-! -/
2016-11-27 11:57:03 -08:00
Leonardo de Moura
5daf1986e7
feat(library/init/nat): add nat.zero = zero (rfl) lemma
2016-11-26 10:54:28 -08:00
Leonardo de Moura
abc84452bc
fix(library/init/group): add group lemmas and use transport
2016-11-26 10:46:02 -08:00
Leonardo de Moura
338a46c225
fix(library/documentation): do not store doc strings for namespaces and declarations in the same name_map
2016-11-26 09:41:07 -08:00
Leonardo de Moura
ef34ab0148
feat(library/init): add lemmas for norm_num
2016-11-25 19:11:07 -08:00
Leonardo de Moura
4a31d541c9
feat(library/init/ring): add comm_ring, integral_domain
2016-11-25 18:53:03 -08:00
Leonardo de Moura
e9f8f9e5d7
refactor(library/nat): rename nat.le to nat.less_than
...
Motivation: avoid overload when we use `open nat`.
Unfortunately, we currently do not allow users to mark inductive datatype
declarations as protected.
2016-11-25 18:53:03 -08:00
Leonardo de Moura
efa760fc74
feat(library/init/nat_lemmas): add extra instances for short circuiting type class resolution
2016-11-25 18:53:03 -08:00
Leonardo de Moura
97dd2f34d5
feat(library,frontends/lean): add basic doc string support
2016-11-25 18:52:56 -08:00
Leonardo de Moura
4d36effe85
feat(library/init/ordered_ring): add linear_ordered_ring
2016-11-24 14:34:49 -08:00
Leonardo de Moura
baed136148
feat(library/init/ordered_ring): add ordered_ring -> ordered_semiring instance
2016-11-24 14:30:28 -08:00
Leonardo de Moura
2135d49957
feat(library/init/ordered_group): add more aux lemmas
2016-11-24 14:23:00 -08:00
Leonardo de Moura
25639f0b72
feat(library/init/meta): add 'pose' tactic
2016-11-24 13:48:16 -08:00
Leonardo de Moura
50f350f832
feat(library/init/ring): add ring -> semiring instance
2016-11-24 12:27:50 -08:00
Leonardo de Moura
0554fd5997
fix(frontends/lean): name resolution at tactic execution time
...
This commit also adds a new tactic: tactic.resolve_name
closes #1201
2016-11-24 10:55:39 -08:00
Leonardo de Moura
a4f491a3ad
feat(library/init/meta/interactive): add rename tactic to interactive mode
2016-11-24 09:54:55 -08:00
Leonardo de Moura
3b09865684
feat(library/init/meta/simp_tactic): add tactics for validating simp lemmas
2016-11-23 17:43:55 -08:00
Leonardo de Moura
21bad7cb97
feat(library/init/meta/comp_value_tactics): add support for char/string/fin at comp_val tactic
2016-11-23 13:19:54 -08:00
Leonardo de Moura
98fbe76f30
feat(library/comp_val): add mk_string_val_ne_proof
2016-11-23 13:19:24 -08:00
Leonardo de Moura
01bc4dfcd2
feat(library/init/meta/tactic): add dec_trivial notation
2016-11-23 11:42:57 -08:00
Leonardo de Moura
6f0d8cb258
refactor(library/init/string): do not mark string as reducible
2016-11-23 11:28:20 -08:00
Leonardo de Moura
11ef0b14fd
feat(library/data): add decidable_eq instances for bitvec and tuple
2016-11-23 11:09:24 -08:00
Leonardo de Moura
0d2d595c31
chore(library/init): remove unnecessary space
2016-11-23 10:53:19 -08:00
Leonardo de Moura
680bab8bb8
feat(library/comp_val): add mk_fin_val_ne_proof and mk_char_val_ne_proof
2016-11-23 10:25:04 -08:00
Leonardo de Moura
edaf03ae98
feat(library/init): add more lemmas and define ordered_ring
2016-11-22 20:50:21 -08:00
Leonardo de Moura
8966146a3d
fix(library/init): list of authors
2016-11-22 19:03:16 -08:00