[Merged by Bors] - feat: more extensions for differential geometry elaborators#30744
[Merged by Bors] - feat: more extensions for differential geometry elaborators#30744grunweg wants to merge 38 commits intoleanprover-community:masterfrom
Conversation
PR summary 2b4c6152f1Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
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 No changes to technical debt.You can run this locally as
|
102b492 to
c99299a
Compare
|
Thanks for asking! I think I originally added the refactoring to this PR, and then decided that #30879 would also be a good place for it. Merging that one first should do the trick. I've added the dependency formally. |
|
(That might not make a big difference for reviewing: once #30413 is merged, I'll rebase this PR, and then hopefully commits are somewhat atomic, i.e. can be reviewed separately.) |
371d1ce to
fe3335b
Compare
|
I have rebased this PR. I'll squash some of the intermediate commits about units of normed algebra next (as those are very not-atomic). |
8225168 to
9edcbe6
Compare
|
I just squashed some intermediate commits: the history about inferring a sphere is still non-atomic, but most commits before it hopefully are. (I also made some progress on inferring a sphere, but the last piece of code still doesn't work. Help with that is welcome.) |
bc045d4 to
9cb7b4f
Compare
|
This pull request has conflicts, please merge |
711ca00 to
ec30f7a
Compare
This function needs a better name!
This code has not been changed in this PR, but let's add a test anyway. Any behaviour or diagnostics changes will come in a future PR.
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
|
Thanks for the review! |
Support inferring a model with corners in all remaining instances in mathlib, except for products and direct sums: - on Euclidean space, half-space or quadrants. - for the units in a normed algebra (including GL(V)) - the unit interval - on the complex unit circle - on a metric sphere in a real or complex inner product space - also support finding a model on a domain which is an `InnerProductSpace` (hence only indirectly a normed space) Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
|
Build failed (retrying...): |
|
Canceled. |
|
The test from the last commit failed the bors batch with diffs like - ModelWithCorners.{u_1, ?u.235761, ?u.235762} 𝕜 ?E' ?H'
+ ModelWithCorners.{u_1, ?u.235719, ?u.235720} 𝕜 ?E' ?H'(It is fine on my computer, and even deterministic.) Ideas on writing a more robust test are welcome: in the mean-time, let's disable it so this PR can land. |
Support inferring a model with corners in all remaining instances in mathlib, except for products and direct sums: - on Euclidean space, half-space or quadrants. - for the units in a normed algebra (including GL(V)) - the unit interval - on the complex unit circle - on a metric sphere in a real or complex inner product space - also support finding a model on a domain which is an `InnerProductSpace` (hence only indirectly a normed space) Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
|
Pull request successfully merged into master. Build succeeded: |
set_option pp.mvars false normalises the universe levels, making the output sufficiently deterministic. Follow-up to leanprover-community#30744.
`set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to #30744.
`set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to #30744.
…er-community#30744) Support inferring a model with corners in all remaining instances in mathlib, except for products and direct sums: - on Euclidean space, half-space or quadrants. - for the units in a normed algebra (including GL(V)) - the unit interval - on the complex unit circle - on a metric sphere in a real or complex inner product space - also support finding a model on a domain which is an `InnerProductSpace` (hence only indirectly a normed space) Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
…tors (leanprover-community#34527) When a tracing option is already set, we don't need to tell the user about it. Follow-up to leanprover-community#30744.
…prover-community#34562) `set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to leanprover-community#30744.
…prover-community#34562) `set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to leanprover-community#30744.
…er-community#30744) Support inferring a model with corners in all remaining instances in mathlib, except for products and direct sums: - on Euclidean space, half-space or quadrants. - for the units in a normed algebra (including GL(V)) - the unit interval - on the complex unit circle - on a metric sphere in a real or complex inner product space - also support finding a model on a domain which is an `InnerProductSpace` (hence only indirectly a normed space) Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
…tors (leanprover-community#34527) When a tracing option is already set, we don't need to tell the user about it. Follow-up to leanprover-community#30744.
…prover-community#34562) `set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to leanprover-community#30744.
…prover-community#34562) `set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to leanprover-community#30744.
Support inferring a model with corners in all remaining instances in mathlib, except for products and direct sums:
InnerProductSpace(hence only indirectly a normed space)T%elaborator #30879