fix(library/data/real/basic): unnecessary level of indirection
At real.comm_ring, `add` is `@add real real_has_add`. This is bad for any tactic (e.g., blast) that only unfolds reducible definitions. `add` is not reducible. So, the tactic will not be able to establish that `@add real real_has_add` is definitionally equal to `real.add`.
This commit is contained in:
parent
b2554dcb8f
commit
dc5ca99afa
1 changed files with 3 additions and 3 deletions
|
@ -1148,15 +1148,15 @@ protected theorem zero_ne_one : ¬ (0 : ℝ) = 1 :=
|
|||
protected definition comm_ring [reducible] : comm_ring ℝ :=
|
||||
begin
|
||||
fapply comm_ring.mk,
|
||||
exact add,
|
||||
exact real.add,
|
||||
exact real.add_assoc,
|
||||
exact of_num 0,
|
||||
exact real.zero_add,
|
||||
exact real.add_zero,
|
||||
exact neg,
|
||||
exact real.neg,
|
||||
exact real.neg_cancel,
|
||||
exact real.add_comm,
|
||||
exact mul,
|
||||
exact real.mul,
|
||||
exact real.mul_assoc,
|
||||
apply of_num 1,
|
||||
apply real.one_mul,
|
||||
|
|
Loading…
Reference in a new issue