File size: 730 Bytes
e5a97c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import Mathlib
import OAI.Combinatorics.MatchingCount.Sampling.PM
namespace OAI
namespace MatchingFPRAS.Transport.IndexedCycle
variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L]
variable {bags : V → Finset L}
noncomputable local instance finiteSamplerBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _
variable (c : IndexedCycle (BagEdge.Incident (bags := bags)))
variable {G : SimpleGraph L}
variable (hbags : ∀ v, ∀ a ∈ bags v, ∀ b ∈ bags v, a = b ∨ G.Adj a b)
variable (height : L → ℝ) (hheight : ∀ l, 0 < height l)
variable (hstep : ∀ a b, G.Adj a b → height a ≤ 2 * height b)
include hheight hstep
end MatchingFPRAS.Transport.IndexedCycle
end OAI
|