Documentation

MIPRE.Foundations.Introspection.AuxiliaryScanCorrect

Correctness of the actual attained-prefix scan #

The only query hypotheses are the source interface's legal-prefix clauses. The returned witness proves the next call is legal. Honest outputs pass all stages, while arbitrary malformed or unattainable claims may be rejected.

theorem MIPRE.Introspection.AuxiliaryScan.earlier_attained {n ℓ : ℕ} {P : CL.CLFun CL.𝔽₂ (Fin n) ℓ} {T : Finset (Fin n)} (hP : P.SupportedOn T) {j k : ℕ} (hj : j ≤ k) (y x : Fin n → CL.𝔽₂) (hx : (CL.CLFun.truncate k P).eval x = P.outputPrefix k y) :
theorem MIPRE.Introspection.AuxiliaryScan.stage_of_attained_next {n ℓ : ℕ} {P : CL.CLFun CL.𝔽₂ (Fin n) ℓ} {T : Finset (Fin n)} (hP : P.SupportedOn T) (k : ℕ) (y x : Fin n → CL.𝔽₂) (hx : (CL.CLFun.truncate (k + 1) P).eval x = P.outputPrefix (k + 1) y) :
(P.mapOfPrefix k (P.outputPrefix k y)) x = (CL.proj (P.factorOfPrefix k y)) y
Equations
  • One or more equations did not get rendered due to their size.
Instances For

    A successful scan gives both the claimed prefix and a seed witnessing it.

    Hiding answers only need the prefix requested at their own level to be attainable; the unvisited components are unrestricted.