Skip to content

feat(QuantumInfo): discharge sorries in ClassicalInfo.Capacity and Regularized#1066

Open
dennj wants to merge 1 commit intoleanprover-community:masterfrom
dennj:capacity
Open

feat(QuantumInfo): discharge sorries in ClassicalInfo.Capacity and Regularized#1066
dennj wants to merge 1 commit intoleanprover-community:masterfrom
dennj:capacity

Conversation

@dennj
Copy link
Copy Markdown
Contributor

@dennj dennj commented Apr 30, 2026

ClassicalInfo/Capacity: implement BlockCode.encoder/decoder and their
length lemmas via a private mapBlocks helper, closing 4 sorries.

Regularized: prove InfRegularized.to_SupRegularized,
SupRegularized.to_InfRegularized, and InfRegularized.of_Subadditive
via a private limsup_eq_neg_liminf_neg helper, closing 3 sorries.

…gularized

ClassicalInfo/Capacity: implement BlockCode.encoder/decoder and their
length lemmas via a private mapBlocks helper, closing 4 sorries.

Regularized: prove InfRegularized.to_SupRegularized,
SupRegularized.to_InfRegularized, and InfRegularized.of_Subadditive
via a private limsup_eq_neg_liminf_neg helper, closing 3 sorries.
/-- Every quantum channel achieves a rate of zero. -/
theorem achievesRate_0 (Λ : CPTPMap d₁ d₂) : Λ.AchievesRate 0 := by
/-- Every quantum channel between nonempty spaces achieves a rate of zero. -/
theorem achievesRate_0 (Λ : CPTPMap d₁ d₂) [Nonempty d₁] [Nonempty d₂] : Λ.AchievesRate 0 := by
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it is possible here to prove this in its original form? Ie without assuming NonEmpty

change (-b : ℝ) ≤ -a ↔ a ≤ b
simpa using neg_le_neg_iff

private theorem limsup_eq_neg_liminf_neg {fn : ℕ → ℝ} {_lb _ub : ℝ}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move to where Filter.atTop.limsup are defined or to a ForMathlib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants