import YM.MultipleContact.Pair.Extension import YM.MultipleContact.Matching.Choice import YM.MergeProof.Summit /-! Keeping the same baseline system and all the detector/filtration data for the two-point result. -/ set_option autoImplicit false set_option maxHeartbeats 800000 noncomputable section namespace YM.MultipleContact open Function Set Metric MeasureTheory Power Direct Filter Table Extraction Spec Two TopologicalSpace open scoped Topology ContDiff Distributions BigOperators Filter Classical variable {G:Gauge} -- Type* universe for number of exterior requests. Finite horizon first; fixed choices for all requests. def TwoPrescriptions {C:Family G}{S : Table C.book} (P:DiffPlan S) (Q:Splitting P)(D:∀ h,Detector S h):Prop := ∀A B:S.Tag, ∀(ι:Type*) [_F:Fintype ι](U:ι→Profile C.book),Eligible U→∀N:ℕ, massDeg A B-4≤N→ ∃r> (0:ℝ), (∀ V:Opens E4, ∀t∈targets S (includeIndexes D N U),∀s:ℝ, 0rule Q D r s (massDeg A B) (measurePair A B))) ∧ (∀h:ℕ,h≤N → ∃ γ:ℝ,0<γ ∧ Rate (h-(massDeg A B:ℝ)+γ) (1+massDeg A B) (targets S (includeIndexes D N U)) (fun s t f=>extMiss Q D r s (massDeg A B) h (measurePair A B) t f)) ∧ (∀h:ℕ,h≤N → ∀w:ℕ, w≤h → ∃γ:ℝ,0<γ ∧ ReadRate w (1+massDeg A B) ((w:ℝ)-1-(massDeg A B:ℝ)+γ) (fun s f=>Q.part w h (readExtended Q D r s (massDeg A B) h (measurePair A B) f))) -- Still choose any positive b and any initial extraction; no changed family per A,B,horizon,tolerance. theorem pairSummit (G:Gauge)(hG:G.Simple){b:ℝ} (hb:0 by obtain ⟨C,g,T,X,-,-,-⟩:=pairSummit.{0} G h one_pos Order.full; exact ⟨C,Order.full.refine g,T,⟨X⟩⟩ end YM.MultipleContact