Finite idempotent arithmetic fingerprints see only boundedly many Boolean assignments
ProvedPvsNP.ring_representation_visible_assignmentscombinatoricscomplexity-theoryformal-verification
Let each Boolean input be represented by an idempotent in a finite commutative ring. Encode each ordinary assignment by its product of input idempotents or complements. There is a set of Boolean assignments whose cardinality has base-two exponent bounded by the ring cardinality, and two represented functions receive the same ring value exactly when they agree on that set.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem PvsNP.ring_representation_visible_assignments {Coord R : Type} [Fintype Coord] [CommRing R] [DecidableEq Coord] [Fintype R] [DecidableEq R]
(value : Coord → R) (idem : ∀ i, value i * value i = value i) :
∃ visible : Finset (Coord → Bool), 2 ^ visible.card ≤ Fintype.card R ∧
∀ (f g : (Coord → Bool) → Bool) (x y : R),
(∀ a : Coord → Bool, (∏ i, if a i then value i else 1 - value i) * x =
if f a then (∏ i, if a i then value i else 1 - value i) else 0) →
(∀ a : Coord → Bool, (∏ i, if a i then value i else 1 - value i) * y =
if g a then (∏ i, if a i then value i else 1 - value i) else 0) →
(x = y ↔ ∀ a ∈ visible, f a = g a) := by sorrySource
Exact Boolean arithmetic fingerprint semantics in PvsNPBooleanArithmeticStateCapacity.lean.