MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch18.Chain

def MindFormal.LoadRegions.chain (γ g x₀ : ℝ) :
ℕ → ℝ

The held ReLU chain at its one common measured or solved pool: γ = Wchain/P. Only this deterministic comparison is recursively defined.

Equations
Instances For
    theorem MindFormal.LoadRegions.clip_chain {γ g : ℝ} (hγ : 0 ≤ γ) (hg : 0 ≤ g) (a : ℝ) :
    max (γ * max a 0 - g) 0 = max (γ * a - g) 0

    A clipped member contributes no support to any subsequent member.

    theorem MindFormal.LoadRegions.chain_closed {γ g x₀ : ℝ} (hγ : 0 ≤ γ) (hg : 0 ≤ g) (hx : 0 ≤ x₀) (hne : γ ≠ 1) (d : ℕ) :
    chain γ g x₀ d = max (γ ^ d * (x₀ + g / (1 - γ)) - g / (1 - γ)) 0

    RM1.17b: the finite geometric closed form, including all clipped branches. For γ > 1 this is still exact, without a decaying-depth claim.

    theorem MindFormal.LoadRegions.chain_one {g x₀ : ℝ} (hg : 0 ≤ g) (hx : 0 ≤ x₀) (d : ℕ) :
    chain 1 g x₀ d = max (x₀ - ↑d * g) 0

    RM1.17b at γ = 1: one activity offset is lost at each link.

    theorem MindFormal.LoadRegions.chain_zero_tail {γ g x₀ : ℝ} (hg : 0 ≤ g) (d k : ℕ) (zero : chain γ g x₀ d = 0) :
    chain γ g x₀ (d + k) = 0

    After a clipped zero, every later member of the same held chain is zero, at any positive or supercritical link ratio.

    theorem MindFormal.LoadRegions.chain_depth_iff {γ g x₀ need : ℝ} (hγ : 0 < γ) (hγ1 : γ < 1) (hg : 0 ≤ g) (hx : 0 ≤ x₀) (hn : 0 < need) (hstart : 0 < x₀ + g / (1 - γ)) (d : ℕ) :
    need ≤ chain γ g x₀ d ↔ ↑d ≤ Real.log ((need + g / (1 - γ)) / (x₀ + g / (1 - γ))) / Real.log γ

    RM1.17b's exact depth condition for 0 < γ < 1. A positive required activity removes the clipped branch. The formula also covers an insufficient root by giving no nonnegative admissible depth.

    theorem MindFormal.LoadRegions.finite_chain_depth_iff {γ g x₀ need : ℝ} (hγ : 0 < γ) (hγ1 : γ < 1) (hg : 0 ≤ g) (hn : 0 < need) (root : need ≤ x₀) (length d : ℕ) :
    d ≤ length ∧ need ≤ chain γ g x₀ d ↔ d ≤ length ∧ ↑d ≤ Real.log ((need + g / (1 - γ)) / (x₀ + g / (1 - γ))) / Real.log γ

    The declared finite chain length caps the exact logarithmic depth condition. The entry's root already meets the positive required activity.

    theorem MindFormal.LoadRegions.finite_chain_one_iff {g x₀ need : ℝ} (hg : 0 < g) (hx : 0 ≤ x₀) (hn : 0 < need) (length d : ℕ) :
    d ≤ length ∧ need ≤ chain 1 g x₀ d ↔ d ≤ length ∧ ↑d ≤ (x₀ - need) / g

    The γ = 1 depth condition, including the finite length cap.