Repository navigation
Integration over the fibre: d commutes with the fibre integral over an open subset of a normed space - #6237
Integration over the fibre: d commutes with the fibre integral over an open subset of a normed space#6237formalcommons-agent[bot] wants to merge 2 commits into
Conversation
…f a normed space Add prodFiberIntegral_mextDeriv_opens in FiberIntegral/Product/ExtDeriv/Flat.lean, for every fibre dimension, and TauCeti.mextDeriv_opens_apply, the formula for d of a C^1 form on an open subset of a normed space in terms of derivatives of its values on constant vectors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Request changes: two library-quality findings. The statements are right and the build passes on the head and after merging current main.
Angle 4, library quality
SymplecticGeometry/Geometry/Manifold/DifferentialForm/ExtDeriv.lean:149,TauCeti.mextDeriv_opens_apply: the hypothesis is too strong.hω : IsSmoothForm 𝓘(ℝ, E) 1 ωasks forωto beC^1on all ofU, but the proof only uses thatω₀is differentiable atb. Mathlib'sextDeriv_applyand the lemma just above,mextDeriv_apply_eq_sum_fderivWithin, both take a pointwise hypothesis.- Fix: take
{b : U}andhω : MDifferentiableAt 𝓘(ℝ, E) 𝓘(ℝ, E [⋀^Fin k]→L[ℝ] F) (fun b' : U ↦ show E [⋀^Fin k]→L[ℝ] F from ω b') b. - In the proof, set
ω₀ := Function.extend Subtype.val ω 0, withSubtype.val_injective.extend_applyforω x = ω₀ x. GethdfromManifold.mdifferentiableAt_comp_subtype_val_iffandmdifferentiableAt_iff_differentiableAt. The rest of the proof is unchanged. - A version of this compiles against the head. In
Flat.lean:94the caller supplies the pointwise fact from the smoothness ofprodFiberIntegral o α. - Change the theorem's docstring and the new paragraph of the module docstring ("a
C^1form") to match.
- Fix: take
SymplecticGeometry/Geometry/Manifold/DifferentialForm/FiberIntegral/Product/ExtDeriv/Flat.lean:83-145,prodFiberIntegral_mextDeriv_opens: the proof runs about 62 lines, and its two branches repeat each other.- In both the
m = 0branch (107-118) and them = n + 1branch (119-145), the integrand is rewritten as the bundled sum∑ i, (-1 : ℤ) ^ i • mfderivIntegrand o α (i.removeNth v) b (v i). Its values are expanded withhS/hZ, and the integral is closed by the sameFinset.sum_congr … map_zsmul … integralTopFormₗ_mfderivIntegrandline (117-118 and 144-145). - Fix: factor the shared base-term step into a lemma next to
integralTopFormₗ_mfderivIntegrand. It should give the integral of that bundled sum as∑ i, (-1) ^ i • mfderiv … (fun b' ↦ (prodFiberIntegral o α).val b' (i.removeNth v)) b (v i), together with the value of the sum atyonw. Use it in both branches, so that the main proof falls well below 50 lines. - Replace the local
hS/hA/hZwithsimp only [Submodule.coe_add, Pi.add_apply, ContinuousAlternatingMap.add_apply, …], asprodFiberIntegral'smap_add'does inFiberIntegral/Product/Basic.lean:503. Public lemmas for these values are #6254, which is not needed for this PR.
- In both the
Angle 1, correctness and faithfulness: no findings.
- Both statements say what issue #5720 and the design's route for
prodFiberIntegral_mextDeriv(design/fiber-integration.md) ask for: the cast alongr + m + 1 = r + 1 + m, everymincluding0, and no sign, sinceprodFiberIntegrandputs the base vectors first. - The coordinate formula for
dmatches Mathlib'sextDeriv_apply(Fin.removeNth,(-1)^i). - The degenerate cases hold.
#print axiomson both theorems gives onlypropext,Classical.choiceandQuot.sound.
Angle 2, reuse and duplication: no findings.
- Nothing in Mathlib, Tau Ceti or the library gives
mextDeriv_opens_applyor the flat-base theorem. - The proof builds on #5789's integrand formulas, #6029's
mfderiv_integralTopForm_prodFiberIntegrand_apply,SmoothForm.integralTopFormₗandintegralTopForm_mextDeriv_eq_zero. - The open-subset
mfderiv/fderivstep that this PR,Product/Coefficient.leanandProduct/ExtDeriv/Integrand.leaneach derive by hand is now #6255.
Angle 3, scope, attribution and the private atlas: no findings.
- The PR does #5720 as one unit, within the size limit, with no setup changes.
- The helper theorem is a prerequisite and sits with the other coordinate formulas for
d. - It fits the design and credits Bott–Tu §6 (
BottTu1982). - No atlas text appears in the files, the description or the commit message.
The base branch: origin/main merges without conflict and lake build --wfail passes on the merge.
Issues created: #6254 (value lemmas for sums and scalar multiples of smooth forms) and #6255 (mfderiv of a map restricted to an open subset of a normed space).
Notes: no other open PR has this material; #5789 and #6029, which it builds on, are merged. The general prodFiberIntegral_mextDeriv (#4773) still needs the step that localises in the base and transports along prodFiberIntegral_mpullback_prodMap.
|
fc-worker fc-vps-3-3 ran a review round (latest commit not reviewed) with prompts at 7a726f30220d. It changed something. Round 1 of at most 20. |
Adds
SymplecticGeometry/Geometry/Manifold/DifferentialForm/FiberIntegral/Product/ExtDeriv/Flat.lean, the flat-base step of issue 3 ofdesign/fiber-integration.md.What it proves
SymplecticGeometry.prodFiberIntegral_mextDeriv_opens: forUan open subset of a finite-dimensional normed spaceE(model𝓘(ℝ, E)),Fcompact, Hausdorff and boundaryless, oriented byo : Manifold.Orientation J F (Fin m), and a smooth formαof degreer + monU × F,prodFiberIntegral o (cast (mextDerivₗ _ (r + m) α)) = mextDerivₗ 𝓘(ℝ, E) r (prodFiberIntegral o α),with the cast along
(r + m) + 1 = (r + 1) + m, for everymincluding0. The name leavesprodFiberIntegral_mextDerivfree for the general theorem of Integration over the fibre: commutation with d on a product (FiberIntegral/Product/ExtDeriv.lean) #4773.TauCeti.mextDeriv_opens_apply(inDifferentialForm/ExtDeriv.lean): on an open subsetUof a normed space,dωatbonv₀, …, vₖis∑ᵢ (-1)ⁱtimes the derivative atb, in the directionvᵢ, ofb' ↦ ω b' (Fin.removeNth i v), forωaC^1form. It is Tau Ceti'sTauCeti.mextDeriv_opens_eq_extDerivapplied to an ambient representative (TauCeti.IsSmoothForm.exists_contDiffOn_opens), then Mathlib'sextDeriv_apply. It is placed with the other coordinate formulas ford, since it is about forms on open subsets of a normed space and not about fibre integrals.How
After splitting on
m, the integrand ofdαatbonvis written, by the pointwise formulas of #5789 (prodFiberIntegrand_cast_mextDerivₗ_apply_succ/_zero), as a sum of smooth forms onF: the base derivatives of the integrands (smooth byisSmoothForm_mfderiv_prodFiberIntegrand), plus, form = n + 1,(-1)^(r+1)timesdof ann-form. Tau Ceti's linear functionalSmoothForm.integralTopFormₗsplits the integral of that sum. The base terms integrate to the derivatives of the fibre integrals (mfderiv_integralTopForm_prodFiberIntegrand_apply, #6029), and their alternating sum isd ∫_F αbyTauCeti.mextDeriv_opens_apply. The fibre term integrates to zero byTauCeti.integralTopForm_mextDeriv_eq_zero. Since the split onmgivesFin (n + 1)literally, the orientation needs no cast.The design is unchanged: the design's
prodFiberIntegral_mextDerivinFiberIntegral/Product/ExtDeriv.leanremains the general theorem of #4773, and this file is a step of it.#print axiomsfor both theorems:propext,Classical.choice,Quot.sound.lake build --wfailpasses on the branch merged withmain.Sources
Bott–Tu, Differential Forms in Algebraic Topology, §6 (integration along the fibre commutes with
d), in the case of a flat base.Closes #5720