Zulip Chat Archive
Stream: mathlib4
Topic: Finite Dimensional Convex Functions are Locally Lipschitz
Zichen Wang (Aug 21 2024 at 12:49):
Hi,
Here's Zichen Wang.
I am currently seeking the permission to create a new branch where we can contribute our formalized codes to Mathlib. And I would like to make PRs.
My Github username : imathwy
I have proved that each convex function on an open convex subset of FiniteDimensional space is locally Lipschitz continuous, so that continuous.
Yaël Dillies (Aug 21 2024 at 12:50):
Hey! Thanks for offering but have you seen #14999 ?
Zichen Wang (Aug 21 2024 at 12:55):
Yaël Dillies 发言道:
Hey! Thanks for offering but have you seen #14999 ?
May I ask if you have already proved it?
Yaël Dillies (Aug 21 2024 at 12:57):
Feel free to add your proof to #14999. The current status is that I am waiting on the convexity refactor (search on Zulip for what I mean) to prove the stronger statement that ConvexOn ℝ s → LocallyLipschitzOn (intrinsicInterior ℝ s)
.
Yaël Dillies (Aug 21 2024 at 12:57):
I assume you have proved ConvexOn ℝ univ f → LocallyLipschitz f
Zichen Wang (Aug 21 2024 at 12:59):
Yaël Dillies 发言道:
I assume you have proved
ConvexOn ℝ univ f → LocallyLipschitz f
I have prove this:
(hs_convex : Convex ℝ s)(hs_isopen : IsOpen s)(hf : ConvexOn ℝ s f)
: LocallyLipschitzOn s f
Zichen Wang (Aug 21 2024 at 13:04):
This is my first PR and I need your help , what should I do next?
Yaël Dillies (Aug 21 2024 at 13:05):
Can @maintainers give imathwy
mathlib access on github?
Zichen Wang (Aug 21 2024 at 13:05):
Thank u
Yaël Dillies (Aug 21 2024 at 13:06):
@Eric Wieser in particular, my above PR is still waiting on #14660
Floris van Doorn (Aug 21 2024 at 13:10):
Mathlib invite sent
Zichen Wang (Aug 21 2024 at 13:13):
Floris van Doorn 发言道:
Mathlib invite sent
Thank u .I got it.
Zichen Wang (Aug 22 2024 at 00:35):
QQ_1724286810841.png
May I ask how this problem can be solved?
Bryan Gin-ge Chen (Aug 22 2024 at 00:36):
You can ignore that; it doesn't have to do with Lean code at all.
Zichen Wang (Aug 22 2024 at 00:38):
QQ_1724287061773.png
But when I PR , it said Some checks were not successful
Bryan Gin-ge Chen (Aug 22 2024 at 00:40):
It looks like you're working on #16038. If so, you should close that PR and open a new one from a new branch in the mathlib4 repo. Please see the instructions here: https://leanprover-community.github.io/contribute/index.html
Zichen Wang (Aug 22 2024 at 00:42):
Bryan Gin-ge Chen 发言道:
It looks like you're working on #16038. If so, you should close that PR and open a new one from a new branch in the mathlib4 repo. Please see the instructions here: https://leanprover-community.github.io/contribute/index.html
Thank u.Let me try it
Zichen Wang (Aug 22 2024 at 02:44):
QQ_1724294546813.png
Is the next thing I should do only to wait it to be reviewed by administrator?
Yury G. Kudryashov (Aug 22 2024 at 02:51):
If your PR is on the #queue (probably, near the last page now), then it's time to wait for a review.
Yaël Dillies (Aug 22 2024 at 06:48):
Also please add your result to #14999. No need to open a new PR
Zichen Wang (Aug 22 2024 at 08:00):
Yaël Dillies 发言道:
Also please add your result to #14999. No need to open a new PR
OK,let me try.But I have opened a new PR.Should I close it ?
Zichen Wang (Aug 22 2024 at 12:26):
I have added it to #14999. You can check it
Yaël Dillies 发言道:
Also please add your result to #14999. No need to open a new PR
Yaël Dillies (Aug 22 2024 at 12:27):
I see. Can you golf your proof using my template proof?
Yaël Dillies (Aug 22 2024 at 12:27):
You will need to use the result I am proving in #14660 (which is also available in #14999)
Zichen Wang (Aug 22 2024 at 12:35):
Yaël Dillies 发言道:
I see. Can you golf your proof using my template proof?
Does it mean that I finish that theorem of yours (statement that ConvexOn ℝ s → LocallyLipschitzOn (intrinsicInterior ℝ s)
.) by using my conclusion?
Yaël Dillies (Aug 22 2024 at 12:40):
Nono.
- You can't quite prove
ConvexOn ℝ s → LocallyLipschitzOn (intrinsicInterior ℝ s)
before I'm done with the convexity refactor (this is going to take a while) - You should instead look at how I started the proof in
Analysis.Convex.Continuous
Yaël Dillies (Aug 22 2024 at 12:41):
Actually I don't see that file in the PR, but here it is: https://github.com/YaelDillies/LeanCamCombi/blob/48d5ded0cf6c9565036b14bdaedc1eeea23510c9/LeanCamCombi/ConvexContinuous.lean
Zichen Wang (Aug 22 2024 at 12:52):
To be honest,I am confusing what I should do. Does it mean that I should add my result in Analysis.Convex.Continuous?
Yaël Dillies (Aug 22 2024 at 12:55):
I mean that your proof is not very efficient since it reproves the result from #14660 in a hidden way. If you manage to leverage the result in #14660, you can shorten your proof two-fold
Zichen Wang (Aug 22 2024 at 13:02):
Yes,you're right. I'll try it.
Zichen Wang (Aug 22 2024 at 18:28):
If I use the lemma exists_mem_interior_convexHull_affineBasis
, the file "l1space" is no longer needed and it's quite simplified. You can check it :grinning_face_with_smiling_eyes:
Yaël Dillies (Aug 22 2024 at 20:52):
Yes indeed it is a lot nicer!
Zichen Wang (Aug 23 2024 at 02:08):
By the way , I have tried to prove the more general thm (statement that ConvexOn ℝ s → LocallyLipschitzOn (intrinsicInterior ℝ s)
by my thm. But the problem is like failed to synthesize
AddCommMonoid ↥(affineSpan ℝ s)
. Is it what you are doing?
Yaël Dillies (Aug 23 2024 at 06:15):
Yes, this is what I am fixing indeed
Zichen Wang (Aug 23 2024 at 06:37):
If these problems can be solved , the general thm (statement that ConvexOn ℝ s → LocallyLipschitzOn (intrinsicInterior ℝ s)
can be proved easily by my thm.
Yaël Dillies (Aug 24 2024 at 07:26):
@PrinChern, I have now finished cleaning up your proof and incorporating it into my file. I will now open a few prerequisite PRs. Expect it to take 2-3 weeks before #14999 itself is merged.
Last updated: May 02 2025 at 03:31 UTC