OAI/Probability/DilutedSpin/MatrixHistory.lean

GitHub source file

8 declarations, 0 contain sorry, 0 declared as axioms

  1. def OAI.DilutedSpinGlass.PrescribedTree.matrixHistory line 16

    Source documentation

    The constant-observable component of the analytic COMPLETE-matrix history. It is the original old-erase/fresh-grow recursion, not the reference recursion.

    noncomputable def matrixHistory (T : PrescribedTree n) (q : C → T.Leaf)
        (K : KernelTower Ω n) (m : Fin (n+1) → ℝ) (cs : List C)
        (S : PrescribedTree n) (U : Finset ι) (loc : ι → S.Leaf)
        (pos : C → S.Leaf) (f : Sample Ω S → ℝ) : ℝ :=
    …

    Mentions: OAI.DilutedSpinGlass.PrescribedTree, OAI.DilutedSpinGlass.q, OAI.DilutedSpinGlass.KernelTower, OAI.DilutedSpinGlass.PrescribedTree.Sample

  2. lemma OAI.DilutedSpinGlass.PrescribedTree.matrixHistory_mismatch line 26

    Source documentation

    Once two assigned colors have the wrong split, no future legal extension can repair it. This justifies enforcing the matrix constraints successively.

    lemma matrixHistory_mismatch (T : PrescribedTree n) (q : C → T.Leaf)
        (K : KernelTower Ω n) (m : Fin (n+1) → ℝ) (cs : List C)
        (S : PrescribedTree n) (U : Finset ι) (loc : ι → S.Leaf)
        (pos : C → S.Leaf) (f : Sample Ω S → ℝ)
        (a b : C) (ha : a ∉ cs) (hb : b ∉ cs)
        (he : splitDepth S (pos a) (pos b) ≠ splitDepth T (q a) (q b)) :
        matrixHistory T q K m cs S U loc pos f = 0 := by
    …

    Mentions: OAI.DilutedSpinGlass.PrescribedTree, OAI.DilutedSpinGlass.q, OAI.DilutedSpinGlass.KernelTower, OAI.DilutedSpinGlass.PrescribedTree.Sample, OAI.DilutedSpinGlass.PrescribedTree.splitDepth, OAI.DilutedSpinGlass.PrescribedTree.matrixHistory

  3. theorem OAI.DilutedSpinGlass.PrescribedTree.matrixHistory_step line 62

    Source documentation

    Exact sequential enforcement of the full split matrix inside the protected signed history. Impossible branches vanish, rather than being silently dropped or replaced by a reference law.

    theorem matrixHistory_step (T : PrescribedTree n) (q : C → T.Leaf)
        (K : KernelTower Ω n) (m : Fin (n+1) → ℝ) (c : C) (cs : List C)
        (P : Finset C) (hc : c ∉ P) (hdis : ∀ d ∈ cs, d ∉ insert c P)
        (S : PrescribedTree n) (U : Finset ι) (loc : ι → S.Leaf)
        (pos : C → S.Leaf) (f : Sample Ω S → ℝ) :
        matrixHistory T q K m (c::cs) S U loc pos f =
        (∑ i ∈ U, if ∀ d ∈ P, splitDepth S (loc i) (pos d) = splitDepth T (q c) (q d)
          then matrixHistory T q K m cs S (U.erase i) loc (Function.update pos c (loc i)) f else 0) +
        ∑ v : S.Internal, if ∀ d ∈ P, freshSplitDepth S v (pos d) = splitDepth T (q c) (q d)
          then gamma S m v * matrixHistory T q K m cs (grow S v) U
            (fun i => oldLeaf S v (loc i))
            (Function.update (fun d => oldLeaf S v (pos d)) c (newLeaf S v))
    …

    Mentions: OAI.DilutedSpinGlass.PrescribedTree, OAI.DilutedSpinGlass.q, OAI.DilutedSpinGlass.KernelTower, OAI.DilutedSpinGlass.PrescribedTree.Sample, OAI.DilutedSpinGlass.PrescribedTree.matrixHistory, OAI.DilutedSpinGlass.PrescribedTree.splitDepth, OAI.DilutedSpinGlass.PrescribedTree.freshSplitDepth, OAI.DilutedSpinGlass.PrescribedTree.gamma, OAI.DilutedSpinGlass.PrescribedTree.grow, OAI.DilutedSpinGlass.PrescribedTree.oldLeaf, OAI.DilutedSpinGlass.PrescribedTree.newLeaf

  4. lemma OAI.DilutedSpinGlass.PrescribedTree.branchProduct_ne_zero line 116
  5. theorem OAI.DilutedSpinGlass.PrescribedTree.partialKappa_ne_zero line 126
  6. theorem OAI.DilutedSpinGlass.PrescribedTree.matrix_choice_kappa line 143

    Source documentation

    The actual one-step protected extension total is the ratio of the two unordered branching products. Complete split constraints, not a surrogate probability mechanism, determine this coefficient.

    theorem matrix_choice_kappa (T S : PrescribedTree n) (q : C → T.Leaf)
        (hq : Function.Injective q) (P : Finset C) (hP : P.Nonempty)
        (c : C) (hc : c ∉ P) (pos : C → S.Leaf) (U : Finset ι) (loc : ι → S.Leaf)
        (hcover : HistoryCover S U loc P pos)
        (hsplit : ∀ a ∈ P, ∀ b ∈ P,
          splitDepth S (pos a) (pos b) = splitDepth T (q a) (q b))
        (m : Fin (n+1) → ℝ) (hm : StrictMono m) (hp : ∀ j, 0 ≤ m j)
        (hend : m (Fin.last n) = 1) :
        (∑ i ∈ U, if ∀ d ∈ P, splitDepth S (loc i) (pos d) = splitDepth T (q c) (q d)
          then (1:ℝ) else 0) +
        (∑ v : S.Internal, if ∀ d ∈ P, freshSplitDepth S v (pos d) = splitDepth T (q c) (q d)
          then gamma S m v else 0) =
    …

    Mentions: OAI.DilutedSpinGlass.PrescribedTree, OAI.DilutedSpinGlass.q, OAI.DilutedSpinGlass.PrescribedTree.HistoryCover, OAI.DilutedSpinGlass.PrescribedTree.splitDepth, OAI.DilutedSpinGlass.PrescribedTree.freshSplitDepth, OAI.DilutedSpinGlass.PrescribedTree.gamma

  7. def OAI.DilutedSpinGlass.PrescribedTree.pairHistory line 211

    Source documentation

    One prescribed pair constraint, retaining the COMPLETE old law.

    noncomputable def pairHistory (T : KernelTower Ω (L+1)) (m : Fin (L+2) → ℝ)
        (S : PrescribedTree (L+1)) (a : S.Leaf) (d : ℕ)
        (E D : FinitePath Ω (L+1) → ℝ) (f : Sample Ω S → ℝ) : ℝ := by
    …

    Mentions: OAI.DilutedSpinGlass.KernelTower, OAI.DilutedSpinGlass.PrescribedTree, OAI.DilutedSpinGlass.FinitePath, OAI.DilutedSpinGlass.PrescribedTree.Sample

  8. lemma OAI.DilutedSpinGlass.PrescribedTree.shapeHistory_one line 224