AFTD Auto-Formalizing Theoretical Domains

harborth_half

def

Candidate halving map on ZMod (2k), defined as (w.val / 2) cast into ZMod k.

Statement

def harborth_half (k : ℕ) (w : ZMod (2 * k)) : ZMod k
Source
step towards harborth_bound_rank_three_mul_two
Verified
28 Oct 2026
Axioms
none listed
Used by 1
  • harborth_pair_keyThe key of a pair of vectors: componentwise half of the componentwise sum.

Lean source view module on GitHub

def harborth_half (k : ℕ) (w : ZMod (2 * k)) : ZMod k := ((w.val / 2 : ℕ) : ZMod k)
See it in the graphDiscuss this resultChallenge it