feat(Geometry/Euclidean/SignedDist): signedDist between two points#24245
feat(Geometry/Euclidean/SignedDist): signedDist between two points#24245
signedDist between two points#24245Conversation
PR summary c35fbb5256Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
This pull request has conflicts, please merge |
|
This has moved to #27260 |
…27260) original PR: #24245 This PR defines `signedDist`, the signed distance between two points. It also redefines `signedInfDist` so that it uses `signedDist`. The motivation is to use this in IMO2020Q6. Additionally this definition will be useful for properly reasoning about the power of a point [#mathlib4 > Signed distance between points](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Signed.20distance.20between.20points) some comments: * should `signedDistLinear` be `private`? * I'm not too happy about the hypothesis in `signedDist_congr (h : ∃ r > (0 : ℝ), r • v = w)`. This relationship between `v` and `w` is a symmetric one that should have some API around it, similar to `SameRay`. It could also be spelled as `(ℝ≥0 ∙ v) = ℝ≥0 ∙ w`
…eanprover-community#27260) original PR: leanprover-community#24245 This PR defines `signedDist`, the signed distance between two points. It also redefines `signedInfDist` so that it uses `signedDist`. The motivation is to use this in IMO2020Q6. Additionally this definition will be useful for properly reasoning about the power of a point [#mathlib4 > Signed distance between points](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Signed.20distance.20between.20points) some comments: * should `signedDistLinear` be `private`? * I'm not too happy about the hypothesis in `signedDist_congr (h : ∃ r > (0 : ℝ), r • v = w)`. This relationship between `v` and `w` is a symmetric one that should have some API around it, similar to `SameRay`. It could also be spelled as `(ℝ≥0 ∙ v) = ℝ≥0 ∙ w`
…eanprover-community#27260) original PR: leanprover-community#24245 This PR defines `signedDist`, the signed distance between two points. It also redefines `signedInfDist` so that it uses `signedDist`. The motivation is to use this in IMO2020Q6. Additionally this definition will be useful for properly reasoning about the power of a point [#mathlib4 > Signed distance between points](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Signed.20distance.20between.20points) some comments: * should `signedDistLinear` be `private`? * I'm not too happy about the hypothesis in `signedDist_congr (h : ∃ r > (0 : ℝ), r • v = w)`. This relationship between `v` and `w` is a symmetric one that should have some API around it, similar to `SameRay`. It could also be spelled as `(ℝ≥0 ∙ v) = ℝ≥0 ∙ w`
…eanprover-community#27260) original PR: leanprover-community#24245 This PR defines `signedDist`, the signed distance between two points. It also redefines `signedInfDist` so that it uses `signedDist`. The motivation is to use this in IMO2020Q6. Additionally this definition will be useful for properly reasoning about the power of a point [#mathlib4 > Signed distance between points](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Signed.20distance.20between.20points) some comments: * should `signedDistLinear` be `private`? * I'm not too happy about the hypothesis in `signedDist_congr (h : ∃ r > (0 : ℝ), r • v = w)`. This relationship between `v` and `w` is a symmetric one that should have some API around it, similar to `SameRay`. It could also be spelled as `(ℝ≥0 ∙ v) = ℝ≥0 ∙ w`
This PR defines
signedDist, the signed distance between two points.It redefines
signedInfDistso that it usessignedDist.The motivation is to use this in IMO2020Q6. Additionally this definition will be useful for properly reasoning about the power of a point
#mathlib4 > Signed distance between points
some comments:
signedDistLinearbeprivate?signedDistandsignedInfDistbe made continuous bunled maps in this PR?signedDist_congr (h : ∃ r > (0 : ℝ), r • v = w). This relationship betweenvandwis a symmetric one that should have some API around it, similar toSameRay. It could also be spelled as(ℝ≥0 ∙ v) = ℝ≥0 ∙ w