OAI/Computability/MaxCut/Games/Target.lean
19 declarations, 0 contain sorry, 0 declared as axioms
- structure
OAI.MaxCutGames.Foundations.Target.Literalline 8 - def
OAI.MaxCutGames.Foundations.Target.Literal.evalline 13 - abbrev
OAI.MaxCutGames.Foundations.Target.Clauseline 16 - def
OAI.MaxCutGames.Foundations.Target.Clause.evalline 18 - structure
OAI.MaxCutGames.Foundations.Target.Formulaline 23Source documentation
A finite conjunction of clauses with exactly three literal slots each. Repeated «variables» and repeated literals are allowed.
structure Formula where …
- def
OAI.MaxCutGames.Foundations.Target.Formula.Satisfiableline 27 - structure
OAI.MaxCutGames.Foundations.Target.PermutationTableline 33Source documentation
Finite forward and inverse tables make totality and invertibility explicit. An eventual external encoding only needs to serialize the forward table.
structure PermutationTable (alphabet : Nat) where …
- theorem
OAI.MaxCutGames.Foundations.Target.PermutationTable.images_injectiveline 39 - theorem
OAI.MaxCutGames.Foundations.Target.PermutationTable.images_surjectiveline 44 - structure
OAI.MaxCutGames.Foundations.Target.Constraintline 48 - def
OAI.MaxCutGames.Foundations.Target.Constraint.satisfiedline 53 - structure
OAI.MaxCutGames.Foundations.Target.Instanceline 59Source documentation
Constraint occurrences are list entries, so repeated parallel edges retain their multiplicity. No weights are hidden in this representation.
structure Instance (alphabet : Nat) where …
- def
OAI.MaxCutGames.Foundations.Target.countSatisfiedline 64 - theorem
OAI.MaxCutGames.Foundations.Target.countSatisfied_le_lengthline 70 - theorem
OAI.MaxCutGames.Foundations.Target.Instance.constraintCount_positiveline 79 - structure
OAI.MaxCutGames.Foundations.Target.RationalErrorline 87Source documentation
The rational number
numerator / denominatorlies strictly between 0 and 1/2. No normalization to lowest terms is needed for the gap predicates.structure RationalError where …
- def
OAI.MaxCutGames.Foundations.Target.CompleteAtline 95Source documentation
At least one labeling satisfies a fraction at least
1 - error.def CompleteAt {q : Nat} (error : RationalError) (game : Instance q) : Prop := …Mentions: OAI.MaxCutGames.Foundations.Target.RationalError, OAI.MaxCutGames.Foundations.Target.Instance
- def
OAI.MaxCutGames.Foundations.Target.SoundAtline 102Source documentation
Every labeling satisfies a fraction at most
error.def SoundAt {q : Nat} (error : RationalError) (game : Instance q) : Prop := …Mentions: OAI.MaxCutGames.Foundations.Target.RationalError, OAI.MaxCutGames.Foundations.Target.Instance
- structure
OAI.MaxCutGames.Foundations.Target.SemanticGapReductionline 109Source documentation
Only the semantic part of a reduction. This is not a definition of an efficient reduction or an NP-hardness certificate.
structure SemanticGapReduction (completenessError soundnessError : RationalError) where …