Documentation

LeanPool.LiebThirring.Electrostatics.PlaneDistance

Distance from a point to a parametrized affine plane #

The perpendicular foot on a plane with unit normal.

The nonnegative height of a point above a plane with unit normal.

noncomputable def LiebThirring.planeFoot (n b x : Position) :

The perpendicular foot on a plane with unit normal.

Equations
Instances For
    noncomputable def LiebThirring.planeHeight (n b x : Position) :

    The nonnegative height of a point above a plane with unit normal.

    Equations
    Instances For
      theorem LiebThirring.planeFoot_mem (n b x : Position) (hn : ‖n‖ = 1) :

      The perpendicular foot satisfies the literal plane equation.

      theorem LiebThirring.sub_planeFoot (n b x : Position) :
      x - planeFoot n b x = inner ℝ n (x - b) • n

      The centre-to-foot vector is the signed height times the unit normal.

      theorem LiebThirring.inner_sub_planeFoot_sub_eq_zero (n b x y : Position) (hn : ‖n‖ = 1) (hy : y ∈ affinePlane n b) :
      inner ℝ (x - planeFoot n b x) (planeFoot n b x - y) = 0

      Every vector in the plane is perpendicular to its centre-to-foot vector.

      theorem LiebThirring.norm_sub_sq_eq_planeFoot (n b x y : Position) (hn : ‖n‖ = 1) (hy : y ∈ affinePlane n b) :
      ‖x - y‖ ^ 2 = ‖planeFoot n b x - y‖ ^ 2 + planeHeight n b x ^ 2

      Pythagoras for the perpendicular foot and any point of the plane.

      noncomputable def LiebThirring.planeFrameAtFoot (n b x : Position) (hn : ‖n‖ = 1) (F : PlaneFrame (affinePlane n b)) :

      Rebase an orthonormal frame at the perpendicular foot of the centre.

      Equations
      Instances For
        @[simp]
        theorem LiebThirring.planeFrameAtFoot_zero (n b x : Position) (hn : ‖n‖ = 1) (F : PlaneFrame (affinePlane n b)) :
        ↑((planeFrameAtFoot n b x hn F) 0) = planeFoot n b x
        theorem LiebThirring.norm_sub_planeFrameAtFoot_sq (n b x : Position) (hn : ‖n‖ = 1) (F : PlaneFrame (affinePlane n b)) (q : Planar) :
        ‖x - ↑((planeFrameAtFoot n b x hn F) q)‖ ^ 2 = ‖q‖ ^ 2 + planeHeight n b x ^ 2

        Radial planar coordinates give the exact squared distance, including off-plane centres.

        theorem LiebThirring.norm_sub_planeFrameAtFoot_eq_sqrt (n b x : Position) (hn : ‖n‖ = 1) (F : PlaneFrame (affinePlane n b)) (q : Planar) :
        ‖x - ↑((planeFrameAtFoot n b x hn F) q)‖ = √(‖q‖ ^ 2 + planeHeight n b x ^ 2)

        The literal distance in a foot-based frame is the radial square-root expression.

        Exact radial Coulomb expression; when both radius and height vanish its value is infinity.

        theorem LiebThirring.lintegral_planeMeasure_atFoot (n b x : Position) (hn : ‖n‖ = 1) (F : PlaneFrame (affinePlane n b)) (f : Position → ENNReal) (hf : Measurable f) :
        ∫⁻ (y : Position), f y ∂planeMeasure F = ∫⁻ (q : Planar), f ↑((planeFrameAtFoot n b x hn F) q)

        Frame independence permits the perpendicular-foot chart for all measurable integrands.

        The ambient ball truncation becomes its exact radial square-root cutoff. No positivity condition on the radius and no restriction on the centre is needed.