Deterministic directed uniform flow–cut algorithm
Lax455465.RamDirectedUniformFlowCut · concepts/Lax455465/RamDirectedUniformFlowCut.lean · lax-455465
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
A deterministic polynomial-time word RAM returns a cut and a rational uniform concurrent flow satisfying
on every rational directed -vertex instance with .
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax455465.FlowCutCertificate |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Deterministic directed uniform flow–cut algorithm |
| 6 | type: lemma |
| 7 | --- |
| 8 | A deterministic polynomial-time word RAM returns a cut and a rational |
| 9 | uniform concurrent flow satisfying |
| 10 | |
| 11 | on every rational directed -vertex instance with . |
| 12 | |
| 13 | # Formalization notes |
| 14 | |
| 15 | All input weights equal one. The proof specializes the directed product |
| 16 | algorithm; every vertex has positive weight, so . Its program, exact |
| 17 | output, and registered RAM polynomial-time guarantee are retained. |
| 18 | -/ |
| 19 | |
| 20 | open scoped NNReal |
| 21 | |
| 22 | namespace Lax455465.RamDirectedUniformFlowCut |
| 23 | |
| 24 | open Lax455465.ProductNetwork Lax455465.ConcurrentFlow |
| 25 | open Lax455465.RationalEncoding Lax455465.FlowCutCertificate Lax759944.RamPolytime |
| 26 | |
| 27 | /-- The uniform directed specialization of the product algorithm. -/ |
| 28 | axiom exists_polynomial_time_flow_cut : |
| 29 | ∃ (solve : List ℕ → List ℕ) (C : ℝ), RamPolytime solve ∧ 0 < C ∧ |
| 30 | ∀ (n : ℕ) (I : RationalInstance n), (∀ v, I.weight v = 1) → 2 ≤ n → |
| 31 | ∃ certificate : Certificate n, |
| 32 | solve (encodeInput .directed I) = encodeCertificate certificate ∧ |
| 33 | AdmissibleCut I.weights certificate.cut ∧ |
| 34 | IsArcConcurrentFlow .directed I.network I.weights |
| 35 | (certificate.flow.value : ℝ≥0) certificate.flow.flow ∧ |
| 36 | (ratioCost I.network I.weights certificate.cut : ℝ) ≤ |
| 37 | C * logFactor n * (certificate.flow.value : ℝ) |
| 38 | |
| 39 | end Lax455465.RamDirectedUniformFlowCut |
| 40 |
Formalization notes
All input weights equal one. The proof specializes the directed product algorithm; every vertex has positive weight, so . Its program, exact output, and registered RAM polynomial-time guarantee are retained.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments