Documentation

CsdLean4.SigmaLayer.ChartBracket

SigmaLayer/ChartBracket: the Poisson bracket in a Darboux chart, and why the weights commute #

Category: dynamical measurement — specs/BACKLOG.md A3, the formalisable fragment of the joint-arena Hamiltonian argument.

What this is for #

The joint-arena route (BACKLOG.md A2) turns on one algebraic step: the control weights Poisson-commute, hence are constants of motion of the true joint flow, hence the pointer sees the fixed weight vector the existing analysis assumes. Stating that on the arena needs ω⁻¹dH and a manifold Poisson bracket — the one arrow Mathlib does not have (manifolds, ContMDiff, IntegralCurve yes; symplectic form and Poisson bracket no; the flat-space extDeriv has since landed in the pin — BACKLOG A4 — but not the manifold form).

What is expressible, and is proved here, is the same step in a Darboux chart: on (Fin n → ℝ) × (Fin n → ℝ) with canonical coordinates, the bracket is an explicit fderiv expression, the Hamiltonian vector field is explicit (no ω⁻¹ needed — in canonical coordinates it is (∂_y H, −∂_x H)), and the vanishing argument is a computation.

The statement that matters, and why it is not the obvious one #

The naive reading — "the weights and 𝓗 are both independent of the momenta, so they commute" — is false of 𝓗. The interaction scalar 𝓗 = Σⱼ wⱼ(x)hⱼ(q) depends on the pointer, momenta included. What is true, and what poissonBracket_eq_zero_of_disjoint proves, is a disjoint-support statement:

if f has no momentum dependence at all, and every position index f depends on is disjoint from every momentum index g depends on, then {f, g} = 0.

That is exactly the corpus's situation: the weights depend on base positions (the moment coordinates and the register angle θ₁), while 𝓗's momentum dependence is carried by the pointer's conjugate variables — different indices. The bracket vanishes because the supports are disjoint, not because 𝓗 is momentum-free.

Results #

⚠️ Honest scope. This is a chart model, deliberately: KSigma N × ℂℙ^K is not globally ℝ^{2n}, and nothing here transports the result to the arena — that transport is the missing arrow. So this machine-checks A2's algebra, not A2. It also says nothing about whether the corpus's weights satisfy the hypotheses as functions on the arena; what makes that plausible is that the weights are C^∞ in the register coordinate (contDiff_pointerWeights_lift: the universal-cover lift at fixed base point and rates) and depend only on the moment coordinates and θ₁ (pointerWeights). Finally, dω = 0 is not stated: in a canonical chart it is automatic, which is precisely why a chart model is weaker than the manifold statement.

References #

specs/BACKLOG.md A2 (the paper argument this supports), A3 (this row), A4 (the blocked arrow); RecordLayer/JointFlowTransfer.lean (A1 — what conservation is for); RecordLayer/PointerWeights.lean (pointerWeights, contDiff_pointerWeights_lift); Mathlib/Analysis/InnerProductSpace/KahlerForm.lean (the pointwise Kähler triple, the form-level analogue).

@[reducible, inline]

A Darboux chart: n positions and n conjugate momenta.

Equations
Instances For
    def CSD.SigmaLayer.posDir {n : } (i : Fin n) :

    The i-th position direction.

    Equations
    Instances For
      def CSD.SigmaLayer.momDir {n : } (i : Fin n) :

      The i-th momentum direction.

      Equations
      Instances For
        noncomputable def CSD.SigmaLayer.dPos {n : } (f : Chart n) (z : Chart n) (i : Fin n) :

        ∂f/∂xᵢ at z.

        Equations
        Instances For
          noncomputable def CSD.SigmaLayer.dMom {n : } (f : Chart n) (z : Chart n) (i : Fin n) :

          ∂f/∂yᵢ at z.

          Equations
          Instances For
            noncomputable def CSD.SigmaLayer.poissonBracket {n : } (f g : Chart n) (z : Chart n) :

            The canonical Poisson bracket {f,g} = Σᵢ (∂ₓᵢf ∂yᵢg − ∂yᵢf ∂ₓᵢg).

            Equations
            Instances For

              Dependence predicates #

              f has no momentum dependence.

              Equations
              Instances For
                def CSD.SigmaLayer.PositionSupport {n : } (f : Chart n) (S : Finset (Fin n)) :

                Every position index f depends on lies in S.

                Equations
                Instances For
                  def CSD.SigmaLayer.MomentumSupport {n : } (g : Chart n) (T : Finset (Fin n)) :

                  Every momentum index g depends on lies in T.

                  Equations
                  Instances For

                    ★ The vanishing theorem #

                    theorem CSD.SigmaLayer.poissonBracket_eq_zero_of_disjoint {n : } {f g : Chart n} {S T : Finset (Fin n)} (hf : MomentumIndep f) (hfS : PositionSupport f S) (hgT : MomentumSupport g T) (hST : Disjoint S T) (z : Chart n) :

                    Disjoint supports ⇒ vanishing bracket. The faithful form of the joint-arena argument: f (a control weight) is momentum-free and depends on positions in S; g (the interaction scalar) carries momentum dependence only on T; S and T disjoint. In the corpus S is the base — moment coordinates and the register angle — and T is the pointer, so the hypothesis is exactly the product structure of the arena. Note g is not assumed momentum-free: 𝓗 = Σⱼ wⱼ(x)hⱼ(q) is not.

                    Two momentum-free functions always commute — the case {wᵢ, wⱼ} = 0, which needs no support hypothesis at all.

                    ★ Conservation along the flow #

                    noncomputable def CSD.SigmaLayer.hamiltonianField {n : } (H : Chart n) (z : Chart n) :

                    The Hamiltonian vector field in canonical coordinates, X_H = (∂_y H, −∂_x H). No ω⁻¹ is needed: in a Darboux chart the inverse is the explicit swap-and-negate.

                    Equations
                    Instances For

                      The derivative of f along the Hamiltonian field is the bracket — the identity that turns "vanishing bracket" into "conserved". Stated as the hypothesis it is used through: f's derivative at z applied to X_H z is {f, H} z.

                      Equations
                      Instances For
                        theorem CSD.SigmaLayer.conserved_of_bracket_eq_zero {n : } {f H : Chart n} (hd : BracketIsDerivative f H) (hzero : ∀ (z : Chart n), poissonBracket f H z = 0) {γ : Chart n} ( : ∀ (t : ), HasDerivAt γ (hamiltonianField H (γ t)) t) (hf : ∀ (t : ), DifferentiableAt f (γ t)) (t : ) :
                        HasDerivAt (fun (s : ) => f (γ s)) 0 t

                        Vanishing bracket ⇒ conserved along any integral curve. The conclusion the joint-arena route needs: if {f, H} = 0 then f is constant along the flow of H, so a control weight with vanishing bracket is a constant of motion even though the conjugate variables move. (BracketIsDerivative is the chain-rule step, taken as a hypothesis so this theorem is about the dynamics and not about differentiability bookkeeping.)

                        theorem CSD.SigmaLayer.weight_conserved_of_disjoint {n : } {w H : Chart n} {S T : Finset (Fin n)} (hw : MomentumIndep w) (hwS : PositionSupport w S) (hHT : MomentumSupport H T) (hST : Disjoint S T) (hd : BracketIsDerivative w H) {γ : Chart n} ( : ∀ (t : ), HasDerivAt γ (hamiltonianField H (γ t)) t) (hf : ∀ (t : ), DifferentiableAt w (γ t)) (t : ) :
                        HasDerivAt (fun (s : ) => w (γ s)) 0 t

                        The weights are constants of motion: the packaged form of the two results above, in the shape BACKLOG.md A2 uses them — momentum-free control functions, an interaction scalar whose momentum dependence is disjoint from their position support.