Documentation

LeanPool.HardSphereNBC.HardSphereTreeDifference

Triangular difference maps #

def HsVirial.hardSphereParentDifferenceLinearMap {ι : Type u_1} (parent : ι → Option ι) :
(ι → ℝ) →ₗ[ℝ] ι → ℝ

Subtract each coordinate's parent coordinate, retaining root coordinates unchanged.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem HsVirial.hardSphereParentDifferenceLinearMap_apply {ι : Type u_1} (parent : ι → Option ι) (x : ι → ℝ) (i : ι) :
    (hardSphereParentDifferenceLinearMap parent) x i = match parent i with | none => x i | some p => x i - x p
    theorem HsVirial.hardSphereParentDifferenceLinearMap_toMatrix_lower {ι : Type u_1} [Fintype ι] [DecidableEq ι] (parent : ι → Option ι) (ord : LinearOrder ι) (hlt : ∀ (i p : ι), parent i = some p → p < i) :
    theorem HsVirial.hardSphereParentDifferenceLinearMap_toMatrix_diag {ι : Type u_1} [Fintype ι] [DecidableEq ι] (parent : ι → Option ι) (ord : LinearOrder ι) (hlt : ∀ (i p : ι), parent i = some p → p < i) (i : ι) :
    theorem HsVirial.hardSphereParentDifferenceLinearMap_det {ι : Type u_1} [Finite ι] (parent : ι → Option ι) (ord : LinearOrder ι) (hlt : ∀ (i p : ι), parent i = some p → p < i) :

    Rooted tree coordinates #

    noncomputable def HsVirial.hardSphereTreeParentFreeIndex {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) (i : Fin (k - 1)) :
    Option (Fin (k - 1))

    The parent's free index, or no index when the parent is the anchored particle.

    Equations
    Instances For
      noncomputable def HsVirial.hardSphereTreeFlatParent {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) (q : Fin (k - 1) × Fin 3) :
      Option (Fin (k - 1) × Fin 3)

      Lift the particle-parent relation to each scalar spatial coordinate.

      Equations
      Instances For
        @[instance_reducible]
        noncomputable def HsVirial.hardSphereTreeFlatIndexOrder {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) :
        LinearOrder (Fin (k - 1) × Fin 3)

        Order flattened spatial coordinates compatibly with the rooted-tree order.

        Equations
        Instances For
          noncomputable def HsVirial.hardSphereTreeFlatDifferenceLinearMap {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) :
          (Fin (k - 1) × Fin 3 → ℝ) →ₗ[ℝ] Fin (k - 1) × Fin 3 → ℝ

          The linear transformation from scalar positions to scalar tree differences.

          Equations
          Instances For
            theorem HsVirial.hardSphereTreeFlatParent_lt {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) (q p : Fin (k - 1) × Fin 3) :

            Product-coordinate volume #

            Flatten an anchored three-dimensional configuration into scalar coordinates.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Flattened position arrays with every three-dimensional block in the unit ball.

              Equations
              Instances For

                Arrays of three-coordinate blocks lying in the unit ball.

                Equations
                Instances For

                  Identify three-coordinate blocks with Euclidean positions, measurably.

                  Equations
                  Instances For

                    The separated two-member block #

                    Pairs of unit-ball positions separated by distance at least one.

                    Equations
                    Instances For

                      Relative coordinates for a separated pair #

                      The separated-pair region in flattened scalar coordinates.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Pairs of unit-ball positions separated by distance less than one.

                        Equations
                        Instances For

                          The parent relation implementing the difference of the second position from the first.

                          Equations
                          Instances For
                            @[instance_reducible]

                            The lexicographic order on particle and spatial indices for a pair.

                            Equations
                            Instances For

                              Families of separated pairs, each lying in the unit ball.

                              Equations
                              Instances For

                                A product of separated-pair regions and unconstrained unit-ball positions.

                                Equations
                                Instances For

                                  Canonical separated-block coordinates #

                                  Split a position array into paired blocks and remaining single positions.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For

                                    Reindex a position array before separating paired and single blocks.

                                    Equations
                                    Instances For

                                      The tree region in difference coordinates #

                                      noncomputable def HsVirial.hardSphereTreeFlatDifferenceMap {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) :
                                      HardSphereConfiguration k 3 → Fin (k - 1) × Fin 3 → ℝ

                                      Send an anchored configuration to its flattened tree-difference coordinates.

                                      Equations
                                      Instances For
                                        noncomputable def HsVirial.hardSphereTreeDifferencePositionMap {k : ℕ} [NeZero k] {T : Finset (Sym2 (Fin k))} (hT : T ∈ treeUniverse) :

                                        Send an anchored configuration to the Euclidean differences along tree edges.

                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For