A one-hot observation isolates a positive gate-free projection
ProvedPvsNP.gate_free_projection_fits_iff_zero_historycomplexity-theoryformal-verification
The pending label is one at an address with exactly one set bit, and that bit was zero at every earlier sample. Two earlier zero-labeled addresses have disjoint supports. A constant, a projection or a negated projection fits the pending and earlier labels if and only if every earlier label is zero.
Preamble
import Mathlib.Data.Nat.Basic import Lean.Elab.Tactic.Omega set_option autoImplicit false
Formal statement
theorem PvsNP.gate_free_projection_fits_iff_zero_history {Position : Type}
(earlier : ℕ → Prop) (sample : ℕ → Position → Bool)
(pending : Position → Bool) (pivot : Position) (label : ℕ → Bool)
(oneHot : pending pivot = true) (noOther : ∀ i, pending i = true → i = pivot)
(pivotWasZero : ∀ j, earlier j → sample j pivot = false)
(quiet1 quiet2 : ℕ) (seen1 : earlier quiet1) (seen2 : earlier quiet2)
(zero1 : label quiet1 = false) (zero2 : label quiet2 = false)
(disjoint : ∀ i, sample quiet1 i = false ∨ sample quiet2 i = false) :
let fits := fun output : (Position → Bool) → Bool =>
output pending = true ∧ ∀ j, earlier j → output (sample j) = label j
((∃ bit : Bool, fits (fun _ => bit)) ∨
(∃ i : Position, fits (fun input => input i)) ∨
(∃ i : Position, fits (fun input => Bool.not (input i)))) ↔
∀ j, earlier j → label j = false := by sorrySource
Isolation of a single gate-free output for a succinct history consistency query.