All proofs
Project-declaredLean 4.28.0 · mathlib@8f9d9cff6bd7

Mix p Ensemble pure iff pure

Ensemble.mix_pEnsemble_pure_iff_pure

Project documentation

The average of f : MState d → T on a coerced pure-state ensemble ↑e : MEnsemble d α is equal to averaging the restricted function over Kets f ∘ pure : Ket d → T on e. -/ theorem average_of_pure_ensemble {T : Type _} {U : Type*} [AddCommGroup U] [Module ℝ U] [inst : Mixable U T] (f : MState d → T) (e : PEnsemble d α) : average f (toMEnsemble e) = p...

Exact Lean statement

theorem mix_pEnsemble_pure_iff_pure {e : PEnsemble d α} :
    mix (toMEnsemble e) = MState.pure ψ ↔
    ∀ i : α, e.distr i ≠ 0 → MState.pure (e.states i) = MState.pure ψ

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem mix_pEnsemble_pure_iff_pure {e : PEnsemble d α} :    mix (toMEnsemble e) = MState.pure ψ      i : α, e.distr i  0  MState.pure (e.states i) = MState.pure ψ := by  refine fun h i hi  ?_, fun h  ?_  · apply MState.eq_of_sum_eq_pure ?_ ?_ ?_ e.distr.normalized i (Finset.mem_univ i)    · exact_mod_cast lt_of_le_of_ne (e.distr i).zero_le hi.symm    · exact (MState.pure_iff_purity_one _).mp ψ, rfl    · exact congr_arg MState.M h.symm    · grind  · have h_sum : mix (toMEnsemble e) = ∑ i, (e.distr i).val • (MState.pure ψ).M := by      refine Finset.sum_congr rfl fun i _ => ?_      by_cases hi : e.distr i = 0      · simp [hi]      · rw [ h i hi]        rfl    simp [MState.ext_iff, h_sum,  Finset.sum_smul]
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/Ensemble.lean:123-138

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