Repository navigation
Conversation
ocfnash
force-pushed
the
ocfnash/lie_lattice
branch
from
October 10, 2023 16:23
16bccca to
91e0031
Compare
1 task done
eric-wieser
reviewed
Oct 11, 2023
eric-wieser
reviewed
Oct 11, 2023
eric-wieser
reviewed
Oct 11, 2023
eric-wieser
reviewed
Oct 11, 2023
and some tiny additional golfing
Unfortunately because `C` is dependent, its type cannot be passed to `Submodule.iSup_induction'` so I have to provide a proof here. I have just copied the proof of `Submodule.iSup_induction'`.
1 task done
bors Bot
pushed a commit
that referenced
this pull request
Oct 12, 2023
The point is that the following four lemmas are now all true by definition: - `LieSubmodule.inf_coe_toSubmodule` - `LieSubmodule.sInf_coe_toSubmodule` - `LieSubmodule.sup_coe_toSubmodule` [previously existed but not true by definition] - `LieSubmodule.sSup_coe_toSubmodule` [previously did not exist]
eric-wieser
reviewed
Oct 12, 2023
Comment on lines
+524
to
+535
| @[elab_as_elim] | ||
| theorem iSup_induction' {ι} (N : ι → LieSubmodule R L M) {C : (x : M) → (x ∈ ⨆ i, N i) → Prop} | ||
| (hN : ∀ (i) (x) (hx : x ∈ N i), C x (mem_iSup_of_mem i hx)) (h0 : C 0 (zero_mem _)) | ||
| (hadd : ∀ x y hx hy, C x hx → C y hy → C (x + y) (add_mem ‹_› ‹_›)) {x : M} | ||
| (hx : x ∈ ⨆ i, N i) : C x hx := by | ||
| refine' Exists.elim _ fun (hx : x ∈ ⨆ i, N i) (hc : C x hx) => hc | ||
| refine' iSup_induction N (C := fun x : M ↦ ∃ (hx : x ∈ ⨆ i, N i), C x hx) hx | ||
| (fun i x hx => _) _ fun x y => _ | ||
| · exact ⟨_, hN _ _ hx⟩ | ||
| · exact ⟨_, h0⟩ | ||
| · rintro ⟨_, Cx⟩ ⟨_, Cy⟩ | ||
| refine' ⟨_, hadd _ _ _ _ Cx Cy⟩ |
Member
There was a problem hiding this comment.
I tried to golf this by proving it in terms of the submodule version, but ran afoul of leanprover/lean4#1926
Contributor
Author
There was a problem hiding this comment.
Thank you for trying all the same!
|
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Sup and sSup of LieSubmodulesSup and sSup of LieSubmodules
grunweg
pushed a commit
that referenced
this pull request
Oct 13, 2023
The point is that the following four lemmas are now all true by definition: - `LieSubmodule.inf_coe_toSubmodule` - `LieSubmodule.sInf_coe_toSubmodule` - `LieSubmodule.sup_coe_toSubmodule` [previously existed but not true by definition] - `LieSubmodule.sSup_coe_toSubmodule` [previously did not exist]
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.
The point is that the following four lemmas are now all true by definition:
LieSubmodule.inf_coe_toSubmoduleLieSubmodule.sInf_coe_toSubmoduleLieSubmodule.sup_coe_toSubmodule[previously existed but not true by definition]LieSubmodule.sSup_coe_toSubmodule[previously did not exist]