MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.CurrentPool

CH1.1: pointwise complete-pool algebra. All transformed inputs are retained, including both items, every associate and the receiver's own row. The deletion changes one current input; it does not disable a writer.

noncomputable def MindFormal.CoholdingCH1.restPool {C : Type u_1} [Fintype C] (σ : ℝ) (J : C → ℝ) (i : C) :
Equations
Instances For
    noncomputable def MindFormal.CoholdingCH1.cutoff {C : Type u_1} [Fintype C] (σ : ℝ) (single joint : C → ℝ) (i : C) (sender link : ℝ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.CoholdingCH1.pool_split {C : Type u_1} [Fintype C] (σ : ℝ) (J : C → ℝ) (i : C) :
      pool σ J = J i + restPool σ J i
      theorem MindFormal.CoholdingCH1.restPool_pos {C : Type u_1} [Fintype C] {σ : ℝ} (hσ : 0 < σ) (J : C → ℝ) (hJ : ∀ (j : C), 0 ≤ J j) (i : C) :
      0 < restPool σ J i
      theorem MindFormal.CoholdingCH1.target_difference {C : Type u_1} [Fintype C] {σ g sender link : ℝ} (hσ : 0 < σ) (single joint : C → ℝ) (hs : ∀ (j : C), 0 ≤ single j) (hj : ∀ (j : C), 0 ≤ joint j) (i : C) (hx : 0 < sender) (ha : 0 < single i / pool σ single - g) (hb : 0 < joint i / pool σ joint - g) :
      normalizedTarget σ g joint i - normalizedTarget σ g single i = restPool σ single i * sender * (link - cutoff σ single joint i sender link) / (pool σ single * pool σ joint)
      theorem MindFormal.CoholdingCH1.help_iff {C : Type u_1} [Fintype C] {σ g sender link : ℝ} (hσ : 0 < σ) (single joint : C → ℝ) (hs : ∀ (j : C), 0 ≤ single j) (hj : ∀ (j : C), 0 ≤ joint j) (i : C) (hx : 0 < sender) (ha : 0 < single i / pool σ single - g) (hb : 0 < joint i / pool σ joint - g) :
      normalizedTarget σ g single i < normalizedTarget σ g joint i ↔ cutoff σ single joint i sender link < link
      noncomputable def MindFormal.CoholdingCH1.deleteInput {C : Type u_1} (joint : C → ℝ) (i : C) (sender link : ℝ) :
      C → ℝ
      Equations
      Instances For
        theorem MindFormal.CoholdingCH1.deletion_rest {C : Type u_1} [Fintype C] (σ : ℝ) (joint : C → ℝ) (i : C) (sender link : ℝ) :
        restPool σ (deleteInput joint i sender link) i = restPool σ joint i
        theorem MindFormal.CoholdingCH1.indispensable {C : Type u_1} [Fintype C] {σ g sender link : ℝ} (hσ : 0 < σ) (hg : 0 ≤ g) (single joint : C → ℝ) (hs : ∀ (j : C), 0 ≤ single j) (hj : ∀ (j : C), 0 ≤ joint j) (i : C) (hx : 0 < sender) (ha : 0 < single i / pool σ single - g) (hb : 0 < joint i / pool σ joint - g) (hc : 0 < cutoff σ single joint i sender link) (hw : cutoff σ single joint i sender link < link) :
        normalizedTarget σ g single i < normalizedTarget σ g joint i ∧ normalizedTarget σ g (deleteInput joint i sender link) i < normalizedTarget σ g single i
        def MindFormal.CoholdingCH1.reluLoad {C : Type u_1} (raw : C → ℝ) :
        C → ℝ
        Equations
        Instances For
          theorem MindFormal.CoholdingCH1.relu_deletion {C : Type u_1} [Fintype C] {σ g sender link : ℝ} (hσ : 0 < σ) (hg : 0 ≤ g) (raw : C → ℝ) (i : C) (ha : 0 < reluLoad raw i / pool σ (reluLoad raw) - g) :
          deleteInput (reluLoad raw) i sender link = reluLoad (Function.update raw i (raw i - sender * link))
          theorem MindFormal.CoholdingCH1.relu_indispensable {C : Type u_1} [Fintype C] {σ g sender link : ℝ} (hσ : 0 < σ) (hg : 0 ≤ g) (single joint : C → ℝ) (i : C) (hx : 0 < sender) (ha : 0 < reluLoad single i / pool σ (reluLoad single) - g) (hb : 0 < reluLoad joint i / pool σ (reluLoad joint) - g) (hc : 0 < cutoff σ (reluLoad single) (reluLoad joint) i sender link) (hw : cutoff σ (reluLoad single) (reluLoad joint) i sender link < link) :
          normalizedTarget σ g (reluLoad single) i < normalizedTarget σ g (reluLoad joint) i ∧ normalizedTarget σ g (reluLoad (Function.update joint i (joint i - sender * link))) i < normalizedTarget σ g (reluLoad single) i