feat(QuantumInfo): discharge sorries in ClassicalInfo.Capacity and Regularized#1066
Open
dennj wants to merge 1 commit intoleanprover-community:masterfrom
Open
feat(QuantumInfo): discharge sorries in ClassicalInfo.Capacity and Regularized#1066dennj wants to merge 1 commit intoleanprover-community:masterfrom
dennj wants to merge 1 commit intoleanprover-community:masterfrom
Conversation
…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.
jstoobysmith
reviewed
May 4, 2026
| /-- 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 |
Member
There was a problem hiding this comment.
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 : ℝ} |
Member
There was a problem hiding this comment.
Maybe move to where Filter.atTop.limsup are defined or to a ForMathlib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.