AFTD Auto-Formalizing Theoretical Domains

f2_real_character_dual_equiv

def

Real-valued additive characters of a binary vector space are equivalent to its linear dual.

Statement

noncomputable def f2_real_character_dual_equiv {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 4
Used by 1
  • f2_real_character_cardA finite binary vector space has exactly two to the dimension real-valued additive characters.

Lean source view module on GitHub

noncomputable def f2_real_character_dual_equiv {M : Type*} [AddCommGroup M] [Module (ZMod 2) M] :
    AddChar M ℝ ≃ (M →ₗ[ZMod 2] ZMod 2) where
  toFun := f2_character_to_dual
  invFun := f2_dual_to_character
  left_inv := by
    intro χ
    ext x
    rcases f2_real_character_values χ x with hx | hx <;>
    norm_num [f2_character_to_dual, f2_dual_to_character, hx]
  right_inv := by
    intro f
    ext x
    rcases f2_value_cases (f x) with hx | hx <;>
    norm_num [f2_character_to_dual, f2_dual_to_character, hx]
See it in the graphDiscuss this resultChallenge it