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

ln is concave #990

Merged
merged 2 commits into from
Aug 11, 2023
Merged

ln is concave #990

merged 2 commits into from
Aug 11, 2023

Conversation

affeldt-aist
Copy link
Member

Motivation for this change

preliminary step for the revision of PR #942

Things done/to do
  • added corresponding entries in CHANGELOG_UNRELEASED.md

- [ ] added corresponding documentation in the headers

Compatibility with MathComp 2.0
  • I added the label TODO: HB port to make sure someone ports this PR to
    the 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.

@affeldt-aist affeldt-aist added the TODO: MC2 port This PR must be ported to mathcomp 2 now that the. Remove this label when the port is done. label Jul 27, 2023
@affeldt-aist affeldt-aist added this to the 0.6.4 milestone Jul 27, 2023
@affeldt-aist affeldt-aist modified the milestones: 0.6.4, 0.6.5 Aug 5, 2023
@affeldt-aist affeldt-aist requested a review from CohenCyril August 5, 2023 14:33
Copy link
Contributor

@zstone1 zstone1 left a 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.
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Collaborator

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

theories/exp.v Outdated Show resolved Hide resolved
@affeldt-aist affeldt-aist merged commit 7880978 into math-comp:master Aug 11, 2023
Comment on lines +605 to +606
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).
Copy link
Member

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?

Copy link
Member Author

@affeldt-aist affeldt-aist Aug 11, 2023

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.

affeldt-aist added a commit to affeldt-aist/analysis that referenced this pull request Aug 23, 2023
* ln is concave, conjugate/powR
@proux01 proux01 removed the TODO: MC2 port This PR must be ported to mathcomp 2 now that the. Remove this label when the port is done. label Sep 5, 2023
IshiguroYoshihiro pushed a commit to IshiguroYoshihiro/analysis that referenced this pull request Sep 7, 2023
* ln is concave, conjugate/powR
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.

4 participants