Refactor operator norm#919
Refactor operator norm#919jlpaca wants to merge 11 commits intoleanprover-community:masterfrom jlpaca:refactor-op-norm
Conversation
- extract some variables - use consistent notation for hypotheses & use `let` instead of invoking equation compiler - remove spurious imports
- rename `bounded_linear_maps` to `bounded_linear_map`. - make some straightforward lemmas available to `simp`. - change the definition of `operator_norm` to be the inf of all the bounds (prove that the image of the unit ball is bounded as a lemma). - change the names of some theorems to be consistent with conventions elsewhere in mathlib: replace `bounded_by_*` with `le_*`, `operator_norm_homogeneous` with `operator_norm_smul`. - remove some implicit arguments. - additional miscellaneous lemmas: that the operator norm is submultiplicative, also lipschitz continuity.
sgouezel
left a comment
There was a problem hiding this comment.
You always indent your proofs by at least two spaces with respect to the left margin. Normally, the left-most lines of a proof should not be indented.
|
I forgot: if you want the travis tests to pass, you should PR from a branch on |
- use curly brackets for one-line tactic proofs without multiple goals. - fix error in statement of `coe_zero`. - adjust indentation.
|
made all the requested changes to the code. Thanks for the pointers. |
|
Almost good for me, thanks for the update. I just realized that you stop the |
|
I did? That's very silly, thanks for pointing it out. I also suspect I've made the edit for the namespace thing, and am just making sure my copy of mathlib compiles. I'll be committing the changes in a moment. |
- place several theorems under the `bounded_linear_map` namespace. - remove spurious `noncomputable`.
|
Looks good to me. |
|
closing this and PR-ing the same content from a |
First part of a process towards restating
deriv.leanin terms of bundled bounded linear maps. Supersedes #726 : @sgouezel has kindly pointed out that much of the work there has become outdated and/or duplicated; this is an attempt at cleaning up the mess I made.Some names for theorems and definitions have been altered for adherence to conventions, or for brevity. Please see comments on #726 and commit messages in this PR for detailed accounts of changes.
TO CONTRIBUTORS:
Make sure you have:
If this PR is related to a discussion on Zulip, please include a link in the discussion.
For reviewers: code review check list