MindFormal v1.0.0One Mind

MindFormal.Run.ResidualGroupUniqueness

theorem MindFormal.native_history_eq_of_observations {N : ℕ} {g f v w : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g v H ρ) (F : NativeSchedule f w H ρ) (hg : Set.EqOn g f (Set.Icc 0 H)) (hv : Set.EqOn v w (Set.Icc 0 H)) :

Equal observations on the whole closed horizon give identical native records. Values outside that horizon and unused releases need not agree.

noncomputable def MindFormal.ResidualGroupData.observe {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] (D : ResidualGroupData A H N n T Λ) (x : (a : A) → C(↑(HorizonTime H), PhysicalState (N a) (n a) (T a) (Λ a))) (c : A × Bool) :
NativeSchedule (residualGuard (D.releaseRemaining c) fun (t : ℝ) => ((D.equations.member c.1).guard c.2) ((ContinuousMap.IccExtend ⋯ (x c.1)) t)) (fun (t : ℝ) => (D.equations.member c.1).score c.2 ((ContinuousMap.IccExtend ⋯ (x c.1)) t)) H ((D.equations.member c.1).pause c.2)

Observe the two original native clocks on an arbitrary physical candidate, delaying qualification by the retained release duration. No equation, future event, or agreement with the constructed response is data.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def MindFormal.ResidualGroupSolution {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] (D : ResidualGroupData A H N n T Λ) (x : (a : A) → C(↑(HorizonTime H), PhysicalState (N a) (n a) (T a) (Λ a))) (h : FiniteClocks.Histories (A × Bool) fun (c : A × Bool) => N c.1) :

    A residual candidate satisfies the full reflected equation with its own future histories and unfinished pulse, and those histories are its own release-gated native records. This predicate assumes no cross-run equality.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.residual_group_candidate_response {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] (D : ResidualGroupData A H N n T Λ) (x : (a : A) → C(↑(HorizonTime H), PhysicalState (N a) (n a) (T a) (Λ a))) (h : FiniteClocks.Histories (A × Bool) fun (c : A × Bool) => N c.1) (hx : ∀ (a : A), PhysicalFixedSolution ⋯ (D.equations.member a).data (D.input h a) (D.pulse h a) (↑(D.equations.member a).start) (D.equations.member a).driver (physicalPathValue (x a))) (a : A) (t : ↑(HorizonTime H)) :
      (x a) t = (D.response h) t a

      Fixed-history uniqueness identifies every residual physical candidate with the existing response. The premise is only its defining equation.

      theorem MindFormal.residual_group_observe_response {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] (D : ResidualGroupData A H N n T Λ) (x : (a : A) → C(↑(HorizonTime H), PhysicalState (N a) (n a) (T a) (Λ a))) (h : FiniteClocks.Histories (A × Bool) fun (c : A × Bool) => N c.1) (hx : ∀ (a : A) (t : ↑(HorizonTime H)), (x a) t = (D.response h) t a) (c : A × Bool) :

      Observing a physical response directly or through the existing clock flow gives the same records; interval extension cannot add endpoint events.

      theorem MindFormal.residual_group_full_solution {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] [Fintype A] [Nonempty A] (D : ResidualGroupData A H N n T Λ) :

      The existing residual constructor supplies a full coupled solution, including all original physical coordinates and both native clocks.

      theorem MindFormal.residual_group_unique {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] [Fintype A] [Nonempty A] (D : ResidualGroupData A H N n T Λ) (x : (a : A) → C(↑(HorizonTime H), PhysicalState (N a) (n a) (T a) (Λ a))) (h : FiniteClocks.Histories (A × Bool) fun (c : A × Bool) => N c.1) (hx : ResidualGroupSolution D x h) :
      h = D.history ∧ x = D.path

      Every coupled residual candidate equals the existing constructed continuation in all paths and timed records. Primitive data plus the candidate's own equations and native rules suffice; shared histories and continuation agreement are conclusions, never premises.