RCLike.normSq_eq_conj_mul_self
theoremverifiedformalizationimported Lean
RCLike.normSq_eq_conj_mul_self
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Matrix Matrix.PosSemidef in open BigOperators in variable {n π : Type*} in variable [RCLike π] [DecidableEq n] in open scoped ComplexOrder MatrixOrder in open Kronecker in open scoped ComplexOrder in variable {m n π : Type*} in variable [Fintype m] [Fintype n] in variable [RCLike π] [dn : DecidableEq n] in variable {A : Matrix m m π} {B : Matrix m m π} in variable (hA : A.PosSemidef) (hB : B.PosSemidef) in open ComplexConjugate in theorem RCLike.normSq_eq_conj_mul_self {z : π} : RCLike.normSq z = conj z * z
- Formalizes
- QuantumInfo, `RCLike.normSq_eq_conj_mul_self`
- Lean proof
- By Alex Meiburg, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Alex Meiburg. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.RCLike.normSq_eq_conj_mul_self← RCLike.normSq_eq_conj_mul_self (QuantumInfo/ForMathlib/Matrix.lean:162): verbatim
- Verified
- 17 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 3
- Matrix.PosSemidef.outer_self_conjMatrix.PosSemidef.outer_self_conj
- subspace_incompatible_family_of_mic_dataFor all d k : β, let g : Fin k β Fin d β β, write G i = Matrix.vecMulVec (g i) (star (g i)) (the rank-one positive matrix g_i g_i^*), letβ¦
- pauli_moment_two_eq_four_replica_sumFor every natural number n and n-qubit pure state Ο in Hn n, the second Pauli-Liouville moment (pauliLiouvilleMomentTwo n Ο as a complexβ¦
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Matrix Matrix.PosSemidef in open BigOperators in variable {n π : Type*} in variable [RCLike π] [DecidableEq n] in open scoped ComplexOrder MatrixOrder in open Kronecker in open scoped ComplexOrder in variable {m n π : Type*} in variable [Fintype m] [Fintype n] in variable [RCLike π] [dn : DecidableEq n] in variable {A : Matrix m m π} {B : Matrix m m π} in variable (hA : A.PosSemidef) (hB : B.PosSemidef) in open ComplexConjugate in theorem RCLike.normSq_eq_conj_mul_self {z : π} : RCLike.normSq z = conj z * z := by rw [RCLike.ext_iff] simp [RCLike.normSq] ring_nf --PR