OAI/Computability/MaxCut/Games/HarmonicLoss.lean
46 declarations, 0 contain sorry, 0 declared as axioms
Harmonic loss for the actual quadratic child maps
The probabilistic hypotheses of the MaxCutGames.Gadget.Harmonic.harmonic accounting lemmas are discharged here by the proved field-line kernel criterion and genericity count.
- theorem
OAI.MaxCutGames.Quadratic.exists_nonzero_kernel_of_range_rank_lt_inline_HarmonicLossline 20 - theorem
OAI.MaxCutGames.Quadratic.probability_rank_drop_le_loss_count_inline_HarmonicLossline 37 - def
OAI.MaxCutGames.Quadratic.fieldLineThetaline 64 - theorem
OAI.MaxCutGames.Quadratic.fieldLineTheta_eqline 68 - def
OAI.MaxCutGames.Quadratic.nextBlockRankline 73Source documentation
The image dimension of the actual oriented child restriction map.
def nextBlockRank (S : Submodule (ZMod 2) (Vec F)) (g : S →ₗ[ZMod 2] Vec F) (J : ∀ A : FieldLine F, BlockOrientation A) (A : FieldLine F) : ℕ := …Mentions: OAI.MaxCutGames.Quadratic.Vec, OAI.MaxCutGames.Quadratic.FieldLine, OAI.MaxCutGames.Quadratic.BlockOrientation
- theorem
OAI.MaxCutGames.Quadratic.nextBlockRank_leline 78 - theorem
OAI.MaxCutGames.Quadratic.nextBlockRank_independentline 84Source documentation
Changing the binary orientation of every child leaves its logical image rank unchanged.
theorem nextBlockRank_independent (S : Submodule (ZMod 2) (Vec F)) (g : S →ₗ[ZMod 2] Vec F) (J J' : ∀ A : FieldLine F, BlockOrientation A) (A : FieldLine F) : nextBlockRank S g J A = nextBlockRank S g J' A := by …Mentions: OAI.MaxCutGames.Quadratic.Vec, OAI.MaxCutGames.Quadratic.FieldLine, OAI.MaxCutGames.Quadratic.BlockOrientation, OAI.MaxCutGames.Quadratic.nextBlockRank
- theorem
OAI.MaxCutGames.Quadratic.generic_nextBlockRank_dichotomyline 96 - theorem
OAI.MaxCutGames.Quadratic.generic_block_loss_probability_leline 108 - theorem
OAI.MaxCutGames.Quadratic.generic_block_harmonic_loss_leline 124Source documentation
Actual generic block restrictions have rank-independent expected MaxCutGames.Gadget.Harmonic.harmonic loss.
theorem generic_block_harmonic_loss_le (S : Submodule (ZMod 2) (Vec F)) (g : S →ₗ[ZMod 2] Vec F) (J : ∀ A : FieldLine F, BlockOrientation A) (hS : IsGeneric S) : average (fun A => MaxCutGames.Gadget.Harmonic.harmonic (Module.finrank (ZMod 2) S) - MaxCutGames.Gadget.Harmonic.harmonic (nextBlockRank S g J A)) ≤ 3 * fieldLineTheta F := by …Mentions: OAI.MaxCutGames.Quadratic.Vec, OAI.MaxCutGames.Quadratic.FieldLine, OAI.MaxCutGames.Quadratic.BlockOrientation, OAI.MaxCutGames.Quadratic.IsGeneric, OAI.MaxCutGames.Gadget.Harmonic.harmonic, OAI.MaxCutGames.Quadratic.nextBlockRank, OAI.MaxCutGames.Quadratic.fieldLineTheta
- theorem
OAI.MaxCutGames.Quadratic.card_loss_fieldLineRestrictions_le_nonzeroline 146 - theorem
OAI.MaxCutGames.Quadratic.arbitrary_block_loss_probability_leline 161 - theorem
OAI.MaxCutGames.Quadratic.arbitrary_block_harmonic_loss_leline 181 - def
OAI.MaxCutGames.Gadget.OutgoingHarmonic.outgoingLossline 212 - theorem
OAI.MaxCutGames.Gadget.OutgoingHarmonic.outgoingLoss_eq_line_averageline 219Source documentation
Averaging all binary orientations reduces exactly to the actual line-law rank experiment, after transporting logical characters by the trace pairing.
theorem outgoingLoss_eq_line_average (S : Submodule (ZMod 2) (BinaryDual (F := F))) … - theorem
OAI.MaxCutGames.Gadget.OutgoingHarmonic.generic_outgoing_loss_leline 240Source documentation
The generic all-lifts bound applies to the actual common parent map.
theorem generic_outgoing_loss_le (S : Submodule (ZMod 2) (BinaryDual (F := F))) … - theorem
OAI.MaxCutGames.Gadget.OutgoingHarmonic.arbitrary_outgoing_loss_leline 249Source documentation
Nongeneric actual child maps satisfy the fallback MaxCutGames.Gadget.Harmonic.harmonic charge.
theorem arbitrary_outgoing_loss_le (S : Submodule (ZMod 2) (BinaryDual (F := F))) … - theorem
OAI.MaxCutGames.Gadget.OutgoingHarmonic.badRankCoefficient_monoline 257 - theorem
OAI.MaxCutGames.Gadget.OutgoingHarmonic.outgoing_harmonic_loss_leline 266Source documentation
Combined conditional law with a coefficient frozen at the initial rank. The bad predicate is exactly the nongeneric trace-coordinate domain.
theorem outgoing_harmonic_loss_le (S : Submodule (ZMod 2) (BinaryDual (F := F))) … - theorem
OAI.MaxCutGames.Gadget.OutgoingHarmonic.descendant_harmonic_loss_leline 287Source documentation
Direct instantiation of
DescentProbability.expected_terminal_loss's outgoing-step hypothesis for the concrete child domain of every actual lift.theorem descendant_harmonic_loss_le [DecidableEq (BlockOrientationIndex F)] [Nonempty (BlockOrientationIndex F)] : let J : BlockOrientationIndex F → Vec F →ₗ[ZMod 2] Vec F × Vec F := … - def
OAI.MaxCutGames.Quadratic.nongenericFractionline 321Source documentation
The actual uniform fraction of nongeneric rank-
rbinary subspaces.def nongenericFraction (F : Type*) [Field F] [Fintype F] [CharP F 2] [Algebra (ZMod 2) F] (r : ℕ) : ℚ := … - def
OAI.MaxCutGames.Gadget.FreshGenericity.rankSpaceEquivline 345Source documentation
A fixed coordinate equivalence transports the complete rank-indexed Grassmannian bijectively, so it preserves its uniform distribution.
def rankSpaceEquiv (e : V ≃ₗ[K] W) (r : ℕ) : RankSpace K V r ≃ RankSpace K W r := …
- theorem
OAI.MaxCutGames.Gadget.FreshGenericity.rankSpaceEquiv_applyline 350 - def
OAI.MaxCutGames.Gadget.FreshGenericity.badline 374Source documentation
Nongenericity includes the universal lift quantifier in
IsGeneric. The field's simultaneous bound includes rank zero as well.def bad (S : Submodule (ZMod 2) (BinaryDual (F := F))) : Prop := …
- theorem
OAI.MaxCutGames.Gadget.FreshGenericity.mean_bad_rankSpaceline 377 - theorem
OAI.MaxCutGames.Gadget.FreshGenericity.mean_fresh_bad_at_lineline 396 - theorem
OAI.MaxCutGames.Gadget.FreshGenericity.unoriented_rank_leline 420 - theorem
OAI.MaxCutGames.Gadget.FreshGenericity.fresh_bad_at_line_leline 431Source documentation
The field error bound applies to the actual fresh descendant rank, even though that rank depends on the earlier lift and the selected line.
theorem fresh_bad_at_line_le (S : Submodule (ZMod 2) (BinaryDual (F := F))) … - theorem
OAI.MaxCutGames.Gadget.FreshGenericity.fresh_bad_leline 446Source documentation
Fresh nongenericity bound over the actual full child index. The parent family and the common-parent map are arbitrary fixed inputs, so the result applies at every adaptive history without a future-lift independence premise.
theorem fresh_bad_le (S : Submodule (ZMod 2) (BinaryDual (F := F))) … - theorem
OAI.MaxCutGames.Gadget.FreshGenericity.descendant_bad_leline 464Source documentation
The fresh bound for the deterministic descendant of an actual parent lift. The common-parent map is chosen from the whole lift before sampling the child index, exactly as required by the adaptive finite-history experiment.
theorem descendant_bad_le [DecidableEq (BlockOrientationIndex F)] [Nonempty (BlockOrientationIndex F)] : let J := orientedBlockLinear (F := F) … - instance
OAI.MaxCutGames.Gadget.DescentProbability.noiseFintypeline 504 - def
OAI.MaxCutGames.Gadget.DescentProbability.terminalPotentialline 510 - theorem
OAI.MaxCutGames.Gadget.DescentProbability.terminalPotential_zeroline 515 - theorem
OAI.MaxCutGames.Gadget.DescentProbability.terminalPotential_succline 523 - theorem
OAI.MaxCutGames.Gadget.DescentProbability.expected_terminal_lossline 539Source documentation
The only geometric inputs are the outgoing MaxCutGames.Gadget.Harmonic.harmonic loss estimate for every lift and the fresh-orientation bound for every child image. The lift may depend on every previous orientation; the proof never declares it independent.
theorem expected_terminal_loss (bad : Submodule k (B →ₗ[k] k) → Prop) [DecidablePred bad] (r₀ : ℕ) (C θ ε : ℚ) (hC : 0 ≤ C) (hθ : 0 ≤ θ) (hsmall : C * ε ≤ 1) (hstep : ∀ (s : Stage k B) (S : Submodule k (B →ₗ[k] k)) (L : Lift (Stage.next J hJ Q s) S), Module.finrank k S ≤ r₀ → average (fun i => MaxCutGames.Gadget.Harmonic.harmonic (Module.finrank k S) - MaxCutGames.Gadget.Harmonic.harmonic (Module.finrank k (childDomain J hJ Q s S L i))) ≤ 3 * θ + C * θ * if bad S then 1 else 0) (hfresh : ∀ (s : Stage k B) (S : Submodule k (B →ₗ[k] k)) (L : Lift (Stage.next J hJ Q s) S), Module.finrank k S ≤ r₀ → probability (fun i => bad (childDomain J hJ Q s S L i)) ≤ ε) (n : ℕ) (S : Submodule k (B →ₗ[k] k)) (L : Lift (Stage.iterate J hJ Q n) S) …Mentions: OAI.MaxCutGames.Gadget.Stage, OAI.MaxCutGames.Gadget.Lift, OAI.MaxCutGames.Gadget.Stage.next, OAI.MaxCutGames.Gadget.Harmonic.harmonic, OAI.MaxCutGames.Gadget.Stage.iterate
- def
OAI.MaxCutGames.Gadget.LeafDetection.survivalProbabilityline 600 - def
OAI.MaxCutGames.Gadget.LeafDetection.detectionProbabilityline 605 - theorem
OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability_nonnegline 612 - theorem
OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability_restrict_leline 621Source documentation
Restricting the logical domain can only remove detecting characters.
theorem detectionProbability_restrict_le (n : ℕ) (S T : Submodule (ZMod 2) (B →ₗ[ZMod 2] ZMod 2)) (hST : S ≤ T) (L : Lift (Stage.iterate J hJ Q n) T) : detectionProbability J hJ Q n S (L.restrict hST) ≤ detectionProbability J hJ Q n T L := by …Mentions: OAI.MaxCutGames.Gadget.Lift, OAI.MaxCutGames.Gadget.Stage.iterate, OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability
- theorem
OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability_zero_of_rank_posline 632 - theorem
OAI.MaxCutGames.Gadget.LeafDetection.survivalProbability_zeroline 657 - theorem
OAI.MaxCutGames.Gadget.LeafDetection.survivalProbability_succline 667 - theorem
OAI.MaxCutGames.Gadget.LeafDetection.average_child_detection_leline 682 - theorem
OAI.MaxCutGames.Gadget.LeafDetection.half_survival_le_detectionline 703Source documentation
Detection by the root lift is at least one half the actual terminal-rank survival probability, on precisely the recursively generated noise sample.
theorem half_survival_le_detection (n : ℕ) (S : Submodule (ZMod 2) (B →ₗ[ZMod 2] ZMod 2)) (L : Lift (Stage.iterate J hJ Q n) S) : (1 / 2 : ℚ) * survivalProbability J hJ Q n S L ≤ detectionProbability J hJ Q n S L := by …Mentions: OAI.MaxCutGames.Gadget.Lift, OAI.MaxCutGames.Gadget.Stage.iterate, OAI.MaxCutGames.Gadget.LeafDetection.survivalProbability, OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability
- theorem
OAI.MaxCutGames.Gadget.LeafDetection.quarter_detection_of_terminal_potentialline 728Source documentation
Actual quarter detection follows from retaining half the initial MaxCutGames.Gadget.Harmonic.harmonic potential; all leaf-to-root event containments are already proved.
theorem quarter_detection_of_terminal_potential (n : ℕ) (S : Submodule (ZMod 2) (B →ₗ[ZMod 2] ZMod 2)) (L : Lift (Stage.iterate J hJ Q n) S) (hrank : 0 < Module.finrank (ZMod 2) S) (hpotential : MaxCutGames.Gadget.Harmonic.harmonic (Module.finrank (ZMod 2) S) / 2 ≤ terminalPotential J hJ Q n S L) : (1 / 4 : ℚ) ≤ detectionProbability J hJ Q n S L := by …Mentions: OAI.MaxCutGames.Gadget.Lift, OAI.MaxCutGames.Gadget.Stage.iterate, OAI.MaxCutGames.Gadget.Harmonic.harmonic, OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability
- theorem
OAI.MaxCutGames.Gadget.LeafDetection.quarter_detection_of_restricted_terminal_potentialline 743Source documentation
The fixed generic top subspace may be chosen inside a full logical family; the resulting quarter bound still concerns the original lift.
theorem quarter_detection_of_restricted_terminal_potential (n : ℕ) (S T : Submodule (ZMod 2) (B →ₗ[ZMod 2] ZMod 2)) (hST : S ≤ T) (L : Lift (Stage.iterate J hJ Q n) T) (hrank : 0 < Module.finrank (ZMod 2) S) (hpotential : MaxCutGames.Gadget.Harmonic.harmonic (Module.finrank (ZMod 2) S) / 2 ≤ terminalPotential J hJ Q n S (L.restrict hST)) : (1 / 4 : ℚ) ≤ detectionProbability J hJ Q n T L := …Mentions: OAI.MaxCutGames.Gadget.Lift, OAI.MaxCutGames.Gadget.Stage.iterate, OAI.MaxCutGames.Gadget.Harmonic.harmonic, OAI.MaxCutGames.Gadget.LeafDetection.detectionProbability