Documentation

SeedKernel.Ising.Seed

The unconditional seed of the longitudinal Ising chain at g = 1/4, h = 1/20 #

From the kernel checks of Generated.lean and ChunkCoverage.lean (two integer trial vectors on the rings of 6 and 12 sites with small residuals, and the count of classical configurations below a cutoff) this file proves, with no hypotheses,

The spectral input on each ring is LowSpectrum (one eigenvalue in [θ₀ - r, θ₀ + r], another at least θ₁ - r, all others at least ρ), from the residual bound CertifiedGaps.Spectral.exists_eigenvalue_near and counting by comparison with the classical energies (CertifiedGaps.Spectral.eigCount_le_card_of_vanishing with re_quadratic_ge). The partition functions are then bounded by Z ≥ e^{-β(θ₀+r)} and Z ≤ e^{-β(θ₀-r)} (1 + e^{-β(θ₁-θ₀)} + 2^L e^{-β(ρ-θ₀+r)}).

Partition functions from a low spectrum #

def SeedKernel.Ising.LowSpectrum {ι : Type u_1} (e : ι → ℝ) (a₀ b₀ a₁ ρ : ℝ) :

One eigenvalue in [a₀, b₀], a second one at least a₁, all others at least ρ.

Equations
Instances For
    theorem SeedKernel.Ising.sum_exp_ge {ι : Type u_1} [Fintype ι] {e : ι → ℝ} {a₀ b₀ a₁ ρ β : ℝ} (hβ : 0 ≤ β) (h : LowSpectrum e a₀ b₀ a₁ ρ) :
    Real.exp (-(β * b₀)) ≤ ∑ i : ι, Real.exp (-(β * e i))
    theorem SeedKernel.Ising.sum_exp_le {ι : Type u_1} [Fintype ι] {e : ι → ℝ} {a₀ b₀ a₁ ρ β : ℝ} (hβ : 0 ≤ β) (h : LowSpectrum e a₀ b₀ a₁ ρ) :
    ∑ i : ι, Real.exp (-(β * e i)) ≤ Real.exp (-(β * a₀)) + Real.exp (-(β * a₁)) + ↑(Fintype.card ι) * Real.exp (-(β * ρ))

    The low spectrum of a ring from the kernel checks #

    @[reducible, inline]

    The model of the first grid point.

    Equations
    Instances For
      noncomputable def SeedKernel.Ising.rad :

      The eigenvalue radius certified by the residual checks.

      Equations
      Instances For
        theorem SeedKernel.Ising.natAbs_le_real {x : ℤ} {k c : ℕ} (h : x.natAbs * k ≤ c) :
        |↑x| * ↑k ≤ ↑c
        theorem SeedKernel.Ising.exists_near_of_check {L : ℕ} (v : ℕ) (lam : ℤ) (R : ℕ) (hdot : |↑(dot L v v) - ↑scale ^ 2| * 10 ^ 12 ≤ ↑scale ^ 2) (hres : residualSq L v lam ≤ R) (hR : ↑R * 10 ^ 18 ≤ ↑scale ^ 4) :
        ∃ (i : Fin L → Fin 2), |isingModel.spectrum L i - ↑lam / (20 * ↑scale)| ≤ rad

        A residual check gives an eigenvalue within rad of lam / (20 S).

        theorem SeedKernel.Ising.card_low_le {L : ℕ} (cut : ℤ) (hcount : classicalCount L cut = 2) :
        {i : Fin L → Fin 2 | isingModel.spectrum L i < ↑cut / 20 - ↑L / 4}.card ≤ 2

        The classical count bounds the number of eigenvalues below ρ = cut / 20 - L / 4: the form of H is at least that of the classical energies shifted by -L/4 (re_quadratic_ge), so counting by vanishing coordinates applies to the configurations below the cut.

        theorem SeedKernel.Ising.lowSpectrum_of_checks {L : ℕ} (u v : ℕ) (a b cut : ℤ) (R : ℕ) (hdu : |↑(dot L u u) - ↑scale ^ 2| * 10 ^ 12 ≤ ↑scale ^ 2) (hdv : |↑(dot L v v) - ↑scale ^ 2| * 10 ^ 12 ≤ ↑scale ^ 2) (hres : residualSq L u a + residualSq L v b ≤ R) (hR : ↑R * 10 ^ 18 ≤ ↑scale ^ 4) (hab : ↑a / (20 * ↑scale) + 2 * rad < ↑b / (20 * ↑scale) - 0) (hbρ : ↑b / (20 * ↑scale) + rad < ↑cut / 20 - ↑L / 4) (hcount : classicalCount L cut = 2) :
        LowSpectrum (isingModel.spectrum L) (↑a / (20 * ↑scale) - rad) (↑a / (20 * ↑scale) + rad) (↑b / (20 * ↑scale) - rad) (↑cut / 20 - ↑L / 4)

        The low spectrum of a ring from two residual checks and a classical count.

        The two rings #

        theorem SeedKernel.Ising.chunkStats_eq_sum (n u v : ℕ) (a b : ℤ) (start count : ℕ) :
        chunkStats n u v a b start count = ∑ i ∈ Finset.range count, (entry u (start + i) * entry u (start + i), entry v (start + i) * entry v (start + i), entry u (start + i) * entry v (start + i), (scale * applyH n u (start + i) - a * entry u (start + i)).natAbs ^ 2, (scale * applyH n v (start + i) - b * entry v (start + i)).natAbs ^ 2)
        theorem SeedKernel.Ising.sum_blocks {M : Type u_1} [AddCommMonoid M] (F : ℕ → M) (c k : ℕ) :
        ∑ b ∈ Finset.range k, ∑ i ∈ Finset.range c, F (c * b + i) = ∑ s ∈ Finset.range (c * k), F s
        theorem SeedKernel.Ising.sumStats_chunks (n u v : ℕ) (a b : ℤ) (c k : ℕ) (hck : c * k = 2 ^ n) :
        sumStats (List.map (fun (i : ℕ) => chunkStats n u v a b (c * i) c) (List.range k)) = (dot n u u, dot n v v, dot n u v, residualSq n u a, residualSq n v b)

        Chunked checks are the whole-ring sums: k blocks of c consecutive basis states, c k = 2ⁿ. Proved for symbolic vectors so that the kernel never unfolds the concrete witnesses.

        theorem SeedKernel.Ising.dot_real_bound {L u : ℕ} (h : (dot L u u - scale ^ 2).natAbs * 10 ^ 12 ≤ (scale ^ 2).toNat) :
        |↑(dot L u u) - ↑scale ^ 2| * 10 ^ 12 ≤ ↑scale ^ 2
        theorem SeedKernel.Ising.res_real_bound {R : ℕ} (h : R * 10 ^ 18 ≤ (scale ^ 4).toNat) :
        ↑R * 10 ^ 18 ≤ ↑scale ^ 4
        theorem SeedKernel.Ising.lowSpectrum6 :
        LowSpectrum (isingModel.spectrum 6) (↑lam6_1 / (20 * ↑scale) - rad) (↑lam6_1 / (20 * ↑scale) + rad) (↑lam6_2 / (20 * ↑scale) - rad) (↑(-74 + 5 * 6) / 20 - ↑6 / 4)

        The six-site ring of the first grid point.

        theorem SeedKernel.Ising.goodStats_spec {a b c : ℤ} {d e : ℕ} (h : goodStats (a, b, c, d, e) = true) :
        (a - scale ^ 2).natAbs * 10 ^ 12 ≤ (scale ^ 2).toNat ∧ (b - scale ^ 2).natAbs * 10 ^ 12 ≤ (scale ^ 2).toNat ∧ (d + e) * 10 ^ 18 ≤ (scale ^ 4).toNat

        What goodStats asserts, for any statistics (no concrete sums are unfolded).

        The checked statistics of the 12-site ring, unpacked.

        theorem SeedKernel.Ising.lowSpectrum12 :
        LowSpectrum (isingModel.spectrum 12) (↑lam12_1 / (20 * ↑scale) - rad) (↑lam12_1 / (20 * ↑scale) + rad) (↑lam12_2 / (20 * ↑scale) - rad) (↑(-230 + 5 * 12) / 20 - ↑12 / 4)

        The twelve-site ring of the first grid point.

        The seed inequalities #

        theorem SeedKernel.Ising.exp_neg_fourteen_le :
        Real.exp (-14) ≤ 1 / 2.7182818283 ^ 14
        theorem SeedKernel.Ising.partition_upper {L : ℕ} {a₀ b₀ a₁ ρ β : ℝ} (hβ : 0 ≤ β) (h : LowSpectrum (isingModel.spectrum L) a₀ b₀ a₁ ρ) :
        isingModel.partitionFunction L β ≤ Real.exp (-(β * a₀)) * (1 + (Real.exp (-(β * (a₁ - a₀))) + 2 ^ L * Real.exp (-(β * (ρ - a₀)))))

        Z ≤ A (1 + T) with A = e^{-β a₀} and T bounded by powers of e^{-14}.

        theorem SeedKernel.Ising.partition_lower {L : ℕ} {a₀ b₀ a₁ ρ β : ℝ} (hβ : 0 ≤ β) (h : LowSpectrum (isingModel.spectrum L) a₀ b₀ a₁ ρ) :
        theorem SeedKernel.Ising.ratio_ge {Z₁ Z₂ A x T t : ℝ} (hA : 0 < A) (hZ₁ : 0 < Z₁) (h₁ : Z₁ ≤ A * (1 + T)) (h₂ : A ^ 2 * Real.exp (-x) ≤ Z₂) (hT : 0 ≤ T) (hTt : T ≤ t) :
        (1 - x) / (1 + t) ^ 2 ≤ Z₂ / Z₁ ^ 2

        The ratio step: from Z₂ ≥ A² e^{-x}, Z₁ ≤ A (1 + T), T ≤ t to Z₂ / Z₁² ≥ (1-x)/(1+t)².

        The spatial seed of the first grid point, unconditionally.

        The thermal seed of the first grid point, unconditionally.

        @[reducible, inline]

        The first of the thirty grid points of IsingLongitudinal.points.

        Equations
        Instances For

          The first grid point lies in IsingLongitudinal.points.

          An unconditional spectral gap. The Ising chain -∑ ZZ - (1/4) ∑ X - (1/20) ∑ Z: every even ring of L ≥ 6 sites has a unique ground state and gap Δ_L > log 13480 / (97/4) (≈ 0.3921). No hypothesis and no sorry: the seed is first_point_seed.

          theorem SeedKernel.Ising.ising_gap {L : ℕ} (hL : 6 ≤ L) (hLe : Even L) :

          The same theorem with the numbers written out.