The recursive oracle near the moment relaxation

Lax263307.NearOracle · concepts/Lax263307/NearOracle.lean · lax-263307

definition

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Definition

    The oracle searches for a heavy conditioning set, computes separators, and queries the resulting parts. Its possible outputs are an independent set, a component cut, or rejection.

    The correctness predicate requires an approximation guarantee for a found set and a valid inequality with a quantitative gap for a returned cut. It rules out rejection under the oracle's hypotheses.

    Concept map
    80 concepts; 3 descendants hidden
    100%
    Certificates of infeasibilityLinear programs and their dualsExact rational solution certificatesBinary-size encoding of rational linearprogramsCertificates of unboundednessTreewidthExplicit integer budgets for the round-or-cutalgorithmTreewidth transfer through analmost-embeddingBalanced closed parts certify a balancedseparatorProtected balls for the rounded ellipsoidmethodInteger coefficients of recursive separatingcutsValid separating inequalities fromindependent-set boundsComputing the recursive answer-or-cutdecisionComputing balanced light separators fromregistered flow-cut outputsConditioning graph routes on uniformendpointsConditioning preserves bounded costs andtotal massJoint distributions for the entropy-decreaseargumentBags meeting a connected vertex setTree-decomposition transfer throughconnected vertex representationsA computable catalog and index for momentcoordinatesA width obstruction from sparse costs andbounded route loadsCoupled route sampling with shared verteximagesA good coupled sample with bounded totalroute sizeRepeated cuts yield a balanced lightseparatorEdge-sublinear separators implyedge-sublinear decomposition bagsTreewidth loss under edge deletionStrongly edge-sublinear separatorsEntropy and adjacency massEntropy lies between zero and the logarithmof the orderEdge mass bounds the average entropydecreaseFinite product sampling and coordinatemarginalsThe split flow-cut certificate must give acheap separationHereditary graph classesConditioning with a quantitative momentlower boundExact rational search above the conditioningmoment floorRecursive rounding after discarding lightpartsRestricting an induced almost-embedding toits route unionA class width bound obstructs induced routesamplingFew edges in the graph induced by shortroutesAlmost-embedding transfer with isolatedsource verticesThe independent-set relaxation and its exacthullThe moment relaxation as an explicitrational linear programThe recursive oracle near the momentrelaxationSparse bounded-load route distributions areimpossibleCollision and length bounds forindependently sampled pathsInteger power bounds on class decompositionbagsRational conditioning and its candidate listDepth and approximation loss of balancedrecursionCombining independent sets on separatedpartsCumulative separator cost over disjointdiscarded shoresA bounded rounded ellipsoid search withanswer-or-cut repliesGraph-route distributions from high-valuesplit flowsDiscarding long almost-embedding routesUniform endpoint normalization of finitepath flowsAn induced almost-embedding from a goodroute sampleChoosing a collision-free outcome withbounded total path lengthThe components left by deleting a separatorTree decompositions from recursive balancedseparatorsControlled-size subcubic source graphs oflinear treewidthProjecting split paths and preservingendpoint loadsQuantitative gaps for recursive componentcutsVertex splitting for the directed flow–cutalgorithmWeighted independent setsPolynomial order bound from the sampledwidth inequalityConcurrent fractional flowExact flow–cut output certificatesProduct multicommodity networks andsparsest cutsDeterministic directed uniform flow–cutalgorithmRational flow instances and certificatesBinary encoding of finite wordsPolynomial-time computation by a wordRAMThe word RAMThe Constructor Meets the Requested OrderEdge Expansion and Subcubic GraphsThe Explicit Family Has Linear TreewidthSelecting and Encoding the ConstructedGraphsRotation Map of the Fixed Powered SeedDeterministic Search for a Fixed ExpanderSeedThe Explicit Graphs Are SubcubicExplicit Zig-Zag Family and PathReplacement
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Lean source view on GitHub

    1import Lax263307.ComputedSeparators
    2import Lax263307.ComputedRounding
    3import Lax263307.HeavyRationalConditioning
    4import Lax263307.AlgorithmParameters
    5
    6/-!
    7---
    8title: The recursive oracle near the moment relaxation
    9type: definition
    10---
    11The oracle searches for a heavy conditioning set, computes separators,
    12and queries the resulting parts. Its possible outputs are an independent
    13set, a component cut, or rejection.
    14
    15The correctness predicate requires an approximation guarantee for a found
    16set and a valid inequality with a quantitative gap for a returned cut.
    17It rules out rejection under the oracle's hypotheses.
    18
    19# Formalization notes
    20
    21`ChildCorrect` specifies the recursive answers on balanced parts.
    22`Correct` specifies the corresponding answer or cut at the current level.
    23The function itself is computable for the supplied flow solver and child
    24queries.
    25-/
    26
    27namespace Lax263307.NearOracle
    28
    29open AlgorithmParameters (level load sparsity)
    30open ComponentCutEncoding (coefficient evaluate)
    31open ComputedRounding (collect)
    32open ComputedSeparators (cuts pieces step)
    33open HeavyRationalConditioning (findHeavyConditioning)
    34open scoped NNRat
    35open LinearRelaxation RationalConditioning
    36
    37def costs {n r : ℕ} (y : RationalVector n r) (A : Finset (Fin n)) (v : Fin n) : ℚ≥0 :=
    38 ⟨max 0 (rationalValue y (insert v A) / rationalValue y A), le_max_left _ _⟩
    39
    40def order (q : ℕ) : List (Option (Fin q)) := none :: (List.finRange q).map some
    41
    42inductive Result (n : ℕ)
    43 | found (vertices : Finset (Fin n))
    44 | cut (conditioning vertices : Finset (Fin n)) (bound : ℕ)
    45 | reject
    46
    47def run {n : ℕ} (flow : List ℕ → List ℕ) (a K B D : ℕ)
    48 (G : SimpleGraph (Fin n)) [DecidableRel G.Adj] (k : ℕ)
    49 (y : RationalVector n (level a K B n D))
    50 (child : Finset (Fin n) → ℕ → Option (Finset (Fin n))) : Result n :=
    51 let p := sparsity a K B n D
    52 match findHeavyConditioning G k p y with
    53 | none => .reject
    54 | some A =>
    55 let x := costs y A
    56 let cs := cuts
    57 (step flow G x B (load B n D) k) n Finset.univ
    58 let parts := pieces cs
    59 let c : Option (Fin cs.length) → ℚ := fun i => ∑ v ∈ parts i, (x v : ℚ)
    60 match collect (order cs.length) parts (1 / D) k c
    61 (fun i t => child (parts i) t) with
    62 | .found I => .found I
    63 | .cut C u => .cut A C u
    64
    65def ChildCorrect {n : ℕ} (G : SimpleGraph (Fin n)) (D h : ℕ)
    66 (child : Finset (Fin n) → ℕ → Option (Finset (Fin n))) : Prop :=
    67 ∀ C : Finset (Fin n), 3 * C.card ≤ 2 * n → ∀ t : ℕ,
    68 match child C t with
    69 | some I => I ⊆ C ∧ G.IsIndepSet (I : Set (Fin n)) ∧
    70 (1 - 4 * (1 / (D : ℝ))) ^ h * (t : ℝ) ≤ I.card
    71 | none => IsIndependenceBound G C (t - 1)
    72
    73def Correct {n r : ℕ} (G : SimpleGraph (Fin n)) (k h D : ℕ) (η : ℝ)
    74 (x : MomentVector n r) : Result n → Prop
    75 | .found I => G.IsIndepSet (I : Set (Fin n)) ∧
    76 (1 - 4 * (1 / (D : ℝ))) ^ (h + 1) * (k : ℝ) ≤ I.card
    77 | .cut A C u => A.card ≤ r ∧ u ≤ n ∧ IsIndependenceBound G C u ∧
    78 (∀ z ∈ independentSetHull G k r,
    79 evaluate (coefficient A C u) z ≤ 0) ∧
    80 η * (1 / (D : ℝ)) ^ 2 / (16 * n) ≤
    81 evaluate (coefficient A C u) x ∧
    82 (∑ T : Coordinate n r, |(coefficient A C u T : ℝ)|) ≤ 2 * n
    83 | .reject => False
    84
    85end Lax263307.NearOracle
    86
    Formalization notes

    ChildCorrectChildCorrect specifies the recursive answers on balanced parts. CorrectCorrect specifies the corresponding answer or cut at the current level. The function itself is computable for the supplied flow solver and child queries.

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…