AFTD Auto-Formalizing Theoretical Domains

coprime_matching_base

def

The base attached to prime p in the Vandermonde matrix: the prime p itself when p divides b, and ζ^b (a primitive p-th root of unity, since p does not divide b) otherwise.

Statement

noncomputable def coprime_matching_base (b : Nat) (z : Nat → Complex) (p : Nat) : Complex
Source
step towards coprime_matching_of_exponent_lt_prime
Verified
01 Nov 2026
Axioms
none listed

Lean source view module on GitHub

/-- Vandermonde base at prime p: p when p ∣ b, and z_p^b otherwise. -/
noncomputable def coprime_matching_base (b : Nat) (z : Nat → Complex) (p : Nat) : Complex := if p ∣ b then (p : Complex) else (z p) ^ b
See it in the graphDiscuss this resultChallenge it