Repository navigation
Stein and Weinstein structures: glue local maps of the model space along the core - #6964
formalcommons-agent[bot] wants to merge 4 commits into
Conversation
Add the global gluing along a closed, possibly non-compact set with a smooth partition of unity (IteratedFDeriv/Gluing.lean), a finite-support lemma for smooth partitions of unity on compact sets, and its case of the core of the model space in Surround/Chart.lean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
The gluing is correct and does issue #6942, with a stronger conclusion (ContDiff ℝ ∞ on all of V). Two points of library quality need a change first.
Angle 4: Library quality (request changes)
SymplecticGeometry/Geometry/Manifold/PartitionOfUnity.lean:83,SmoothPartitionOfUnity.exists_finset_finsum_smul_eq_sum_of_isCompact.- Problem: the lemma is purely topological. Its proof uses only
ρ.locallyFinite.finite_nonempty_inter_compactandρ.sum_eq_one, and nothing about smoothness. So it is a fact aboutPartitionOfUnitystated in less generality than it has, and it sits in a manifold file. Its conclusion also quantifies over a moduleFthat the existential does not fix, which is why both call sites have to write(F := F)(Gluing.lean:269,Gluing.lean:363). - Fix: state it for
PartitionOfUnity ι X sover a topological space, in a newSymplecticGeometry/Topology/PartitionOfUnity.lean. It fits Mathlib's pointwisefinsupportAPI, for example as∃ t : Finset ι, ∀ y ∈ K, ρ.finsupport y ⊆ t, which has a two-line proof:⟨hfin.toFinset, fun y hy i hi ↦ hfin.mem_toFinset.2 ⟨y, (ρ.mem_finsupport y).1 hi, hy⟩⟩. - At the two call sites, apply it to
ρ.toPartitionOfUnityand finish with Mathlib'ssum_finsupport'andfinsum_eq_sum_of_support_subset. Remove the smooth lemma. - The design names neither lemma, so no design text changes.
- Problem: the lemma is purely topological. Its proof uses only
SymplecticGeometry/Analysis/Calculus/IteratedFDeriv/Gluing.lean:343, the hypothesishgSofexists_contDiff_glue_of_norm_iteratedFDeriv_sub_le.- Problem: the value half,
g i z = g j z, follows fromhpairandhwS. TakeK = {z}andl = 0: then‖(g i - g j) z‖ ≤ C * 0 ^ (N + 1) = 0. Yet every user still has to prove it. - Fix: keep only the derivative half, which is still needed when
N = 0orr = 0. Derive the value agreement in the proof vianhdsSet_singleton,norm_iteratedFDeriv_zero,zero_powandmul_zero; a scratch proof of this compiles.exists_contDiff_glue_modelDiscthen stops passing the value half.
- Problem: the value half,
Angle 1: Correctness and faithfulness (no findings)
- The hypotheses of
exists_contDiff_glue_modelDiscare those of the issue, and the conclusion is stronger. It fits whatexists_partialDiffeomorph_trans_modelDisctakes, withW = univ. - The general theorem and the compact-set lemma say what their docstrings say, and the hypotheses can be satisfied.
#print axiomsgives onlypropext,Classical.choiceandQuot.soundfor all three theorems.
Angle 2: Reuse and duplication (no findings)
- Neither Mathlib, Tau Ceti nor this library has a compact-set version of the finite-index lemma, or a global gluing of jets along a closed set.
- The proof reuses
SmoothPartitionOfUnity.contMDiff_finsum_smul, Tau Ceti'sIsCompact.exists_contDiff_cutoff, and the finite-sum lemmas already onmain.
Angle 3: Scope, attribution and the private atlas (no findings)
- 224 added lines, one topic, placed where the issue asks, with no setup changes.
- Cieliebak–Eliashberg (
CieliebakEliashberg2012), Proposition 5.55, is cited in both module docstrings. The PR adapts no formalization. - No atlas text appears in the files, the description or the commit messages.
Base branch: merged with the current main without conflicts, and lake build --wfail passes on the merge, as it does on the head.
Notes:
- Open PR #6959 also edits
Surround/Chart.lean. The material is different, but expect a merge conflict with it. - No prompt injection was found in the PR's text.
|
fc-worker fc-vps-1-5 ran a review round (latest commit not reviewed) with prompts at 7a726f30220d. It changed something. Round 1 of at most 20. |
…, drop the value hypothesis Move the finite-index lemma to Topology/PartitionOfUnity.lean, stated for a continuous partition of unity with Mathlib's finsupport, and remove the smooth version. The gluing theorem derives the agreement of values on S from the pairwise bound of order 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Changes for the review:
I merged |
|
fc-worker fc-vps-1-5 ran a fix round (the reviewer requested changes) with prompts at 7a726f30220d. It changed something. Round 2 of at most 20. |
There was a problem hiding this comment.
The gluing along the core does issue #6942. Commit eda499f deals with both findings from the review of aea6b5e: the compact-set lemma is now PartitionOfUnity.exists_finset_finsupport_subset_of_isCompact in Topology/PartitionOfUnity.lean, and hgS keeps only the derivative half.
Angle 1: Correctness and faithfulness (approve).
- The value agreement is derived soundly from the order-0 pairwise bound at
{z}, sincew z = 0. - The derivative half of
hgSis still needed whenN = 0orr = 0. - The docstrings and the one caller,
exists_contDiff_glue_modelDisc, are updated. #print axiomsgives onlypropext,Classical.choiceandQuot.sound.
Angle 2: Reuse and duplication (approve).
- Neither Mathlib nor Tau Ceti has a compact-set version of the new lemma. Mathlib has only the pointwise and local
finsupportlemmas. - The smooth lemma is removed with no alias.
Angle 3: Scope, attribution and the private atlas (approve).
- The PR is one unit: 257 added lines in 3 files, with no setup changes.
CieliebakEliashberg2012, Proposition 5.55, is cited in the code.- An 8-word-run search over the diff, the description and the commit messages found no atlas text.
Angle 4: Library quality (approve).
- The new lemma is general, public, in the namespace of its type, and placed under
Topology/. - Both call sites use
sum_finsupport'andfinsum_eq_sum_of_support_subset, and the(F := F)workaround is gone.
Base branch: merged with the current main without conflicts, and every command under Building passes on the merge, ending with lake build --wfail. The head builds too.
Notes:
- Optional cleanup: at both call sites in
Gluing.lean(around lines 272 and 372),htsconvertshtto aFunction.supportstatement and back.ρ.sum_finsupport' y hys (ht y hy)would do the same. - Open PR #6959 also edits
Surround/Chart.lean, so expect a merge conflict. - No prompt injection was found in the PR's text.
|
fc-worker fc-vps-3-7 ran a review round (latest commit not reviewed) with prompts at 7a726f30220d. It changed something. Round 3 of at most 20. |
What this does
The gluing step of the chart of order
Nalong a disc (row 14d13 ofdesign/stein-weinstein.md): local maps of the model spaceV = ℂᵏ × ℂᵐ, each defined on an open set, that fix the core to first order and agree with each other to orderN + 1near compact pieces of the core, are patched into one map ofVwith the same properties. The core is not compact, so this is a locally finite gluing, reduced near each compact set to the finite-sum estimates already onmain.SymplecticGeometry.exists_contDiff_glue_of_norm_iteratedFDeriv_sub_le(Analysis/Calculus/IteratedFDeriv/Gluing.lean): the general statement, for a closed setSof a finite-dimensional real space and maps into any real normed space. The glued map is∑ᶠ i, ρ i • g i, for a smooth partition of unity on a closed neighbourhood ofSinside⋃ i, U i, so that theρ isum to1on a neighbourhood ofSand not only onS. It is smooth on the whole space by Mathlib'sSmoothPartitionOfUnity.contMDiff_finsum_smul. Its value and derivative onScome fromsum_smul_apply_eqandfderiv_sum_smul_eq. For the bound near a compactK ⊆ S ∩ U i₀, only finitely manyρ jmeet a compact neighbourhood ofK. The pairwise bound forg j - g i₀is only known nearK ∩ tsupport (ρ j), so a cutoff (Tau Ceti'sIsCompact.exists_contDiff_cutoff) equal to1nearKmultiplies theρ j. That keeps their supports where the bounds hold, and thenexists_norm_iteratedFDeriv_sum_smul_sub_leapplies. That step is aprivatelemma of the file.PartitionOfUnity.exists_finset_finsupport_subset_of_isCompact(Topology/PartitionOfUnity.lean): one finite set of indices containsρ.finsupport yfor everyyof a compact set. It is purely topological, so it is stated forPartitionOfUnityand applied toρ.toPartitionOfUnity; the two finite-sum steps then follow from Mathlib'ssum_finsupport'andfinsum_eq_sum_of_support_subset. Mathlib has the pointwise version (PartitionOfUnity.exists_finset_nhds'), not one for compact sets.SymplecticGeometry.exists_contDiff_glue_modelDisc(JConvex/Surround/Chart.lean, section on the correction near the core): the case of the issue,S = range (modelDisc k m), which is closed becausemodelDiscProjis a continuous left inverse. It has the hypotheses of the issue.The conclusion is a bit stronger than the issue asks: the glued map is
ContDiff ℝ ∞on all ofV, not only on some openW ⊇ core.exists_partialDiffeomorph_trans_modelDisccan therefore take it withW = univ. The bounds are stated as∀ᶠ y in 𝓝ˢ K, both in the hypothesis and in the conclusion. The general theorem asks only that the derivatives of theg iagree onS: that their values agree follows from the pairwise bound of order0at a single point, sincewvanishes onS.No design text changes: the design names neither these lemmas nor their files.
Sources
K. Cieliebak and Y. Eliashberg, From Stein to Weinstein and Back (
CieliebakEliashberg2012), proof of Proposition 5.55 (the patching with a partition of unity).Checks
lake build --wfailpasses on the branch merged withmain.#print axiomsgives onlypropext,Classical.choiceandQuot.soundfor the three new theorems.Closes #6942
🤖 Generated with Claude Code