math / data /lean /OAI /Combinatorics /MatchingCount /Sampling /FiniteSampler.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
730 Bytes
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