theorem
proved
term proof
PApply_add
show as:
view Lean formalization →
formal statement (Lean)
138theorem PApply_add {n : ℕ}
139 (lam : ℝ) (hInv : Fin n → Fin n → ℝ) (β : Vec n)
140 (v w : Vec n) :
141 PApply lam hInv β (v + w) = PApply lam hInv β v + PApply lam hInv β w := by
proof body
Term-mode proof.
142 ext i
143 simp [PApply, AApply_add]
144 ring
145