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.TraceConeClassification.Positive line 12
abbrev Positive := {a : A // 0 ≤ a}
definition OAI.TraceConeClassification.Positive.zero line 16
def zero : Positive A := ⟨0, le_rfl⟩
definition OAI.TraceConeClassification.Positive.add line 17
def add (a b : Positive A) : Positive A := ⟨a.1 + b.1, add_nonneg a.2 b.2⟩
definition OAI.TraceConeClassification.Positive.scale line 18
def scale (r : ℝ≥0) (a : Positive A) : Positive A := ⟨(r : ℝ) • a.1, smul_nonneg r.2 a.2⟩
definition OAI.TraceConeClassification.Positive.starMul line 20
def starMul (x : A) : Positive A := ⟨star x * x, star_mul_self_nonneg x⟩
definition OAI.TraceConeClassification.Positive.mulStar line 21
def mulStar (x : A) : Positive A := ⟨x * star x, mul_star_self_nonneg x⟩
structure OAI.TraceConeClassification.ExtendedTrace line 27
structure ExtendedTrace where toFun : Positive A → ℝ≥0∞ map_zero : toFun Positive.zero = 0 map_add : ∀ a b, toFun (Positive.add a b) = toFun a + toFun b map_scale : ∀ (r : ℝ≥0), 0 < r → ∀ a, toFun (Positive.scale r a) = (r : ℝ≥0∞) * toFun a tracial : ∀ x : A, toFun (Positive.starMul x) = toFun (Positive.mulStar x) lowerSemicontinuous : LowerSemicontinuous toFun
definition OAI.TraceConeClassification.ExtendedTrace.finiteSquareSet line 70
def finiteSquareSet : Set A := {x | τ (Positive.starMul x) < ∞}
definition OAI.TraceConeClassification.ExtendedTrace.finiteSquareAlgebra line 82
def finiteSquareAlgebra : NonUnitalStarSubalgebra ℂ A where carrier := τ.finiteSquareSet zero_mem' := τ.zero_mem_finiteSquareSet add_mem' := τ.add_mem_finiteSquareSet smul_mem' := τ.smul_mem_finiteSquareSet mul_mem' := fun _ hy => τ.mul_mem_finiteSquareSet_left _ hy star_mem' := τ.star_mem_finiteSquareSet
definition OAI.TraceConeClassification.ExtendedTrace.finiteIdeal line 90
def finiteIdeal : NonUnitalStarSubalgebra ℂ A := τ.finiteSquareAlgebra.topologicalClosure
definition OAI.TraceConeClassification.ClosedIdeal line 123
def ClosedIdeal (A : Type u) [NonUnitalCStarAlgebra A] [PartialOrder A] [StarOrderedRing A] := {I : NonUnitalStarSubalgebra ℂ A // IsClosed (I : Set A) ∧ (∀ (x y : A), y ∈ I → x * y ∈ I) ∧ (∀ (x y : A), x ∈ I → x * y ∈ I)}
definition OAI.TraceConeClassification.ExtendedTrace.finIdeal line 130
def finIdeal (τ : ExtendedTrace A) : ClosedIdeal A := ⟨τ.finiteIdeal, τ.isClosed_finiteIdeal, fun x _ hy => τ.mul_mem_finiteIdeal_left x hy, fun _ y hx => τ.mul_mem_finiteIdeal_right hx y⟩
definition OAI.TraceConeClassification.ExtendedTrace.supportWeight line 137
def supportWeight (τ : ExtendedTrace A) : ExtendedTrace A where
Show the remaining 10 lines
toFun a := if τ a = 0 then 0 else ∞ map_zero := by simp [τ.map_zero] map_add a b := by rw [τ.map_add] by_cases ha : τ a = 0 <;> by_cases hb : τ b = 0 <;> simp [ha, hb] map_scale r hr a := by rw [τ.map_scale r hr] by_cases ha : τ a = 0 <;> simp [ha, ENNReal.coe_ne_zero.mpr hr.ne'] tracial x := by rw [τ.tracial x] lowerSemicontinuous := τ.lowerSemicontinuous_supportWeight
definition OAI.TraceConeClassification.ExtendedTrace.zeroIdeal line 149
def zeroIdeal (τ : ExtendedTrace A) : ClosedIdeal A := τ.supportWeight.finIdeal
definition OAI.TraceConeClassification.ClosedIdeal.weight line 155
def weight (I : ClosedIdeal A) : ExtendedTrace A := (closed_ideal_weight_exists I.1 I.2.1 I.2.2.1 I.2.2.2).choose
definition OAI.TraceConeClassification.IdempotentTrace line 168
def IdempotentTrace (A : Type u) [NonUnitalCStarAlgebra A] [PartialOrder A] [StarOrderedRing A] := {τ : ExtendedTrace A // τ.add τ = τ}
definition OAI.TraceConeClassification.closedIdealEquivIdempotent line 171
def closedIdealEquivIdempotent : ClosedIdeal A ≃ IdempotentTrace A where toFun I := ⟨I.weight, I.weight_idempotent⟩ invFun τ := τ.1.finIdeal left_inv I := Subtype.ext (ClosedIdeal.finiteIdeal_weight I) right_inv τ := Subtype.ext (ExtendedTrace.idempotent_eq_weight τ.2)
definition OAI.TraceConeClassification.idempotentTraceEquiv line 179
def idempotentTraceEquiv (e : ExtendedTrace A ≃ ExtendedTrace B) (he : ∀ τ σ, e (τ.add σ) = (e τ).add (e σ)) : IdempotentTrace A ≃ IdempotentTrace B where toFun τ := ⟨e τ.1, by rw [← he, τ.2]⟩ invFun σ := ⟨e.symm σ.1, by apply e.injective rw [he, e.apply_symm_apply, σ.2]⟩ left_inv τ := Subtype.ext (e.symm_apply_apply τ.1) right_inv σ := Subtype.ext (e.apply_symm_apply σ.1)
definition OAI.TraceConeClassification.closedIdealEquivOfAdditive line 188
def closedIdealEquivOfAdditive (e : ExtendedTrace A ≃ ExtendedTrace B) (he : ∀ τ σ, e (τ.add σ) = (e τ).add (e σ)) : ClosedIdeal A ≃ ClosedIdeal B := closedIdealEquivIdempotent.trans ((idempotentTraceEquiv e he).trans closedIdealEquivIdempotent.symm)
definition OAI.TraceConeClassification.closedIdealOrderEquivOfAdditive line 197
def closedIdealOrderEquivOfAdditive (e : ExtendedTrace A ≃ ExtendedTrace B) (he : ∀ τ σ, e (τ.add σ) = (e τ).add (e σ)) : ClosedIdeal A ≃o ClosedIdeal B where toEquiv := closedIdealEquivOfAdditive e he map_rel_iff' := by intro I J rw [ClosedIdeal.le_iff_add_weight, ClosedIdeal.le_iff_add_weight, closedIdealEquivOfAdditive_weight, closedIdealEquivOfAdditive_weight, ← he] exact e.injective.eq_iff
definition OAI.TraceConeClassification.TraceConeEquiv.idealOrderIso line 222
def idealOrderIso : ClosedIdeal A ≃o ClosedIdeal B := closedIdealOrderEquivOfAdditive F.toEquiv F.map_add