MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch17.StageTests

structure MindFormal.Games.GaussianSpecification (A : Type u_5) (C : Type u_6) :
Type (max u_5 u_6)

Fixed independent positive Gaussian variances in the declared game's payoff units, including an outside outcome when the game is enlarged.

  • variance : A → C → NNReal
  • positive (i : A) (a : C) : 0 < self.variance i a
Instances For
    structure MindFormal.Games.PredictionObligations (A : Type u_5) (C : Type u_6) :
    Type (max u_5 u_6)

    Declared action-dependent prediction obligations. Every played act's own feedback must be predicted; additional experiments constrain precisely the conjecture rows named here.

    • predicts : A → C → C → Prop
    • own (i : A) (a : C) : self.predicts i a a
    Instances For
      def MindFormal.Games.StageNash {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) :

      OM2.1's Nash predicate on the actual joint law and actual marginals, with pure payoffs computed from the declared game.

      Equations
      Instances For
        theorem MindFormal.Games.stage_nash_iff {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [DecidableEq C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) :

        OM2.2 on the same free joint law: product play and zero regret are equivalent to all mixed unilateral payoff tests.

        def MindFormal.Games.StageQuantal {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [DecidableEq C] [LinearOrder C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (g : GaussianSpecification A C) :

        The specified response fixed point, together with product actual acts. The Gaussian family is declared before the test.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.Games.stage_quantal_calibration {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [DecidableEq C] [LinearOrder C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (g : GaussianSpecification A C) (learned : A → C → ℝ) (learnedResponse : ∀ (i : A), S.marginal i = Quantal.response (MeasureTheory.Measure.pi fun (a : C) => ProbabilityTheory.gaussianReal 0 (g.variance i a)) (learned i)) :
          StageQuantal S u g ↔ ProductLaw S.joint S.marginal ∧ ∀ (i : A) (a b : C), learned i a - learned i b = gamePayoff S.marginal u i a - gamePayoff S.marginal u i b

          The existing Gaussian contrast identification restated on this flow. The learned-response representation is a comparison hold, while the strict Gaussian identification is proved by the imported theorem.

          def MindFormal.Games.beliefPayoff {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [DecidableEq A] (u : A → (A → C) → ℝ) (i : A) (b : StageFlow.Opponents i → ℝ) (a : C) :

          Expected payoff under a conjecture on exactly the opponents' acts.

          Equations
          Instances For
            def MindFormal.Games.StageUnitary {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] [DecidableEq D] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (belief : (i : A) → StageFlow.Opponents i → ℝ) :

            Unitary self-confirmation: one probability conjecture per player; each played act is optimal under it and predicts that act's actual feedback. Product play remains an explicit part of this stage-game convention.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def MindFormal.Games.StageActionDependent {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] [DecidableEq D] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (obligation : PredictionObligations A C) (belief : (i : A) → C → StageFlow.Opponents i → ℝ) :

              Action-dependent self-confirmation: separate conjectures for played acts, each optimality test and each declared prediction obligation retained.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MindFormal.Games.stage_unitary_iff {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] [DecidableEq D] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (belief : (i : A) → StageFlow.Opponents i → ℝ) :
                StageUnitary S u belief ↔ ProductLaw S.joint S.marginal ∧ (∀ (i : A), FiniteDecision.Probability (belief i)) ∧ ∀ (i : A) (a : C), 0 < S.marginal i a → (∀ (b : C), beliefPayoff u i (belief i) b ≤ beliefPayoff u i (belief i) a) ∧ belief i - S.opponents i ∈ (S.feedback i a).ker

                OM2.5 for the unitary convention, through the constructed finite channel; false off-path conjectures are not silently ruled out.

                theorem MindFormal.Games.stage_actionDependent_iff {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] [DecidableEq D] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (obligation : PredictionObligations A C) (belief : (i : A) → C → StageFlow.Opponents i → ℝ) :
                StageActionDependent S u obligation belief ↔ ProductLaw S.joint S.marginal ∧ ∀ (i : A) (a : C), 0 < S.marginal i a → FiniteDecision.Probability (belief i a) ∧ (∀ (b : C), beliefPayoff u i (belief i a) b ≤ beliefPayoff u i (belief i a) a) ∧ ∀ (c : C), obligation.predicts i a c → belief i a - S.opponents i ∈ (S.feedback i c).ker

                OM2.5 for exactly the declared action-dependent prediction rows.

                def MindFormal.Games.StageCorrelated {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) :

                OM2.6 directly on the same free joint-act law, without independence.

                Equations
                Instances For
                  theorem MindFormal.Games.stage_correlated_iff {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [DecidableEq A] [DecidableEq C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) :
                  StageCorrelated S u ↔ ∀ (i : A) (f : C → C), 0 ≤ ∑ a : C, obedienceGain S.joint u i a (f a)

                  All recommendation-conditioned pure tests are exactly all deterministic recommendation-dependent deviations on this law.

                  structure MindFormal.Games.LevelPrescription (A : Type u_5) (C : Type u_6) [Fintype C] :
                  Type (max u_5 u_6)

                  A declared level-zero distribution and a declared tie-selection rule among mixed best replies. These are behavioral comparison data, not properties inferred from native stationarity or internal content counts.

                  Instances For
                    def MindFormal.Games.LevelPrescription.output {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [DecidableEq A] (q : LevelPrescription A C) (u : A → (A → C) → ℝ) :
                    ℕ → A → C → ℝ

                    The declared finite simultaneous best-response recursion.

                    Equations
                    Instances For
                      theorem MindFormal.Games.LevelPrescription.output_probability {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [DecidableEq A] (q : LevelPrescription A C) (u : A → (A → C) → ℝ) (k : ℕ) (i : A) :

                      Each prescribed tier is a probability profile by the declared level-zero law and the probability-valued tie selection.

                      theorem MindFormal.Games.LevelPrescription.output_bestReply {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [DecidableEq A] (q : LevelPrescription A C) (u : A → (A → C) → ℝ) (k : ℕ) (i : A) :
                      FiniteDecision.BestReply (q.output u (k + 1) i) (gamePayoff (q.output u k) u i)

                      Every declared tier is a best reply to the previous tier, with the declared selection rule. This says nothing about a physical implementation.

                      inductive MindFormal.Games.LevelComparison (A : Type u_5) (C : Type u_6) [Fintype C] :
                      Type (max u_5 u_6)

                      The entry also allows a separately specified Gaussian finite-depth comparison. Its scale is declared, rather than inferred from frequencies.

                      Instances For
                        def MindFormal.Games.LevelComparison.gaussianOutput {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [LinearOrder C] (base : A → C → ℝ) (g : GaussianSpecification A C) (u : A → (A → C) → ℝ) :
                        ℕ → A → C → ℝ

                        The Gaussian recursion uses the same declared positive response at every tier. The finite priority order supplies its tie rule.

                        Equations
                        Instances For
                          noncomputable def MindFormal.Games.LevelComparison.output {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [LinearOrder C] (q : LevelComparison A C) (u : A → (A → C) → ℝ) :
                          ℕ → A → C → ℝ
                          Equations
                          Instances For
                            theorem MindFormal.Games.LevelComparison.output_probability {A : Type u_2} {C : Type u_3} [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [LinearOrder C] (q : LevelComparison A C) (u : A → (A → C) → ℝ) (k : ℕ) (i : A) :

                            Both declared recursion conventions give probability profiles at each finite tier; no implementation by a native mind is asserted.

                            def MindFormal.Games.StageLevel {R : Type u_1} {A : Type u_2} {C : Type u_3} {D : Type u_4} [Fintype R] [Fintype A] [Fintype C] [Nonempty C] [DecidableEq A] [DecidableEq C] [LinearOrder C] (S : StageFlow R A C D) (u : A → (A → C) → ℝ) (q : LevelComparison A C) (k : ℕ) :

                            A separate behavioral comparison, deliberately absent from the equilibrium-label enumeration below.

                            Equations
                            Instances For
                              Instances For
                                structure MindFormal.Games.StageComparison (A : Type u_5) (C : Type u_6) [Fintype C] :
                                Type (max u_5 u_6)

                                All payoff, response and conjecture data are declared on the same action alphabet. For Option C they explicitly assign no-act payoffs.

                                Instances For