Skip to content

[Merged by Bors] - feat(InfinitePlace/Embeddings): remove dependency of IsMixed/IsUnmixed on Extension.#29945

Closed
smmercuri wants to merge 3 commits intoleanprover-community:masterfrom
smmercuri:IsMixed-IsRamified
Closed

[Merged by Bors] - feat(InfinitePlace/Embeddings): remove dependency of IsMixed/IsUnmixed on Extension.#29945
smmercuri wants to merge 3 commits intoleanprover-community:masterfrom
smmercuri:IsMixed-IsRamified

Conversation

@smmercuri
Copy link
Copy Markdown
Collaborator

@smmercuri smmercuri commented Sep 24, 2025

  • Remove the unnecessary dependency of ComplexEmbedding.IsUnmixed on the subtype ComplexEmbedding.Extension, which makes it easier to use as it does not require the construction of a term of ComplexEmbedding.Extension. This also aligns it more closely with InfinitePlace.IsUnramified, of which it is intended to be an analogue.
  • Ditto for ComplexEmbedding.IsMixed.
  • The definition of IsUnmixed is now given in simp-normal form.

Open in Gitpod

@smmercuri smmercuri requested a review from xroblot September 24, 2025 14:57
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 24, 2025

PR summary f4506f7151

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

Copy link
Copy Markdown
Collaborator

@xroblot xroblot left a comment

Choose a reason for hiding this comment

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

Yes, that looks like a better way to define IsMixed indeed. Thanks!

@riccardobrasca
Copy link
Copy Markdown
Member

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Sep 28, 2025
mathlib-bors bot pushed a commit that referenced this pull request Sep 28, 2025
…ixed` on `Extension`. (#29945)

- Remove the unnecessary dependency of `ComplexEmbedding.IsUnmixed` on the subtype `ComplexEmbedding.Extension`, which makes it easier to use as it does not require the construction of a term of `ComplexEmbedding.Extension`. This also aligns it more closely with [`InfinitePlace.IsUnramified`](https://github.com/leanprover-community/mathlib4/blob/f4506f7151c9057fd9f8714b2a1f13a647fe2352/Mathlib/NumberTheory/NumberField/InfinitePlace/Ramification.lean#L162-L165), of which it is intended to be an analogue.
- Ditto for `ComplexEmbedding.IsMixed`. 
- The definition of `IsUnmixed` is now given in simp-normal form.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 28, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(InfinitePlace/Embeddings): remove dependency of IsMixed/IsUnmixed on Extension. [Merged by Bors] - feat(InfinitePlace/Embeddings): remove dependency of IsMixed/IsUnmixed on Extension. Sep 28, 2025
@mathlib-bors mathlib-bors bot closed this Sep 28, 2025
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…ixed` on `Extension`. (leanprover-community#29945)

- Remove the unnecessary dependency of `ComplexEmbedding.IsUnmixed` on the subtype `ComplexEmbedding.Extension`, which makes it easier to use as it does not require the construction of a term of `ComplexEmbedding.Extension`. This also aligns it more closely with [`InfinitePlace.IsUnramified`](https://github.com/leanprover-community/mathlib4/blob/f4506f7151c9057fd9f8714b2a1f13a647fe2352/Mathlib/NumberTheory/NumberField/InfinitePlace/Ramification.lean#L162-L165), of which it is intended to be an analogue.
- Ditto for `ComplexEmbedding.IsMixed`. 
- The definition of `IsUnmixed` is now given in simp-normal form.
mitchell-horner pushed a commit to mitchell-horner/mathlib4 that referenced this pull request Oct 6, 2025
…ixed` on `Extension`. (leanprover-community#29945)

- Remove the unnecessary dependency of `ComplexEmbedding.IsUnmixed` on the subtype `ComplexEmbedding.Extension`, which makes it easier to use as it does not require the construction of a term of `ComplexEmbedding.Extension`. This also aligns it more closely with [`InfinitePlace.IsUnramified`](https://github.com/leanprover-community/mathlib4/blob/f4506f7151c9057fd9f8714b2a1f13a647fe2352/Mathlib/NumberTheory/NumberField/InfinitePlace/Ramification.lean#L162-L165), of which it is intended to be an analogue.
- Ditto for `ComplexEmbedding.IsMixed`. 
- The definition of `IsUnmixed` is now given in simp-normal form.
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
…ixed` on `Extension`. (leanprover-community#29945)

- Remove the unnecessary dependency of `ComplexEmbedding.IsUnmixed` on the subtype `ComplexEmbedding.Extension`, which makes it easier to use as it does not require the construction of a term of `ComplexEmbedding.Extension`. This also aligns it more closely with [`InfinitePlace.IsUnramified`](https://github.com/leanprover-community/mathlib4/blob/f4506f7151c9057fd9f8714b2a1f13a647fe2352/Mathlib/NumberTheory/NumberField/InfinitePlace/Ramification.lean#L162-L165), of which it is intended to be an analogue.
- Ditto for `ComplexEmbedding.IsMixed`. 
- The definition of `IsUnmixed` is now given in simp-normal form.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-number-theory Number theory (also use t-algebra or t-analysis to specialize)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants