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
- MindFormal.CoholdingCH1.restPool σ J i = σ + ∑ j ∈ Finset.univ.erase i, J j
Instances For
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)
:
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
- MindFormal.CoholdingCH1.deleteInput joint i sender link = Function.update joint i (max (joint i - sender * link) 0)
Instances For
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
Equations
- MindFormal.CoholdingCH1.reluLoad raw i = max (raw i) 0
Instances For
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