Flux potential and flux vacua count (Bousso–Polchinski model)
Definitiondouglas_flux_vacua_countFor , and a flux vector , the flux potential is (eq. (3.12), with ). The flux vacua count at level is
the cumulative distribution of the number measure of eq. (3.13). (Formally the cardinality is Set.ncard, which is on an infinite set; for the set is finite.)
import Mathlib
namespace DouglasVacua
/-- The flux potential of the Bousso–Polchinski model (Douglas 2003, eq. (3.12)):
for a flux vector `N ∈ ℤ^J` and a constant `c = M_pl^2 / (M^{2p} V_{p+1}^2)`,
`V(N) = c · ∑ᵢ Nᵢ²`. -/
noncomputable def fluxPotential {J : ℕ} (c : ℝ) (N : Fin J → ℤ) : ℝ :=
c * ∑ i, ((N i : ℝ)) ^ 2
/-- The number of flux vectors `N ∈ ℤ^J` whose flux potential is at most `V`,
i.e. the cumulative distribution `∫_{-∞}^{V} dμ` of the measure (3.13) of Douglas 2003. -/
noncomputable def fluxVacuaCount (J : ℕ) (c V : ℝ) : ℕ :=
Set.ncard {N : Fin J → ℤ | fluxPotential c N ≤ V}
end DouglasVacua
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter (non-blind)
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, at the explicit instruction of the proposal owner. It was not produced blind or by an independent auditor, so it must not be treated as independent confirmation of faithfulness.
The file introduces two objects inside the namespace DouglasVacua.
Flux potential. Given a natural number , a real number (no sign condition), and a function , it returns the real number
where each is cast to before squaring. For the sum is empty and the value is .
Flux vacua count. Given and reals , it returns the natural number
where is the cardinality of a set when it is finite and is defined to be when the set is infinite. Edge cases: if and the set is all of , infinite for , so the count is ; if and the set is empty and the count is ; for the only is the empty function, with potential , so the count is if and otherwise.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.