-
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
C1 and lipschitz #917
base: master
Are you sure you want to change the base?
C1 and lipschitz #917
Conversation
theories/realfun.v
Outdated
Definition C1 (a b : R) (f : R^o -> R^o) := | ||
derivable_oo_continuous_bnd f a b /\ | ||
{within `[a, b], continuous f^`()}. |
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 do not think this is the "right definition". In order to define C1 on an open interval you only need
{in `]x, y[, forall x, derivable f x 1}
and {within `]a, b[, continuous f^`()}
and if you want to define C1 on a closed interval, you actually need more than derivable_oo_continuous_bnd f a b
because you need derivability on the border of the interval.
We need to generalize differentiability and derivability to take into account the potential subspace topology of the domain in order to have a general version.
@zstone1 @affeldt-aist
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 subspace problem strikes again. For {within `[a, b], continuous f^`()}
to work you need f^`() a
to be well defined. That requires differentiable (f : R -> V) a
, which you won't generally have here. The characteristic function X_[a,b]
being my typical example of a C1([a,b])
function with "bad" behavior at the boundary.
As far as alternatives go, differentiating over subspaces will certainly work. You need to pick a "small enough" neighborhood, in the subspace topology, and consider all the directional derivatives that stay in the neighborhood. Some properties start to fail, though, like "minima have 0 derivative". I hesitate to alter the definition of differentiation to include a sometimes useful subspace parameter. I'd rather build on top of it than edit it.
I see two separate problems.
- Adding conditions to ensure the limits of
f^`()
exist on the boundary - Actually constructing a the right term for the derivative.
Obviously it's the best case is if f^`()
solves both problems, and it does on the open intervals. But an alternative could look like
`[extend U, g]` := fun x =>
if U x then g x
else lim (g @ (within U (nbhs x))
then you work with [extend `]a,b[, f^`()]
. We can pick a more compact notation if needed. The main observation is that we care mostly about the setting of closure U
where U
is open. There are also a variety of results like
f : (a,b) -> R is uniformly continuous <->
the left and right limits exist, and the extension `f^* : [a,b] -> R` is uniformly continuous
to guarantee that [extend U, g]
is well-defined, continuous, etc.
I don't love this alternative. I am just trying to find a way to avoid altering "correct" definitions to account for new requirements.
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.
But will `[extend U, g]
be smooth when g is smooth on U?
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'd rather build on top of it than edit it.
I totally agree
You need to pick a "small enough" neighborhood, in the subspace topology, and consider all the directional derivatives that stay in the neighborhood. Some properties start to fail, though, like "minima have 0 derivative".
This is not a problem if some theorems are only valid on open sets...
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.
A good question. g
could smooth in U
, and `[extend U, g]
could fail to be differentiable in closure U
. I saw |1-x|
on (-1,0) | (0,1)
as a good example of this. Now if g^`
is continuous in U, and the limits exist on the boundary, my intuition says you'll get `[extend U, g]
is "continuously differentiable in the subspace closure U
". But I certainly don't have a proof handy.
65f52c4
to
b0e196a
Compare
We tried a tentative fix for the definition of
that looks like an exercise but whose solution has eluded us so far. :-( |
It's because it's false. |
Motivation for this change
tentative definition C1
Things done/to do
CHANGELOG_UNRELEASED.md
Compatibility 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.