Documentation

Complexitylib.Metacomplexity.MCSP.AntiChecker.GoodString.Circuit.Internal

Good-string circuit bridge -- proof internals #

theorem Complexity.AntiChecker.exists_survivorCodeCircuit_internal {arity : } [NeZero arity] (target : BitString arityBool) (threshold : ) (inputs : List (BitString arity)) (code : (SurvivorCode target threshold inputs)) :
∃ (internalGates : ) (circuit : Circuit Basis.andOr2 arity 1 internalGates), circuit.size threshold ∀ (input : BitString arity), circuit.eval input 0 = survivorCodeOutput target threshold inputs code input
theorem Complexity.AntiChecker.exists_survivorTupleMajorityCircuit_internal {arity : } [NeZero arity] (target : BitString arityBool) (threshold : ) (inputs : List (BitString arity)) (tuple : Fin arity(SurvivorCode target threshold inputs)) :
∃ (internalGates : ) (circuit : Circuit Basis.andOr2 arity 1 internalGates), circuit.size survivorTupleMajoritySizeBound arity threshold ∀ (input : BitString arity), circuit.eval input 0 = majority fun (i : Fin arity) => survivorCodeOutput target threshold inputs (tuple i) input
theorem Complexity.AntiChecker.everySurvivorTupleCaught_of_circuitHardness_internal {arity threshold hardnessThreshold : } [NeZero arity] (target : BitString arityBool) (inputs : List (BitString arity)) (hfits : survivorTupleMajoritySizeBound arity threshold hardnessThreshold) (hhard : ¬(MCSP.Instance.ofFunction arity hardnessThreshold target).HasCircuitAtMost) :
EverySurvivorTupleCaught target threshold inputs