-
Notifications
You must be signed in to change notification settings - Fork 45
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
ln is concave #990
ln is concave #990
Conversation
966cfef
to
7caabe0
Compare
7caabe0
to
218da9b
Compare
218da9b
to
8471288
Compare
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.
Using both \is a Num.Pos and 0<x is a bit surprising. If there's a good reason for this, then I'm fine to accept.
Section conv_realDomainType. | ||
Context {R : realDomainType}. | ||
|
||
Lemma conv_gt0 (a b : R^o) (t : {i01 R}) : 0 < a -> 0 < b -> 0 < a <| t |> b. |
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.
Should we make this an instance of PosNum?
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.
It looks like a good idea but I'd prefer to do it later because I may need @proux01 's help (I easily forget about signed.v). I will issue after merging.
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.
I guess you should take inspiration from min and max in signed.v
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). |
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.
@affeldt-aist why the R^o
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.
The only instances were lmodType
and R^o
with R : realDomainType
. PR #1010 hopefully improves the situation be providing direct instances for realDomainType
, realFieldType
, and realType
.
* ln is concave, conjugate/powR
* ln is concave, conjugate/powR
Motivation for this change
preliminary step for the revision of PR #942
Things done/to do
CHANGELOG_UNRELEASED.md
- [ ] added corresponding documentation in the headersCompatibility with MathComp 2.0
TODO: HB port
to make sure someone ports this PR tothe
hierarchy-builder
branch or I already opened an issue or PR (please cross reference).Automatic note to reviewers
Read this Checklist and put a milestone if possible.