The lines of the Lean statement that state the theorem, then the definitions in the file that it uses.
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.
abbreviation OAI.Problem336.GraphCode line 12
abbrev GraphCode := {a : ℕ → ℕ → Bool // (∀ u, a u u = false) ∧ (∀ u v, a u v = a v u)}
abbreviation OAI.Problem336.EdgeCode line 16
abbrev EdgeCode := {p : ℕ × ℕ // p.1 < p.2}
abbreviation OAI.Problem336.EdgeConfiguration line 18
abbrev EdgeConfiguration := EdgeCode → Bool
abbreviation OAI.Problem336.FactorRule line 20
abbrev FactorRule := GraphCode → (ℕ → ℝ) → EdgeCode → Bool
abbreviation OAI.Problem336.FiniteSubgraphCode line 22
abbrev FiniteSubgraphCode := Finset ℕ × Finset (ℕ × ℕ)
definition OAI.Problem336.Adj line 24
def Adj (G : GraphCode) (u v : ℕ) : Prop := G.1 u v = true
definition OAI.Problem336.GraphConnected line 26
def GraphConnected (G : GraphCode) : Prop := ∀ u v, Relation.ReflTransGen (fun x y => Adj G x y) u v
definition OAI.Problem336.GraphLocallyFinite line 29
def GraphLocallyFinite (G : GraphCode) : Prop := ∀ u, Set.Finite {v : ℕ | Adj G u v}
definition OAI.Problem336.mkEdge line 32
def mkEdge (u v : ℕ) (h : u ≠ v) : EdgeCode := by by_cases huv : u < v · exact ⟨(u, v), huv⟩ · exact ⟨(v, u), lt_of_le_of_ne (Nat.le_of_not_gt huv) (Ne.symm h)⟩
definition OAI.Problem336.rawPair line 37
def rawPair (u v : ℕ) : ℕ × ℕ := if u < v then (u, v) else (v, u)
definition OAI.Problem336.relabelGraph line 40
def relabelGraph (σ : Equiv ℕ ℕ) (G : GraphCode) : GraphCode := ⟨fun u v => G.1 (σ.symm u) (σ.symm v), by constructor · intro u exact G.2.1 (σ.symm u) · intro u v exact G.2.2 (σ.symm u) (σ.symm v)⟩
definition OAI.Problem336.relabelLabels line 48
def relabelLabels (σ : Equiv ℕ ℕ) (U : ℕ → ℝ) : ℕ → ℝ := fun u => U (σ.symm u)
definition OAI.Problem336.mapEdge line 51
def mapEdge (σ : Equiv ℕ ℕ) (e : EdgeCode) : EdgeCode := mkEdge (σ e.1.1) (σ e.1.2) (by intro h apply Nat.ne_of_lt e.2 exact σ.injective h)
definition OAI.Problem336.RuleBorel line 57
def RuleBorel (Phi : FactorRule) : Prop := Measurable (fun q : GraphCode × ((ℕ → ℝ) × EdgeCode) => Phi q.1 q.2.1 q.2.2)
definition OAI.Problem336.RuleEquivariant line 62
def RuleEquivariant (Phi : FactorRule) : Prop := ∀ (σ : Equiv ℕ ℕ) (G : GraphCode) (U : ℕ → ℝ) (e : EdgeCode), Phi (relabelGraph σ G) (relabelLabels σ U) (mapEdge σ e) = Phi G U e
definition OAI.Problem336.TreeAdj line 67
def TreeAdj (T : Finset (ℕ × ℕ)) (u v : ℕ) : Prop := rawPair u v ∈ T
definition OAI.Problem336.SubgraphAdj line 70
def SubgraphAdj (K : FiniteSubgraphCode) (u v : ℕ) : Prop := u ∈ K.1 ∧ v ∈ K.1 ∧ rawPair u v ∈ K.2
definition OAI.Problem336.TreeOn line 73
def TreeOn (K : FiniteSubgraphCode) (T : Finset (ℕ × ℕ)) : Prop := T ⊆ K.2 ∧ T.card + 1 = K.1.card ∧ ∀ u ∈ K.1, ∀ v ∈ K.1, Relation.ReflTransGen (TreeAdj T) u v
definition OAI.Problem336.spanningTrees line 80
def spanningTrees (K : FiniteSubgraphCode) : Finset (Finset (ℕ × ℕ)) := by classical exact K.2.powerset.filter (TreeOn K)
definition OAI.Problem336.ustCylinder line 85
def ustCylinder (K : FiniteSubgraphCode) (A B : Finset EdgeCode) : ℝ≥0∞ := by classical let all := spanningTrees K let good := all.filter (fun T => (∀ e ∈ A, e.1 ∈ T) ∧ (∀ e ∈ B, e.1 ∉ T)) exact (good.card : ℝ≥0∞) / (all.card : ℝ≥0∞)
definition OAI.Problem336.IsFiniteConnectedSubgraph line 93
def IsFiniteConnectedSubgraph (G : GraphCode) (K : FiniteSubgraphCode) : Prop := K.1.Nonempty ∧ (∀ p ∈ K.2, p.1 ∈ K.1 ∧ p.2 ∈ K.1 ∧ p.1 < p.2 ∧ Adj G p.1 p.2) ∧ ∀ u ∈ K.1, ∀ v ∈ K.1, Relation.ReflTransGen (SubgraphAdj K) u v
definition OAI.Problem336.IsConnectedExhaustion line 101
def IsConnectedExhaustion (G : GraphCode) (H : ℕ → FiniteSubgraphCode) : Prop := (∀ n, IsFiniteConnectedSubgraph G (H n)) ∧ (∀ n, (H n).1 ⊆ (H (n + 1)).1 ∧ (H n).2 ⊆ (H (n + 1)).2) ∧ (∀ u v, u < v → Adj G u v → ∃ n, (u, v) ∈ (H n).2)
definition OAI.Problem336.uniform01 line 109
def uniform01 : Measure ℝ := volume.restrict (Set.Icc (0 : ℝ) 1)
definition OAI.Problem336.IsVertexIID line 112
def IsVertexIID {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) (U : ℕ → Ω → ℝ) : Prop := (∀ i, Measurable (U i)) ∧ ∀ (s : Finset ℕ) (A : ℕ → Set ℝ), (∀ i ∈ s, MeasurableSet (A i)) → P {ω | ∀ i ∈ s, U i ω ∈ A i} = Finset.prod s (fun i => uniform01 (A i))
2 more definitions are reached the same way; the full file lists them.