MindFormal v1.0.0One Mind

MindFormal.Equations.NativePriority

def MindFormal.NativeWinner {N : ℕ} (guard score : Fin N → ℝ) (i : Fin N) :

02.12, IV/V: the eligible maximum with fixed label priority.

Equations
Instances For
    noncomputable def MindFormal.nativePriorityCode {N : ℕ} (guard score : Fin N → ℝ) :
    Fin (N + 1)

    02.12: encode the selected finite-priority label, or the last element of Fin(N+1) when no label qualifies. No winning label is a parameter.

    Equations
    Instances For
      theorem MindFormal.nativePriorityCode_spec {N : ℕ} (guard score : Fin N → ℝ) :
      (nativePriorityCode guard score = Fin.last N ∧ ∀ (i : Fin N), guard i < 0) ∨ ∃ (i : Fin N), nativePriorityCode guard score = i.castSucc ∧ NativeWinner guard score i

      02.12, IV/V: the finite-priority code is either the deferral marker with all guards negative, or an actual eligible maximum satisfying fixed priority. The code is constructed from arbitrary real guard and score vectors.

      theorem MindFormal.nativeWinner_unique {N : ℕ} {guard score : Fin N → ℝ} {i j : Fin N} (hi : NativeWinner guard score i) (hj : NativeWinner guard score j) :
      i = j

      02.12: two finite-priority winners for the same arbitrary guard and score vectors have the same label, including exact ties. This is an algebraic selection theorem and has no probability, continuity or path premise.

      theorem MindFormal.nativePriorityCode_winner {N : ℕ} (guard score : Fin N → ℝ) (i : Fin N) :
      nativePriorityCode guard score = i.castSucc ↔ NativeWinner guard score i

      02.12: a specified label is the constructed priority code exactly when it qualifies, maximizes the eligible scores and wins all fixed-priority ties. The statement has no supplied winner, and covers the empty eligible set.

      theorem MindFormal.nativePriorityCode_deferred {N : ℕ} (guard score : Fin N → ℝ) :
      nativePriorityCode guard score = Fin.last N ↔ ∀ (i : Fin N), guard i < 0

      02.12: the constructed code is the deferral marker exactly when no guard qualifies. The separate marker preserves finite-label typing even for an empty candidate set, and no positive event-probability premise is imposed.

      theorem MindFormal.nativePriorityCode_measurable {N : ℕ} :
      Measurable fun (p : (Fin N → ℝ) × (Fin N → ℝ)) => nativePriorityCode p.1 p.2

      02.12, B3: the native priority/deferral code is Borel measurable jointly in all finite guard and score values. It is derived by finite comparisons, including the closed eligibility test and exact ties; no measurable selection or selected-label measurability is supplied as a hypothesis.