Main statements
The run of the mind, seventeen main statements, the objects the theorems are about, and where the five equations are defined, as of November 8, 2026. Each statement is its type as Lean prints it, with every name in full; its source form is at the line given. Each object and definition is copied from its file.
The theorems and definitions can be read online, each name linked to its definition: https://lean.anooprmenon.com
The mind's run exists and is unique
02.12 — When the vector value equations determine one process (Theorem)
Clause 2 · MindFormal.A771GlobalWellPosed.result_02_12_2_L771 · MindFormal/Chapters/Ch02/A771GlobalWellPosed/Clauses.lean:41
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [inst : Fintype T]
[inst_1 : Fintype Λ] [inst_2 : Fintype J] {G : MindFormal.EquationGround Ω J}
{I : MindFormal.EquationInstance N n T Λ J} (A : MindFormal.InstanceAdmission I)
(hG : MindFormal.CompletedEquationGround G) (W : MindFormal.ConstructedWorld I G)
(S : MindFormal.EquationStart G N n T Λ),
∃ X,
∃ (hX : MindFormal.A771GlobalWellPosed.IsOwnRun S A hG W X),
(∀ᵐ (ω : Ω) ∂G.μ, ∀ (t : NNReal), MindFormal.PhysicalMindState (X t ω)) ∧
(∀ (H r : ℕ), MindFormal.A771GlobalWellPosed.FloorPush ⋯ ⋯ fun ω ↦ ↑(S.state ω)) ∧
(∀ (X' : NNReal → Ω → MindFormal.MindState (Fin N) n T Λ)
(hX' : MindFormal.A771GlobalWellPosed.IsOwnRun S A hG W X'),
∀ᵐ (ω : Ω) ∂G.μ,
(∀ (t : NNReal), X' t ω = X t ω) ∧
(∀ (H : NNReal),
MindFormal.procRecords I.reads I.pause ⋯ ⋯ H ω = MindFormal.procRecords I.reads I.pause ⋯ ⋯ H ω) ∧
∀ (H r : ℕ),
∀ t ≤ ↑H,
MindFormal.A771GlobalWellPosed.levelPush ⋯ ⋯ (fun ω ↦ ↑(S.state ω)) t ω =
MindFormal.A771GlobalWellPosed.levelPush ⋯ ⋯ (fun ω ↦ ↑(S.state ω)) t ω) ∧
∀ (Z : NNReal → Ω → MindFormal.MindState (Fin N) n T Λ),
(MindFormal.A771GlobalWellPosed.IsOwnRun S A hG W fun t ω c ↦
if MindFormal.mindFloor c = true then max (Z t ω c) 0 else Z t ω c) →
∀ᵐ (ω : Ω) ∂G.μ,
∀ (t : NNReal), (fun c ↦ if MindFormal.mindFloor c = true then max (Z t ω c) 0 else Z t ω c) = X t ω
Its run IsOwnRun is defined at MindFormal/Run/A771GlobalWellPosed/Construction.lean:305:
structure IsOwnRun (X : ℝ≥0 → Ω → MindState (Fin N) n T Λ) : Prop where
continuous : ∀ ω, Continuous fun t ↦ X t ω
adapted : StronglyAdapted G.filtration X
solves : ∀ H r : ℕ, SolvesOwn (M := runLevel S A hG W H r) continuous adapted
fun ω ↦ (S.state ω).val
Take an admitted mind, a completed ground, a constructed world and a start. Then a run on the mind's own noise exists, and almost surely its state is physical at every time. The run's push is the reflection term that keeps activity at or above zero. At every truncation level, almost surely up to the earlier of the level's horizon and the run's exit from that level, the push is zero off the activities, and on each activity it is the running maximum of the negative part of the start plus the drift and noise accumulated along the run at that level. Every other strong run of the same mind on the same completed ground, from the same start and in the same world, almost surely has the same state at every time, the same timed records of focus and action on every horizon, and the same push through each level's horizon. If cutting a path's activities at zero gives such a run, the resulting path agrees with the constructed run at every time almost surely.
The statements
The first five state the four standards, with classical probability and Bayes' rule stated separately. Clause 1 of the
book's result 17.1 proves that one fixed battery reads awareness, likelihood, and the first act from the same run of
one mind (result_19_22_battery_own_reads).
Each of the first five has two parts. The first theorem states an exact test of the standard. The theorems under it, headed "The mind's side", show a mind's learning meeting the standard or coming close to it, under the conditions each states.
06.17 — Learned recruitment, competition at the read, and a finite classical corner (Theorem)
Clause 13 · MindFormal.result_06_17_group_rules · MindFormal/Chapters/Ch10.lean:342
∀ {C : Type u_5} (r : Setoid C) (m : ℕ),
MindFormal.Logic.Weakening m (MindFormal.Logic.groupRelation r) ∧
MindFormal.Logic.Contraction m (MindFormal.Logic.groupRelation r) ∧
MindFormal.Logic.Exchange m (MindFormal.Logic.groupRelation r) ∧
MindFormal.Logic.Cut m (MindFormal.Logic.groupRelation r) ∧
MindFormal.Logic.Cautious m (MindFormal.Logic.groupRelation r) ∧
MindFormal.Logic.Reflexive m (MindFormal.Logic.groupRelation r)
The mind's side. MindFormal.A695LogicPaper.result_06_17_12_L696 · MindFormal/Chapters/Ch10/A695LogicPaper/ClassicalGroups.lean:18 joins fifteen lemmas. The first, Grouped.finite_classical_family · MindFormal/Example/A695LogicPaper/GroupClassical.lean:18, constructs the mind and is printed here:
∀ {G J : ℕ} [inst : NeZero G] [inst_1 : NeZero J] {Ω : Type u_1} [inst_2 : MeasurableSpace Ω] (m : ℕ) {failure : ℝ},
0 < failure →
∃ A ε,
∃ (he : 0 < ε) (he1 : ε < 1),
2 * ε < A.alpha / 4 ∧
MindFormal.A695LogicPaper.Grouped.comparisonError A ε < min 1 (A.alpha / 4) ∧
∀ (B : MindFormal.EquationGround Ω (MindFormal.A617Judgment.EpisodeFamily.Coord (G * J)))
(hB : MindFormal.CompletedEquationGround B)
(clock :
MindFormal.A617Judgment.EpisodeFamily.ClockRealization B ⟨A.fast + A.slow, ⋯⟩
((MindFormal.A695LogicPaper.Grouped.generator ⋯ ⋯).markLaw (A.fast + A.slow) ⋯ ⋯)),
∃ S,
MeasurableSet S ∧
1 - failure < B.μ.real S ∧
(∀ ω ∈ S,
∀ (w : MindFormal.A695LogicPaper.Grouped.Word G J m),
(∀ (i : Fin (G * J)),
A.alpha ≤
MindFormal.mindActivity
(((MindFormal.A695LogicPaper.Grouped.wordExperiment B hB A clock ε he he1
w).supportHistory
ω).state
↑(MindFormal.A695LogicPaper.NativeRead.horizon A.C))
i ↔
MindFormal.A695LogicPaper.Grouped.entails
(↑(MindFormal.A695LogicPaper.Grouped.wordSet w)) i) ∧
MindFormal.A695LogicPaper.Grouped.NativeTeaching B hB A clock ε he he1 w ω) ∧
(failure < 1 / 2 →
∀ (w : MindFormal.A695LogicPaper.Grouped.Word G J m) (i : Fin (G * J)),
1 / 2 <
B.μ.real
{ω |
A.alpha ≤
MindFormal.mindActivity
(((MindFormal.A695LogicPaper.Grouped.wordExperiment B hB A clock ε he he1
w).supportHistory
ω).state
↑(MindFormal.A695LogicPaper.NativeRead.horizon A.C))
i} ↔
MindFormal.A695LogicPaper.Grouped.entails (↑(MindFormal.A695LogicPaper.Grouped.wordSet w))
i)
For any positive number of equally sized finite nonempty groups and any positive error allowance, clause 12 of the same
result constructs a mind whose links start at zero. On a battery of premise sequences up to a chosen length, its
majority reads give exactly positive atomic classical consequence within the groups, with a failure bound below both
the allowance and one half (result_06_17_12_L696).
19.22 — One moving support history supplies four outputs with separate calibration tests (Theorem)
Clause 22 · MindFormal.result_19_22_query_feasibility_iff · MindFormal/Chapters/Ch18.lean:611
∀ {C : Type u_1} [_inst : Fintype C] (queries : Finset (Finset C)) (read : Finset C → ℝ),
(read ∅ = OfNat.ofNat 0 ∧
∃ measureRead, MindFormal.FourReads.IsProbabilityRead measureRead ∧ ∀ S ∈ queries, measureRead S = read S) ↔
read ∅ = OfNat.ofNat 0 ∧
∃ p, (∀ (i : C), OfNat.ofNat 0 ≤ p i) ∧ ∑ i, p i = OfNat.ofNat 1 ∧ ∀ S ∈ queries, read S = ∑ i ∈ S, p i
The mind's side. Clause 53 · MindFormal.A617Judgment.result_15_9_53_L620 · MindFormal/Chapters/Ch12/A617Judgment/Calibration.lean:33
∀ {Ω : Type u_1} {E : Type u_2} {H : Type u_3} [inst : MeasurableSpace Ω] [inst_1 : Fintype E] [inst_2 : Fintype H]
[Nonempty E] [Nonempty H] {N : ℕ} [NeZero N]
(B : MindFormal.EquationGround Ω (MindFormal.A617Judgment.EpisodeFamily.Coord N))
(hB : MindFormal.CompletedEquationGround B) (R0 : MindFormal.A617Judgment.Episodes.Table E H) (label : E ⊕ H ≃ Fin N)
{ε qfail : ℝ},
0 < ε →
0 < qfail →
∀ (initial : Fin N),
∃ P U s,
0 < U ∧
0 < s ∧
s =
MindFormal.A617Judgment.Episodes.probabilityUnit (1 / 2 - P.activity.g)
(R0.calibrationCoefficient (MindFormal.A617Judgment.EpisodeFamily.amplitude P U) P.rate)
P.activity.σ ∧
∀ (R : MindFormal.A617Judgment.Episodes.Table E H),
R.a = R0.a →
R.b = R0.b →
R.Balanced →
∀ (q : NNReal) (hq : 0 < ↑q)
(hcap :
∀ (i : Fin N),
-↑q ≤ (MindFormal.A617Judgment.EpisodeFamily.presentationGenerator R label).Q i i)
(clock :
MindFormal.A617Judgment.EpisodeFamily.ClockRealization B q
((MindFormal.A617Judgment.EpisodeFamily.presentationGenerator R label).markLaw (↑q) hq
hcap)),
∃ C,
C.P.activity.σ = P.activity.σ ∧
C.P.activity.g = P.activity.g ∧
C.P.rate = P.rate ∧
C.D.U = U ∧
MindFormal.A617Judgment.EpisodeFamily.calibrationUnit R C = s ∧
↑(Fintype.card E) * C.price q < qfail ∧
MindFormal.A617Judgment.EpisodeFamily.NativeCalibrationBattery B hB R label q hq
hcap clock C s ε qfail initial
Its conclusion NativeCalibrationBattery is defined at MindFormal/Example/A617Judgment/EpisodeCalibrationBattery.lean:15:
def NativeCalibrationBattery (B : EquationGround Ω (Coord N)) (hB : CompletedEquationGround B)
(R : Table E H) (label : E ⊕ H ≃ Fin N) (q : ℝ≥0) (hq : 0 < (q : ℝ))
(hcap : ∀ i, -(q : ℝ) ≤ (presentationGenerator R label).Q i i)
(clock : ClockRealization B q ((presentationGenerator R label).markLaw q hq hcap))
(C : TrainingRead (presentationGenerator R label) (presentationOccupancy R label))
(s ε qfail : ℝ) (initial : Fin N) : Prop :=
∃ K : ℕ, ∃ hTK : (C.T : ℝ) < K,
let H0 := C.T+C.J.Lq+C.J.H
∃ S : Set Ω, MeasurableSet S ∧ 1-qfail ≤ B.μ.real S ∧
∀ e : E,
let W := programWorld C.P B q ((presentationGenerator R label).markLaw q hq hcap) clock
C.D.U_pos.le C.J.Lq (show 0 < (C.T : ℝ) from C.T_pos) hTK initial (label (.inl e))
let X := experimentWorld C.P B hB H0 W
∀ ω ∈ S, X.own.data.toPhysicalNoiseData.Good ω ∧ Clock.Simple (clock.sample ω) ∧
(∀ t ∈ Icc (0 : ℝ) C.T, ∀ i j,
|mindRelation ((X.supportHistory ω).state t) i j-
learnedMatrix C.P (presentationGenerator R label) (presentationOccupancy R label)
C.D.U t i j| ≤ C.delta) ∧
(∀ t ∈ Icc (0 : ℝ) (C.T+C.J.Lq+C.J.H), ∀ i,
0 ≤ mindActivity ((X.supportHistory ω).state t) i ∧
mindActivity ((X.supportHistory ω).state t) i ≤ C.J.X) ∧
(∀ h, |mindActivity ((X.supportHistory ω).state (C.T+C.J.Lq+C.J.H))
(label (.inr h))/s-R.P e h| < ε/(Fintype.card H : ℝ)) ∧
|(∑ h, mindActivity ((X.supportHistory ω).state (C.T+C.J.Lq+C.J.H))
(label (.inr h))/s)-1| < ε
omit [Nonempty H] [NeZero N] in
A mind can learn likelihood reads that come as close as desired to the conditional probabilities of the outcomes it is
trained on. It is trained on a balanced course, one in which the evidence types have equal probabilities and the
outcomes have equal overall probabilities. For any target probability r from 0 to 1, any positive accuracy ε and any
positive failure allowance, clause 50 of the book's result 12.1 (key 15.9) constructs a mind that learns from zero on
such a course, with two types of evidence and two outcomes. On one event of probability at least one minus the
allowance, for either type of evidence, the read of the matching outcome is within ε/2 of r, the other read is within
ε/2 of 1 − r, and their sum is within ε of one (result_15_9_50_L620). Clause 53 gives the same guarantee on a
balanced course for any positive finite number n of outcomes, with each read within ε/n of its conditional probability
and each sum within ε of one, on one event for every type of evidence (result_15_9_53_L620).
15.9 — Probability and frequency calibration impose distinct conditions on an activity read (Theorem)
Clause 15 · MindFormal.result_15_9_bayes_response · MindFormal/Chapters/Ch12.lean:226
∀ {P P' χ g π π' J J' : ℝ},
P' ≠ OfNat.ofNat 0 →
χ ≠ OfNat.ofNat 0 →
J = P * (g + χ * π) → ((J' / P' - g) / χ = π' ↔ J' - J = (g + χ * π) * (P' - P) + χ * P' * (π' - π))
The mind's side. Clause 55 · MindFormal.A617Judgment.result_15_9_55_L620 · MindFormal/Chapters/Ch12/A617Judgment/Bayes.lean:34
∀ {Ω : Type u_1} {G : Type u_2} [inst : MeasurableSpace Ω] [inst_1 : Fintype G] [inst_2 : Nonempty G] {N : ℕ} [NeZero N]
(B : MindFormal.EquationGround Ω (MindFormal.A617Judgment.EpisodeFamily.Coord N))
(hB : MindFormal.CompletedEquationGround B) (P : G → G → ℝ) (hp : ∀ (e h : G), 0 ≤ P e h)
(hrows : ∀ (e : G), ∑ h, P e h = 1) (hcols : ∀ (h : G), ∑ e, P e h = 1) (a b : ℝ) (ha : 0 < a) (hb : 0 < b)
(label : (G ⊕ G) ⊕ G ≃ Fin N),
have R := MindFormal.A617Judgment.Episodes.revealingTable P hp hrows hcols a b ha hb;
R.Balanced ∧
N = 3 * Fintype.card G ∧
(∀ (p : G × G × Bool),
((MindFormal.A617Judgment.Episodes.revealingCaseLaw P hp hrows) p).toReal =
MindFormal.A617Judgment.Episodes.revealingCaseMass P p) ∧
(∀ (e h : G) (k : Bool),
MindFormal.A617Judgment.Episodes.revealingCaseMass P (e, h, k) = P e h / ↑(Fintype.card G) * (1 / 2)) ∧
(∀ (e : G ⊕ G) (h : G),
(∑ p,
if MindFormal.A617Judgment.Episodes.revealingReport p = e ∧ p.2.1 = h then
MindFormal.A617Judgment.Episodes.revealingCaseMass P p
else 0) =
1 / (2 * ↑(Fintype.card G)) * MindFormal.A617Judgment.Episodes.revealingPosterior P e h) ∧
(∀ (e j i : G),
0 < P e j →
((P e i * if i = j then 1 else 0) / ∑ k, P e k * if k = j then 1 else 0) = if i = j then 1 else 0) ∧
∀ (q : NNReal) (hq : 0 < ↑q)
(hcap :
∀ (i : Fin N), -↑q ≤ (MindFormal.A617Judgment.EpisodeFamily.presentationGenerator R label).Q i i)
(clock :
MindFormal.A617Judgment.EpisodeFamily.ClockRealization B q
((MindFormal.A617Judgment.EpisodeFamily.presentationGenerator R label).markLaw (↑q) hq hcap)),
(∀ (ε qfail : ℝ),
0 < ε →
0 < qfail →
∀ (initial : Fin N),
MindFormal.A617Judgment.EpisodeFamily.NativeLastEvidenceRead B hB R label q hq hcap clock ε
qfail initial) ∧
∀
(C :
MindFormal.A617Judgment.EpisodeFamily.TrainingRead
(MindFormal.A617Judgment.EpisodeFamily.presentationGenerator R label)
(MindFormal.A617Judgment.EpisodeFamily.presentationOccupancy R label)),
(∀ (i j : Fin N), 0 ≤ C.G i j) →
∀ (Hpulse : NNReal),
C.J.H = Hpulse + Hpulse →
∀ {K : ℕ} (hTK : ↑C.T < ↑K) (initial : Fin N) (e f : G ⊕ G),
MindFormal.A617Judgment.EpisodeFamily.NativePulseBayesBound B hB R label q hq hcap clock C
Hpulse hTK initial e f
Its conclusion NativeLastEvidenceRead is defined at MindFormal/Example/A617Judgment/EpisodeLastEvidence.lean:18:
def NativeLastEvidenceRead
(B : EquationGround Ω (Coord N)) (hB : CompletedEquationGround B)
(R : Table E Hport) (label : E ⊕ Hport ≃ Fin N)
(q : ℝ≥0) (hq : 0 < (q : ℝ))
(hcap : ∀ i, -(q : ℝ) ≤ (presentationGenerator R label).Q i i)
(clock : ClockRealization B q ((presentationGenerator R label).markLaw q hq hcap))
(ε qfail : ℝ) (initial : Fin N) : Prop :=
∃ C : TrainingRead (presentationGenerator R label) (presentationOccupancy R label),
∃ K : ℕ, ∃ hTK : (C.T : ℝ) < K,
C.J.H=1 ∧ 0 < calibrationUnit R C ∧ C.price q < qfail ∧
∀ a b : E,
let X := pulseExperiment B hB R label q hq hcap clock C (1/2) hTK initial a b
∃ S : Set Ω, MeasurableSet S ∧ 1-qfail ≤ B.μ.real S ∧
∀ ω ∈ S, X.own.data.toPhysicalNoiseData.Good ω ∧ Clock.Simple (clock.sample ω) ∧
(∀ t ∈ Icc (0 : ℝ) C.T, ∀ i j,
|mindRelation ((X.supportHistory ω).state t) i j-
learnedMatrix C.P (presentationGenerator R label) (presentationOccupancy R label)
C.D.U t i j| ≤ C.delta) ∧
(∀ t ∈ Icc (0 : ℝ) (C.T+C.J.Lq+C.J.H), ∀ i,
0 ≤ mindActivity ((X.supportHistory ω).state t) i ∧
mindActivity ((X.supportHistory ω).state t) i ≤ C.J.X) ∧
(∀ h, |pulseJudgment B hB R label q hq hcap clock C (1/2) hTK initial a b ω h-
R.P b h| < ε)
Clause 9 of the same result ties these quantities to the mind's activity equation. At the settling level a content's
read is its normalized target, the target that equation I sets, divided by a positive unit χ, and it equals a
probability p > 0 exactly when the content's support as a share of the pool equals g + χp
(result_15_9_settled_calibration). A mind can also learn the Bayes posterior to any positive accuracy, in one corner.
In that corner the last piece of evidence reveals the outcome, so for every pair of observations that can occur, the
Bayes posterior is one for the revealed outcome and zero for the rest. For any positive accuracy and failure allowance,
clause 55 of the same result constructs a mind that learns from zero on a balanced course of this kind. For each pair
of observations that can occur, its read after the last observation is within that accuracy of the posterior, on an
event of probability at least one minus the allowance (result_15_9_55_L620).
19.22 — One moving support history supplies four outputs with separate calibration tests (Theorem)
Clause 69 · MindFormal.A640Standards.result_19_22_69_L641 · MindFormal/Chapters/Ch17/A640Standards/FiniteStandards.lean:100
∀ {N : ℕ} {Q : Type u_5} {C : Type u_6} [inst : Fintype C] (menu : Q → Finset (Fin N)) (chosen : Q → Fin N)
(lottery : Q → Fin N → C → ℝ),
(∃ u,
∀ (q : Q),
chosen q ∈ menu q ∧
(∀ j ∈ menu q, ∑ c, lottery q j c * u c ≤ ∑ c, lottery q (chosen q) c * u c) ∧
∀ j ∈ menu q, ∑ c, lottery q j c * u c = ∑ c, lottery q (chosen q) c * u c → chosen q ≤ j) ↔
∃ u,
∀ (q : Q),
chosen q ∈ menu q ∧
∀ j ∈ menu q,
∑ c, lottery q j c * u c ≤ ∑ c, lottery q (chosen q) c * u c ∧
(j < chosen q → ∑ c, lottery q j c * u c < ∑ c, lottery q (chosen q) c * u c)
The mind's side. Clause 13 · MindFormal.A617Choice.result_16_12_13_L621 · MindFormal/Chapters/Ch13/A617Choice/Acquisition.lean:28
∀ {J : Type u_1} [Finite J] {d : ℕ} [inst : NeZero d] (z b : J → Fin d → ℝ),
(∀ (j : J) (i : Fin d), 0 < z j i) →
(∀ (j : J) (i : Fin d), 0 < b j i) →
∀ {δ p : ℝ},
0 < δ →
0 < p →
∃ A,
(MindFormal.A617Choice.TrainingFamily.mind A.parameters).η 0 ≠
(MindFormal.A617Choice.TrainingFamily.mind A.parameters).η 1 ∧
((MindFormal.A617Choice.TrainingFamily.mind A.parameters).gain 0 <
(MindFormal.A617Choice.TrainingFamily.mind A.parameters).gain fun x x_1 ↦ 1) ∧
(∀ (k : Fin 2), 0 < A.restingInput (MindFormal.A617Choice.TrainingFamily.primaryPort d k)) ∧
∀ {Ω : Type} [inst_1 : MeasurableSpace Ω]
(B : MindFormal.EquationGround Ω (MindFormal.PageFamily.Coord (d + 3)))
(hB : MindFormal.CompletedEquationGround B)
(clock : MindFormal.A617Choice.TrainingFamily.ClockSource B A.clockRate A.clockLaw) (j : J),
have E := A.preparedExperiment B clock hB j;
(∀ (ω : Ω), (E.supportHistory ω).state 0 = 0) ∧
∃ good,
MeasurableSet good ∧
1 - p ≤ B.μ.real good ∧
∀ ω ∈ good,
E.own.data.toPhysicalNoiseData.Good ω ∧
∀ (i : Fin d),
|MindFormal.A617Choice.TrainingFamily.drive A.parameters.ε₀ A.parameters.L
A.parameters.εF 1 0
(MindFormal.mindValue ((E.supportHistory ω).state ↑A.horizon)
(Fin.castAdd 3 i)) -
z j i| <
δ ∧
|1 -
A.parameters.γ *
MindFormal.mindValue ((E.supportHistory ω).state ↑A.horizon)
(Fin.castAdd 3 i) 0 () +
A.parameters.γ *
MindFormal.mindValue ((E.supportHistory ω).state ↑A.horizon)
(Fin.castAdd 3 i) 1 () -
b j i| <
δ
The mind's side. Clause 15 · MindFormal.A617Choice.result_16_12_15_L621 · MindFormal/Chapters/Ch13/A617Choice/Finite.lean:111
∀ {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [inst : Fintype A] [Finite J] {N n : A → ℕ}
{V : A → Type u_4} {Λ : A → Type u_5} [inst_2 : (a : A) → Fintype (V a)] [inst_3 : (a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω} [inst_4 : MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ} {hB : MindFormal.BrownianFiltration μ ℱ B} {E : MindFormal.GroupsWorld.CompleteExperiment hB}
{a : A} {H : NNReal} (T : MindFormal.A595Finite.Template E a H) (D : MindFormal.A617Choice.HeldRead T.comparison)
(slot : ℕ) (w : Fin (N a)) (U : Fin (N a) → ℝ) (bar ell₀ χ : ℝ),
0 < χ →
(∀ (j : Fin (N a)), D.offered j = true → D.need j = bar - ell₀ - χ * U j) →
(∀ (j : Fin (N a)), D.offered j = true → D.target j = D.target w) →
(∀ ω ∈ T.parameters.stream, E.observed.nativeRelease H ω a D.clock slot = 0) →
D.offered w = true →
D.need w + D.error < MindFormal.A617Choice.held D.ν (D.target w) ↑H →
(∀ (j : Fin (N a)), j ≠ w → D.offered j = true → 2 * D.error < χ * (U w - U j)) →
(∃ good,
MeasurableSet good ∧
1 - T.noise.failure ≤ μ.real good ∧
∀ ω ∈ good,
T.comparison.Certified ω ∧
∃ t ∈ Set.Icc 0 ↑H, ↑↑(E.observed.records H ω a D.clock) slot = (t, Sum.inl w)) ∧
(∀ (γp γm dp dm wp wm : ℝ),
(∀ (x y : ℝ), γp * dp * x - γm * dm * y = χ * (wp * x - wm * y)) ↔
γp * dp = χ * wp ∧ γm * dm = χ * wm) ∧
∀ (j : Fin (N a)), j ≠ w → D.offered j = true → U j < U w
A mind can learn the supports and requirements that its choices rest on. In the certified finite comparison, its choice
follows expected utility with the stated probability when the value part of its action score is calibrated to expected
utility and the clock and score conditions below hold. For any finite set of strictly positive profiles of support and
requirement, all of one positive dimension, and any positive accuracy and failure allowance, clause 13 of the book's
result 13.1 (key 16.12) constructs one set of mind parameters. A separate preparation from zero learns each profile to
that accuracy, on an event of probability at least one minus the allowance (result_16_12_13_L621). Clause 14 proves
that calibration across the separate kinds of value makes the mind's read contrast a common multiple of the
expected-utility difference (result_16_12_utility_calibration). Clause 15 proves that the mind then takes the offered
option of highest expected utility, on an event of probability at least one minus the failure allowance of a finite
comparison whose errors a certificate bounds (result_16_12_15_L621). The clause asks for equal settling targets
across the menu, utility calibrated at a positive scale, an action clock eligible at the start, bounds that exclude
unoffered outputs, a winning option that clears its deadline allowing for score error, and a scaled utility lead over
each offered rival larger than twice that error.
19.15 — Experience places settled play on an equilibrium map only through its payoff and information tests (Theorem)
Clause 2 · MindFormal.A630EncounterLaws.result_19_15_2_L631 · MindFormal/Chapters/Ch16/A630EncounterLaws/Tests.lean:33
∀ {Ω : Type u_1} {A : Type u_2} {J : Type u_3} {X : Type u_4} [mΩ : MeasurableSpace Ω] [inst : MeasurableSpace X]
[inst_1 : Fintype A] {N n : A → ℕ} {V : A → Type u_5} {Λ : A → Type u_6} [inst_2 : (a : A) → Fintype (V a)]
[inst_3 : (a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [inst_4 : MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : MindFormal.BrownianFiltration μ ℱ B}
(E : MindFormal.GroupsWorld.CompleteExperiment hB) (p : MindFormal.A640Standards.NativeRows.EncounterProtocol)
(π : MeasureTheory.Measure X) [inst_5 : MeasureTheory.IsProbabilityMeasure π] {C : A → Type u_7}
[inst_6 : (i : A) → Fintype (C i)] (decode : (i : A) → Fin (N i) → Option (C i))
(positive : 0 < (MindFormal.A640Standards.NativeRows.EncounterProtocol.marks E p π).accepted Prod.fst)
(fallback : (i : A) → C i) [inst_7 : ∀ (i : A), Nonempty (C i)] (u : A → ((i : A) → C i) → ℝ),
MindFormal.A640Standards.NativeRows.EncounterProtocol.menuInvalid E p π decode ∧
(MindFormal.A640Standards.NativeRows.EncounterProtocol.menuLaw E p π decode positive fallback).Nash u ↔
MindFormal.A640Standards.NativeRows.EncounterProtocol.menuInvalid E p π decode ∧
(MindFormal.A640Standards.NativeRows.EncounterProtocol.menuLaw E p π decode positive fallback).Product ∧
∀ (i : A),
MindFormal.A630EncounterLaws.upper
((MindFormal.A640Standards.NativeRows.EncounterProtocol.menuLaw E p π decode positive fallback).payoff u
i) -
MindFormal.FiniteDecision.mean
((MindFormal.A640Standards.NativeRows.EncounterProtocol.menuLaw E p π decode positive fallback).marginal
i)
((MindFormal.A640Standards.NativeRows.EncounterProtocol.menuLaw E p π decode positive fallback).payoff u
i) =
0
The mind's side. Clause 18 · MindFormal.A630EncounterLaws.result_19_13_18_L631 · MindFormal/Chapters/Ch16/A630EncounterLaws/Regret.lean:64
∀ {Ω : Type u_1} {A : Type u_2} {J : Type u_3} {X : Type u_4} [mΩ : MeasurableSpace Ω] [inst : MeasurableSpace X]
[inst_1 : Fintype A] [inst_2 : Nonempty A] {N n : A → ℕ} {V : A → Type u_5} {Λ : A → Type u_6}
[inst_3 : (a : A) → Fintype (V a)] [inst_4 : (a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω}
[inst_5 : MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ}
{hB : MindFormal.BrownianFiltration μ ℱ B} (E : MindFormal.GroupsWorld.CompleteExperiment hB)
(p : MindFormal.A640Standards.NativeRows.EncounterProtocol) (π : MeasureTheory.Measure X)
[inst_6 : MeasureTheory.IsProbabilityMeasure π] {C : A → Type u_7} [inst_7 : (i : A) → Fintype (C i)]
[inst_8 : ∀ (i : A), Nonempty (C i)] [inst_9 : (i : A) → LinearOrder (C i)]
(decode : (i : A) → Fin (N i) → Option (C i)),
0 < (MindFormal.A640Standards.NativeRows.EncounterProtocol.marks E p π).accepted Prod.fst →
∀ (S : MindFormal.A640Standards.MenuGames.Law A C) (u : A → ((i : A) → C i) → ℝ) (learned : (i : A) → C i → ℝ)
(σ : A → NNReal),
(∀ (i : A), 0 < σ i) →
(∀ (i : A),
S.marginal i =
MindFormal.Quantal.response (MindFormal.A630EncounterLaws.gaussianErrors (σ i)) (learned i)) →
∀ {ε εR : ℝ},
MindFormal.A640Standards.MarkError.tv (MindFormal.A630EncounterLaws.nativeMenuMass E p π decode)
(MindFormal.A640Standards.MarkError.push S.productJoint MindFormal.A630EncounterLaws.menuEmbed) ≤
εR →
ENNReal.ofReal
(MindFormal.A630EncounterLaws.upper (MindFormal.A630EncounterLaws.noiseBill S u learned σ)) <
MindFormal.A640Standards.MenuGames.Law.regretModulus u (ε - εR) →
MindFormal.FiniteDecision.Probability (MindFormal.A630EncounterLaws.nativeMenuMass E p π decode) ∧
∃ Q,
Q.Nash u ∧
MindFormal.A640Standards.MarkError.tv (MindFormal.A630EncounterLaws.nativeMenuMass E p π decode)
(MindFormal.A640Standards.MarkError.push Q.joint MindFormal.A630EncounterLaws.menuEmbed) <
ε
The theorem uses a GroupsWorld.CompleteExperiment, with one filtration for the admitted members' observed
continuations. In one comparison of the book's result 16.1 (key 19.13), learned values give a way to certify how close
the minds' play is to a Nash equilibrium. In clause 17 the coefficients of learning are held fixed. There, convergence
of any one of the bounded experienced payoff contrasts, the mean value contrasts and the action probabilities implies
convergence of the other two (result_19_13_17_L631). The clause asks for a starting mean centered at zero, a positive
gain, positive noise between encounters, and a share of value kept from one encounter to the next that is at least zero
and below one. Clause 18 bounds, in total variation, the distance from the distribution of the minds' free acts,
counting missing and off-menu acts, to a Nash equilibrium on the original menus (result_19_13_18_L631). It does so
when each mind's comparison response uses Gaussian noise of positive size, the total variation error of the comparison
fits within an allowance smaller than the desired distance, and the combined bound on payoff mismatch and noise is
below the game's threshold for the distance left after that allowance.
02.1 — What a mind and its experiment are (Definition)
Clause 2 · MindFormal.result_02_1_reference · MindFormal/Chapters/Ch02.lean:51
∀ (C : Type u_5) (T : Type u_6) (Λ : Type u_7) [inst : Fintype C] [inst_1 : Fintype T] [inst_2 : Fintype Λ] (n : ℕ),
Fintype.card (MindFormal.CoordinateIndex C n T Λ) =
Fintype.card C ^ 2 + Fintype.card C * (1 + n * Fintype.card T + Fintype.card Λ)
The count is the size of the state: a link for each ordered pair of contents and, for each content, one activity, n·|T| values and |Λ| traces.
02.12 — When the vector value equations determine one process (Theorem)
Clause 1 · MindFormal.result_02_12_live · MindFormal/Chapters/Ch02.lean:475
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [inst_1 : Fintype T]
[inst_2 : Fintype Λ] [inst_3 : Fintype J] (E : MindFormal.AdmittedExperiment Ω N n T Λ J),
E.data.toPhysicalBrownianData.EvaluatedCompleteRun
EvaluatedCompleteRun (MindFormal/Run/EvaluatedGlobalRun.lean:136)
asserts the seven fields of CompleteRun (MindFormal/Run/Interfaces.lean:18) for
the run the experiment constructs. Almost surely, at every time, activity, links, values and traces satisfy their
equations with the run's own input and attention pulse, the paths are continuous, activity is nonnegative, the noise
terms start at zero, the push that holds activity at zero starts at zero, never decreases and grows only while activity
is at zero, and attention and action follow their threshold rules on the actual path. This experiment has constant
noise; the run with state-dependent noise is the first theorem of this file.
11.10 — A search changes its reach when its useful support and its competing load grow at different rates (Theorem)
Clause 1 · MindFormal.result_11_10_clause_1 · MindFormal/Chapters/Ch06.lean:82
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω] (G : MindFormal.EquationGround Ω (Fin 8))
(hG : MindFormal.CompletedEquationGround G),
(∃ good,
MeasurableSet good ∧
99 / 100 ≤ G.μ.real good ∧
∀ z ∈ good,
have S := (MindFormal.searchExperiment MindFormal.searchClose_facts G hG).data.toPhysicalBrownianData;
(∀ (i j : Fin 2), MindFormal.mindRelation ((S.globalData z).state 0) i j = 0) ∧
(∀ t ∈ Set.Icc 0 (9 / 4),
MindFormal.mindActivity ((S.globalData z).state t) 0 < S.reads.awarenessBar ∧
(S.globalData z).pulse t = ![0, 1]) ∧
(∀ t ∈ Set.Ico 0 (1 / 4), (S.globalData z).input t = ![1, 1]) ∧
(∀ t ∈ Set.Ico (1 / 4) (9 / 4), (S.globalData z).input t = ![0, 49 / 1000]) ∧
S.reads.awarenessBar < MindFormal.actualTarget S 0 z (1 / 4) ∧
MindFormal.actualTarget S 0 z 2 < S.reads.awarenessBar) ∧
∃ good,
MeasurableSet good ∧
99 / 100 ≤ G.μ.real good ∧
∀ z ∈ good,
have S := (MindFormal.searchExperiment MindFormal.searchWiden_facts G hG).data.toPhysicalBrownianData;
(∀ (i j : Fin 2), MindFormal.mindRelation ((S.globalData z).state 0) i j = 0) ∧
(∀ t ∈ Set.Icc 0 (43 / 20),
MindFormal.mindActivity ((S.globalData z).state t) 0 < S.reads.awarenessBar ∧
(S.globalData z).pulse t = ![0, 1]) ∧
(∀ t ∈ Set.Ico 0 (3 / 20), (S.globalData z).input t = ![1, 1]) ∧
(∀ t ∈ Set.Ico (3 / 20) (43 / 20), (S.globalData z).input t = ![0, 1 / 20]) ∧
MindFormal.actualTarget S 0 z (3 / 20) < S.reads.awarenessBar ∧
S.reads.awarenessBar < MindFormal.actualTarget S 0 z (19 / 10)
10.17 — Formation with moving value and attention has conditional counts, balanced writers and an evidence limit (Theorem)
Clause 3 · MindFormal.A695LearningValue.result_10_17_3_L698 · MindFormal/Chapters/Ch07Concepts/A695LearningValue/Formation.lean:27
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω]
(G : MindFormal.EquationGround Ω MindFormal.A695LearningValue.Formation.Sources)
(hG : MindFormal.CompletedEquationGround G),
(∀ (i : Fin 4),
MindFormal.mindRelation MindFormal.A695LearningValue.Formation.startState 2 i = 0 ∧
MindFormal.mindRelation MindFormal.A695LearningValue.Formation.startState i 2 = 0) ∧
MindFormal.mindActivity MindFormal.A695LearningValue.Formation.startState 2 = 0 ∧
MindFormal.mindTrace MindFormal.A695LearningValue.Formation.startState 2 () = 0 ∧
2 ∉ MindFormal.A695LearningValue.Formation.mind.sensed ∧
(∀ (m : ℕ),
MindFormal.A695LearningValue.Formation.input (MindFormal.A695LearningValue.Formation.recurrence m) 0 =
1 / 10 ∧
MindFormal.A695LearningValue.Formation.input (MindFormal.A695LearningValue.Formation.recurrence m) 1 =
1 / 10) ∧
(∀ (K : ℕ),
MeasurableSet
{ω |
MindFormal.A695LearningValue.Formation.formationCount
(MindFormal.A695LearningValue.Formation.global G hG ω) ≤
↑K}) ∧
(∀ (K : ℕ),
1 ≤ K →
0 <
G.μ
{ω |
MindFormal.A695LearningValue.Formation.formationCount
(MindFormal.A695LearningValue.Formation.global G hG ω) ≤
↑K} ∧
0 <
G.μ
{ω |
↑K <
MindFormal.A695LearningValue.Formation.formationCount
(MindFormal.A695LearningValue.Formation.global G hG ω)} ∧
∃ pass fail,
MeasurableSet pass ∧
MeasurableSet fail ∧
0 < G.μ pass ∧
0 < G.μ fail ∧
(∀ ω ∈ pass,
MindFormal.A695LearningValue.Formation.live
(MindFormal.A695LearningValue.Formation.global G hG ω) ∧
MindFormal.A695LearningValue.Formation.formedBy
(MindFormal.A695LearningValue.Formation.global G hG ω) K) ∧
(∀ ω ∈ fail,
MindFormal.A695LearningValue.Formation.live
(MindFormal.A695LearningValue.Formation.global G hG ω) ∧
¬MindFormal.A695LearningValue.Formation.formedBy
(MindFormal.A695LearningValue.Formation.global G hG ω) K) ∧
∀ ω ∈ pass,
∀ ω' ∈ fail,
(∀ (t : ℝ),
0 ≤ t →
(MindFormal.A695LearningValue.Formation.global G hG ω).input t =
MindFormal.A695LearningValue.Formation.input t ∧
(MindFormal.A695LearningValue.Formation.global G hG ω').input t =
MindFormal.A695LearningValue.Formation.input t) ∧
∀ (c : Bool) (m : ℕ),
(((MindFormal.A695LearningValue.Formation.global G hG ω).native
(↑(MindFormal.A695LearningValue.Formation.horizon K)) c).search
m).event =
(((MindFormal.A695LearningValue.Formation.global G hG ω').native
(↑(MindFormal.A695LearningValue.Formation.horizon K)) c).search
m).event) ∧
∀ (K : ℕ),
¬∀ᵐ (ω : Ω) ∂G.μ,
MindFormal.A695LearningValue.Formation.formationCount
(MindFormal.A695LearningValue.Formation.global G hG ω) ≤
↑K
13.13 — Experience teaches a vector through the presence and sampling it produces (Theorem)
Clause 3 · MindFormal.result_13_13_clause_3 · MindFormal/Chapters/Ch08.lean:118
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [inst_1 : Fintype T]
[inst_2 : Fintype Λ] [inst_3 : Fintype J] (E : MindFormal.StateExperiment Ω N n T Λ J),
(∀ (i : Fin N) (a : T) (ℓ : Fin n → ℝ),
(∀ (z : Fin n → ℝ), ∑ b, ℓ b * E.mind.η b * E.mind.response z b = 0) →
(∀ (u q : Fin N → ℝ) (s : MindFormal.MindState (Fin N) n T Λ),
∑ b, ℓ b * MindFormal.assembledDrift E.mind.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) = 0) ∧
∀ (z : Ω) (t : ℝ),
0 ≤ t →
have G := E.own.data.toPhysicalNoiseData.globalData z;
∑ b, ℓ b * MindFormal.mindValue (G.state t) i b a - ∑ b, ℓ b * MindFormal.mindValue (G.state 0) i b a =
∑ b, ℓ b * G.driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, b, a))))) ∧
(∀ (bp bm : Fin n),
(∀ (z : Fin n → ℝ), E.mind.response z bp = E.mind.response z bm) →
∀ (i : Fin N) (a : T),
(∀ (u q : Fin N → ℝ) (s : MindFormal.MindState (Fin N) n T Λ),
MindFormal.assembledDrift E.mind.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, bp, a)))) / E.mind.η bp -
MindFormal.assembledDrift E.mind.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, bm, a)))) /
E.mind.η bm =
0) ∧
∀ (z : Ω) (t : ℝ),
0 ≤ t →
have G := E.own.data.toPhysicalNoiseData.globalData z;
MindFormal.mindValue (G.state t) i bp a / E.mind.η bp -
MindFormal.mindValue (G.state t) i bm a / E.mind.η bm -
(MindFormal.mindValue (G.state 0) i bp a / E.mind.η bp -
MindFormal.mindValue (G.state 0) i bm a / E.mind.η bm) =
G.driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, bp, a)))) / E.mind.η bp -
G.driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, bm, a)))) / E.mind.η bm) ∧
((∃ r, 0 ≤ r ∧ E.mind.presence r ≠ 0) →
∀ (i : Fin N) (a : T) (ℓ : Fin n → ℝ),
(∀ (u q : Fin N → ℝ) (s : MindFormal.MindState (Fin N) n T Λ),
∑ b, ℓ b * MindFormal.assembledDrift E.mind.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) = 0) →
∀ (z : Fin n → ℝ), ∑ b, ℓ b * E.mind.η b * E.mind.response z b = 0)
06.25 — One paper program realizes all sixteen structural profiles with native control (Worked example)
Clause 1 · MindFormal.A595Paper.result_06_25_1_L597 · MindFormal/Chapters/Ch10/A595Paper.lean:37
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω]
(ground :
MindFormal.EquationGround Ω
(MindFormal.PageFamily.Coord (MindFormal.A595Paper.viewCount MindFormal.A595Paper.PaperGlyph + 4)))
(complete : MindFormal.CompletedEquationGround ground)
(v : Fin (MindFormal.A595Paper.viewCount MindFormal.A595Paper.PaperGlyph + 4) → MindFormal.PageFamily.Values),
(∀ (query profile : ℕ),
(MindFormal.A595Paper.queryExperiment ground complete v query profile).mind =
MindFormal.A595Paper.paperMind MindFormal.A595Paper.PaperGlyph) ∧
(∀ (profile : Fin 16),
MindFormal.Logic.binaryProfile (MindFormal.A595Paper.majorityWord ground complete v ↑profile) = ↑profile) ∧
∃ good,
MeasurableSet good ∧
99 / 100 ≤ ground.μ.real good ∧
∀ ω ∈ good,
∀ (c : MindFormal.Logic.L82.Paper.Case),
MindFormal.A595Paper.ProgramTrace
((MindFormal.A595Paper.queryExperiment ground complete v ↑c.1 ↑c.2).supportHistory ω) ↑c.1 ↑c.2 ∧
MindFormal.A595Paper.nativeAnswer ground complete v (↑c.1) (↑c.2) ω =
MindFormal.Logic.L82.Paper.intended c
25.1 — A learned role can use external marks while every writer and both races continue (Theorem)
Clauses 1, 3 · MindFormal.result_25_1_learned_role · MindFormal/Chapters/Ch11.lean:75
(∀ {Ω : Type u_1} [_inst : MeasurableSpace Ω] (π : Equiv.Perm (Fin (OfNat.ofNat 11)))
(B : MindFormal.EquationGround Ω (MindFormal.PageFamily.Coord (OfNat.ofNat 11)))
(hB : MindFormal.CompletedEquationGround B) (r : Bool) {ε : ℝ},
OfNat.ofNat 0 ≤ ε →
have run :=
MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB MindFormal.PageRole.allEnd
(MindFormal.PageRole.world π (some r) B);
∃ good,
MeasurableSet good ∧
OfNat.ofNat 1 - OfNat.ofNat 264 * Real.exp (-OfNat.ofNat 125000) - ε ≤ B.μ.real good ∧
∀ ω ∈ good,
∃ n,
∃
τ ∈
Set.Icc ↑MindFormal.PageRole.acquisitionEnd
↑(MindFormal.PageRole.acquisitionEnd + MindFormal.PageRole.queryLength),
run.supportRecord MindFormal.PageRole.allEnd false n ω =
(τ, Sum.inl (π (MindFormal.PageRole.roleName r))) ∧
(∀ (m : ℕ) (s : ℝ) (i : Fin (OfNat.ofNat 11)),
run.supportRecord MindFormal.PageRole.allEnd false m ω = (s, Sum.inl i) →
↑MindFormal.PageRole.acquisitionEnd ≤ s → τ ≤ s) ∧
π (MindFormal.PageRole.novelName r) ∈
run.aware ω (τ + ↑MindFormal.PageRole.queryLength)
(MindFormal.PageRole.parameters π).awareness ∧
(∀ s > τ,
MindFormal.PageFamily.firstQueryRole (↑MindFormal.PageRole.acquisitionEnd)
(MindFormal.actionPast s
↑(((run.supportHistory ω).toFinite MindFormal.PageRole.allEnd).coupledHistory
false)) =
some (π (MindFormal.PageRole.roleName r))) ∧
∀ (i j : Fin (OfNat.ofNat 11)),
|MindFormal.mindRelation
((run.supportHistory ω).state (τ + ↑MindFormal.PageRole.queryLength)) i j -
MindFormal.mindRelation ((run.supportHistory ω).state τ) i j| ≤
MindFormal.PageRole.queryChange π) ∧
∀ {Ω : Type u_1} [_inst : MeasurableSpace Ω] (π : Equiv.Perm (Fin (OfNat.ofNat 11)))
(B : MindFormal.EquationGround Ω (MindFormal.PageFamily.Coord (OfNat.ofNat 11)))
(hB : MindFormal.CompletedEquationGround B) (r : Bool),
(MindFormal.PageFamily.mind (MindFormal.PageRole.parameters π)).η 0 ≠
(MindFormal.PageFamily.mind (MindFormal.PageRole.parameters π)).η 1 ∧
∃ good,
MeasurableSet good ∧
OfNat.ofNat 1 - OfNat.ofNat 264 * Real.exp (-OfNat.ofNat 125000) ≤ B.μ.real good ∧
∀ ω ∈ good,
(∀ (k : Fin (OfNat.ofNat 2)),
∀
s ∈
Set.Icc (MindFormal.PageRole.demoStart k + OfNat.ofNat 1 / OfNat.ofNat 1000)
(MindFormal.PageRole.demoStart k + OfNat.ofNat 1),
OfNat.ofNat 24 / OfNat.ofNat 100 <
MindFormal.mindActivity
(((MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd (MindFormal.PageRole.world π (some r) B)).supportHistory
ω).state
s)
(π (MindFormal.PageRole.roleName r))) ∧
(∀ (k : Fin (OfNat.ofNat 2)),
(∃ n τ i,
τ ∈
Set.Icc (MindFormal.PageRole.demoStart k + OfNat.ofNat 1 / OfNat.ofNat 1000)
(MindFormal.PageRole.demoStart k + OfNat.ofNat 11 / OfNat.ofNat 1000) ∧
(MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd (MindFormal.PageRole.world π (some r) B)).supportRecord
MindFormal.PageRole.allEnd true n ω =
(τ, Sum.inl i)) ∧
∃ n,
∃
τ ∈
Set.Icc (MindFormal.PageRole.demoStart k + OfNat.ofNat 1 / OfNat.ofNat 1000)
(MindFormal.PageRole.demoStart k + OfNat.ofNat 11 / OfNat.ofNat 1000),
(MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd (MindFormal.PageRole.world π (some r) B)).supportRecord
MindFormal.PageRole.allEnd false n ω =
(τ, Sum.inl (π (MindFormal.PageRole.roleName r))) ∧
((MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd
(MindFormal.PageRole.world π (some r) B)).supportHistory
ω).input
(τ + OfNat.ofNat 1 / OfNat.ofNat 200) (π (MindFormal.PageRole.roleName r)) -
MindFormal.PageRole.display π (some r) (τ + OfNat.ofNat 1 / OfNat.ofNat 200)
(π (MindFormal.PageRole.roleName r)) =
(MindFormal.PageRole.parameters π).a) ∧
(∀ s ∈ Set.Icc (OfNat.ofNat 0) ↑MindFormal.PageRole.acquisitionEnd,
MindFormal.PageRole.display π (some r) s ≠ OfNat.ofNat 0 →
∀ (b : Fin (OfNat.ofNat 2)),
OfNat.ofNat 0 <
(MindFormal.PageRole.parameters π).κ
(((MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd
(MindFormal.PageRole.world π (some r) B)).supportHistory
ω).input
s)
b) ∧
MindFormal.actualGain
((MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd (MindFormal.PageRole.world π (some r) B)).supportHistory
ω)
(OfNat.ofNat 0) =
(MindFormal.PageRole.parameters π).m ∧
∃ t ∈ Set.Ioc (OfNat.ofNat 0) (OfNat.ofNat 1 / OfNat.ofNat 10),
(MindFormal.PageRole.parameters π).m <
MindFormal.actualGain
((MindFormal.PageFamily.experimentWorld (MindFormal.PageRole.parameters π) B hB
MindFormal.PageRole.allEnd (MindFormal.PageRole.world π (some r) B)).supportHistory
ω)
t
07.2 — Gauges, fibers and separation by live writes (Theorem)
Clause 1 · MindFormal.result_07_2_joint_scale · MindFormal/Chapters/Ch14.lean:795
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} {P : Type u_5}
[inst_1 : Fintype T] [inst_2 : Fintype Λ] [inst_3 : Fintype J] (e : P → MindFormal.StateExperiment Ω N n T Λ J),
MindFormal.RevealedChoice.sameMind e →
∀ (p₀ : P),
¬∃ recover,
∀ (f : P → MindFormal.StateExperiment Ω N n T Λ J),
MindFormal.RevealedChoice.sameMind f →
(recover fun p ↦ ⟨(f p).horizon, MindFormal.RevealedChoice.activityRecordLaw (f p)⟩) =
(f p₀).mind.activity.σ
15.8 — A fixed saving can win the trip on the cheaper item and lose it on the dearer one (Proposition)
Clause 4 · MindFormal.result_15_8_4 · MindFormal/Chapters/Ch02.lean:2854
∀ {Ω : Type u_1} [inst : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [inst_1 : Fintype T]
[inst_2 : Fintype Λ] [inst_3 : Fintype J] {EL EH : MindFormal.StateExperiment Ω N n T Λ J} {H : NNReal}
(P : MindFormal.MatchedSaving.IntegratedMatchedPair EL EH H),
H ≤ EL.horizon →
H ≤ EH.horizon →
(∀ ω ∈ P.lowBox.stream,
P.lowRead.head ω P.lowRead.stay + P.lowRead.error ω P.lowRead.stay <
P.lowComparison.reference ω P.lowRead.stay ↑H) →
(∀ ω ∈ P.highBox.stream,
P.highRead.head ω P.highRead.stay + P.highRead.error ω P.highRead.stay <
P.highComparison.reference ω P.highRead.stay ↑H) →
MeasurableSet {ω | P.family.ratio ω < (P.family.parameters ω).RL} →
MeasurableSet {ω | P.family.ratio ω < (P.family.parameters ω).RH} →
EL.ground.μ.real {ω | P.family.ratio ω = (P.family.parameters ω).RL} = 0 →
EL.ground.μ.real {ω | P.family.ratio ω = (P.family.parameters ω).RH} = 0 →
P.zetaL < 1 →
P.zetaH < 1 →
0 < P.delta0 - P.zetaL / (1 - P.zetaL) - P.zetaH / (1 - P.zetaH) →
MindFormal.MatchedSaving.IntegratedSourceConclusion P ∧
((1 - P.zetaL ≤ EL.ground.μ.real P.retainedL ∧
|P.pL - P.pL0 * EL.ground.μ.real P.retainedL| ≤ P.zetaL) ∧
1 - P.zetaH ≤ EL.ground.μ.real P.retainedH ∧
|P.pH - P.pH0 * EL.ground.μ.real P.retainedH| ≤ P.zetaH) ∧
|P.replyL - P.pL0| ≤ P.zetaL / (1 - P.zetaL) ∧
|P.replyH - P.pH0| ≤ P.zetaH / (1 - P.zetaH) ∧
P.delta0 - P.zetaL / (1 - P.zetaL) - P.zetaH / (1 - P.zetaH) ≤ P.replyL - P.replyH ∧
P.replyH < P.replyL
18.23 — Two people can agree to exchange and later both undo it (Worked example)
Clause 2 · MindFormal.CompanionExchange.result_18_23_2 · MindFormal/Chapters/Unplaced/CompanionExchange.lean:33
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [inst : MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ} [inst_1 : ℱ.IsRightContinuous]
{B : MindFormal.CompanionExchange.PairSource → NNReal → Ω → ℝ} (hB : MindFormal.BrownianFiltration μ ℱ B),
(∀ (s : Set Ω), μ s = 0 → @MeasurableSet _ (↑ℱ 0) s) → MindFormal.CompanionExchange.ReturnFamily hB
ReturnFamily
(MindFormal/Example/CompanionExchange/Family.lean:39) asserts
that the example's two prepared minds, on an event of probability at least 1 − 112·e^(−5·10¹⁰), both hold the exchanged
goods from time 0 to 10, then both judge the original holdings strictly better, both act to return them, and no prices
support the exchanged allocation.
19.13 — Settled play balances experienced writes and retains the whole encounter (Theorem)
Clauses 24, 25 · MindFormal.result_19_13_minorized_existence · MindFormal/Chapters/Ch17.lean:575
∀ {X : Type u_1} [_inst : MeasurableSpace X] (κ : ProbabilityTheory.Kernel X X)
[_inst_extra_3 : ProbabilityTheory.IsMarkovKernel κ] (ν : MeasureTheory.Measure X)
[_inst_extra_5 : MeasureTheory.IsProbabilityMeasure ν],
∀ ε ≤ OfNat.ofNat 1,
∀ (m : ℕ),
ε ≠ OfNat.ofNat 0 →
(∀ (x : X), ε • ν ≤ (MindFormal.MinorizedInvariant.power κ m) x) →
∃ π,
MeasureTheory.IsProbabilityMeasure π ∧
π.bind ⇑κ = π ∧
∀ (μ : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure μ] (k : ℕ) (s : Set X),
|((MindFormal.MinorizedInvariant.iterate κ μ k) s).toReal - (π s).toReal| ≤
(OfNat.ofNat 1 - ε).toReal ^ (k / m)
21.11 — A sender chooses a message through its own race, and the receiver writes it through its own history (Theorem)
Clause 3 · MindFormal.A641Awareness.result_21_11_3_L645 · MindFormal/Chapters/Ch18/A641Awareness/Feedback.lean:29
∀ {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [inst : Fintype A] {N n : A → ℕ}
{V : A → Type u_4} {Λ : A → Type u_5} [inst_1 : (a : A) → Fintype (V a)] [inst_2 : (a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω} [inst_3 : MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ} {hB : MindFormal.BrownianFiltration μ ℱ B}
(E : MindFormal.GroupsWorld.CompleteExperiment hB),
(∀ (a : A) (i : Fin (N a)) (b : Fin (n a)) (v : V a),
(E.normal.range a).lower (Sum.inr (Sum.inr (Sum.inl (i, b, v)))) = none) →
(∀ (a : A) (i : Fin (N a)) (b : Fin (n a)) (v : V a),
(E.normal.range a).upper (Sum.inr (Sum.inr (Sum.inl (i, b, v)))) = none) →
∀ (H K : NNReal) (sender receiver : A) (credited : Fin (N sender)) (b : Fin (n sender)) (v : V sender)
(words : Fin 2 → Fin (N sender)) (reply : Fin (N receiver)) (sc sr sp : Fin 2 → ℝ) (rc rr rp : Fin 1 → ℝ),
sc 0 + sr 0 < rc 0 - rr 0 →
rc 0 + rr 0 ≤ ↑H →
↑H ≤ sc 1 - sr 1 →
∀ᵐ (ω : Ω) ∂μ,
MindFormal.GivenHistoryRecords.WindowTests E.observed K sender ω words sc sr sp →
MindFormal.GivenHistoryRecords.WindowTests E.observed K receiver ω (fun x ↦ reply) rc rr rp →
∀ (dose noiseAllowance : ℝ),
dose ≤ ∫ (t : ℝ) in 0..↑H, MindFormal.A641Awareness.valueResponse E sender ω credited b v t →
noiseAllowance < (E.observed.member sender).η b * dose →
(∀ (k : ℕ),
H ≤ (E.equations.window k).time ω →
-noiseAllowance ≤
MindFormal.GivenCompleteHistory.innovation E k sender
(Sum.inr (Sum.inr (Sum.inl (credited, b, v)))) ω ↑H) →
0 <
MindFormal.mindValue (E.observed.path sender H ω) credited b v -
MindFormal.mindValue (E.observed.path sender 0 ω) credited b v ∧
∃ first response later,
↑↑(E.observed.records K ω sender false) 0 = (first, Sum.inl (words 0)) ∧
↑↑(E.observed.records K ω receiver false) 0 = (response, Sum.inl reply) ∧
↑↑(E.observed.records K ω sender false) 1 = (later, Sum.inl (words 1)) ∧
first < response ∧
response ≤ ↑H ∧
↑H ≤ later ∧
∀ (t : NNReal),
E.observed.input t ω =
E.receipts.emit t
(fun a ↦
MindFormal.actionPast ↑t ↑(E.observed.records (↑⌈t⌉₊) ω a false))
ω
The objects
EquationInstance
MindFormal/Equations/AdmittedMind.lean:30
structure EquationInstance (N n : ℕ) (T Λ J : Type*) where
activity : ActivityParameters
transform : InputTransform
β : ℝ
η : Fin n → ℝ
τ : T → ℝ
rate : Λ → ℝ
sensed : Finset (Fin N)
primary : Finset (Fin N)
drive : ℝ → ℝ → (Fin n → T → ℝ) → ℝ
residue : (Λ → ℝ) → ℝ
presence : (Λ → ℝ) → ℝ
delivery : ({i // i ∈ primary} → ℝ) → Fin n → ℝ
response : (Fin n → ℝ) → Fin n → ℝ
gain : (T → Fin n → ℝ) → ℝ
reads : PhysicalNativeReads N n T
pause : Bool → ℝ
amplitude : InstanceArguments N n T Λ → CoordinateIndex (Fin N) n T Λ → J → ℝ
InstanceAdmission
MindFormal/Equations/AdmittedMind.lean:91
structure InstanceAdmission (I : EquationInstance N n T Λ J) : Prop where
value_dimension : 1 ≤ n
horizon_positive : ∀ t, 0 < I.τ t
horizon_distinct : Function.Injective I.τ
rate_positive : ∀ l, 0 < I.rate l
rate_distinct : Function.Injective I.rate
learning_positive : ∀ b, 0 < I.η b
binding_positive : 0 < I.β
binding_lt_one : I.β < 1
awareness_nonnegative : 0 ≤ I.reads.awarenessBar
pause_positive : ∀ c, 0 < I.pause c
primary_sensed : I.primary ⊆ I.sensed
regular : PresenceIndependentRegularity I.drift
drive_bounded_lipschitz : LipschitzOnBalls
(fun z : ℝ × ℝ × (Fin n → T → ℝ) ↦ I.drive z.1 z.2.1 z.2.2)
{z | 0 ≤ z.1 ∧ z.2.1 ∈ ({0,1} : Set ℝ)}
presence_differentiable : DifferentiableOn ℝ I.presence {r | 0 ≤ r}
presence_derivative_lipschitz :
LipschitzOnBalls (fderivWithin ℝ I.presence {r | 0 ≤ r}) {r | 0 ≤ r}
transform_bounded_lipschitz : LipschitzOnBalls I.transform.ψ univ
response_bounded_lipschitz : LipschitzOnBalls I.response univ
attention_bounded_lipschitz : ∀ R : ℝ, 0 ≤ R → ∃ K : ℝ≥0,
LipschitzOnWith K I.reads.attention {z | ‖z.val‖ ≤ R}
output_bounded_lipschitz : ∀ R : ℝ, 0 ≤ R → ∃ K : ℝ≥0,
LipschitzOnWith K I.reads.output {z | ‖z.val‖ ≤ R}
transform_growth : PrimitiveGrowth I.transform.ψ univ
residue_growth : PrimitiveGrowth I.residue {r | 0 ≤ r}
presence_growth : PrimitiveGrowth I.presence {r | 0 ≤ r}
delivery_lipschitz : LipschitzOnBalls I.delivery {u | 0 ≤ u}
delivery_growth : PrimitiveGrowth I.delivery {u | 0 ≤ u}
attention_lipschitz : LocallyLipschitz I.reads.attention
output_lipschitz : LocallyLipschitz I.reads.output
attention_growth : ∃ K : ℝ, 0 ≤ K ∧ ∀ z, |I.reads.attention z| ≤ K*(1+‖z.val‖)
output_growth : ∃ K : ℝ, 0 ≤ K ∧ ∀ z, |I.reads.output z| ≤ K*(1+‖z.val‖)
drive_nonnegative : ∀ u, 0 ≤ u → ∀ q ∈ ({0,1} : Set ℝ), ∀ v, 0 ≤ I.drive u q v
drive_input_monotone : ∀ q ∈ ({0,1} : Set ℝ), ∀ v, MonotoneOn (fun u ↦ I.drive u q v) (Ici 0)
drive_attended : ∀ u, 0 ≤ u → ∀ v, I.drive u 0 v < I.drive u 1 v
drive_magnitude_monotone : ∀ u, 0 ≤ u → ∀ q ∈ ({0,1} : Set ℝ), ∀ v w,
(∀ b t, |v b t| ≤ |w b t|) → I.drive u q v ≤ I.drive u q w
drive_magnitude_bounded : ∀ u, 0 ≤ u → ∀ q ∈ ({0,1} : Set ℝ), ∀ v b t,
∃ K : ℝ, ∀ r : ℝ, |I.drive u q (Function.update v b (Function.update (v b) t r))| ≤ K
drive_zero : ∀ v, I.drive 0 0 v = 0
presence_nonnegative : ∀ r, 0 ≤ r → 0 ≤ I.presence r
presence_monotone : MonotoneOn I.presence {r | 0 ≤ r}
presence_zero : I.presence 0 = 0
gain_positive : ∀ z, 0 ≤ z → 0 < I.gain z
gain_monotone : MonotoneOn I.gain {z | 0 ≤ z}
delivery_nonnegative : ∀ u, 0 ≤ u → 0 ≤ I.delivery u
delivery_zero : I.delivery 0 = 0
response_zero : I.response 0 = 0
response_monotone : ∀ b j,
(∀ v, Monotone (fun r : ℝ ↦ I.response (Function.update v j r) b)) ∨
(∀ v, Antitone (fun r : ℝ ↦ I.response (Function.update v j r) b))
attention_activity_monotone : ∀ v, Monotone (fun x : ℝ≥0 ↦
I.reads.attention ⟨(x,v),x.coe_nonneg⟩)
attention_value_monotone : ReadValueMonotone I.reads.attention
output_activity_monotone : ∀ v, Monotone (fun x : ℝ≥0 ↦
I.reads.output ⟨(x,v),x.coe_nonneg⟩)
output_value_monotone : ReadValueMonotone I.reads.output
amplitude_lipschitz : LipschitzOnBalls I.amplitude instanceArgumentDomain
amplitude_growth : PrimitiveGrowth I.amplitude instanceArgumentDomain
activity_amplitude_bounded : ∃ K : ℝ, ∀ z ∈ instanceArgumentDomain, ∀ i,
‖I.amplitude z (.inr (.inl i))‖ ≤ K
activity_noise_present : ∀ z ∈ instanceArgumentDomain, ∀ i,
I.amplitude z (.inr (.inl i)) ≠ 0
relation_noise_present : ∀ z ∈ instanceArgumentDomain, ∀ i j,
I.amplitude z (.inl (i,j)) ≠ 0
value_noise_present : ∀ z ∈ instanceArgumentDomain, ∀ i t,
(fun b j ↦ I.amplitude z (.inr (.inr (.inl (i,b,t)))) j) ≠ 0
trace_noise_zero : ∀ z i l j, I.amplitude z (.inr (.inr (.inr (i,l)))) j = 0
EquationGround
structure EquationGround (Ω J : Type*) [mΩ : MeasurableSpace Ω] where
μ : Measure Ω
probability : IsProbabilityMeasure μ
filtration : Filtration ℝ≥0 mΩ
brownian : J → ℝ≥0 → Ω → ℝ
isBrownian : ∀ j, IsBrownianReal (brownian j) μ
adapted : ∀ j, StronglyAdapted filtration (brownian j)
joint_independent : iIndepFun (fun j z ↦ fun t ↦ brownian j t z) μ
future_independent : ∀ s : ℝ≥0, Indep (filtration s)
(MeasurableSpace.comap (fun z ↦ fun p : J × ℝ≥0 ↦
brownian p.1 (s + p.2) z - brownian p.1 s z) inferInstance) μ
CompletedEquationGround
def CompletedEquationGround (G : EquationGround Ω J) : Prop :=
∀ s : Set Ω, G.μ s = 0 → MeasurableSet[G.filtration 0] s
StateExperiment
MindFormal/Run/StateAdapter.lean:491
structure StateExperiment (Ω : Type*) [MeasurableSpace Ω] (N n : ℕ) (T Λ J : Type*)
[Fintype T] [Fintype Λ] [Fintype J] where
mind : EquationInstance N n T Λ J
admission : InstanceAdmission mind
ground : EquationGround Ω J
completed : CompletedEquationGround ground
world : ConstructedWorld mind ground
start : EquationStart ground N n T Λ
start_sq : MemLp (fun z ↦ (start.state z).val) 2 ground.μ
horizon : ℝ≥0
radius : ℝ≥0
radius_pos : 0 < radius
inputBound : ℝ≥0
allow : (J → ℝ) → CoordinateIndex (Fin N) n T Λ → ℝ
allow_pos : ∀ a, (∀ j, 0 < a j) → ∀ i, 0 < allow a i
/-- The loading bound of each row over the truncation: at admissible arguments whose state lies
in the ball of the radius and whose input lies within the clamp. -/
bound : CoordinateIndex (Fin N) n T Λ → ℝ
bound_pos : ∀ c, 0 < bound c
amp_bound : ∀ c, ∀ z ∈ instanceArgumentDomain, ‖z.1‖ ≤ radius → ‖z.2.1‖ ≤ inputBound →
∑ k, (mind.amplitude z c k) ^ 2 ≤ bound c ^ 2