f2_character_to_dual
def
Map a real-valued character of a binary vector space to its linear functional.
Statement
noncomputable def f2_character_to_dual {M : Type*} [AddCommGroup M] [Module (ZMod 2) M] (χ : AddChar M ℝ) : M →ₗ[ZMod 2] ZMod 2
- Source
- Binary character infrastructure for the OP-827 supported-kernel entropy reduction.
- Verified
- 11 Nov 2026
- Axioms
- none listed
- Built on 1
- f2_real_character_valuesEvery real-valued additive character of a binary vector space takes only the values one and minus one.
- Used by 2
- f2_real_character_extendsEvery real-valued additive character on a subspace of a binary vector space extends to the whole space.
- f2_real_character_dual_equivReal-valued additive characters of a binary vector space are equivalent to its linear dual.
Lean source view module on GitHub
noncomputable def f2_character_to_dual {M : Type*} [AddCommGroup M] [Module (ZMod 2) M] (χ : AddChar M ℝ) : M →ₗ[ZMod 2] ZMod 2 := ({ toFun := fun x => if χ x = 1 then 0 else 1 map_zero' := by simp map_add' := by intro x y rcases f2_real_character_values χ x with hx | hx <;> rcases f2_real_character_values χ y with hy | hy <;> norm_num [AddChar.map_add_eq_mul, hx, hy] all_goals decide } : M →+ ZMod 2).toZModLinearMap 2