OAI/Probability/CriticalZ3/Matching.lean
17 declarations, 0 contain sorry, 0 declared as axioms
Exact greedy constants used in the shell trials and contour estimate.
- theorem
OAI.GreedyPacking.exists_packingline 18Source documentation
Greedily deleting at most M conflicts loses at most M elements per choice.
theorem exists_packing (t : Finset α) (R : α → α → Prop) (hrefl : ∀ a ∈ t, R a a) (hsym : ∀ a ∈ t, ∀ b ∈ t, R a b → R b a) (M : ℕ) (hM : ∀ a ∈ t, (t.filter (R a)).card ≤ M) : ∃ s : Finset α, s ⊆ t ∧ (s : Set α).Pairwise (fun a b => ¬R a b) ∧ t.card ≤ M*s.card := by … - theorem
OAI.GreedyPacking.exists_packing_cardline 52Source documentation
The prescribed K choices exist once there are K M candidates.
theorem exists_packing_card (t : Finset α) (R : α → α → Prop) (hrefl : ∀ a ∈ t, R a a) (hsym : ∀ a ∈ t, ∀ b ∈ t, R a b → R b a) (M K : ℕ) (hM0 : 0 < M) (hM : ∀ a ∈ t, (t.filter (R a)).card ≤ M) (ht : K*M ≤ t.card) : ∃ s : Finset α, s ⊆ t ∧ s.card = K ∧ (s : Set α).Pairwise (fun a b => ¬R a b) := by … - def
OAI.FiniteMatching.incidentline 68 - def
OAI.FiniteMatching.conflictline 71 - theorem
OAI.FiniteMatching.conflict_reflline 75 - theorem
OAI.FiniteMatching.conflict_symmline 78 - theorem
OAI.FiniteMatching.conflict_cardline 82 - theorem
OAI.FiniteMatching.exists_matchingline 98 - theorem
OAI.FiniteMatching.endpoint_injectiveline 108 - def
OAI.PlanarBoundary.primalInsideline 127 - def
OAI.PlanarBoundary.primalOutsideline 128 - theorem
OAI.PlanarBoundary.boundary_degreeline 131Source documentation
Boundary edges incident to a fixed primal vertex have at most four possibilities.
theorem boundary_degree (X : Finset Point) (v : Point) : Fintype.card {e : Boundary X // primalInside e = v ∨ primalOutside e = v} ≤ 4 := by …Mentions: OAI.PlanarBoundary.Point, OAI.PlanarBoundary.Boundary, OAI.PlanarBoundary.primalInside, OAI.PlanarBoundary.primalOutside
- def
OAI.PlanarBoundary.Validline 156 - def
OAI.PlanarBoundary.innerline 160 - def
OAI.PlanarBoundary.outerline 161 - theorem
OAI.PlanarBoundary.code_degreeline 164 - theorem
OAI.PlanarBoundary.exists_code_matchingline 184