Aether Catalog definitions — Evergreen_RosettaStone_Categorification
DefinitionEvergreen_RosettaStone_Categorificationaether-catalogevergreen
Definition bundle for the Aether Catalog module Evergreen.RosettaStone.Categorification, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from Evergreen/RosettaStone/Categorification.lean by skeleton subtraction
import Mathlib
/-
Categorification: Lifting the Idempotent Thread
==================================================
The entire Rosetta Stone framework lives at the level of sets and elements.
Here we "lift" it to categories and functors.
-/
namespace RosettaStone.Categorification
open CategoryTheory CategoryTheory.Idempotents
/-! ## Part 1: Categorified Idempotents -/
/-! ## Part 2: Karoubi Envelope (Idempotent Completion) -/
/-! ## Part 3: Categorified Peirce Decomposition -/
/-
PROBLEM
Peirce decomposition: every element decomposes into four parts.
PROVIDED SOLUTION
Expand all four products and collect terms. The key is that in a (possibly non-commutative) ring, exe + ex(1-e) + (1-e)xe + (1-e)x(1-e) = exe + ex - exe + xe - exe + x - xe - ex + exe = x. Use mul_sub, sub_mul to expand, then rewrite using he: e*e = e.
-/
/-
PROBLEM
Peirce corner identity: eRe is a ring with identity e.
PROVIDED SOLUTION
e * (e * x * e) * e = (e*e) * x * (e*e) using associativity, then use he: e*e = e twice to get e * x * e.
-/
/-! ## Part 4: The Idempotent 2-Category -/
/-- Level 0: An idempotent element in a monoid. -/
def is_idempotent_element {M : Type*} [Monoid M] (e : M) : Prop := e * e = e
/-! ## Part 5: Morita Equivalence -/
/-! ## Part 6: Decategorification -/
end RosettaStone.Categorification