Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

't Hooft 1993: cubic lattice, staircase (14), plaquette relations (12), linear rules (17)

Definition
HooftDimReduction_Defs

by LG · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

cellular-automatamathematical-physics

Definitions for the cellular-automaton model of 't Hooft's essay Dimensional Reduction in Quantum Gravity (Section on Fig. 1, eqs. (12)–(19)).

  1. Sites: the lattice Z3\mathbb Z^3Z3 with unit vectors e1=(1,0,0)e^1=(1,0,0)e1=(1,0,0), e2=(0,1,0)e^2=(0,1,0)e2=(0,1,0), e3=(0,0,1)e^3=(0,0,1)e3=(0,0,1).
  2. Staircase x(n)x(n)x(n), n∈Zn\in\mathbb Zn∈Z, starting at x(0)=x0x(0)=x_0x(0)=x0​ (eq. (14)):
x(3q)=x0+q (e1−e2+e3),x(3q+1)=x(3q)+e1,x(3q+2)=x(3q)+e1−e2.x(3q)=x_0+q\,(e^1-e^2+e^3),\quad x(3q+1)=x(3q)+e^1,\quad x(3q+2)=x(3q)+e^1-e^2 .x(3q)=x0​+q(e1−e2+e3),x(3q+1)=x(3q)+e1,x(3q+2)=x(3q)+e1−e2.
  1. Plaquettes: for a lowest corner xxx and an orientation spanned by (u,v)∈{(e1,e2),(e1,e3),(e2,e3)}(u,v)\in\{(e^1,e^2),(e^1,e^3),(e^2,e^3)\}(u,v)∈{(e1,e2),(e1,e3),(e2,e3)}, the corners in cyclic order x, x+u, x+u+v, x+vx,\,x+u,\,x+u+v,\,x+vx,x+u,x+u+v,x+v.
  2. Plaquette rule: a map g:(Z/p)4→Z/pg:(\mathbb Z/p)^4\to\mathbb Z/pg:(Z/p)4→Z/p such that for every slot iii and every values of the other three entries there is exactly one value of the iii-th entry with g=0g=0g=0.
  3. Satisfying the rules: f:Z3→Z/pf:\mathbb Z^3\to\mathbb Z/pf:Z3→Z/p satisfies a family gx,Pg_{x,P}gx,P​ if gx,Pg_{x,P}gx,P​ vanishes on the corner values of every plaquette (x,P)(x,P)(x,P).
  4. Cube faces in the order (12a–f): ABCDABCDABCD, EFGHEFGHEFGH, ABFEABFEABFE, DCGHDCGHDCGH, ADHEADHEADHE, BCGFBCGFBCGF with A=xA=xA=x, B=x+e1B=x+e^1B=x+e1, D=x+e2D=x+e^2D=x+e2, E=x+e3E=x+e^3E=x+e3.
  5. Linear rule (eq. (17)): g(f)=∑j=14ajfj+bg(f)=\sum_{j=1}^4 a_j f_j+bg(f)=∑j=14​aj​fj​+b.
  6. Cube consistency (eq. (16)): for all f(A),f(B),f(D),f(E)f(A),f(B),f(D),f(E)f(A),f(B),f(D),f(E) there are data on Z3\mathbb Z^3Z3 with these values at 0,e1,e2,e30,e^1,e^2,e^30,e1,e2,e3 that satisfy the six face relations of the unit cube at the origin.
  7. Alternating rule: g(f)=f1−f2+f3−f4g(f)=f_1-f_2+f_3-f_4g(f)=f1​−f2​+f3​−f4​.

These are shared by all statements of the mission.

Formalization Note Integer division and remainder in the staircase are Euclidean (remainder in {0,1,2}\{0,1,2\}{0,1,2}), so the formula is valid for negative nnn as well.

Definition code
import Mathlib

namespace HooftDimReduction

/-- Sites of the rectangular lattice `ℤ³`, with coordinates `(x₁, x₂, x₃)`. -/
abbrev Site := ℤ × ℤ × ℤ

/-- The unit vector `e¹` of the lattice. -/
def e1 : Site := (1, 0, 0)
/-- The unit vector `e²` of the lattice. -/
def e2 : Site := (0, 1, 0)
/-- The unit vector `e³` of the lattice. -/
def e3 : Site := (0, 0, 1)

/-- The staircase series of points `x(n)`, `n ∈ ℤ`, of eq. (14), starting at `x(0) = x₀`:
`x(3n+1) = x(3n) + e¹`, `x(3n+2) = x(3n+1) - e²`, `x(3n+3) = x(3n+2) + e³`. -/
def staircase (x₀ : Site) (n : ℤ) : Site :=
  x₀ + (n / 3) • (e1 - e2 + e3) +
    (if n % 3 = 0 then 0 else if n % 3 = 1 then e1 else e1 - e2)

/-- The three orientations of an elementary plaquette: parallel to the `x₁x₂`, `x₁x₃`
or `x₂x₃` coordinate plane. -/
inductive Plane
  | p12
  | p13
  | p23
  deriving DecidableEq

/-- The two lattice directions `(u, v)` spanning a plaquette of the given orientation. -/
def Plane.dirs : Plane → Site × Site
  | .p12 => (e1, e2)
  | .p13 => (e1, e3)
  | .p23 => (e2, e3)

/-- The four corners of the plaquette with lowest corner `x` and orientation `P`, listed in
cyclic order `x, x + u, x + u + v, x + v` (this is the order of the arguments in eqs. (12a–f)). -/
def plaquette (x : Site) (P : Plane) : Fin 4 → Site :=
  ![x, x + P.dirs.1, x + P.dirs.1 + P.dirs.2, x + P.dirs.2]

/-- A plaquette relation `g(f₁, f₂, f₃, f₄) = 0` on data modulo `p` such that, whenever three of
the four entries are given, the fourth is uniquely determined. -/
def IsPlaquetteRule {p : ℕ} (g : (Fin 4 → ZMod p) → ZMod p) : Prop :=
  ∀ (i : Fin 4) (w : Fin 4 → ZMod p), ∃! a : ZMod p, g (Function.update w i a) = 0

/-- The lattice data `f : ℤ³ → ℤ/p` satisfy the plaquette relation `g x P` on every plaquette
`(x, P)` of the lattice. -/
def SatisfiesRules {p : ℕ} (g : Site → Plane → (Fin 4 → ZMod p) → ZMod p)
    (f : Site → ZMod p) : Prop :=
  ∀ (x : Site) (P : Plane), g x P (fun i => f (plaquette x P i)) = 0

/-- The six faces of the unit cube with lowest corner `x`, in the order of eqs. (12a–f):
`(a) ABCD, (b) EFGH, (c) ABFE, (d) DCGH, (e) ADHE, (f) BCGF`, where `A = x`, `B = x + e¹`,
`D = x + e²`, `E = x + e³`. Each face is given by its lowest corner and its orientation. -/
def cubeFace (x : Site) : Fin 6 → Site × Plane :=
  ![(x, .p12), (x + e3, .p12), (x, .p13), (x + e2, .p13), (x, .p23), (x + e1, .p23)]

/-- A linear plaquette relation modulo `p`, as in eq. (17): `g(f) = ∑ⱼ aⱼ fⱼ + b`. -/
def linearRule {p : ℕ} (a : Fin 4 → ZMod p) (b : ZMod p) : (Fin 4 → ZMod p) → ZMod p :=
  fun w => ∑ j, a j * w j + b

/-- Consistency ("commutation") of six plaquette relations on the unit cube, eq. (16): for every
choice of the free data `f(A), f(B), f(D), f(E)` there are data on the eight corners of the cube
`[0,1]³` taking these values and satisfying all six face relations `(12a–f)`. -/
def CubeConsistent {p : ℕ} (g : Fin 6 → (Fin 4 → ZMod p) → ZMod p) : Prop :=
  ∀ fA fB fD fE : ZMod p, ∃ f : Site → ZMod p,
    f 0 = fA ∧ f e1 = fB ∧ f e2 = fD ∧ f e3 = fE ∧
    ∀ k : Fin 6, g k (fun i => f (plaquette (cubeFace 0 k).1 (cubeFace 0 k).2 i)) = 0

/-- The alternating linear plaquette relation `f₁ - f₂ + f₃ - f₄ = 0 (mod p)`. -/
def altRule {p : ℕ} : (Fin 4 → ZMod p) → ZMod p :=
  fun w => w 0 - w 1 + w 2 - w 3

end HooftDimReduction
Source
G. 't Hooft, "Dimensional Reduction in Quantum Gravity", essay dedicated to Abdus Salam, Utrecht preprint THU-93/26, arXiv:gr-qc/9310026v2, https://arxiv.org/abs/gr-qc/9310026
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent as the drafter; NON-BLIND

NON-BLIND READ-BACK. This read-back was written by the same agent that drafted these Lean statements, not by an independent blind auditor. The author knew the source paper and the intended meaning while writing it. It is not independent testimony and must not be relied on as such; please compare the Lean code against the source yourself.

The file declares, inside a namespace, the following objects.

Sites and vectors. A site is a triple of integers (x1,x2,x3)∈Z3(x_1,x_2,x_3)\in\mathbb Z^3(x1​,x2​,x3​)∈Z3, with coordinatewise addition and integer scalar multiplication. e1=(1,0,0)e^1=(1,0,0)e1=(1,0,0), e2=(0,1,0)e^2=(0,1,0)e2=(0,1,0), e3=(0,0,1)e^3=(0,0,1)e3=(0,0,1).

Staircase. For x0∈Z3x_0\in\mathbb Z^3x0​∈Z3 and n∈Zn\in\mathbb Zn∈Z, write n=3q+rn=3q+rn=3q+r with q=⌊n/3⌋q=\lfloor n/3\rfloorq=⌊n/3⌋ and r∈{0,1,2}r\in\{0,1,2\}r∈{0,1,2} (Euclidean division). Then

staircase(x0,n)=x0+q (e1−e2+e3)+{0r=0e1r=1e1−e2r=2.\mathrm{staircase}(x_0,n)=x_0+q\,(e^1-e^2+e^3)+\begin{cases}0 & r=0\\ e^1 & r=1\\ e^1-e^2 & r=2.\end{cases}staircase(x0​,n)=x0​+q(e1−e2+e3)+⎩⎨⎧​0e1e1−e2​r=0r=1r=2.​

For example, with x0=0x_0=0x0​=0, n=−3,…,6n=-3,\dots,6n=−3,…,6 give (−1,1,−1),(0,1,−1),(0,0,−1),(0,0,0),(1,0,0),(1,−1,0),(1,−1,1),(2,−1,1),(2,−2,1),(2,−2,2)(-1,1,-1),(0,1,-1),(0,0,-1),(0,0,0),(1,0,0),(1,-1,0),(1,-1,1),(2,-1,1),(2,-2,1),(2,-2,2)(−1,1,−1),(0,1,−1),(0,0,−1),(0,0,0),(1,0,0),(1,−1,0),(1,−1,1),(2,−1,1),(2,−2,1),(2,−2,2).

Orientations. A three-element type of orientations p12,p13,p23p_{12},p_{13},p_{23}p12​,p13​,p23​ with equality decidable, and direction pairs (e1,e2)(e^1,e^2)(e1,e2), (e1,e3)(e^1,e^3)(e1,e3), (e2,e3)(e^2,e^3)(e2,e3) respectively.

Plaquette corners. For a site xxx and an orientation with directions (u,v)(u,v)(u,v), the corners form the 4-tuple (x, x+u, x+u+v, x+v)(x,\ x+u,\ x+u+v,\ x+v)(x, x+u, x+u+v, x+v).

Plaquette rule. For p∈Np\in\mathbb Np∈N, a function g:(Z/pZ)4→Z/pZg:(\mathbb Z/p\mathbb Z)^4\to\mathbb Z/p\mathbb Zg:(Z/pZ)4→Z/pZ is a plaquette rule if, for every index i∈{1,2,3,4}i\in\{1,2,3,4\}i∈{1,2,3,4} and every 4-tuple www, there is exactly one a∈Z/pa\in\mathbb Z/pa∈Z/p such that ggg vanishes on www with its iii-th entry replaced by aaa. For p=0p=0p=0, Z/0Z\mathbb Z/0\mathbb ZZ/0Z is Z\mathbb ZZ. For p=1p=1p=1 the ring has one element, so every ggg is a plaquette rule.

Satisfying rules. Given a family gx,Pg_{x,P}gx,P​ indexed by sites and orientations, f:Z3→Z/pf:\mathbb Z^3\to\mathbb Z/pf:Z3→Z/p satisfies it when gx,P(f(c1),f(c2),f(c3),f(c4))=0g_{x,P}(f(c_1),f(c_2),f(c_3),f(c_4))=0gx,P​(f(c1​),f(c2​),f(c3​),f(c4​))=0 for every site xxx and orientation PPP, where c1,…,c4c_1,\dots,c_4c1​,…,c4​ are the corners of the plaquette (x,P)(x,P)(x,P). No condition on ggg is built into this definition.

Cube faces. For a site xxx, six (site, orientation) pairs in this order: (x,p12)(x,p_{12})(x,p12​), (x+e3,p12)(x+e^3,p_{12})(x+e3,p12​), (x,p13)(x,p_{13})(x,p13​), (x+e2,p13)(x+e^2,p_{13})(x+e2,p13​), (x,p23)(x,p_{23})(x,p23​), (x+e1,p23)(x+e^1,p_{23})(x+e1,p23​).

Linear rule. For a∈(Z/p)4a\in(\mathbb Z/p)^4a∈(Z/p)4 and b∈Z/pb\in\mathbb Z/pb∈Z/p: w↦a1w1+a2w2+a3w3+a4w4+bw\mapsto a_1w_1+a_2w_2+a_3w_3+a_4w_4+bw↦a1​w1​+a2​w2​+a3​w3​+a4​w4​+b.

Cube consistency. Six functions g1,…,g6:(Z/p)4→Z/pg_1,\dots,g_6:(\mathbb Z/p)^4\to\mathbb Z/pg1​,…,g6​:(Z/p)4→Z/p are cube-consistent if for all fA,fB,fD,fE∈Z/pf_A,f_B,f_D,f_E\in\mathbb Z/pfA​,fB​,fD​,fE​∈Z/p there is f:Z3→Z/pf:\mathbb Z^3\to\mathbb Z/pf:Z3→Z/p with f(0)=fAf(0)=f_Af(0)=fA​, f(e1)=fBf(e^1)=f_Bf(e1)=fB​, f(e2)=fDf(e^2)=f_Df(e2)=fD​, f(e3)=fEf(e^3)=f_Ef(e3)=fE​, and, for each kkk, gkg_kgk​ vanishes on the corner values of the kkk-th cube face at the origin. The values of fff away from the eight cube corners are irrelevant.

Alternating rule. w↦w1−w2+w3−w4w\mapsto w_1-w_2+w_3-w_4w↦w1​−w2​+w3​−w4​ in Z/p\mathbb Z/pZ/p.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me