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

Fix a few minor Lean misformalisations #238

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

ocfnash
Copy link
Contributor

@ocfnash ocfnash commented Oct 22, 2024

No description provided.

The error was a simple typo: `<` instead of `=`.
The problem was that `(a * b : Fin 3 → ℝ)` first coerces `a` and `b`
to vectors and then uses the multiplication on vectors (which is
pointwise multiplication). Thus the group structure declared in `hGgrp`
was completely ignored. This could have been fixed by writing
`(↑(a * b) : Fin 3 → ℝ)` but I think it is much clearer to use an
embedding and not depend upon arcane details Lean's coercion
elaboration.
This is a slightly subjective fix. The issue is that `f > 0` does not
mean that `f` is positive everywhere; it means that `f` is non-negative
everywhere and positive at at least one point. I believe this is what is
intended in the informal statement.

The issue is slightly confounded by the fact that if for all `x`,
`deriv f x > f x` and `f x` is non-negative then the derivative is
strictly positive, and thus `f` is strictly monotone, and thus being
non-negative implies being strictly positive everywhere.

So there is no mathematical change to the meaning here but I think this
is a more faithful representation of the question. It should also be
noted that the fact that there is no mathematical change depends upon
not-quite-totally-trivial facts.

I have also taken the opportunity to rewrite question with slightly
improved style.
The statement should be that the sum diverges, rather than that it has
no finite limit (even though these are easily equivalent given the
latent positivity hypotheses).
Copy link
Collaborator

@GeorgeTsoukalas GeorgeTsoukalas left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution Oliver!

@GeorgeTsoukalas GeorgeTsoukalas merged commit b6f0e68 into trishullab:main Oct 23, 2024
1 check passed
@ocfnash ocfnash deleted the more_fixes branch October 23, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants