mathlib icon indicating copy to clipboard operation
mathlib copied to clipboard

feat(geometry/euclidean/oriented_angle): refactor to a basis-free definition

Open hrmacbeth opened this issue 3 years ago • 1 comments

Zulip: https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/adding.20angles


Open in Gitpod

  • [x] depends on: #16475
  • [x] depends on: #16476
  • [x] depends on: #16477
  • [x] depends on: #16478
  • [x] depends on: #16479
  • [x] depends on: #16487
  • [x] depends on: #16928
  • [ ] depends on: #16929
  • [ ] depends on: #16939

hrmacbeth avatar Sep 22 '22 07:09 hrmacbeth

This PR/issue depends on:

  • ~~leanprover-community/mathlib#16475~~
  • ~~leanprover-community/mathlib#16476~~
  • ~~leanprover-community/mathlib#16477~~
  • ~~leanprover-community/mathlib#16478~~
  • ~~leanprover-community/mathlib#16479~~
  • ~~leanprover-community/mathlib#16487~~
  • ~~leanprover-community/mathlib#16928~~
  • ~~leanprover-community/mathlib#16929~~
  • ~~leanprover-community/mathlib#16939~~ By Dependent Issues (🤖). Happy coding!

I think my previous comment (that lemmas should be added that can be used to provide (hf : (orientation.map (fin 2) f.to_linear_equiv o) = complex.orientation), for lemmas with such a hypothesis, for orientations related to an orthonormal basis and an isometry given by complex.isometry_of_orthonormal, along with similar lemmas about mapping in the other direction) still applies, unless I've missed such lemmas being added somewhere - GitHub is hiding that comment by default, but only because there are so many commits in this PR, not because it's been resolved. As far as I can tell, the two_dim file has three lemmas with such a hypothesis, but no lemmas to fill such a hypothesis.

jsm28 avatar Oct 20 '22 20:10 jsm28

I think my previous comment (that lemmas should be added that can be used to provide (hf : (orientation.map (fin 2) f.to_linear_equiv o) = complex.orientation), for lemmas with such a hypothesis, for orientations related to an orthonormal basis and an isometry given by complex.isometry_of_orthonormal, along with similar lemmas about mapping in the other direction) still applies, unless I've missed such lemmas being added somewhere - GitHub is hiding that comment by default, but only because there are so many commits in this PR, not because it's been resolved. As far as I can tell, the two_dim file has three lemmas with such a hypothesis, but no lemmas to fill such a hypothesis.

I completely agree with this remark (and the similar remarks made in the comment above). However, there are already so many lines changing here that I think it is better to defer this to a follow-up PR.

bors merge

ocfnash avatar Oct 24 '22 10:10 ocfnash

Pull request successfully merged into master.

Build succeeded:

bors[bot] avatar Oct 24 '22 12:10 bors[bot]