MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.A705SupportPrograms.GamesNative

19.38's native arms on the 25.7 join: every participant is a PG3.1 lesson-world run whose submitted word is read from its own native record; payments are computed from those words, and their expectations are bounded on one population event.

theorem MindFormal.A705SupportPrograms.pop_transfer {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (pay : Ω → ℝ) (hpay : Measurable pay) {R ref ε : ℝ} (hbound : ∀ (ω : Ω), pay ω ∈ Set.Icc 0 (0 + R)) (href : ref ∈ Set.Icc 0 (0 + R)) (good : Set Ω) (hfail : μ.real goodᶜ ≤ ε) (hcert : ∀ ω ∈ good, pay ω = ref) :
|∫ (ω : Ω), pay ω ∂μ - ref| ≤ R * ε

The coupling transfer without measurability of the certified event.

noncomputable def MindFormal.A705SupportPrograms.partSymbol {Ω : Type u_1} [MeasurableSpace Ω] {Q : Type u_2} {Γ : Type u_3} [Fintype Q] [Fintype Γ] [Nonempty Q] [Nonempty Γ] (M : Machine Q Γ) (c0 : Machine.Config Q Γ) (m : ℕ) (L : Page.Lesson) (ς : ℝ) (hς : 0 < ς) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (ω : Ω) :
Γ

A participant's submitted symbol: its record's symbol under the head after its whole run.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The beauty-contest record of a text and its single-text lesson (address C).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def MindFormal.A705SupportPrograms.beautyPay (z a b : Fin 4) :

            The beauty contest's net payment Z_max² - L at N = 3, γ = 2/3, for menu numbers.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MindFormal.A705SupportPrograms.beautyPay_measurable {Ω : Type u_1} [MeasurableSpace Ω] {f₀ f₁ f₂ : Ω → Fin 4} (h₀ : Measurable f₀) (h₁ : Measurable f₁) (h₂ : Measurable f₂) :
              Measurable fun (ω : Ω) => beautyPay (f₀ ω) (f₁ ω) (f₂ ω)
              theorem MindFormal.A705SupportPrograms.partSymbol_measurable {Ω : Type u_1} [MeasurableSpace Ω] {Q : Type u_2} {Γ : Type u_3} [Fintype Q] [Fintype Γ] [Nonempty Q] [Nonempty Γ] [MeasurableSpace Γ] (M : Machine Q Γ) (c0 : Machine.Config Q Γ) (m : ℕ) (L : Page.Lesson) (ς : ℝ) (hς : 0 < ς) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) :
              Measurable (partSymbol M c0 m L ς hς G hG H)
              theorem MindFormal.A705SupportPrograms.part_cert {Ω : Type u_1} [MeasurableSpace Ω] {Q : Type u_2} {Γ : Type u_3} [Fintype Q] [Fintype Γ] [Nonempty Q] [Nonempty Γ] (M : Machine Q Γ) (c0 : Machine.Config Q Γ) (N : ℕ) (k : Fin 3) (hk : k ≠ 0) (rB rC : Page.Interface) (hrec : (Page.textLesson k rB rC).records k = Page.machineRecord M c0 N) (ς : ℝ) (hς : 0 < ς) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (hH1 : 3 / 2 ≤ H) (hH2 : Page.tDead + ↑(N * M.program.length) * (1 / 5) ≤ ↑H) :
              G.μ.real (Page.joinCert (Page.textLesson k rB rC) ς hς G hG H (N * M.program.length))ᶜ ≤ Page.joinBill ς (N * M.program.length) ∧ ∀ ω ∈ Page.joinCert (Page.textLesson k rB rC) ς hς G hG H (N * M.program.length), ∀ s ≤ N, partSymbol M c0 (s * M.program.length) (Page.textLesson k rB rC) ς hς G hG H ω = (M.step^[s] c0).tape (M.step^[s] c0).head

              A single-text participant: its certificate, its price and its submitted symbol on it.

              theorem MindFormal.A705SupportPrograms.pg37Amplitude_anti {n m : ℕ} (h : n ≤ m) {ε : ℝ} (hε0 : 0 < ε) (hε1 : ε < 1) :

              A beauty-contest participant's certificate and its submitted symbol.

              In the supporting results, whose steps the book's proofs use, clause 1 of key 19.38: Calculating the wrong opponent more thoroughly can cost the prize (Worked example) · INDEX.md
              theorem MindFormal.A705SupportPrograms.result_19_38_1_L706 {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (ς : ℝ) (hς : 0 < ς) (G : Fin 3 → EquationGround Ω (PageFamily.Coord 3)) (hG : ∀ (a : Fin 3), CompletedEquationGround (G a)) (hμ : ∀ (a : Fin 3), (G a).μ = μ) (H : NNReal) (hH1 : 3 / 2 ≤ H) (hH2 : Page.tDead + ↑(4 * Page.beautyMachine.program.length) * (1 / 5) ≤ ↑H) :
              have len := Page.beautyMachine.program.length; have word := fun (a : Fin 3) (q0 : Fin 9) (N : ℕ) (ω : Ω) => partSymbol Page.beautyMachine (Page.beautyText q0) (N * len) (beautyLesson q0 N) ς hς (G a) ⋯ H ω; have pay := fun (q0 : Fin 9) (N : ℕ) (ω : Ω) => beautyPay (word 0 q0 N ω) (word 1 6 2 ω) (word 2 6 2 ω); have ε := fun (N : ℕ) => Page.joinBill ς (N * len) + 2 * Page.joinBill ς (2 * len); (closenessLoss 3 (2 / 3) 0 20 = 6400 / 81 ∧ closenessLoss 3 (2 / 3) 20 20 = 400 / 9 ∧ closenessLoss 3 (2 / 3) 0 20 - closenessLoss 3 (2 / 3) 20 20 = 2800 / 81) ∧ 1 * len < 4 * len ∧ |∫ (ω : Ω), pay 3 4 ω ∂μ - (1225 - 6400 / 81)| ≤ 1225 * ε 4 ∧ |∫ (ω : Ω), pay 6 1 ω ∂μ - (1225 - 400 / 9)| ≤ 1225 * ε 1 ∧ 2800 / 81 - 1225 * (ε 4 + ε 1) ≤ ∫ (ω : Ω), pay 6 1 ω ∂μ - ∫ (ω : Ω), pay 3 4 ω ∂μ ∧ (ς ≤ Page.pg37Amplitude (4 * len) (1 / 200) → ∫ (ω : Ω), pay 3 4 ω ∂μ < ∫ (ω : Ω), pay 6 1 ω ∂μ)

              19.38, clause 1: the specified finite beauty-contest controller earns less using a longer calculation with a wrong opponent prescription than using the simple response. Three participants, N = 3, γ = 2/3, menu {0, 20, 80/7, 35}, net payment 35² - L (range 1225): every participant is the PG3.1 controller of 25.7 (three contents, moving gain, two learned value elements, native IV focus and V acts, eighteen positive innovations of one amplitude ς, zero start) taught address C by 25.7's lesson, whose record there holds a prepared text on one compiled program; the grounds may share or correlate their noise (common law μ, no independence across participants). The two partners run the simple text (copy 20) for two transitions. The focal learner runs either the zero-equilibrium text, which tests (1-γ)z = 0 at 35, 80/7, 20, 0 in four transition circuits (4L native gates), or the simple text, one circuit (L gates). Each payment is computed from the words the native records actually hold. Conclusions: the reference losses 6400/81 and 400/9, gap 2800/81; the expected payments are within 1225 ε_e of 1225 - 6400/81 and 1225 - 400/9, ε_e the three participants' join bills; the simple arm's advantage is at least 2800/81 - 1225(ε_zero + ε_simple); and at every amplitude below PG3.7's for 4L gates and tolerance 1/200 the longer wrong-prescription calculation earns strictly less. Supplied steps: none.

              theorem MindFormal.A705SupportPrograms.centipedePay_measurable {Ω : Type u_2} [MeasurableSpace Ω] {f₀ f₁ : Ω → Bool × Bool} (h₀ : Measurable f₀) (h₁ : Measurable f₁) :
              Measurable fun (ω : Ω) => centipedeFocal (f₀ ω).1 (f₀ ω).2 (f₁ ω).1 (f₁ ω).2
              In the supporting results, whose steps the book's proofs use, clause 2 of key 19.38: Calculating the wrong opponent more thoroughly can cost the prize (Worked example) · INDEX.md
              theorem MindFormal.A705SupportPrograms.result_19_38_2_L706 {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (ς : ℝ) (hς : 0 < ς) (G : Fin 2 → EquationGround Ω (PageFamily.Coord 3)) (hG : ∀ (a : Fin 2), CompletedEquationGround (G a)) (hμ : ∀ (a : Fin 2), (G a).μ = μ) (H : NNReal) (hH1 : 3 / 2 ≤ H) (hH2 : Page.tDead + ↑(4 * Page.centipedeMachine.program.length) * (1 / 5) ≤ ↑H) :
              have len := Page.centipedeMachine.program.length; have plan := fun (a : Fin 2) (q0 : Page.CState) (N : ℕ) (ω : Ω) => partSymbol Page.centipedeMachine (Page.centipedeText q0) (N * len) (centipedeLesson q0 N) ς hς (G a) ⋯ H ω; have pay := fun (q0 : Page.CState) (N : ℕ) (ω : Ω) => centipedeFocal (plan 0 q0 N ω).1 (plan 0 q0 N ω).2 (plan 1 (Sum.inr (Sum.inl (true, false))) 2 ω).1 (plan 1 (Sum.inr (Sum.inl (true, false))) 2 ω).2; have ε := fun (N : ℕ) => Page.joinBill ς (N * len) + Page.joinBill ς (2 * len); (centipedeFocal false false true false = 2 ∧ centipedeFocal true true true false = 3) ∧ 1 * len < 4 * len ∧ |∫ (ω : Ω), pay (Sum.inl (4, 4)) 4 ω ∂μ - 2| ≤ 6 * ε 4 ∧ |∫ (ω : Ω), pay (Sum.inr (Sum.inl (true, true))) 1 ω ∂μ - 3| ≤ 6 * ε 1 ∧ 1 - 6 * (ε 4 + ε 1) ≤ ∫ (ω : Ω), pay (Sum.inr (Sum.inl (true, true))) 1 ω ∂μ - ∫ (ω : Ω), pay (Sum.inl (4, 4)) 4 ω ∂μ ∧ (ς ≤ Page.pg37Amplitude (4 * len) (1 / 200) → ∫ (ω : Ω), pay (Sum.inl (4, 4)) 4 ω ∂μ < ∫ (ω : Ω), pay (Sum.inr (Sum.inl (true, true))) 1 ω ∂μ)

              19.38, clause 2: the specified two-player centipede controller earns less using its longer wrong-opponent prescription than the simple response. The game is SD20's four-node centipede (focal player 1; terminal cells (2,1), (1,3), (4,2), (3,5), (6,4); finite contingent plans, only reached moves pay; range 6). Both players are the PG3.1 controller of 25.7, taught address C by its lesson, the record there holding a prepared text on one compiled program; the grounds share a law μ with no independence assumed. The partner's text submits its plan pass node 2, take node 4 (two transitions). The focal learner runs either the backward-induction text, which evaluates the four displayed comparisons (5 > 4, 4 > 3, 3 > 2, 2 > 1) in four transition circuits (4L native gates) and submits first take, or the simple text, which copies pass-both in one circuit (L gates). Each payment is computed from the plans the native records actually hold. Conclusions: the reference payments 2 and 3, gap 1; the expected payments are within 6 ε_e of them (ε_e the two participants' join bills); the simple arm's advantage is at least 1 - 6(ε_BI + ε_simple); and at every amplitude below PG3.7's for 4L gates and tolerance 1/200 the longer wrong-prescription calculation earns strictly less. Supplied steps: none.

              theorem MindFormal.A705SupportPrograms.choice_measurable {Ω : Type u_2} {α : Type u_3} [MeasurableSpace Ω] [Finite α] [MeasurableSpace α] [MeasurableSingletonClass α] {β : Type u_4} [MeasurableSpace β] {d : Ω → α} {c b : Ω → β} (hd : Measurable d) (hc : Measurable c) (hb : Measurable b) (P : α → Bool) (keyed : Bool) :
              Measurable fun (ω : Ω) => if P (d ω) = keyed then c ω else b ω
              In the supporting results, whose steps the book's proofs use, clause 3 of key 19.38: Calculating the wrong opponent more thoroughly can cost the prize (Worked example) · INDEX.md
              theorem MindFormal.A705SupportPrograms.result_19_38_3_L706 {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (ς : ℝ) (hς : 0 < ς) (G : Fin 3 → EquationGround Ω (PageFamily.Coord 3)) (hG : ∀ (a : Fin 3), CompletedEquationGround (G a)) (hμ : ∀ (a : Fin 3), (G a).μ = μ) (H : NNReal) (hH1 : 3 / 2 ≤ H) (hHb : Page.tDead + ↑(2 * Page.beautyMachine.program.length) * (1 / 5) ≤ ↑H) (hHc : Page.tDead + ↑(2 * Page.centipedeMachine.program.length) * (1 / 5) ≤ ↑H) :
              have lb := Page.beautyMachine.program.length; have lc := Page.centipedeMachine.program.length; have partner := fun (a : Fin 3) (twenty : Bool) (s : ℕ) (ω : Ω) => partSymbol Page.beautyMachine (Page.beautyText (if twenty = true then 6 else 5)) (s * lb) (beautyLesson (if twenty = true then 6 else 5) 2) ς hς (G a) ⋯ H ω; have LbC := Page.textLesson 2 (beautyRecord 5 1) (beautyRecord 7 1); have LbB := Page.textLesson 1 (beautyRecord 5 1) (beautyRecord 7 1); have wordC := fun (ω : Ω) => partSymbol Page.beautyMachine (Page.beautyText 7) (1 * lb) LbC ς hς (G 0) ⋯ H ω; have wordB := fun (ω : Ω) => partSymbol Page.beautyMachine (Page.beautyText 5) (1 * lb) LbB ς hς (G 0) ⋯ H ω; have bpay := fun (twenty keyed : Bool) (ω : Ω) => beautyPay (if decide (partner 1 twenty 1 ω = 1) = keyed then wordC ω else wordB ω) (partner 1 twenty 2 ω) (partner 2 twenty 2 ω); have εb := 2 * Page.joinBill ς (2 * lb) + 2 * Page.joinBill ς (1 * lb); have cpartner := fun (s4 : Bool) (s : ℕ) (ω : Ω) => partSymbol Page.centipedeMachine (Page.centipedeText (Sum.inr (Sum.inl (true, s4)))) (s * lc) (centipedeLesson (Sum.inr (Sum.inl (true, s4))) 2) ς hς (G 1) ⋯ H ω; have rB := centipedeRecord (Sum.inr (Sum.inl (true, true))) 1; have rC := centipedeRecord (Sum.inr (Sum.inl (true, false))) 1; have planC := fun (ω : Ω) => partSymbol Page.centipedeMachine (Page.centipedeText (Sum.inr (Sum.inl (true, false)))) (1 * lc) (Page.textLesson 2 rB rC) ς hς (G 0) ⋯ H ω; have planB := fun (ω : Ω) => partSymbol Page.centipedeMachine (Page.centipedeText (Sum.inr (Sum.inl (true, true)))) (1 * lc) (Page.textLesson 1 rB rC) ς hς (G 0) ⋯ H ω; have cpay := fun (s4 keyed : Bool) (ω : Ω) => centipedeFocal (if (cpartner s4 1 ω).2 = !keyed then planC ω else planB ω).1 (if (cpartner s4 1 ω).2 = !keyed then planC ω else planB ω).2 (cpartner s4 2 ω).1 (cpartner s4 2 ω).2; have εc := Page.joinBill ς (2 * lc) + 2 * Page.joinBill ς (1 * lc); (∀ (twenty : Bool), ∃ (cert : Set Ω), μ.real certᶜ ≤ εb ∧ ∀ ω ∈ cert, (partner 1 twenty 1 ω = if twenty = true then 1 else 0) ∧ ∃ (p : ℕ) (τ0 : ℝ), ((((Page.experiment (if twenty = true then LbC else LbB) ς hς (G 0) ⋯ H).supportHistory ω).native (↑H) false).search p).event = some (τ0, if twenty = true then 2 else 1) ∧ 2182 / 100 ≤ mindRelation (((Page.experiment (if twenty = true then LbC else LbB) ς hς (G 0) ⋯ H).supportHistory ω).state τ0) (if twenty = true then 2 else 1) 0) ∧ (∀ (twenty : Bool), |∫ (ω : Ω), bpay twenty true ω ∂μ - 1225| ≤ 1225 * εb ∧ |∫ (ω : Ω), bpay twenty false ω ∂μ - (1225 - 6400 / 81)| ≤ 1225 * εb ∧ 6400 / 81 - 2 * 1225 * εb ≤ ∫ (ω : Ω), bpay twenty true ω ∂μ - ∫ (ω : Ω), bpay twenty false ω ∂μ ∧ (ς ≤ Page.pg37Amplitude (2 * lb) (1 / 200) → ∫ (ω : Ω), bpay twenty false ω ∂μ < ∫ (ω : Ω), bpay twenty true ω ∂μ)) ∧ ∀ (s4 : Bool), |∫ (ω : Ω), cpay s4 true ω ∂μ - if s4 = true then 6 else 4| ≤ 6 * εc ∧ |∫ (ω : Ω), cpay s4 false ω ∂μ - if s4 = true then 4 else 3| ≤ 6 * εc ∧ 1 - 2 * 6 * εc ≤ ∫ (ω : Ω), cpay s4 true ω ∂μ - ∫ (ω : Ω), cpay s4 false ω ∂μ ∧ (ς ≤ Page.pg37Amplitude (2 * lc) (1 / 200) → ∫ (ω : Ω), cpay s4 false ω ∂μ < ∫ (ω : Ω), cpay s4 true ω ∂μ)

              19.38, clause 3: blank-start acquired diagnostic selection of the appropriate prepared strategy text restores the better native response, in both games. Every participant is the PG3.1 controller of 25.7 on its own ground (common law μ, no independence assumed). Partners have prepared texts and run one continuous program of two transition circuits: the first emits the diagnostic, the second the game word, nothing reset between. The focal learner starts blank (zero state, empty histories) and is taught by 25.7's lesson the address keyed to the partner's actual disclosed diagnostic (beauty contest: a disclosed 20 teaches C, otherwise B; centipede: a disclosed take at node 4 teaches C, otherwise B); the probe and the address interface are identical in every arm and its records hold the two prepared response texts (beauty: C copies 80/7, B copies 0; centipede: C pass-then-take, B pass-both). The counter-keyed arm teaches the other address. Conclusions, whatever the partners' type (beauty: both 20 or both 0; centipede: take or pass at node 4): on one population event of failure at most the join bills, the disclosed diagnostic is the partner's type and the focal learner's first probe act is the keyed address with learned relation W ≥ 21.82; the keyed arm's expected payment is within 1225ε of the exact best reply's 1225 (beauty) and within 6ε of 4 or 6 (centipede); the counter-keyed arm is within the same bills of 1225 - 6400/81, and of 3 or 4; so the acquired selection earns at least 6400/81 - 2450ε (beauty) and 1 - 12ε (centipede) more, strictly at every amplitude below PG3.7's for the run's gates and tolerance 1/200. Supplied steps: none.