Skip to content
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] - chore(ModelTheory/ElementarySubstructures): Split elementary substructures into their own file #9026

Closed
wants to merge 13 commits into from

Conversation

awainverse
Copy link
Contributor

@awainverse awainverse commented Dec 13, 2023

This PR splits the file ModelTheory/ElementaryMaps into two files, moving elementary substructure code into ModelTheory/ElementarySubstructures, to make room for new API on those.

Two basic lemmas, FirstOrder.Language.Substructure.realize_boundedFormula_top and FirstOrder.Language.Substructure.realize_formula_top, are instead moved to the file ModelTheory/Substructures.


Open in Gitpod

@awainverse awainverse added awaiting-review The author would like community review of the PR easy < 20s of review time. See the lifecycle page for guidelines. awaiting-CI t-logic Logic (model theory, set theory, etc) labels Dec 13, 2023
Comment on lines 526 to 530
-- See note [lower instance priority]
instance (priority := 100) MeasurableDiv.toMeasurableInv [MeasurableSpace α] [Group α]
[MeasurableDiv α] : MeasurableInv α where
measurable_inv := by simpa using measurable_const_div (1 : α)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These look unrelated to the current PR; perhaps merging master will make them go away?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks. Now only model theory files are affected.


/-- The substructure `M` of the structure `M` is elementary. -/
instance instTop : Top (L.ElementarySubstructure M) :=
⟨⟨⊤, fun _ _ _ => (Substructure.realize_formula_top _ _).symm⟩⟩
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This proof grew two underscores; was that deliberate, or should the arguments to realize_formula_top have been kept implicit?

If it was deliberate, please put it in the PR description.

bors d+

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was not deliberate - I have made those variables implicit again.
In fact, I have now moved those two lemmas to the Substructures file, as I think they really belong there. I will adjust the PR description accordingly.

@mathlib-bors
Copy link

mathlib-bors bot commented Dec 15, 2023

✌️ awainverse can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

awainverse and others added 3 commits December 15, 2023 09:51
@awainverse
Copy link
Contributor Author

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Dec 16, 2023
…tures into their own file (#9026)

This PR splits the file `ModelTheory/ElementaryMaps` into two files, moving elementary substructure code into `ModelTheory/ElementarySubstructures`, to make room for new API on those.

Two basic lemmas, `FirstOrder.Language.Substructure.realize_boundedFormula_top` and `FirstOrder.Language.Substructure.realize_formula_top`, are instead moved to the file `ModelTheory/Substructures`.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Aaron Anderson <65780815+awainverse@users.noreply.github.com>
@mathlib-bors
Copy link

mathlib-bors bot commented Dec 16, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(ModelTheory/ElementarySubstructures): Split elementary substructures into their own file [Merged by Bors] - chore(ModelTheory/ElementarySubstructures): Split elementary substructures into their own file Dec 16, 2023
@mathlib-bors mathlib-bors bot closed this Dec 16, 2023
@mathlib-bors mathlib-bors bot deleted the split_elementarymaps branch December 16, 2023 02:32
awueth pushed a commit that referenced this pull request Dec 19, 2023
…tures into their own file (#9026)

This PR splits the file `ModelTheory/ElementaryMaps` into two files, moving elementary substructure code into `ModelTheory/ElementarySubstructures`, to make room for new API on those.

Two basic lemmas, `FirstOrder.Language.Substructure.realize_boundedFormula_top` and `FirstOrder.Language.Substructure.realize_formula_top`, are instead moved to the file `ModelTheory/Substructures`.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Aaron Anderson <65780815+awainverse@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review The author would like community review of the PR easy < 20s of review time. See the lifecycle page for guidelines. t-logic Logic (model theory, set theory, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants