OAI/Combinatorics/TreewidthL1/OrderedSweep.lean
55 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.BoundedTreewidthL1.OrderedSweepFlow.fiberline 12 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.massline 16 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.bathline 19 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.totalline 22 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.riskline 24 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.mem_fiberline 32 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.fiber_eqline 39 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.mass_posline 44 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_const_fiberline 49 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_leline 54 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.le_bathline 62 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.fiber_ltline 70 - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_monotoneline 79 - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_antitoneline 91 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_boundsline 103 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_expandline 109 - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_totalline 117 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.defectline 144 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.optimalline 147 - def
OAI.BoundedTreewidthL1.OrderedSweepFlow.labelRealline 150 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.defect_eqline 158 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.bath_mulline 169 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.defect_bathline 184 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.optimal_fiberline 196 - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.optimal_monotoneline 200 - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.optimal_defect_leline 211 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.labelReal_boundsline 233 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.defect_mean_boundline 240 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.pair_mean_boundline 258 - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.monotone_classifierline 274Source documentation
On a chain of nested cuts, a monotone classifier determined by its trace on a bag is either constant or evaluation at one of that bag's vertices.
theorem monotone_classifier {P : Type*} (labels : α → P → Bool) (hl : ∀ p, Monotone (fun x => labels x p)) (c : α → Bool) (hc : Monotone c) (htrace : ∀ x y, (∀ p, labels x p = labels y p) → c x = c y) : c = (fun _ => false) ∨ c = (fun _ => true) ∨ ∃ p, c = (fun x => labels x p) := by … - theorem
OAI.BoundedTreewidthL1.OrderedSweepFlow.height_transportline 331Source documentation
The height-gap transport estimate for a retained ordered sweep.
fis the backward endpoint response; interval heat baths keep it monotone and preserve its mean. The comparison predictor may be arbitrarily randomized by the past.theorem height_transport {P : Type*} (μ : α → ℝ) (hμ : ∀ x, 0 < μ x) (b : α → β) (hb : Monotone b) (labels : α → P → Bool) (hl : ∀ p, Monotone (fun x => labels x p)) (htrace : ∀ x y, (∀ p, labels x p = labels y p) → b x = b y) (f p : α → ℝ) (hf : Monotone f) (hfb : ∀ x, 0 ≤ f x ∧ f x ≤ 1) (hp : ∀ x, 0 ≤ p x ∧ p x ≤ 1) (hpb : ∀ x y, b x = b y → p x = p y) (t : ℝ) (h0 : t ≤ total μ f) (h1 : t ≤ total μ (fun _ => 1) - total μ f) (hgap : ∀ v, t ≤ |total μ f - total μ (labelReal (fun x => labels x v))|) : t ≤ defect μ f p := by …Mentions: OAI.BoundedTreewidthL1.OrderedSweepFlow.total, OAI.BoundedTreewidthL1.OrderedSweepFlow.labelReal, OAI.BoundedTreewidthL1.OrderedSweepFlow.defect
- def
OAI.BoundedTreewidthL1.OrderedSweepFlow.executeline 370 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.execute_monotoneline 373 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.execute_totalline 382 - lemma
OAI.BoundedTreewidthL1.OrderedSweepFlow.execute_boundsline 390 - def
OAI.BoundedTreewidthL1.OrderedReservation.trueSetline 404 - def
OAI.BoundedTreewidthL1.OrderedReservation.Carrierline 408 - instance
OAI.BoundedTreewidthL1.OrderedReservation.(instance at line 410)line 410 - def
OAI.BoundedTreewidthL1.OrderedReservation.weightline 414 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.weight_posline 417 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.exists_thresholdline 421 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.thresholds_nestedline 434 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.carrier_nestedline 442 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.trueSet_injectiveline 451 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.rank_injectiveline 459 - instance
OAI.BoundedTreewidthL1.OrderedReservation.carrierOrderline 468 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.labels_monotoneline 471 - def
OAI.BoundedTreewidthL1.OrderedReservation.traceRankline 483 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.traceRank_monotoneline 486 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.traceRank_fiberline 495 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.sum_carrierline 524 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.sum_eventline 541 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.label_meanline 549 - lemma
OAI.BoundedTreewidthL1.OrderedReservation.total_weightline 583 - theorem
OAI.BoundedTreewidthL1.OrderedReservation.sweep_height_transportline 598Source documentation
Explicit descending-reservation transport on the original sweep measure. The chain may have any length, and testing and intermediate bags may repeat. There is no width assumption or Markov-flow hypothesis.
theorem sweep_height_transport (M : ℝ) (hM : 0 ≤ M) (F : V → ℝ) (hF : ∀ v, -M ≤ F v ∧ F v ≤ M) (z : V) (P : Finset V) (bags : List (Finset V)) (p : Carrier M F → ℝ) (hp : ∀ a, 0 ≤ p a ∧ p a ≤ 1) (hptrace : ∀ a b, (∀ v : P, a.val v = b.val v) → p a = p b) (t : ℝ) (hlo : t ≤ F z + M) (hhi : t ≤ M - F z) (hgap : ∀ v ∈ P, t ≤ |F z - F v|) : t ≤ defect (weight M F) (execute (weight M F) (bags.map (traceRank M F)) (labelReal (fun a => a.val z))) p := by …Mentions: OAI.BoundedTreewidthL1.OrderedReservation.Carrier, OAI.BoundedTreewidthL1.OrderedReservation.weight, OAI.BoundedTreewidthL1.OrderedReservation.traceRank