MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.MatchedSaving.PhysicalReference

def MindFormal.MatchedSaving.maskedOutput {N : ℕ} (outputs : Fin N → Bool) (bar : ℝ) (raw : ℝ → Fin N → ℝ) (t : ℝ) (i : Fin N) :

Nonoutputs are masked only in the calculation. Their ranking scores are irrelevant because their native guard is strictly negative.

Equations
Instances For
    def MindFormal.MatchedSaving.unmaskSearch {N : ℕ} {score raw : ℝ → Fin N → ℝ} {bar H : ℝ} (outputs : Fin N → Bool) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => score t i - bar) score 0 H) (hm : ∀ (t : ℝ) (i : Fin N), score t i = maskedOutput outputs bar raw t i) :
    NativeSearch (fun (t : ℝ) (i : Fin N) => if outputs i = true then raw t i - bar else -1) raw 0 H

    Restore V's unmasked ranking scores and its exact output guard. The event is retained by a proof of the search axioms, not an outcome premise.

    Equations
    Instances For
      def MindFormal.MatchedSaving.unmaskSearchAt {N : ℕ} {score raw : ℝ → Fin N → ℝ} {bar H : ℝ} (outputs : Fin N → Bool) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => score t i - bar) score 0 H) (hm : ∀ (t : ℝ) (i : Fin N), score t i = maskedOutput outputs bar raw t i) (bar' : ℝ) (hb : bar = bar') :
      NativeSearch (fun (t : ℝ) (i : Fin N) => if outputs i = true then raw t i - bar' else -1) raw 0 H

      Transport only the common threshold; event transport is proved below.

      Equations
      Instances For
        theorem MindFormal.MatchedSaving.unmaskSearchAt_event {N : ℕ} {score raw : ℝ → Fin N → ℝ} {bar H : ℝ} (outputs : Fin N → Bool) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => score t i - bar) score 0 H) (hm : ∀ (t : ℝ) (i : Fin N), score t i = maskedOutput outputs bar raw t i) (bar' : ℝ) (hb : bar = bar') :
        (unmaskSearchAt outputs S hm bar' hb).event = S.event
        structure MindFormal.MatchedSaving.PhysicalReference {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] (F : ReferenceFamily Ω N) (I : EquationInstance N n T Λ J) :
        Type (max (max u_1 u_2) u_3)

        Source coefficient identification for the labeled reference. M1 is evaluated for every content at the two declared reference preparations; the output reads retain the complete horizon/element bank. These are calibrations, not assumptions about a native winner or probability.

        Instances For
          noncomputable def MindFormal.MatchedSaving.PhysicalReference.rawL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) (t : ℝ) (i : Fin N) :
          Equations
          Instances For
            noncomputable def MindFormal.MatchedSaving.PhysicalReference.rawH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) (t : ℝ) (i : Fin N) :
            Equations
            Instances For
              noncomputable def MindFormal.MatchedSaving.PhysicalReference.guardL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) (t : ℝ) (i : Fin N) :
              Equations
              Instances For
                noncomputable def MindFormal.MatchedSaving.PhysicalReference.guardH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) (t : ℝ) (i : Fin N) :
                Equations
                Instances For
                  noncomputable def MindFormal.MatchedSaving.PhysicalReference.searchL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) :
                  NativeSearch (C.guardL ω) (C.rawL ω) 0 (F.horizon ω)

                  A first V search is constructed on the eligible reference clock, using precisely the declared output mask, read and action threshold.

                  Equations
                  Instances For
                    noncomputable def MindFormal.MatchedSaving.PhysicalReference.searchH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) :
                    NativeSearch (C.guardH ω) (C.rawH ω) 0 (F.horizon ω)
                    Equations
                    Instances For
                      theorem MindFormal.MatchedSaving.PhysicalReference.searchL_event {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) :
                      (C.searchL ω).event = (F.searchL ω).event
                      theorem MindFormal.MatchedSaving.PhysicalReference.searchH_event {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) :
                      (C.searchH ω).event = (F.searchH ω).event
                      theorem MindFormal.MatchedSaving.PhysicalReference.every_searchL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) (S : NativeSearch (C.guardL ω) (C.rawL ω) 0 (F.horizon ω)) :
                      S.event = (F.searchL ω).event

                      Every eligible native first search, including slot zero of any native schedule, has the constructed event. No first-act identification is an unproved field of the reference certificate.

                      theorem MindFormal.MatchedSaving.PhysicalReference.every_searchH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (ω : Ω) (S : NativeSearch (C.guardH ω) (C.rawH ω) 0 (F.horizon ω)) :
                      S.event = (F.searchH ω).event
                      theorem MindFormal.MatchedSaving.PhysicalReference.conclusion {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype Λ] {F : ReferenceFamily Ω N} {I : EquationInstance N n T Λ J} (C : PhysicalReference F I) (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (highMeas : MeasurableSet {ω : Ω | F.ratio ω < (F.parameters ω).RH}) (noLowAtom : μ.real {ω : Ω | F.ratio ω = (F.parameters ω).RL} = 0) (noHighAtom : μ.real {ω : Ω | F.ratio ω = (F.parameters ω).RH} = 0) :
                      ReferenceConclusion F μ ∧ (∀ (ω : Ω), F.zL ω = assembledInputs I.drift (C.inputL ω) (C.pulseL ω) (C.stateL ω) ∧ F.zH ω = assembledInputs I.drift (C.inputH ω) (C.pulseH ω) (C.stateH ω)) ∧ (∀ (ω : Ω), ∃ (S : NativeSearch (C.guardL ω) (C.rawL ω) 0 (F.horizon ω)), S.event = (F.searchL ω).event) ∧ (∀ (ω : Ω), ∃ (S : NativeSearch (C.guardH ω) (C.rawH ω) 0 (F.horizon ω)), S.event = (F.searchH ω).event) ∧ (∀ (ω : Ω) (S : NativeSearch (C.guardL ω) (C.rawL ω) 0 (F.horizon ω)), S.event = (F.searchL ω).event) ∧ ∀ (ω : Ω) (S : NativeSearch (C.guardH ω) (C.rawH ω) 0 (F.horizon ω)), S.event = (F.searchH ω).event

                      The whole reference result, plus coefficient identity and uniqueness at V's actual first eligible search. The live M8--M10 transfer is separate.