feat(Geometry): add Gauss-Bonnet - #517
Conversation
6250fe7 to
75d2ac3
Compare
75d2ac3 to
889167a
Compare
I am grateful to Adam Topaz for pointing out this error. Before this change, although the _goal_ correctly accounted for the unnormalied scaling of the Hausdorff measure, the formula `hK` did not. Since `hK` tells us that to order `r ^ 2`, the area of a ball is `πr ^ 2`, the statement contained a contradiction since with the unnormalied Hausdorff scaling this should be `4r ^ 2`. I could have fixed this bug by scaling the expression `Q` appearing in `hK` by a factor of `4 / π` but instead decided to introduce a new measure `μ` together with a requirement that it has the conventional scaling. This has the advantage that both the formula for `hK` and the goal contain conventional, familiar constants.
|
🤖 Claude says: The docstring and the hypothesis disagree on the normalisation, and it is the docstring that is wrong.
Worth fixing deliberately rather than as a typo, because the constant is load-bearing. If μ were Since this is the declaration docstring rather than the module docstring, it also ships to solvers in the generated |
|
-awaiting-author |
The "Build Generated Workspaces" CI step complains:
error: Submission.lean:10:19: unexpected token '²'; expected ']'
So this attempts to fix that
No description provided.