refactor(hott/algebra/field): cleanup

use same definition used in the standard library.
This commit is contained in:
Leonardo de Moura 2015-06-21 15:58:54 -07:00
parent e3062c64e2
commit e382f7c2f9

View file

@ -76,7 +76,7 @@ section division_ring
-- assume Ha : a = 0, absurd (Ha⁻¹ ▸ one_div_zero) H -- assume Ha : a = 0, absurd (Ha⁻¹ ▸ one_div_zero) H
definition inv_one_eq : 1⁻¹ = (1:A) := definition inv_one_eq : 1⁻¹ = (1:A) :=
by rewrite [-mul_one, (inv_mul_cancel (ne.symm zero_ne_one))] by rewrite [-mul_one, (inv_mul_cancel (ne.symm (@zero_ne_one A _)))]
definition div_one : a / 1 = a := definition div_one : a / 1 = a :=
by rewrite [↑divide, inv_one_eq, mul_one] by rewrite [↑divide, inv_one_eq, mul_one]