MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.GradedOddness.Calibration

theorem MindFormal.Concepts.GradedOddness.nearest_anchor (K w z d e : ℝ) (hw : 0 < w) :
K + w * (2 * d * z - d ^ 2) ≤ K + w * (2 * e * z - e ^ 2) ↔ (z - e) ^ 2 ≤ (z - d) ^ 2

Completing the square gives a common learned nearest-anchor scale.

theorem MindFormal.Concepts.GradedOddness.calibrated_bins (anchors : Fin 7 → ℝ) (ordered : StrictMono anchors) (K w z0 z1 : ℝ) (hw : 0 < w) (k next b0 b1 : Fin 7) (adjacent : ↑next = ↑k + 1) (lower : z0 < (anchors k + anchors next) / 2) (upper : (anchors k + anchors next) / 2 < z1) (best0 : ∀ (j : Fin 7), K + w * (2 * anchors j * z0 - anchors j ^ 2) ≤ K + w * (2 * anchors b0 * z0 - anchors b0 ^ 2)) (best1 : ∀ (j : Fin 7), K + w * (2 * anchors j * z1 - anchors j ^ 2) ≤ K + w * (2 * anchors b1 * z1 - anchors b1 ^ 2)) :
b0 < b1

Crossing one adjacent midpoint forces two distinct ordered bins. The premises concern the prepared receiver inputs, never actual acts.