Download data/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler3.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.21 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler3.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler3.lean
-
curl -L -o FiniteSampler3.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler3.lean
3.21 kB
| import Mathlib | |
| import OAI.Combinatorics.MatchingCount.Sampling.ChosenChord | |
| namespace OAI | |
| namespace MatchingFPRAS.Transport.CellDemands | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V β Finset L} {G : SimpleGraph L} | |
| noncomputable local instance finiteSampler3WeightedCellBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| variable {hbags : β v, β a β bags v, β b β bags v, a = b β¨ G.Adj a b} | |
| variable {hG : G.IsAcyclic} | |
| variable (height : L β β) (hheight : β l, 0 < height l) | |
| variable (hstep : β a b, G.Adj a b β height a β€ 2 * height b) | |
| variable (D : β) (hD : 1 β€ D) (w : BagEdge bags β β) | |
| variable (hw : β e, height e.color / D β€ w e β§ w e β€ 3 * height e.color) | |
| variable (lo hi : β) (hlo : 0 < lo) (hlohi : lo β€ hi) | |
| include hheight hstep hD hw hlohi | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V β Finset L} {G : SimpleGraph L} | |
| noncomputable local instance finiteSampler3AcyclicCellBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| variable {hbags : β v, β a β bags v, β b β bags v, a = b β¨ G.Adj a b} | |
| variable {hG : G.IsAcyclic} | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V β Finset L} {G : SimpleGraph L} | |
| noncomputable local instance finiteSampler3DemandCellBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| variable {hbags : β v, β a β bags v, β b β bags v, a = b β¨ G.Adj a b} | |
| variable {hG : G.IsAcyclic} | |
| end MatchingFPRAS.Transport.CellDemands | |
| namespace MatchingFPRAS.Transport | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V β Finset L} {G : SimpleGraph L} | |
| noncomputable local instance finiteSampler3TransportBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| variable (hbags : β v, β a β bags v, β b β bags v, a = b β¨ G.Adj a b) | |
| variable (hG : G.IsAcyclic) | |
| end MatchingFPRAS.Transport | |
| namespace MatchingFPRAS.Transport.CellDemands | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V β Finset L} {G : SimpleGraph L} | |
| noncomputable local instance finiteSampler3BoundedCellBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| variable {hbags : β v, β a β bags v, β b β bags v, a = b β¨ G.Adj a b} | |
| variable {hG : G.IsAcyclic} | |
| variable (height : L β β) (hheight : β l, 0 < height l) | |
| variable (hstep : β a b, G.Adj a b β height a β€ 2 * height b) | |
| variable (D : β) (hD : 1 β€ D) (w : BagEdge bags β β) | |
| variable (hw : β e, height e.color / D β€ w e β§ w e β€ 3 * height e.color) | |
| variable (lo hi : β) (hlo : 0 < lo) (hlohi : lo β€ hi) | |
| include hheight hstep hD hw hlo hlohi hbags hG | |
| end MatchingFPRAS.Transport.CellDemands | |
| namespace MatchingFPRAS.Transport | |
| open Finset | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V β Finset L} | |
| noncomputable local instance finiteSampler3BagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| end MatchingFPRAS.Transport | |
| end OAI | |