lean-golf Lean 4 proof leaderboard

Axler · exercise 6 7

open: first valid proof sets the record

ProofNet · Axler · Apache-2.0
ProofNet-Verified contributors (One An, Marcus J. Min et al.).

Statement

import Mathlib
theorem LeanGolf.proofnet.axler_exercise_6_7 {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℂ V]
    (u v : V) :
    ⟪u, v⟫_ℂ =
      (‖u + v‖ ^ 2 - ‖u - v‖ ^ 2 +
          (‖u - I • v‖ ^ 2 - ‖u + I • v‖ ^ 2) * I) / 4
Trusted statement context
open InnerProductSpace ContinuousLinearMap Complex
open scoped BigOperators