Divisibility over ℕ and ℤ #
This file collects results for the integers and natural numbers that use abstract algebra in their proofs or cases of ℕ and ℤ being examples of structures in abstract algebra.
Main statements #
Nat.factors_eq
: the multiset of elements ofNat.factors
is equal to the factors given by theUniqueFactorizationMonoid
instance- ℤ is a
NormalizationMonoid
- ℤ is a
GCDMonoid
Tags #
prime, irreducible, natural numbers, integers, normalization monoid, gcd monoid, greatest common divisor, prime factorization, prime factors, unique factorization, unique factors
Equations
- One or more equations did not get rendered due to their size.
theorem
Int.eq_of_associated_of_nonneg
{a : ℤ}
{b : ℤ}
(h : Associated a b)
(ha : 0 ≤ a)
(hb : 0 ≤ b)
:
a = b
Equations
- One or more equations did not get rendered due to their size.
Equations
- Int.instNormalizedGCDMonoid = let __src := Int.normalizationMonoid; let __src_1 := inferInstance; NormalizedGCDMonoid.mk Int.instNormalizedGCDMonoid.proof_1 Int.instNormalizedGCDMonoid.proof_2
Maps an associate class of integers consisting of -n, n
to n : ℕ
Equations
- One or more equations did not get rendered due to their size.