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.
definition OAI.SpinAngle.Specht.cyclic line 16
def cyclic (ρ : Representation ℂ G E) (e : E) : Subrepresentation ρ where
Show the remaining 12 lines
toSubmodule := Submodule.span ℂ (Set.range fun g => ρ g e) apply_mem_toSubmodule g := by intro v hv induction hv using Submodule.span_induction with | mem v hv => obtain ⟨h, rfl⟩ := hv exact Submodule.subset_span ⟨g * h, by simp⟩ | zero => simp | add x y hx hy ihx ihy => simpa using (Submodule.span ℂ (Set.range fun h => ρ h e)).add_mem ihx ihy | smul a x hx ih => simpa using (Submodule.span ℂ (Set.range fun h => ρ h e)).smul_mem a ih
definition OAI.SpinAngle.TensorRep.tensor line 35
def tensor (a : ι → Matrix n n ℂ) : Matrix (ι → n) (ι → n) ℂ := fun x y => ∏ i, a i (x i) (y i)
definition OAI.SpinAngle.TensorRep.action line 89
def action : Matrix n n ℂ →* Module.End ℂ (EuclideanSpace ℂ (ι → n)) where toFun a := Matrix.toEuclideanLin (tensor (fun _ : ι => a)) map_one' := by rw [tensor_one, toEuclideanLin_one (ι := ι)] map_mul' a b := by rw [tensor_mul, toEuclideanLin_mul (ι := ι)]
definition OAI.SpinAngle.TensorRep.rep line 94
def rep : Representation ℂ (Matrix.unitaryGroup n ℂ) (EuclideanSpace ℂ (ι → n)) := action.comp (Matrix.unitaryGroup n ℂ).subtype
definition OAI.SpinAngle.Specht.PermutationSpace.alternator line 130
def alternator (ι : H →* G) (χ : H →* ℂ) : Module.End ℂ (EuclideanSpace ℂ X) := ∑ h, χ h • rep (ι h)omit [Fintype X] in
definition OAI.SpinAngle.Specht.complexSign line 162
def complexSign : Equiv.Perm α →* ℂ where toFun g := ((Equiv.Perm.sign g : ℤˣ) : ℤ) map_one' := by simp map_mul' := by intro g h; simp
abbreviation OAI.SpinAngle.Young.Cells line 174
abbrev Cells (D : YoungDiagram) := {p : ℕ × ℕ // p ∈ D.cells}
definition OAI.SpinAngle.PolynomialCarrier.columnGroup line 208
def columnGroup (D : YoungDiagram) : Subgroup (Equiv.Perm (Cells D)) where carrier := {g | ∀ x, (g x).val.2 = x.val.2} one_mem' := fun _ => rfl mul_mem' := by intro g h hg hh x; exact (hg (h x)).trans (hh x) inv_mem' := by intro g hg x simpa using (hg (g⁻¹ x)).symm
abbreviation OAI.SpinAngle.PolynomialCarrier.TensorSpace line 217
abbrev TensorSpace := EuclideanSpace ℂ (Cells D → Fin q)
definition OAI.SpinAngle.PolynomialCarrier.alternating line 219
def alternating : Subrepresentation (TensorRep.rep (ι := Cells D) (n := Fin q)) where
Show the remaining 11 lines
toSubmodule := { carrier := {v | ∀ g : columnGroup D, PermutationSpace.rep (g : Equiv.Perm (Cells D)) v = complexSign g.val • v} zero_mem' := by intro g; simp add_mem' := by intro x y hx hy g; simp [map_add, hx g, hy g, smul_add] smul_mem' := by intro c x hx g; simp [map_smul, hx g, smul_comm c] } apply_mem_toSubmodule a := by intro v hv g change PermutationSpace.rep g.val (TensorRep.action (a : Matrix (Fin q) (Fin q) ℂ) v) = _ rw [← action_site_commute, hv g, map_smul] rfl
definition OAI.SpinAngle.PolynomialCarrier.rowColor line 234
def rowColor : Cells D → Fin q := fun x => ⟨x.val.1, by have hm := D.up_left_mem le_rfl (Nat.zero_le x.val.2) x.property have hl := YoungDiagram.mem_iff_lt_colLen.mp hm exact lt_of_lt_of_le hl hq⟩
definition OAI.SpinAngle.PolynomialCarrier.highest line 239
def highest : TensorSpace D q := by classical exact PermutationSpace.alternator (columnGroup D).subtype (complexSign.comp (columnGroup D).subtype) (EuclideanSpace.single (rowColor D q hq) (1 : ℂ))
definition OAI.SpinAngle.PolynomialCarrier.ordinary line 255
def ordinary : Subrepresentation (alternating D q).toRepresentation := cyclic (alternating D q).toRepresentation (⟨highest D q hq, highest_mem D q hq⟩ : (alternating D q).toSubmodule)
abbreviation OAI.SpinAngle.PolynomialCarrier.Carrier line 259
abbrev Carrier : Type := (ordinary D q hq).toSubmodule
definition OAI.SpinAngle.EntropyMonomial.entropy line 337
def entropy (n : ι → ℕ) : ℝ := (∑ i, n i : ℕ) * Real.log (∑ i, n i : ℕ) - ∑ i, (n i : ℝ) * Real.log (n i)
definition OAI.SpinAngle.Isotypic.space line 349
def space : Subrepresentation σ where
Show the remaining 12 lines
toSubmodule := Submodule.span ℂ (Set.range fun z : ρ.IntertwiningMap σ × E => z.1 z.2) apply_mem_toSubmodule := by intro g v hv induction hv using Submodule.span_induction with | mem v hv => obtain ⟨⟨f,x⟩,rfl⟩ := hv apply Submodule.subset_span refine ⟨⟨f,ρ g x⟩, ?_⟩ exact Representation.IntertwiningMap.isIntertwining ρ σ f g x | zero => simp | add x y hx hy ihx ihy => simpa only [map_add] using Submodule.add_mem _ ihx ihy | smul a x hx ih => simpa only [map_smul] using Submodule.smul_mem _ a ih
definition OAI.SpinAngle.Isotypic.projection line 363
def projection : F →L[ℂ] F := (space ρ σ).toSubmodule.starProjection
definition OAI.SpinAngle.SignedCarrier.dimension line 392
def dimension : ℕ := Module.finrank ℂ (Carrier a b q ha hb)
definition OAI.SpinAngle.missingCellFactor line 406
def missingCellFactor (m b : ℕ) : ℝ := if b < m then ((m : ℝ) / (m - b : ℕ)) ^ (m - b) else 1
definition OAI.SpinAngle.missingCellProductFactor line 409
def missingCellProductFactor {ι : Type*} [Fintype ι] (m : ℕ) (b : ι → ℕ) : ℝ := ∏ i, missingCellFactor m (b i)
definition OAI.SpinAngle.occupiedRow line 414
def occupiedRow (W : Finset (R × C)) (i : R) : Finset C := Finset.univ.filter (fun j => (i, j) ∈ W)
definition OAI.SpinAngle.missingInRow line 417
def missingInRow (W : Finset (R × C)) (i : R) : ℕ := Fintype.card C - (occupiedRow W i).card
abbreviation OAI.SpinAngle.BlockTensor.Fiber line 438
abbrev Fiber (j : J) := {i : τ // f i = j}
structure OAI.SpinAngle.TypeLabel line 466
structure TypeLabel (q : ℕ) where even : YoungDiagram odd : YoungDiagram even_height : even.colLen 0 ≤ q odd_height : odd.colLen 0 ≤ q
4 more definitions are reached the same way; the full file lists them.
Comparator compares only the name and type of each definition listed here. When a theorem is configured, its proof uses the definition in OpenAI’s solution library. Read that definition as well as the one in this file when comparing the statement with the paper.