Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - chore(algebra): displace zero_ne_one_class with nonzero and make no_zero_divisors a Prop #2847

Closed
wants to merge 53 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
d1df178
chore(algebra): displace zero_ne_one_class with nonzero
kckennylau May 28, 2020
889420a
algebra.ring
kckennylau May 28, 2020
e142e51
Update src/algebra/ring.lean
kckennylau May 28, 2020
8fc64cc
update algebra.ring
kckennylau May 28, 2020
ba5497a
algebra.group_with_zero
kckennylau May 28, 2020
4f7929c
algebra.group.with_one
kckennylau May 28, 2020
3a0f538
ring_theory.prod
kckennylau May 28, 2020
217edd8
algebra.field
kckennylau May 28, 2020
5fcca92
algebra.opposites
kckennylau May 28, 2020
46b0420
init_.data.int.basic
kckennylau May 28, 2020
42f4d11
algebra.ordered_ring
kckennylau May 28, 2020
24c18fb
data.equiv.transfer_instances
kckennylau May 28, 2020
ce14467
init_.data.nat.lemmas
kckennylau May 28, 2020
d34f6f2
algebra.euclidean_domain
kckennylau May 28, 2020
778c52d
data.equiv.ring
kckennylau May 28, 2020
797c796
data.rat.basic
kckennylau May 28, 2020
16880d2
algebra.associated
kckennylau May 28, 2020
953c707
algebra.gcd_domain
kckennylau May 28, 2020
7c51a9c
data.zsqrtd.basic
kckennylau May 28, 2020
1001e52
set_theory.cardinal
kckennylau May 28, 2020
1bfa31b
field_theory.subfield
kckennylau May 28, 2020
a0d1d13
ring_theory.fintype
kckennylau May 28, 2020
d3146b3
algebra.char_p
kckennylau May 28, 2020
09263be
data.real.basic
kckennylau May 28, 2020
e09e2ad
data.zmod.basic
kckennylau May 28, 2020
2f93b3e
data.real.nnreal
kckennylau May 28, 2020
95897ff
order.filter.filter_product
kckennylau May 28, 2020
821eb6c
data.matrix.pequiv
kckennylau May 28, 2020
19f41df
ring_theory.ideals
kckennylau May 28, 2020
acf8982
data.complex.exponential
kckennylau May 28, 2020
d4fe0eb
set_theory.ordinal
kckennylau May 28, 2020
27cd8a3
linear_algebra.basis
kckennylau May 28, 2020
f51a240
data.polynomial
kckennylau May 28, 2020
4bacb83
ring_theory.ideal_operations
kckennylau May 28, 2020
0b3ca61
ring_theory.noetherian
kckennylau May 28, 2020
b0a7e7e
data.padics.padic_integers
kckennylau May 28, 2020
b1382b2
algebra.euclidean_domain
kckennylau May 29, 2020
6110deb
algebra.euclidean_domain: make more things protected
kckennylau May 29, 2020
396edbf
algebra.classical_lie_algebras
kckennylau May 29, 2020
b315a3e
data.polynomial
kckennylau May 29, 2020
77b7f76
data.mv_polynomial
kckennylau May 29, 2020
eb3fbe4
data.zsqrtd.gaussian_int
kckennylau May 29, 2020
da3bf8e
ring_theory.polynomial
kckennylau May 29, 2020
3d96bc9
ring_theory.free_comm_ring
kckennylau May 29, 2020
94a474f
ring_theory.algebraic
kckennylau May 29, 2020
a0a6e6f
algebra.direct_limit
kckennylau May 29, 2020
44db175
ring_theory.power_series
kckennylau May 29, 2020
aa83f7f
analysis.special_functions.pow
kckennylau May 29, 2020
5f693c0
ring_theory.fractional_ideal
kckennylau May 29, 2020
30ffafe
Merge remote-tracking branch 'origin/master' into nonzero
kckennylau May 29, 2020
f7835fa
fix errors
kckennylau May 29, 2020
ae3abc2
it has gotten faster
kckennylau May 29, 2020
6fb14e9
Merge branch 'master' into nonzero
kckennylau May 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/algebra/ring.lean
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ mul_zero_class.zero_mul a
@[ematch, simp] lemma mul_zero [mul_zero_class α] (a : α) : a * 0 = 0 :=
mul_zero_class.mul_zero a

@[ancestor has_zero has_one]
class zero_ne_one_class (α : Type u) extends has_zero α, has_one α :=
class nonzero (α : Type u) [has_zero α] [has_one α] : Prop :=
kckennylau marked this conversation as resolved.
Show resolved Hide resolved
(zero_ne_one : 0 ≠ (1:α))

@[simp]
Expand Down