Skip to content

[Merged by Bors] - feat: add lemmas of the form ⟪_ -ᵥ _, _ -ᵥ _⟫ = dist _ _ ^ 2 - #24968

Closed
eric-wieser wants to merge 2 commits into
masterfrom
eric-wieser/inner-lemmas
Closed

eric-wieser wants to merge 2 commits into
masterfrom
eric-wieser/inner-lemmas

Conversation

@eric-wieser

@eric-wieser eric-wieser commented May 17, 2025 •

Copy link
Copy Markdown
Member

Zulip: #Is there code for X? > inner product lemmas for perpendicular vectors @ 💬


Open in Gitpod

I'm not really sure which file these belong in.

@eric-wieser
eric-wieser requested a review from jsm28 May 17, 2025 00:15
@eric-wieser eric-wieser added the t-euclidean-geometry Affine and axiomatic geometry label May 17, 2025
@github-actions

github-actions Bot commented May 17, 2025 •

Copy link
Copy Markdown

PR summary 1fc59933b2

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Analysis.InnerProductSpace.Affine (new file) 1574

Declarations diff

+ inner_eq_norm_sq_left_iff
+ inner_eq_norm_sq_right_iff
+ inner_eq_ofReal_norm_sq_left_iff
+ inner_eq_ofReal_norm_sq_right_iff
+ inner_vsub_left_eq_zero_symm
+ inner_vsub_right_eq_zero_symm
+ inner_vsub_vsub_left_eq_dist_sq_left_iff
+ inner_vsub_vsub_left_eq_dist_sq_right_iff
+ inner_vsub_vsub_right_eq_dist_sq_left_iff
+ inner_vsub_vsub_right_eq_dist_sq_right_iff

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).

@jsm28 jsm28 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the new file is reasonable for affine lemmas, though I don't know what the distinction should be between the new file and Mathlib.Geometry.Euclidean.Basic (I'm not entirely convinced the latter file, which now just has a few miscellaneous results without more specific homes, should exist; the only thing in it that corresponds to typical .Basic content is the module doc string).

@jsm28

jsm28 commented May 17, 2025

Copy link
Copy Markdown
Contributor

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by jsm28.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 17, 2025

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels May 17, 2025
@mathlib-bors

mathlib-bors Bot commented May 17, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: add lemmas of the form ⟪_ -ᵥ _, _ -ᵥ _⟫ = dist _ _ ^ 2 [Merged by Bors] - feat: add lemmas of the form ⟪_ -ᵥ _, _ -ᵥ _⟫ = dist _ _ ^ 2 May 17, 2025
@mathlib-bors mathlib-bors Bot closed this May 17, 2025
@mathlib-bors
mathlib-bors Bot deleted the eric-wieser/inner-lemmas branch May 17, 2025 04:55
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-euclidean-geometry Affine and axiomatic geometry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants