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

Exponential series #380

Merged
merged 3 commits into from
Jun 1, 2021
Merged

Exponential series #380

merged 3 commits into from
Jun 1, 2021

Conversation

affeldt-aist
Copy link
Member

extracted from PR #207 for tentative application in coq-robot

@thery

@affeldt-aist affeldt-aist force-pushed the exponential_series branch 2 times, most recently from 3d38788 to b0e7f47 Compare May 14, 2021 17:44
@affeldt-aist affeldt-aist force-pushed the exponential_series branch 2 times, most recently from fbe96d2 to f78c0b2 Compare May 25, 2021 14:25
@affeldt-aist
Copy link
Member Author

I take the opportunity of this conversation to ask a related question. Given the exponential function defined as:

Definition exp (x : R) : R := lim (series (exp_coeff x)).

How to define the natural logarithm? What is better than the following?

Definition ln (R : realType) (x : R) :=
  if pselect (exists y, exp y = x) is left e then projT1 (cid e) else 0.

@CohenCyril

@affeldt-aist
Copy link
Member Author

Is it ok to merge this as it is for 0.3.8 and come back to it later? @CohenCyril @thery

Copy link
Member

@CohenCyril CohenCyril left a comment

Choose a reason for hiding this comment

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

OK to merge after rebase.

affeldt-aist and others added 3 commits June 1, 2021 17:37
Co-Authored-By: thery <Laurent.Thery@inria.fr>
Co-Authored-By: thery <Laurent.Thery@inria.fr>
@affeldt-aist affeldt-aist merged commit 7c0d18c into master Jun 1, 2021
@affeldt-aist affeldt-aist deleted the exponential_series branch June 1, 2021 08:50
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.

2 participants