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] - fix: recover convert proof in Geometry.Euclidean.Inversion #4421

Closed
wants to merge 1 commit into from

Conversation

kmill
Copy link
Contributor

@kmill kmill commented May 27, 2023

During porting a convert proof was converted to calc. This switches to a more direct translation of the original.

We need using now because convert is happy to descend into the expressions and equate (HMul.hMul : ℝ → ℝ → ℝ) = (HDiv.hDiv : ℝ → ℝ → ℝ) since these involve the same types. The old convert wouldn't do this because it used simp's congr lemmas, and these require that the functions be defeq rather than just equal.


Open in Gitpod

@kmill kmill added awaiting-review The author would like community review of the PR mathlib-port This is a port of a theory file from mathlib. easy < 20s of review time. See the lifecycle page for guidelines. labels May 27, 2023
@ChrisHughes24
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels May 27, 2023
bors bot pushed a commit that referenced this pull request May 27, 2023
During porting a `convert` proof was converted to `calc`. This switches to a more direct translation of the original.

We need `using` now because `convert` is happy to descend into the expressions and equate `(HMul.hMul : ℝ → ℝ → ℝ) = (HDiv.hDiv : ℝ → ℝ → ℝ)` since these involve the same types. The old `convert` wouldn't do this because it used simp's congr lemmas, and these require that the functions be defeq rather than just equal.
@bors
Copy link

bors bot commented May 27, 2023

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.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title fix: recover convert proof in Geometry.Euclidean.Inversion [Merged by Bors] - fix: recover convert proof in Geometry.Euclidean.Inversion May 27, 2023
@bors bors bot closed this May 27, 2023
@bors bors bot deleted the kmill_geom_eucl_inv_fix branch May 27, 2023 14:09
qawbecrdtey pushed a commit to qawbecrdtey/greedoid-mathlib4 that referenced this pull request Jun 12, 2023
…ver-community#4421)

During porting a `convert` proof was converted to `calc`. This switches to a more direct translation of the original.

We need `using` now because `convert` is happy to descend into the expressions and equate `(HMul.hMul : ℝ → ℝ → ℝ) = (HDiv.hDiv : ℝ → ℝ → ℝ)` since these involve the same types. The old `convert` wouldn't do this because it used simp's congr lemmas, and these require that the functions be defeq rather than just equal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants