MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch13.A767MarkedReset.Preparation

G22, the marked-reset common preparation.

Takes. A ChoicePlan: the primitive RT1.8 parameters of one two-kind, unequal-rate, nonconstant-gain mind, with its numerical training and blank/query certificates (the printed RT1.12–15 tests) for a finite profile collection; a completed original Brownian ground; a clock source on that ground whose law is the plan's constructed marked Poisson reset law (Clock.law, an explicit Poisson random measure of reset times carrying uniform cue marks, adapted to the ground's filtration). For each of two menus, its offered set and pool load, and the printed deadline and pair margins of its intended winner.

Provides. Both menus' native runs start from zero activity, links, traces and both value banks and are driven by the same sources and the same reset stream; almost surely they agree at every time through the whole training, so the preparation is common and actually acquired, not supplied. For each menu a measurable certificate event of mass at least 1 - bill, on which the profile is acquired, every option's native action score stays within the certificate's error of the noise-free held comparison throughout the query, and the intended winner is the actual next native action. Hence the absolute choice share of each menu's winner is at least 1 - bill, every other option's share is at most bill, and the first winner's share differs between the two menus by at least 1 - bill - bill.

Scope. EQUATIONS' mind: finitely many Brownian sources, activity reflected at zero only, links and values unbounded; the plan's caps are numerical certificate caps, not state bounds. Every writer, the native focus and action clocks, the gain and the strict-past action returns move. The reset stream is world randomness with its constructed law; no Dynkin martingale, successful preparation, history, event or winner is assumed.

Instantiation. Choose a plan (choice_plan_exists, or choice_plan_from_recipe) for the consumer's profile and verify the two menus' printed margins numerically; common_preparation then returns the whole package on every ground and clock source.

noncomputable def MindFormal.A767MarkedReset.bill {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) (j : J) :

The printed failure bill of profile j's full finite certificate: the training, blank and query excursion and occupation prices, clipped at one. Its query input bound covers every menu of the plan, so each menu's certificate carries this bill.

Equations
Instances For
    theorem MindFormal.A767MarkedReset.bill_lt {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) (j : J) :
    bill C j < p
    def MindFormal.A767MarkedReset.share {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) {Ω : Type u_2} [MeasurableSpace Ω] (B : EquationGround Ω (PageFamily.Coord (d + 3))) (hB : CompletedEquationGround B) (clock : A617Choice.TrainingFamily.ClockSource B C.clockRate C.clockLaw) (j : J) (u : Fin (d + 3) → ℝ) (hu : 0 ≤ u) (w : Fin d) :

    The absolute choice share of option w in the query with input u: the probability that the next native action after the query opens is w, by the query's deadline.

    Equations
    Instances For
      def MindFormal.A767MarkedReset.ScoresWithin {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) {Ω : Type u_2} [MeasurableSpace Ω] (B : EquationGround Ω (PageFamily.Coord (d + 3))) (hB : CompletedEquationGround B) (clock : A617Choice.TrainingFamily.ClockSource B C.clockRate C.clockLaw) (j : J) (u : Fin (d + 3) → ℝ) (hu : 0 ≤ u) (bg : ℝ) (offered : Fin d → Bool) (ω : Ω) :

      In the menu with pool load bg and offered set offered, every option's native action score stays within the certificate's error of the noise-free held comparison at rest start, rate one, target the menu's normalized share and requirement the profile's, throughout the query.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.A767MarkedReset.wins_unique {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) {Ω : Type u_2} [MeasurableSpace Ω] (B : EquationGround Ω (PageFamily.Coord (d + 3))) (hB : CompletedEquationGround B) (clock : A617Choice.TrainingFamily.ClockSource B C.clockRate C.clockLaw) (j : J) (u : Fin (d + 3) → ℝ) (hu : 0 ≤ u) {w i : Fin d} {ω : Ω} (hw : C.Wins B hB clock j u hu w ω) (hi : C.Wins B hB clock j u hu i ω) :
        w = i

        Two native winners of the same query are the same option.

        theorem MindFormal.A767MarkedReset.menu_certificate {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) {Ω : Type u_2} [MeasurableSpace Ω] (B : EquationGround Ω (PageFamily.Coord (d + 3))) (hB : CompletedEquationGround B) (clock : A617Choice.TrainingFamily.ClockSource B C.clockRate C.clockLaw) (hσstar : 0 < σstar) (j : J) (bg : ℝ) (hbg : 0 ≤ bg) (offered : Fin d → Bool) (hz : ∀ (i : Fin d), 0 ≤ z j i) (hQu : 1 ≤ Qu) (hbgQ : bg / C.recipe.ε ≤ Qu) (hbmin : ∀ (i : Fin d), bmin ≤ b j i) (htol : ∀ (i : Fin d), tol ≤ b j i) (w : Fin d) (hdeadline : b j w + tol < A617Choice.held 1 (A617Choice.TrainingFamily.General.menuTarget A σstar (z j) bg offered w) ↑query) (hpair : ∀ (i : Fin d), i ≠ w → 0 < A617Choice.TrainingFamily.General.menuTarget A σstar (z j) bg offered i → (b j w + tol) * A617Choice.TrainingFamily.General.menuTarget A σstar (z j) bg offered i < (b j i - tol) * A617Choice.TrainingFamily.General.menuTarget A σstar (z j) bg offered w) :
        let u := A617Choice.TrainingFamily.General.menuInput C.σ σstar C.recipe.ε bg offered; have hu := ⋯; ∃ (good : Set Ω), MeasurableSet good ∧ 1 - bill C j ≤ B.μ.real good ∧ ∀ ω ∈ good, C.Acquired j ((C.queryExperiment B hB clock j u hu).supportHistory ω) ∧ ScoresWithin C B hB clock j u hu bg offered ω ∧ C.Wins B hB clock j u hu w ω

        One menu's full finite certificate event, re-derived from the constructed training, blank and query history: the acquired profile, every option's score within the certificate's error and the literal native winner. Only the menu's primitive load and its printed numerical margins are supplied.

        theorem MindFormal.A767MarkedReset.common_preparation {J : Type u_1} {d : ℕ} [NeZero d] {z b : J → Fin d → ℝ} {A σstar Qu δ tol bmin p : ℝ} {query : NNReal} (C : A617Choice.TrainingFamily.General.ChoicePlan A z b σstar Qu δ tol bmin p query) {Ω : Type u_2} [MeasurableSpace Ω] (B : EquationGround Ω (PageFamily.Coord (d + 3))) (hB : CompletedEquationGround B) (clock : A617Choice.TrainingFamily.ClockSource B C.clockRate C.clockLaw) (hσstar : 0 < σstar) (j : J) (bg : Fin 2 → ℝ) (hbg : ∀ (m : Fin 2), 0 ≤ bg m) (offered : Fin 2 → Fin d → Bool) (hz : ∀ (i : Fin d), 0 ≤ z j i) (hQu : 1 ≤ Qu) (hbgQ : ∀ (m : Fin 2), bg m / C.recipe.ε ≤ Qu) (hbmin : ∀ (i : Fin d), bmin ≤ b j i) (htol : ∀ (i : Fin d), tol ≤ b j i) (winner : Fin 2 → Fin d) (hdeadline : ∀ (m : Fin 2), b j (winner m) + tol < A617Choice.held 1 (A617Choice.TrainingFamily.General.menuTarget A σstar (z j) (bg m) (offered m) (winner m)) ↑query) (hpair : ∀ (m : Fin 2) (i : Fin d), i ≠ winner m → 0 < A617Choice.TrainingFamily.General.menuTarget A σstar (z j) (bg m) (offered m) i → (b j (winner m) + tol) * A617Choice.TrainingFamily.General.menuTarget A σstar (z j) (bg m) (offered m) i < (b j i - tol) * A617Choice.TrainingFamily.General.menuTarget A σstar (z j) (bg m) (offered m) (winner m)) :
        let u := fun (m : Fin 2) => A617Choice.TrainingFamily.General.menuInput C.σ σstar C.recipe.ε (bg m) (offered m); have hu := ⋯; (∀ (m : Fin 2) (ω : Ω), ((C.queryExperiment B hB clock j (u m) ⋯).supportHistory ω).state 0 = 0) ∧ (∀ᵐ (ω : Ω) ∂B.μ, ∀ t ∈ Set.Icc 0 ↑C.horizon, ((C.queryExperiment B hB clock j (u 0) ⋯).supportHistory ω).state t = ((C.queryExperiment B hB clock j (u 1) ⋯).supportHistory ω).state t) ∧ (∃ (good : Fin 2 → Set Ω), (∀ (m : Fin 2), MeasurableSet (good m)) ∧ (∀ (m : Fin 2), 1 - bill C j ≤ B.μ.real (good m)) ∧ 1 - min 1 (bill C j + bill C j) ≤ B.μ.real (good 0 ∩ good 1) ∧ ∀ (m : Fin 2), ∀ ω ∈ good m, C.Acquired j ((C.queryExperiment B hB clock j (u m) ⋯).supportHistory ω) ∧ ScoresWithin C B hB clock j (u m) ⋯ (bg m) (offered m) ω ∧ C.Wins B hB clock j (u m) ⋯ (winner m) ω) ∧ (∀ (m : Fin 2), 1 - bill C j ≤ share C B hB clock j (u m) ⋯ (winner m)) ∧ (∀ (m : Fin 2) (i : Fin d), i ≠ winner m → share C B hB clock j (u m) ⋯ i ≤ bill C j) ∧ (winner 0 ≠ winner 1 → 1 - bill C j - bill C j ≤ share C B hB clock j (u 0) ⋯ (winner 0) - share C B hB clock j (u 1) ⋯ (winner 0))

        G22. The marked-reset common preparation for two menus: zero start, almost-sure agreement through the whole training on the same sources and reset stream, both certificate events with their bills and their joint event, and the absolute shares they imply.