OAI/LinearAlgebra/CirculantHadamard/IntegerTwoLocal.lean
16 declarations, 0 contain sorry, 0 declared as axioms
The integers localized at the prime two
The ring is the actual localization of ℤ at the complement of (2). Its
maximal ideal is generated by the image of two, and its nonzero generator makes
it a discrete valuation ring. The characteristic-zero and odd-unit interfaces
refer to this concrete localization, without assuming any valuation facts.
- def
OAI.CirculantHadamard.IntegerTwoLocal.idealline 24Source documentation
The prime ideal
(2)in the integers.def ideal : Ideal ℤ := Ideal.span {(2 : ℤ)} - instance
OAI.CirculantHadamard.IntegerTwoLocal.ideal_isPrimeline 26 - abbrev
OAI.CirculantHadamard.IntegerTwoLocal.Ringline 31Source documentation
The actual ring
ℤ_(2).abbrev Ring := Localization.AtPrime ideal
- theorem
OAI.CirculantHadamard.IntegerTwoLocal.isDomainline 34Source documentation
The localization has no zero divisors.
theorem isDomain : IsDomain Ring := inferInstance
- theorem
OAI.CirculantHadamard.IntegerTwoLocal.isLocalRingline 37Source documentation
The complement-of-prime localization is local.
theorem isLocalRing : IsLocalRing Ring := inferInstance
- theorem
OAI.CirculantHadamard.IntegerTwoLocal.algebraMap_injectiveline 40Source documentation
Integer coefficients embed faithfully in the concrete localization.
theorem algebraMap_injective : Function.Injective (algebraMap ℤ Ring) := …
- instance
OAI.CirculantHadamard.IntegerTwoLocal.charZeroline 43 - instance
OAI.CirculantHadamard.IntegerTwoLocal.isNoetherianRingline 47Source documentation
Noetherianity is inherited from the integer ring by localization.
instance isNoetherianRing : IsNoetherianRing Ring := …
- theorem
OAI.CirculantHadamard.IntegerTwoLocal.maximalIdeal_eq_spanline 52Source documentation
The maximal ideal is exactly the principal ideal generated by two.
theorem maximalIdeal_eq_span : IsLocalRing.maximalIdeal Ring = Ideal.span {(2 : Ring)} := by … - theorem
OAI.CirculantHadamard.IntegerTwoLocal.two_ne_zeroline 60 - theorem
OAI.CirculantHadamard.IntegerTwoLocal.two_not_isUnitline 62 - instance
OAI.CirculantHadamard.IntegerTwoLocal.isDiscreteValuationRingline 68Source documentation
The concrete localization is a discrete valuation ring with uniformizer (two); this conclusion is obtained from its proved principal maximal ideal.
instance isDiscreteValuationRing : IsDiscreteValuationRing Ring := …
- theorem
OAI.CirculantHadamard.IntegerTwoLocal.mem_ideal_iff_evenline 72 - theorem
OAI.CirculantHadamard.IntegerTwoLocal.isUnit_algebraMap_iff_oddline 76Source documentation
Exactly the odd integers become units.
theorem isUnit_algebraMap_iff_odd (z : ℤ) : IsUnit (algebraMap ℤ Ring z) ↔ Odd z := by … - theorem
OAI.CirculantHadamard.IntegerTwoLocal.isUnit_intCast_of_oddline 82 - theorem
OAI.CirculantHadamard.IntegerTwoLocal.isUnit_natCast_of_oddline 85