Skip to content

feat(Regularized): prove to_SupRegularized and of_Subadditive#1022

Open
pitmonticone wants to merge 1 commit intoleanprover-community:masterfrom
pitmonticone:aristotle-regularized
Open

feat(Regularized): prove to_SupRegularized and of_Subadditive#1022
pitmonticone wants to merge 1 commit intoleanprover-community:masterfrom
pitmonticone:aristotle-regularized

Conversation

@pitmonticone
Copy link
Copy Markdown
Member

This PR adds proofs autoformalised by @Aristotle-Harmonic.

Co-authored-by: Aristotle (Harmonic) aristotle-harmonic@harmonic.fun

Co-authored-by: Aristotle (Harmonic) <aristotle-harmonic@harmonic.fun>
Comment on lines +124 to +126
have liminf_neg : Filter.liminf fn Filter.atTop = -(Filter.limsup (-fn) Filter.atTop) := by
simp [Filter.limsup_eq, Filter.liminf_eq, Real.sInf_def]
exact Real.ext_cauchy (congrArg Real.cauchy liminf_neg)
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.

Suggested change
have liminf_neg : Filter.liminf fn Filter.atTop = -(Filter.limsup (-fn) Filter.atTop) := by
simp [Filter.limsup_eq, Filter.liminf_eq, Real.sInf_def]
exact Real.ext_cauchy (congrArg Real.cauchy liminf_neg)
refine Real.ext_cauchy (congrArg Real.cauchy ?_)
simp [Filter.limsup_eq, Filter.liminf_eq, Real.sInf_def]

Haven't checked, and will leave it to the QuantumInfo folk for a proper review. But this might be shorter.

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