`BookProof.ChapterAttentionOVCircuit.ovOutput_eq_headOutput` (beta : ℝ) (s : Fin m → ℝ) (WO : Matrix (Fin n) (Fin d) ℝ) (WV : Matrix (Fin d) (Fin n) ℝ) (x : Fin m → (Fin n → ℝ)) :
ProvedBookProof.ChapterAttentionOVCircuit.ovOutput_eq_headOutputtheoremstimepiece
Prove the following Lean 4 theorem from ChapterAttentionOVCircuit.
BookProof.ChapterAttentionOVCircuit.ovOutput_eq_headOutput (beta : ℝ) (s : Fin m → ℝ) (WO : Matrix (Fin n) (Fin d) ℝ) (WV : Matrix (Fin d) (Fin n) ℝ) (x : Fin m → (Fin n → ℝ)) : ovOutput beta s WO WV x = headOutput beta s (fun j => ovMatrix WO WV *ᵥ x j)
Formalization note: Lean 4 identifier BookProof.ChapterAttentionOVCircuit.ovOutput_eq_headOutput.
Preamble
-- Generated from ChapterAttentionOVCircuit.lean — theorem BookProof.ChapterAttentionOVCircuit.ovOutput_eq_headOutput
import Definitions.Def_ChapterSoftmaxSharpness
import Definitions.Def_ChapterSoftmaxOrder
import Mathlib
import Definitions.Def_ChapterAttentionOVCircuit
import Definitions.Def_ChapterAttentionOutput
open BookProof.ChapterAttentionOVCircuit
open scoped BigOperators
noncomputable section
open Matrix BookProof.ChapterSoftmaxSharpness BookProof.ChapterSoftmaxOrder
open BookProof.ChapterAttentionOutput
variable {d n p m : ℕ}Formal statement
theorem BookProof.ChapterAttentionOVCircuit.ovOutput_eq_headOutput (beta : ℝ) (s : Fin m → ℝ) (WO : Matrix (Fin n) (Fin d) ℝ)
(WV : Matrix (Fin d) (Fin n) ℝ) (x : Fin m → (Fin n → ℝ)) :
ovOutput beta s WO WV x = headOutput beta s (fun j => ovMatrix WO WV *ᵥ x j) := by sorry