Documentation

LeanPool.HardSphereNBC.MayerNBC

This file is the finite Mayer/NBC bridge. The graph part is completely discrete. The measure part is stated for an arbitrary configuration space; its only analytic input is measurability of the finitely many regions that occur in the finite tree sum.

The finite graph ledger #

noncomputable def HsVirial.connectedEdgeSubsets {V : Type u_1} [Fintype V] [DecidableEq V] (G : SimpleGraph V) :

The finite collection of edge subsets inducing a connected graph.

Equations
Instances For
    noncomputable def HsVirial.m {V : Type u_1} [Fintype V] [DecidableEq V] (G : SimpleGraph V) :

    The alternating sum of connected spanning edge subsets.

    Equations
    Instances For
      def HsVirial.activeEdge {V : Type u_1} [Fintype V] (x : Sym2 V → Bool) (e : Sym2 V) :

      An edge of the complete graph marked active by the overlap data.

      Equations
      Instances For
        noncomputable def HsVirial.activeEdgeFinset {V : Type u_1} [Fintype V] (x : Sym2 V → Bool) :

        The finite set of active edges.

        Equations
        Instances For
          def HsVirial.overlapGraph {V : Type u_1} [Fintype V] (x : Sym2 V → Bool) :

          The graph whose edges are precisely the active overlaps.

          Equations
          Instances For
            noncomputable def HsVirial.bond {V : Type u_1} [Fintype V] (x : Sym2 V → Bool) (e : Sym2 V) :

            The Mayer bond: minus one for an active edge and zero otherwise.

            Equations
            Instances For

              The connected spanning edge subsets of the complete graph.

              Equations
              Instances For
                noncomputable def HsVirial.mayerKernel {V : Type u_1} [Fintype V] [DecidableEq V] (x : Sym2 V → Bool) :

                Sum the products of Mayer bonds over connected spanning edge sets.

                Equations
                Instances For
                  theorem HsVirial.bond_prod_of_subset_active {V : Type u_1} [Fintype V] {x : Sym2 V → Bool} {A : Finset (Sym2 V)} (hA : A ⊆ activeEdgeFinset x) :
                  ∏ e ∈ A, bond x e = matroidParitySign A.card
                  theorem HsVirial.bond_prod_eq_zero_of_not_subset_active {V : Type u_1} [Fintype V] {x : Sym2 V → Bool} {A : Finset (Sym2 V)} (hA : ¬A ⊆ activeEdgeFinset x) :
                  ∏ e ∈ A, bond x e = 0
                  theorem HsVirial.bond_eq_zero_of_not_active {V : Type u_1} [Fintype V] {x : Sym2 V → Bool} {e : Sym2 V} (he : ¬activeEdge x e) :
                  bond x e = 0

                  Concrete NBC bases of the graphic matroid #

                  An edge completing a broken circuit already contained in the specified edge set.

                  Equations
                  Instances For

                    The edge set contains a broken circuit in the circuit-based formulation.

                    Equations
                    Instances For

                      A spanning forest containing no broken circuit.

                      Equations
                      Instances For

                        A connected spanning forest containing no broken circuit.

                        Equations
                        Instances For
                          noncomputable def HsVirial.graphNBCBaseSubsets {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] (G : SimpleGraph V) :

                          Enumerate the no-broken-circuit bases of the graph.

                          Equations
                          Instances For
                            noncomputable def HsVirial.graphNBCTreeSubsets {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] (G : SimpleGraph V) :

                            Enumerate the no-broken-circuit spanning trees of the graph.

                            Equations
                            Instances For
                              noncomputable def HsVirial.NBC {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] (G : SimpleGraph V) :

                              The number of no-broken-circuit spanning trees.

                              Equations
                              Instances For
                                noncomputable def HsVirial.treeUniverse {V : Type u_1} [Fintype V] :

                                The finite collection of spanning trees on the ambient vertex set.

                                Equations
                                Instances For

                                  The signed matroid theorem is now applied to the concrete graphic construction. The good sets on the right are a finite, explicit filter; NBC is its natural cardinality.

                                  theorem HsVirial.m_eq_signed_NBC_of_connected {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {G : SimpleGraph V} (hG : G.Connected) :
                                  m G = (-1) ^ (Fintype.card V - 1) * ↑(NBC G)

                                  Pointwise finite tree decomposition #

                                  def HsVirial.nbcRegion {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} (active : X → Sym2 V → Bool) (T : Finset (Sym2 V)) :
                                  Set X

                                  Configurations whose overlap graph has the specified no-broken-circuit spanning tree.

                                  Equations
                                  Instances For
                                    theorem HsVirial.mem_graphNBCTreeSubsets_iff_mem_treeUniverse_and_region {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} (active : X → Sym2 V → Bool) (x : X) {T : Finset (Sym2 V)} (_hT : T ∈ treeUniverse) :

                                    The Boolean region form of the same decomposition.

                                    theorem HsVirial.nbc_tree_decomposition_region {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} (active : X → Sym2 V → Bool) (x : X) :
                                    (if (overlapGraph (active x)).Connected then NBC (overlapGraph (active x)) else 0) = ∑ T ∈ treeUniverse, if x ∈ nbcRegion active T then 1 else 0

                                    For disconnected overlap graphs both sides vanish. This is the finite form needed to turn the signed identity into a nonnegative integrand.

                                    The absolute value of an integer as an extended nonnegative real.

                                    Equations
                                    Instances For
                                      theorem HsVirial.intMagnitude_signed_nat (n q : ℕ) :
                                      intMagnitude ((-1) ^ n * ↑q) = ↑q

                                      Arbitrary measure spaces #

                                      noncomputable def HsVirial.absMayerIntegrand {V : Type u_1} [Fintype V] [DecidableEq V] {X : Type u_2} (active : X → Sym2 V → Bool) (x : X) :

                                      The absolute value of the configuration's Mayer kernel.

                                      Equations
                                      Instances For
                                        noncomputable def HsVirial.absClusterCoefficient {V : Type u_1} [Fintype V] [DecidableEq V] {X : Type u_2} [MeasurableSpace X] (μ : MeasureTheory.Measure X) (active : X → Sym2 V → Bool) :

                                        The integral of the absolute Mayer kernel, normalized by the vertex factorial.

                                        Equations
                                        Instances For
                                          theorem HsVirial.measurable_nbcRegion_indicator {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} [MeasurableSpace X] (active : X → Sym2 V → Bool) {T : Finset (Sym2 V)} (_hT : T ∈ treeUniverse) (hmeas : MeasurableSet (nbcRegion active T)) :
                                          Measurable ((nbcRegion active T).indicator fun (x : X) => 1)
                                          theorem HsVirial.lintegral_abs_mayerKernel_eq_sum_NBC_region_measure {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} [MeasurableSpace X] (μ : MeasureTheory.Measure X) (active : X → Sym2 V → Bool) (hmeas : ∀ T ∈ treeUniverse, MeasurableSet (nbcRegion active T)) :
                                          ∫⁻ (x : X), absMayerIntegrand active x ∂μ = ∑ T ∈ treeUniverse, μ (nbcRegion active T)
                                          theorem HsVirial.factorial_mul_absClusterCoefficient {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} [MeasurableSpace X] (μ : MeasureTheory.Measure X) (active : X → Sym2 V → Bool) (hmeas : ∀ T ∈ treeUniverse, MeasurableSet (nbcRegion active T)) :
                                          ↑(Fintype.card V).factorial * absClusterCoefficient μ active = ∑ T ∈ treeUniverse, μ (nbcRegion active T)
                                          @[reducible, inline]
                                          noncomputable abbrev HsVirial.absBk {V : Type u_1} [Fintype V] [DecidableEq V] {X : Type u_2} [MeasurableSpace X] (μ : MeasureTheory.Measure X) (active : X → Sym2 V → Bool) :

                                          The absolute cluster coefficient in the notation of the volume identity.

                                          Equations
                                          Instances For
                                            @[reducible, inline]
                                            abbrev HsVirial.nbcRegionVolume {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} [MeasurableSpace X] (μ : MeasureTheory.Measure X) (active : X → Sym2 V → Bool) (T : Finset (Sym2 V)) :

                                            The measure of a no-broken-circuit tree region.

                                            Equations
                                            Instances For
                                              theorem HsVirial.factorial_mul_absBk_eq_nbcVolumeSum {V : Type u_1} [Fintype V] [DecidableEq V] [LinearOrder (Sym2 V)] {X : Type u_2} [MeasurableSpace X] (μ : MeasureTheory.Measure X) (active : X → Sym2 V → Bool) (hmeas : ∀ T ∈ treeUniverse, MeasurableSet (nbcRegion active T)) :
                                              ↑(Fintype.card V).factorial * absBk μ active = ∑ T ∈ treeUniverse, nbcRegionVolume μ active T

                                              Hard-sphere activity, with no geometric factorization claim #

                                              @[reducible, inline]

                                              Euclidean position space in the specified dimension.

                                              Equations
                                              Instances For

                                                Particle configurations whose distinguished particle is fixed at zero.

                                                Equations
                                                Instances For
                                                  noncomputable def HsVirial.hardSphereActive {k d : ℕ} (r : AnchoredHSConfiguration k d) :
                                                  Sym2 (Fin (k + 1)) → Bool

                                                  The overlap indicators of an explicitly anchored configuration.

                                                  Equations
                                                  Instances For
                                                    @[simp]
                                                    theorem HsVirial.hardSphereActive_mk {k d : ℕ} (r : AnchoredHSConfiguration k d) (i j : Fin (k + 1)) :
                                                    hardSphereActive r s(i, j) = decide (‖↑r i - ↑r j‖ < 1)