All proofs
Project-declaredLean 4.28.0 · mathlib@8f9d9cff6bd7

Support Proj mul of ker le

supportProj_mul_of_ker_le

Plain-language statement

The support projection of A acts as identity on B when A.ker ≤ B.ker. Since A.supportProj projects onto ker(A)⊥ and B is zero on ker(A), the projection preserves B.

Exact Lean statement

lemma supportProj_mul_of_ker_le {A B : HermitianMat d ℂ}
    (hker : A.ker ≤ B.ker) :
    A.supportProj.mat * B.mat = B.mat

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma supportProj_mul_of_ker_le {A B : HermitianMat d ℂ}    (hker : A.ker  B.ker) :    A.supportProj.mat * B.mat = B.mat := by  contrapose! hker;  simp_all [ SetLike.le_def ];  -- Since $B$ is not in the kernel of $A$, there exists some $x \in \ker(A)$ such that $Bx \neq 0$.  obtain x, hx :  x : EuclideanSpace ℂ d, A.mat.mulVec x = 0  B.mat.mulVec x  0 := by    contrapose! hker;    have h_support :  x : EuclideanSpace ℂ d, B.mat.mulVec x = B.mat.mulVec (A.supportProj.mat.mulVec x) := by      intro x      have h_support : x.ofLp = A.supportProj.mat.mulVec x.ofLp + A.kerProj.mat.mulVec x.ofLp := by        have h_support : A.supportProj.mat + A.kerProj.mat = 1 := by          simp [ add_comm];          simp [  Matrix.ext_iff];          intro i j; exact (by          have h_support : A.kerProj + A.supportProj = 1 := by            exact HermitianMat.kerProj_add_supportProj A;          convert congr_arg ( fun f => f i j ) h_support using 1);        rw [  Matrix.add_mulVec, h_support, Matrix.one_mulVec ];      have h_support : B.mat.mulVec (A.kerProj.mat.mulVec x.ofLp) = 0 := by        convert hker _ _;        have h_support : A.mat * A.kerProj.mat = 0 := by          have h_support : A.mat * A.kerProj.mat = A.mat * (1 - A.supportProj.mat) := by            congr;            have h_support : A.kerProj + A.supportProj = 1 := by              exact HermitianMat.kerProj_add_supportProj A;            exact eq_sub_of_add_eq <| congr_arg Subtype.val h_support;          rw [ h_support, mul_sub, mul_one, sub_eq_zero ];          exact Eq.symm (HermitianMat.mul_supportProj_of_ker_le fun ⦃x⦄ a => a);        convert congr_arg ( fun m => m.mulVec x.ofLp ) h_support using 1;        · simp        · simp      convert congr_arg ( fun y => B.mat.mulVec y ) ‹x.ofLp = A.supportProj.mat.mulVec x.ofLp + A.kerProj.mat.mulVec x.ofLpusing 1 ; simp [ Matrix.mulVec_add, h_support ];    have h_support : B.mat = B.mat * A.supportProj.mat := by      ext i j;      convert congr_fun ( h_support ( EuclideanSpace.single j 1 ) ) i using 1;      · simp [ Matrix.mulVec, dotProduct ];      · simp [ Matrix.mulVec, dotProduct ];        rfl;    have h_support : B.mat = B.mat.conjTranspose := by      exact B.2.symm;    have h_support : (B.mat * A.supportProj.mat).conjTranspose = A.supportProj.mat * B.mat := by      simp [Matrix.conjTranspose_mul ];    lia;  refine x, ?_, ?_  · simpa [HermitianMat.ker, HermitianMat.lin, funext_iff, Matrix.toLpLin] using hx.1  · rw [HermitianMat.mem_ker_iff_mulVec_zero]    exact hx.right
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/Entropy/DPI.lean:509-556

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.28.0

Conj Transpose isometry mul isometry le one

conjTranspose_isometry_mul_isometry_le_one

Project documentation

The operator norm of the conjugate transpose is equal to the operator norm. -/ theorem Matrix.opNorm_conjTranspose_eq_opNorm {m n : Type*} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (A : Matrix m n 𝕜) : Matrix.opNorm Aᴴ = Matrix.opNorm A := by unfold Matrix.opNorm rw [← ContinuousLinearMap.adjoint.norm_map (toEuclideanLin A).toContinuousLine...

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record
Project-declaredLean 4.28.0

Convex roof of pure

convex_roof_of_pure

Plain-language statement

The convex roof extension of g : KetUpToPhase d → ℝ≥0 applied to a pure state ψ is g (KetUpToPhase.mk ψ).

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record
Project-declaredLean 4.28.0

Id achieves Rate log dim

CPTPMap.id_achievesRate_log_dim

Plain-language statement

The identity channel on D dimensional space achieves a rate of log2(D).

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record