-
Couldn't load subscription status.
- Fork 62
R^o type constraints in ln_concave
#1010
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
base: master
Are you sure you want to change the base?
Conversation
| HB.instance Definition _ (R : realDomainType) := | ||
| ConvexSpace.copy R [the lmodType R of R^o]. | ||
| HB.instance Definition _ (R : realFieldType) := | ||
| ConvexSpace.copy R [the lmodType R of R^o]. | ||
| HB.instance Definition _ (R : realType) := | ||
| ConvexSpace.copy R [the lmodType R of R^o]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't there a bunch of forgetful inheritance warnings here??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not with HB 1.3.0 Coq 8.15.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HB 1.4.0 Coq 8.16.1 seems fine also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, with mathcomp 1 HB does not detect it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HB 1.8.1 on Coq 8.20.1 detects the forgetful inheritances
|
I guess this is better to put this on hold. |
|
We can maybe close this PR because the problem that triggered it, i.e., the fact that there were Lemma concave_ln (t : {i01 R}) (a b : R^o) : 0 < a -> 0 < b ->
(ln a : R^o) <| t |> (ln b : R^o) <= ln (a <| t |> b).is no more. |
7a449cd to
5b488b5
Compare
Motivation for this change
address comment https://github.com/math-comp/analysis/pull/990/files/e686555022776816f6c70e98c00a1e6fd5923f95#diff-5edc277f753b88b71edd27b04c3075df73e37652e4c19c0f8dc6210fa57bf926
Things done/to do
CHANGELOG_UNRELEASED.mdCompatibility with MathComp 2.0
TODO: HB portto make sure someone ports this PR tothe
hierarchy-builderbranch or I already opened an issue or PR (please cross reference).Automatic note to reviewers
Read this Checklist and put a milestone if possible.