Neg one mem domain
Domain.FftDomainClass.neg_one_mem_domain
Plain-language statement
In a smooth FFT domain of nonzero logarithmic size, -1 belongs to the domain.
Exact Lean statement
@[simp] lemma neg_one_mem_domain [nz : NeZero n] : -1 ∈ ω
Formal artifact
Lean source
@[simp]lemma neg_one_mem_domain [nz : NeZero n] : -1 ∈ ω := by have hn : n ≠ 0 := NeZero.ne _ -- Let's denote this element as `k = 2^(i-1) : Fin (2^i)`. set k : Fin (2 ^ n) := ⟨2 ^ (n - 1), pow_lt_pow_right₀ (by decide) (by omega)⟩ generalize_proofs at * have h_order : (ω k) ^ 2 = 1 := by have hk_order : (ω k) ^ 2 = (ω (k + k)) := by aesop (add simp [sq, apply_add_eq_mul]) convert hk_order using 1 rw [show k + k = 0 by { rcases n with ⟨_ | n, hn⟩ <;> norm_num [Fin.ext_iff, Fin.val_add, Fin.val_mul] at * ring_nf at * aesop }] aesop generalize_proofs at * ( -- Since $k$ has additive order 2 in $\text{Fin}(2^i)$, we have $(ω.subdomain i k) \neq 1$. have h_ne_one : (ω k) ≠ 1 := by have h_ne_one : (ω k) ≠ ω 0 := by exact fun h ↦ absurd (CosetFftDomainClass.injective _ h) (ne_of_gt <| Nat.lt_of_le_of_lt (Nat.zero_le _) <| pow_pos (by omega) _) generalize_proofs at * ( exact fun h ↦ h_ne_one <| h.trans <| by simp ) generalize_proofs at * (exact ⟨k, Or.resolve_left (sq_eq_one_iff.mp h_order) h_ne_one⟩))- Project
- ArkLib
- License
- Apache-2.0
- Commit
- fad5cbf80877
- Source
- ArkLib/Data/Domain/FftDomain/Ops.lean:105-135
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
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...
Source project: ArkLib
Person-level attribution pending.
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.
Source project: ArkLib
Person-level attribution pending.
Gadget Decompose lawful
ArkLib.Lattices.Ajtai.gadgetDecompose_lawful
Plain-language statement
The base-b gadget decomposition is a lawful gadget decomposition.
Source project: ArkLib
Person-level attribution pending.