New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(analysis/seminorm): semilattice_sup
on seminorms and lemmas about ball
#11329
Conversation
There might be quite some room for golfing and I don't know whether there is an easier solution to deal with |
Can you instead provide a |
A template to get you started: -- this belongs immediately after the `has_coe_to_fun` instance
lemma coe_injective : @function.injective (seminorm 𝕜 E) (E → ℝ) coe_fn
| ⟨x, _, _⟩ ⟨y, _, _⟩ rfl := rfl
instance : has_sup (seminorm 𝕜 E) :=
{ sup := λ x y,
{ to_fun := x ⊔ y,
triangle' := sorry,
smul' := sorry }}
@[simp] lemma coe_sup (x y : seminorm 𝕜 E) : ⇑(x ⊔ y) = x ⊔ y := rfl
instance : semilattice_sup (seminorm 𝕜 E) :=
function.injective.semilattice_sup _ coe_injective coe_sup
instance : order_bot (seminorm 𝕜 E) :=
{ bot :=
{ to_fun := 0,
triangle' := λ x y, by simp,
smul' := λ k x, by simp },
bot_le := nonneg }
@[simp] lemma coe_bot : ⇑(⊥ : seminorm 𝕜 E) = 0 := rfl |
ah thanks, I will try that. |
With that in place, the new definition is just:
which of course doesn't need to exist any more. |
@eric-wieser it works perfectly. I need two lemmas that have nothing to do with seminorms: |
Push them to this PR for now, then we can discuss moving them |
I don't really understand how to unfold |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
…/mathlib into mcdoll/seminorm_sup
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
…/mathlib into mcdoll/seminorm_sup
semilattice_sup
on seminorms and lemmas about ball
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
✌️ mcdoll can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
bors merge |
…out `ball` (#11329) Define `bot` and the the binary `sup` on seminorms, and some lemmas about the supremum of a finite number of seminorms. Shows that the unit ball of the supremum is given by the intersection of the unit balls. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Pull request successfully merged into master. Build succeeded: |
semilattice_sup
on seminorms and lemmas about ball
semilattice_sup
on seminorms and lemmas about ball
…12624) Move `balanced`, `absorbs`, `absorbent` to a new file. For `analysis.seminorm`, I'm crediting * Jean for #4827 * myself for * #9097 * #11487 * Moritz for * #11329 * #11414 * #11477 For `analysis.locally_convex.basic`, I'm crediting * Jean for #4827 * Bhavik for * #7358 * #9097 * myself for * #9097 * #10999 * #11487
…12624) Move `balanced`, `absorbs`, `absorbent` to a new file. For `analysis.seminorm`, I'm crediting * Jean for #4827 * myself for * #9097 * #11487 * Moritz for * #11329 * #11414 * #11477 For `analysis.locally_convex.basic`, I'm crediting * Jean for #4827 * Bhavik for * #7358 * #9097 * myself for * #9097 * #10999 * #11487
Define
bot
and the the binarysup
on seminorms, and some lemmas about the supremum of a finite number of seminorms.Shows that the unit ball of the supremum is given by the intersection of the unit balls.
Co-authored-by: Eric Wieser wieser.eric@gmail.com