lean4-htt/library/init
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
..
algebra feat(library/init/data/int): use relators for proof of int is a ring 2017-03-07 19:30:51 -08:00
category feat(library/init/category/combinators): put list combinators in the namespace list 2017-03-05 21:30:30 -08:00
data chore(library/init/data/int/basic): use abstract when transfering in an instance declaration 2017-03-07 19:57:43 -08:00
meta feat(library/data/dlist): setup transfer for dlist 2017-03-07 19:30:51 -08:00
native feat(library/init/data/unsigned): add basic unsigned operations 2017-03-05 16:14:16 -08:00
.gdb_history chore(library, tests): switch to new attribute declaration syntax 2016-08-12 15:36:12 -07:00
cc_lemmas.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
classical.lean refactor(library/init/classical.lean): move definition of some 2017-03-06 10:54:42 -08:00
coe.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
core.lean perf(library/inductive_compiler): simplification with sizeof lemmas 2017-03-01 21:13:20 -08:00
default.lean feat(library/tactic/smt): perform "unit propagation" in the congruence closure module 2017-01-02 18:49:26 -08:00
function.lean fix(frontends/lean/elaborator): {} elaboration issue 2017-02-24 21:20:39 -08:00
funext.lean chore(library/init/data/quot): use Sort instead of Type 2017-03-07 14:29:57 -08:00
init.md chore(*.md): fix/remove broken links 2016-02-23 10:11:24 -08:00
logic.lean feat(library/init/data/int): use relators for proof of int is a ring 2017-03-07 19:30:51 -08:00
propext.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
relator.lean feat(library/data/dlist): setup transfer for dlist 2017-03-07 19:30:51 -08:00
util.lean refactor(library/init): provide more general try_for, and implement tactic.try_for using it 2017-02-12 12:15:19 -08:00
wf.lean chore(library/init/wf): rename parameter 2017-03-03 16:56:40 -08:00