MindFormal v1.0.0One Mind

MindFormal.Equations.ReadRecalibration

Arbitrary strictly increasing native read recalibrations. The entry's hold is exactly regularity of the two composed reads; all other admission clauses follow from the original instance. Positive affine recalibrations satisfy that hold from the original admission.

def MindFormal.ReadRecalibration.recalibrate {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] (I : EquationInstance N n T Λ J) (hO hY : ℝ → ℝ) (hOL : LocallyLipschitz (hO ∘ ⇑I.reads.output)) (hYL : LocallyLipschitz (hY ∘ ⇑I.reads.attention)) :
EquationInstance N n T Λ J

Recalibrate each read and its threshold together, fixing the awareness threshold and the output mask. Only composed-read continuity is needed here.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.ReadRecalibration.read_monotone {n : ℕ} {T : Type u_1} (h : ℝ → ℝ) (hh : StrictMono h) {f : NativeReadState n T → ℝ} (hf : ReadValueMonotone f) :

    Increasing scalar recalibration preserves every allowed value-read direction.

    theorem MindFormal.ReadRecalibration.admitted {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (hO hY : ℝ → ℝ) (hOm : StrictMono hO) (hYm : StrictMono hY) (hOL : LocallyLipschitz (hO ∘ ⇑I.reads.output)) (hYL : LocallyLipschitz (hY ∘ ⇑I.reads.attention)) (hOB : ∀ (R : ℝ), 0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K (hO ∘ ⇑I.reads.output) {z : NativeReadState n T | ‖↑z‖ ≤ R}) (hYB : ∀ (R : ℝ), 0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K (hY ∘ ⇑I.reads.attention) {z : NativeReadState n T | ‖↑z‖ ≤ R}) (hOG : ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |hO (I.reads.output z)| ≤ K * (1 + ‖↑z‖)) (hYG : ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |hY (I.reads.attention z)| ≤ K * (1 + ‖↑z‖)) :
    InstanceAdmission (recalibrate I hO hY hOL hYL)

    Admission of a general increasing recalibration follows from the original admission and the entry's composed-read regularity hold.

    The affine scalar map has the same Lipschitz constant as its linear part.

    theorem MindFormal.ReadRecalibration.affine_local {n : ℕ} {T : Type u_1} [Fintype T] (a b : ℝ) {f : NativeReadState n T → ℝ} (hf : LocallyLipschitz f) :
    LocallyLipschitz ((fun (x : ℝ) => a * x + b) ∘ f)

    Affine postcomposition gives a local Lipschitz read.

    theorem MindFormal.ReadRecalibration.affine_balls {n : ℕ} {T : Type u_1} [Fintype T] (a b : ℝ) {f : NativeReadState n T → ℝ} (hf : ∀ (R : ℝ), 0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K f {z : NativeReadState n T | ‖↑z‖ ≤ R}) (R : ℝ) :
    0 ≤ R → ∃ (K : NNReal), LipschitzOnWith K ((fun (x : ℝ) => a * x + b) ∘ f) {z : NativeReadState n T | ‖↑z‖ ≤ R}

    Affine postcomposition preserves the read's bounded-set regularity.

    theorem MindFormal.ReadRecalibration.affine_growth {n : ℕ} {T : Type u_1} [Fintype T] (a b : ℝ) {f : NativeReadState n T → ℝ} (hf : ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |f z| ≤ K * (1 + ‖↑z‖)) :
    ∃ (K : ℝ), 0 ≤ K ∧ ∀ (z : NativeReadState n T), |a * f z + b| ≤ K * (1 + ‖↑z‖)

    An affine offset adds a finite constant to the original read-growth bound.

    theorem MindFormal.ReadRecalibration.affine_admitted {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (aO bO aY bY : ℝ) (hO : 0 < aO) (hY : 0 < aY) :
    InstanceAdmission (recalibrate I (fun (x : ℝ) => aO * x + bO) (fun (x : ℝ) => aY * x + bY) ⋯ ⋯)

    Positive affine recalibrations satisfy the entire composed-read hold; there is no admission hypothesis for the recalibrated reads.