lean4-htt/library/init/data
Leonardo de Moura 7ac6b14d2a chore(library/init/data/int/basic): use abstract when transfering in an instance declaration
@johoelzl I'm using `abstract` tactic because instances are
automatically marked as [reducible], and they will be unfolded when
solving unification constraints. This cannot be avoided since we need to
solve unification constraints such as

      int.has_add =?= comm_ring.to_has_add int.comm_ring

The `abstract tac` tactic creates an auxiliary lemma to store the proof
generated by `tac`. If we use `print int.comm_ring` we can see that
the definition is much smaller. The proofs are irrelevant. So, this has
no drawbacks, and gives us a good performance boost.
2017-03-07 19:57:43 -08:00
..
bool chore(library/init/data/bool/lemmas): add (coe tt) and (coe ff) simp lemmas 2017-03-05 09:50:01 -08:00
char feat(library/init/meta): use cheap "reflexivity" after simp and rewrite 2016-12-08 14:41:26 -08:00
fin feat(library/init/data/fin/ops): add def lemmas 2017-03-05 16:57:36 -08:00
int chore(library/init/data/int/basic): use abstract when transfering in an instance declaration 2017-03-07 19:57:43 -08:00
list feat(library/init/data/list): add remove_all 2017-03-07 19:30:51 -08:00
nat feat(library/init/data/int): use relators for proof of int is a ring 2017-03-07 19:30:51 -08:00
num refactor(library/init): create init.data folder 2016-12-02 14:23:06 -08:00
option chore(library/init/data/option/basic): add lift for option_t 2017-03-05 08:17:55 -08:00
sigma chore(library/init/data/quot): use Sort instead of Type 2017-03-07 14:29:57 -08:00
string feat(init/data/string/basic.lean): inhabited string 2016-12-23 14:45:53 -08:00
subtype feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
sum feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
unsigned feat(library/init/data/fin): add div 2017-03-05 16:43:15 -08:00
array.lean feat(library/init/data/array): add helper functions and instances 2017-02-21 13:45:03 -08:00
basic.lean feat(library/init/data/unsigned): add basic unsigned operations 2017-03-05 16:14:16 -08:00
default.lean feat(library/init/data/unsigned): add basic unsigned operations 2017-03-05 16:14:16 -08:00
ordering.lean refactor(library/init): create init.data folder 2016-12-02 14:23:06 -08:00
prod.lean feat(library/init/data/prod): add prod.map 2017-03-07 19:30:51 -08:00
quot.lean chore(library/init/data/quot): use Sort instead of Type 2017-03-07 14:29:57 -08:00
set.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
setoid.lean chore(library/init/data/quot): use Sort instead of Type 2017-03-07 14:29:57 -08:00
to_string.lean chore(library/init): instances are reducible and are inlined by the compiler 2017-03-07 10:58:09 -08:00
unit.lean refactor(library/data): delete init/data/instances.lean 2016-12-02 16:41:16 -08:00