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.PlanarFPP.Vertex line 18
abbrev Vertex := ℤ × ℤ
abbreviation OAI.PlanarFPP.Edge line 20
abbrev Edge := Vertex × Bool
inductive type OAI.PlanarFPP.Step line 22
inductive Step where | east | west | north | south deriving DecidableEq
definition OAI.PlanarFPP.Step.delta line 26
def Step.delta : Step → Vertex | .east => (1, 0) | .west => (-1, 0) | .north => (0, 1) | .south => (0, -1)
definition OAI.PlanarFPP.Step.edge line 32
def Step.edge (p : Vertex) : Step → Edge | .east => (p, false) | .west => (p + (-1, 0), false) | .north => (p, true) | .south => (p + (0, -1), true)
definition OAI.PlanarFPP.displacement line 38
def displacement (ds : List Step) : Vertex := (ds.map Step.delta).sum
definition OAI.PlanarFPP.pathCost line 40
def pathCost (τ : Edge → ℝ) (p : Vertex) : List Step → ℝ | [] => 0 | d :: ds => τ (d.edge p) + pathCost τ (p + d.delta) ds
abbreviation OAI.PlanarFPP.Plane line 44
abbrev Plane := EuclideanSpace ℝ (Fin 2)
definition OAI.PlanarFPP.latticeFloor line 46
noncomputable def latticeFloor (v : Plane) : Vertex := (⌊v 0⌋, ⌊v 1⌋)
definition OAI.PlanarFPP.passageTime line 48
noncomputable def passageTime (τ : Edge → ℝ) (p q : Vertex) : ℝ := sInf {t | ∃ ds : List Step, p + displacement ds = q ∧ pathCost τ p ds = t}
structure OAI.PlanarFPP.TimeConstantNorm line 51
structure TimeConstantNorm (μ : Plane → ℝ) : Prop where nonneg : ∀ v, 0 ≤ μ v zero_iff : ∀ v, μ v = 0 ↔ v = 0 triangle : ∀ v w, μ (v + w) ≤ μ v + μ w homogeneous : ∀ (a : ℝ) v, μ (a • v) = |a| * μ v
structure OAI.PlanarFPP.ExponentialEnvironment line 57
structure ExponentialEnvironment {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (τ : Edge → Ω → ℝ) : Prop where probability : IsProbabilityMeasure P measurable : ∀ e, Measurable (τ e) independent : iIndepFun τ P marginal : ∀ e, Measure.map (τ e) P = expMeasure 1
definition OAI.PlanarFPP.IsTimeConstant line 64
def IsTimeConstant {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (τ : Edge → Ω → ℝ) (μ : Plane → ℝ) : Prop := ∀ v : Plane, ∀ᵐ ω ∂P, Tendsto (fun t : ℝ => passageTime (fun e => τ e ω) (0, 0) (latticeFloor (t • v)) / t) atTop (𝓝 (μ v))
definition OAI.PlanarFPP.DifferentiableAwayFromOrigin line 70
def DifferentiableAwayFromOrigin (μ : Plane → ℝ) : Prop := ∀ v : Plane, v ≠ 0 → ∃ ℓ : Plane →L[ℝ] ℝ, HasFDerivAt μ ℓ v
definition OAI.PlanarFPP.UniqueNormalizedSupports line 73
def UniqueNormalizedSupports (μ : Plane → ℝ) : Prop := ∀ v : Plane, μ v = 1 → ∃! ℓ : Plane →L[ℝ] ℝ, ℓ v = 1 ∧ ∀ w, ℓ w ≤ μ w
definition OAI.PlanarFPP.C1UnitSphere line 77
def C1UnitSphere (μ : Plane → ℝ) : Prop := ∀ v : Plane, μ v = 1 → ∃ U : Set Plane, IsOpen U ∧ v ∈ U ∧ ∃ g : Plane → ℝ, ContDiffOn ℝ 1 g U ∧ (∀ w ∈ U, μ w = 1 ↔ g w = 0) ∧ ∀ w ∈ U, g w = 0 → ∃ ℓ : Plane →L[ℝ] ℝ, HasFDerivAt g ℓ w ∧ ℓ ≠ 0
definition OAI.PlanarFPP.HasC1CurveChart line 84
def HasC1CurveChart (S : Set Plane) (v : Plane) : Prop := ∃ U : Set Plane, IsOpen U ∧ v ∈ U ∧ v ∈ S ∧ ∃ γ : ℝ → Plane, ∃ θ : Plane → ℝ, ContDiff ℝ 1 γ ∧ ContinuousOn θ U ∧ (∀ t, γ t ∈ S ∩ U) ∧ (∀ t, θ (γ t)=t) ∧ (∀ z ∈ S ∩ U, γ (θ z)=z) ∧ (∀ t, ∃ d : Plane, HasDerivAt γ d t ∧ d ≠ 0)