Residual walk augmentation for real-capacity flows
Lax342547.ResidualFlows · concepts/Lax342547/ResidualFlows.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Every residual walk supplies a skew direction with the correct source and sink divergences. A sufficiently small positive real perturbation respects every capacity, so a maximum flow has no residual source-to-sink walk.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax342547.RealFlows |
| 2 | import Mathlib.Logic.Relation |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Residual walk augmentation for real-capacity flows |
| 7 | type: lemma |
| 8 | --- |
| 9 | Every residual walk supplies a skew direction with the correct source and sink divergences. A sufficiently small positive real perturbation respects every capacity, so a maximum flow has no residual source-to-sink walk. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax342547.ResidualFlows |
| 13 | |
| 14 | open Lax342547.RealFlows |
| 15 | open scoped BigOperators Topology |
| 16 | open Filter |
| 17 | |
| 18 | noncomputable def edgeDirection {V : Type} (u v : V) (a b : V) : ℝ := by |
| 19 | classical |
| 20 | exact (if a=u ∧ b=v then 1 else 0) - (if a=v ∧ b=u then 1 else 0) |
| 21 | |
| 22 | def Direction {V : Type} [Fintype V] (c f d : V → V → ℝ) (u v : V) : Prop := by |
| 23 | classical |
| 24 | exact (∀ a b, d a b = -d b a) ∧ |
| 25 | (∀ a, divergence d a = (if a=u then 1 else 0)-(if a=v then 1 else 0)) ∧ |
| 26 | (∀ a b, ¬ Residual c f a b → d a b ≤ 0) |
| 27 | |
| 28 | axiom edge_direction {V : Type} [Fintype V] (c f : V → V → ℝ) (u v : V) |
| 29 | (huv : Residual c f u v) : Direction c f (edgeDirection u v) u v |
| 30 | |
| 31 | axiom residual_walk_direction {V : Type} [Fintype V] (c f : V → V → ℝ) (u v : V) |
| 32 | (hpath : Relation.ReflTransGen (Residual c f) u v) : |
| 33 | ∃ d, Direction c f d u v |
| 34 | |
| 35 | axiom feasible_augmentation {V : Type} [Fintype V] |
| 36 | (c f d : V → V → ℝ) (s t : V) (hfeasible : Feasible c f s t) |
| 37 | (hdir : Direction c f d s t) : |
| 38 | ∃ δ : ℝ, 0 < δ ∧ Feasible c (fun a b => f a b+δ*d a b) s t |
| 39 | |
| 40 | axiom maximal_no_residual_path {V : Type} [Fintype V] |
| 41 | (c f : V → V → ℝ) (s t : V) (hst : s ≠ t) (hf : Feasible c f s t) |
| 42 | (hmax : ∀ g, Feasible c g s t → divergence g s ≤ divergence f s) : |
| 43 | ¬ Relation.ReflTransGen (Residual c f) s t |
| 44 | |
| 45 | end Lax342547.ResidualFlows |
| 46 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments