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.
inductive type OAI.MatrixMultiplication.Arithmetic.Gate line 13
inductive Gate (F Input Register : Type*) where | constant : F → Gate F Input Register | input : Input → Gate F Input Register | add : Register → Register → Gate F Input Register | sub : Register → Register → Gate F Input Register | mul : Register → Register → Gate F Input Register
definition OAI.MatrixMultiplication.Arithmetic.Gate.eval line 24
def eval [Field F] (inputs : Input → F) (registers : Register → F) : Gate F Input Register → F | .constant z => z | .input i => inputs i | .add i j => registers i + registers j | .sub i j => registers i - registers j | .mul i j => registers i * registers j
definition OAI.MatrixMultiplication.Arithmetic.Gate.cost line 32
def cost : Gate F Input Register → ℕ | .constant _ => 0 | .input _ => 0 | .add _ _ => 1 | .sub _ _ => 1 | .mul _ _ => 1
inductive type OAI.MatrixMultiplication.Arithmetic.Program line 41
inductive Program (F Input : Type*) : ℕ → Type _ where | nil : Program F Input 0 | step {r : ℕ} : Program F Input r → Gate F Input (Fin r) → Program F Input (r + 1)
abbreviation OAI.MatrixMultiplication.Arithmetic.MatrixInput line 60
abbrev MatrixInput (a b c : ℕ) := (Fin a × Fin b) ⊕ (Fin b × Fin c)
structure OAI.MatrixMultiplication.Arithmetic.MatrixAlgorithm line 68
structure MatrixAlgorithm (F : Type*) (a b c : ℕ) where registers : ℕ program : Program F (MatrixInput a b c) registers output : Fin a → Fin c → Fin registers
definition OAI.MatrixMultiplication.Arithmetic.MatrixAlgorithm.Correct line 82
def Correct (P : MatrixAlgorithm F a b c) : Prop := ∀ (A : Matrix (Fin a) (Fin b) F) (B : Matrix (Fin b) (Fin c) F), P.eval A B = A * B
definition OAI.MatrixMultiplication.Arithmetic.AdmissibleExponent line 90
def AdmissibleExponent (F : Type*) [Field F] (τ : ℝ) : Prop := ∀ ε : ℝ, 0 < ε → ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n → ∃ P : MatrixAlgorithm F n n n, P.Correct ∧ (P.cost : ℝ) ≤ C * (n : ℝ) ^ (τ + ε)
definition OAI.MatrixMultiplication.Arithmetic.omega line 95
def omega (F : Type*) [Field F] : ℝ := sInf {τ : ℝ | AdmissibleExponent F τ}
definition OAI.MatrixMultiplication.Arithmetic.innerSize line 98
def innerSize (n : ℕ) (k : ℝ) : ℕ := ⌈(n : ℝ) ^ k⌉₊
definition OAI.MatrixMultiplication.Arithmetic.RectangularAdmissibleExponent line 100
def RectangularAdmissibleExponent (F : Type*) [Field F] (k τ : ℝ) : Prop := ∀ ε : ℝ, 0 < ε → ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n → ∃ P : MatrixAlgorithm F n (innerSize n k) n, P.Correct ∧ (P.cost : ℝ) ≤ C * (n : ℝ) ^ (τ + ε)
definition OAI.MatrixMultiplication.Arithmetic.rectangularOmega line 105
def rectangularOmega (F : Type*) [Field F] (k : ℝ) : ℝ := sInf {τ : ℝ | RectangularAdmissibleExponent F k τ}
definition OAI.MatrixMultiplication.Arithmetic.complexAlpha line 109
def complexAlpha : ℝ := sSup {k : ℝ | k ∈ Set.Icc 0 1 ∧ rectangularOmega ℂ k = 2}