MindFormal v1.0.0One Mind

MindFormal.Run.A617Market.FiniteCertificate

structure MindFormal.A617Market.EnclosedSlot {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} (r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J) (H : NNReal) (ω : Ω) (a : Fin N) (index : ℕ) :

A full guard/score enclosure, including the first-event exclusion, all output rivals and the actual residual release. No native mark is a field.

Instances For
    theorem MindFormal.A617Market.EnclosedSlot.first {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J} {H : NNReal} {ω : Ω} {a : Fin N} {index : ℕ} (C : EnclosedSlot r H ω a index) (entry deadline : ℝ) (he : entry ≤ C.L) (hd : C.U ≤ deadline) (hp : ∀ j < index, (↑↑(r.records H ω a false) j).2 ≠ Sum.inr () → (↑↑(r.records H ω a false) j).1 < entry) :
    A595Trade.FirstMark (A595Trade.nativeHistories r H ω) a index C.winner entry deadline
    theorem MindFormal.A617Market.EnclosedSlot.slot {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J} {H : NNReal} {ω : Ω} {a : Fin N} {index : ℕ} (C : EnclosedSlot r H ω a index) :
    ∃ t ∈ Set.Icc C.L C.U, ↑↑(r.records H ω a false) index = (t, Sum.inl C.winner)
    inductive MindFormal.A617Market.FirstDecision {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} (r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J) (H : NNReal) (ω : Ω) (a : Fin N) (index : ℕ) (label : Fin (M a)) (entry deadline : ℝ) :

    Both acceptance and refusal cases are certified from complete path inequalities. A wrong first output, a missed window, an earlier commitment, and a wholly unqualified race are distinct failure cases.

    Instances For
      theorem MindFormal.A617Market.FirstDecision.correct {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J} {H : NNReal} {ω : Ω} {a : Fin N} {index : ℕ} {label : Fin (M a)} {entry deadline : ℝ} {bit : Bool} (C : FirstDecision r H ω a index label entry deadline bit) :
      A595Trade.FirstMark (A595Trade.nativeHistories r H ω) a index label entry deadline ↔ bit = true
      structure MindFormal.A617Market.TicketDecision {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} (r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J) (H : NNReal) (ω : Ω) (reference : A595Trade.Histories M) (o : A595Trade.Ticket M) :

      A finite native-reference certificate covers every required quote and both assents, including refused and timed-out reference branches.

      Instances For
        theorem MindFormal.A617Market.TicketDecision.marks {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J} {H : NNReal} {ω : Ω} {reference : A595Trade.Histories M} {o : A595Trade.Ticket M} (C : TicketDecision r H ω reference o) :
        o.Marks (A595Trade.nativeHistories r H ω) ↔ o.Marks reference
        noncomputable def MindFormal.A617Market.FinitePaid.vector {N : ℕ} {M : Fin N → ℕ} {K : ℕ} (offers : List (A595Trade.Ticket M × Fin K)) (h : A595Trade.Histories M) (s : A595Trade.Ledger N) :
        Fin offers.length → Option (Fin K)
        Equations
        Instances For
          theorem MindFormal.A617Market.FinitePaid.read_measurable {N : ℕ} {M : Fin N → ℕ} {K : ℕ} {Ξ : Type u_5} {E : Type u_6} [MeasurableSpace Ξ] [MeasurableSpace E] {h : Ξ → A595Trade.Histories M} (hh : Measurable h) (offers : List (A595Trade.Ticket M × Fin K)) (s : A595Trade.Ledger N) (f : List (Option (Fin K)) → E) :
          Measurable fun (x : Ξ) => f (flags offers (h x) s)
          theorem MindFormal.A617Market.FinitePaid.measurable_vector {N : ℕ} {M : Fin N → ℕ} {K : ℕ} {Ξ : Type u_5} [MeasurableSpace Ξ] {h : Ξ → A595Trade.Histories M} (hh : Measurable h) (offers : List (A595Trade.Ticket M × Fin K)) (s : A595Trade.Ledger N) :
          Measurable fun (x : Ξ) => vector offers (h x) s
          theorem MindFormal.A617Market.FinitePaid.flags_eq {N : ℕ} {M : Fin N → ℕ} {K : ℕ} (offers : List (A595Trade.Ticket M × Fin K)) (h reference : A595Trade.Histories M) (hm : ∀ o ∈ offers, o.1.Marks h ↔ o.1.Marks reference) (s : A595Trade.Ledger N) :
          flags offers h s = flags offers reference s ∧ A595Trade.Ticket.run (List.map Prod.fst offers) h s = A595Trade.Ticket.run (List.map Prod.fst offers) reference s
          theorem MindFormal.A617Market.finite_native_vector_tv {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {N : ℕ} {M n : Fin N → ℕ} {V : Fin N → Type u_3} {Λ : Fin N → Type u_4} [(a : Fin N) → Fintype (V a)] [(a : Fin N) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [MeasureTheory.IsProbabilityMeasure μ] {K : ℕ} (r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J) (H : NNReal) (offers : List (A595Trade.Ticket M × Fin K)) (s : A595Trade.Ledger N) (reference : Ω → A595Trade.Histories M) (href : Measurable reference) (good : Set Ω) (ε : ℝ) (cert : ∀ ω ∈ good, ∀ o ∈ offers, TicketDecision r H ω (reference ω) o.1) (bad : μ.real goodᶜ ≤ ε) :
          tv (MarkedMass.ofLaw μ (fun (ω : Ω) => FinitePaid.vector offers (A595Trade.nativeHistories r H ω) s) ⋯).mass (MarkedMass.ofLaw μ (fun (ω : Ω) => FinitePaid.vector offers (reference ω) s) ⋯).mass ≤ ε

          Complete finite price-mark vector TV. The error is for one common path/stream/strip event and is paid once for the entire recursively settled vector. All first decisions and the ensuing ledger agree by proved event and ledger induction, rather than a supplied mark-equality premise.