Local definitions the statement names, followed through the definitions they name in turn. The match is by name in the source text, so a name reached only through notation can be missed; the full file is below.
definition OAI.TotientAsymptotic.IsTotient line 13
def IsTotient (v : ℕ) : Prop := ∃ n : ℕ, 0 < n ∧ n.totient = v
definition OAI.TotientAsymptotic.V line 15
def V (x : ℝ) : ℝ := by classical exact (((Finset.Icc 1 ⌊x⌋₊).filter IsTotient).card : ℝ)
definition OAI.TotientAsymptotic.ell line 19
def ell (v : ℕ) : ℕ := by classical exact if h : IsTotient v then Nat.find h else 0
definition OAI.TotientAsymptotic.a line 23
def a (j : ℕ) : ℝ := (j + 1 : ℝ) * Real.log (j + 1) - j * Real.log j - 1
definition OAI.TotientAsymptotic.RenewalRootSet line 25
def RenewalRootSet : Set ℝ := {z | 0 < z ∧ z < 1 ∧ (∑' j : ℕ, a (j+1) * z^(j+1)) = 1}
definition OAI.TotientAsymptotic.rho line 28
def rho : ℝ := sInf RenewalRootSet
definition OAI.TotientAsymptotic.lam line 30
def lam : ℝ := Real.log (1 / rho)
definition OAI.TotientAsymptotic.gamma line 32
def gamma : ℝ := (∑' j : ℕ, (j+1 : ℝ) * a (j+1) * rho^(j+1))⁻¹
definition OAI.TotientAsymptotic.g line 34
def g : ℕ → ℝ | 0 => 1 | n+1 => ∑ d ∈ Finset.range (n+1), a (d+1) * g (n-d)termination_by n => n
definition OAI.TotientAsymptotic.B line 39
def B (x : ℝ) : ℝ := Real.log (Real.log x)
definition OAI.TotientAsymptotic.psi line 40
def psi (b : ℝ) : ℝ := (Real.log b - Real.log (Real.log b)) / lam
definition OAI.TotientAsymptotic.m line 42
def m (x : ℝ) : ℕ := ⌊psi (B x)⌋₊
definition OAI.TotientAsymptotic.theta line 43
def theta (x : ℝ) : ℝ := psi (B x) - m x
definition OAI.TotientAsymptotic.G line 45
def G (x : ℝ) (j : ℕ) : ℝ := (B x)^j / ((Nat.factorial j : ℝ) * ∏ i ∈ Finset.Icc 1 j, g i)
definition OAI.TotientAsymptotic.P line 48
def P (H : ℕ) : ℕ := ⌊Real.log (Real.log (H : ℝ))⌋₊
definition OAI.TotientAsymptotic.alpha line 49
def alpha (s : ℝ) : ℝ := lam * Real.exp (lam * s)
definition OAI.TotientAsymptotic.largestPrimeFactor line 51
def largestPrimeFactor (n : ℕ) : ℕ := max 1 (n.primeFactors.sup id)
structure OAI.TotientAsymptotic.TailDatum line 53
structure TailDatum (H : ℕ) where Q : Fin H → ℕ cofactor : ℕ
definition OAI.TotientAsymptotic.tailPrime line 57
def tailPrime {H : ℕ} (η : TailDatum H) (h : ℕ) : ℕ := if hH : h < H then η.Q ⟨h, hH⟩ else 1
definition OAI.TotientAsymptotic.tailLog line 60
def tailLog {H : ℕ} (η : TailDatum H) (h : ℕ) : ℝ := Real.log (Real.log (tailPrime η h : ℝ))
definition OAI.TotientAsymptotic.IsWitness line 63
def IsWitness (H : ℕ) (s : ℝ) (η : TailDatum H) : Prop :=
Show the remaining 10 lines
(∀ h : Fin H, h.val < P H → η.Q h = 1) ∧ 0 < η.cofactor ∧ (∀ h ∈ Finset.Ico (P H) H, (tailPrime η h).Prime ∧ (9 / 10 : ℝ) * alpha s * h * (rho^h)⁻¹ ≤ tailLog η h ∧ tailLog η h ≤ (11 / 10 : ℝ) * alpha s * h * (rho^h)⁻¹ ∧ (∑ l ∈ Finset.Ico (P H) h, a (h-l) * tailLog η l) ≤ (1 + (1 / 10000 : ℝ) * Real.exp (-(h : ℝ) / 40)) * tailLog η h) ∧ largestPrimeFactor η.cofactor ≤ tailPrime η (P H) ∧ Real.log (η.cofactor : ℝ) ≤ Real.exp (2 * alpha s * (P H : ℝ) * (rho^(P H))⁻¹)
definition OAI.TotientAsymptotic.w line 75
def w {H : ℕ} (η : TailDatum H) : ℕ := η.cofactor * ∏ h ∈ Finset.Ico (P H) H, tailPrime η h
definition OAI.TotientAsymptotic.witnesses line 78
def witnesses (H : ℕ) (s : ℝ) (d : ℕ) : Set (TailDatum H) := {η | IsWitness H s η ∧ (w η).totient = d}
definition OAI.TotientAsymptotic.D line 81
def D {H : ℕ} (h : ℕ) (η : TailDatum H) : ℝ := ∑ l ∈ Finset.Ico (P H) H, a (h-l) * tailLog η l
8 more definitions are reached the same way; the full file lists them.