All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Fixed Subring is Field

ArkLib.Lattices.CyclotomicModulus.fixedSubring_isField

Plain-language statement

R_q^H is a field (Hachi [NOZ26, §3, Lemma 5], field part). Since R_q^H ⊆ R_q^{σ_{-1}} (fixedSubring_le_conjFixedSubring) and the latter is a field (conjFixedSubring_isField), R_q^H is a finite integral domain, hence a field. Proven modulo conjFixedSubring_isField: the inclusion R_q^H ↪ R_q^{σ_{-1}} is an injective ring hom into a field,...

Exact Lean statement

theorem fixedSubring_isField (hq5 : q % 8 = 5) {α κ : ℕ} (hα : 1 ≤ α) :
    IsField (fixedSubring (R := ZMod q) α (2 ^ κ))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem fixedSubring_isField (hq5 : q % 8 = 5) {α κ : } (hα : 1  α) :    IsField (fixedSubring (R := ZMod q) α (2 ^ κ)) := by  have hconjF := conjFixedSubring_isField q hq5 hα  have hle := fixedSubring_le_conjFixedSubring (R := ZMod q) α (2 ^ κ)  -- Derive `Nontrivial`/`NoZeroDivisors` on `R_q^{σ_{-1}}` from the `IsField` *Prop* directly,  -- avoiding the instance diamond that `IsField.toField` would create on the subring carrier.  haveI : Nontrivial (conjFixedSubring (R := ZMod q) α) := hconjF.exists_pair_ne  haveI : NoZeroDivisors (conjFixedSubring (R := ZMod q) α) := by    refine fun {a b} hab => ?_    by_cases ha : a = 0    · exact Or.inl ha    · obtain a', haa' := hconjF.mul_inv_cancel ha      refine Or.inr ?_      have h0 : a' * (a * b) = 0 := by rw [hab, mul_zero]      rwa [ mul_assoc, mul_comm a' a, haa', one_mul] at h0  -- Pull the domain structure back along the injective inclusion `R_q^H ↪ R_q^{σ_{-1}}`.  haveI : Nontrivial (fixedSubring (R := ZMod q) α (2 ^ κ)) :=    (Subring.inclusion hle).domain_nontrivial  haveI : NoZeroDivisors (fixedSubring (R := ZMod q) α (2 ^ κ)) :=    Function.Injective.noZeroDivisors (Subring.inclusion hle) (Subring.inclusion_injective hle)      (Subring.inclusion hle).map_zero (fun x y => (Subring.inclusion hle).map_mul x y)  haveI : IsDomain (fixedSubring (R := ZMod q) α (2 ^ κ)) := NoZeroDivisors.to_isDomain _  exact Finite.isField_of_domain _
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/Lattices/CyclotomicRing/Subfield/Field.lean:347-369

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.31.0

Affine gaps lifted to interleaved codes

affine_gaps_lifted_to_interleaved_codes

Project documentation

This lemma proves the final algebraic step in the DG25 Theorem 3.1 proof. It shows that if R > e + 1, then e * (R / (R - 1)) < e + 1. The intuition is that the fraction R / (R - 1) is always greater than 1, but as R gets larger, it gets closer to 1. The hypothesis R > e + 1 provides a strong enough bound to ensure the product e * (fraction) do...

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Gadget Decompose coeff

ArkLib.Lattices.Ajtai.gadgetDecompose_coeff

Plain-language statement

The k-th coefficient (k < deg φ) of a gadget-decomposition block is exactly the corresponding digit of the corresponding input coefficient.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Gadget Decompose lawful

ArkLib.Lattices.Ajtai.gadgetDecompose_lawful

Plain-language statement

The base-b gadget decomposition is a lawful gadget decomposition.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record