Abstract Algebra with Categories
Notes from Paolo Aluffi's Algebra: Chapter 0. A course on modern algebra written from the get-go in the language of category theory.
• Set theory and categories
• naive set theory
set theory is a field in itself. its proper treatment (e.g. Zermelo-Fränkel axioms with axiom of choice or the Von Neumann–Bernays–Gödel extension) is beyond our scope.
• sets
sets are defined by a precise recipe determining which elements are in them. e.g.
order and repetitions are inmaterial (#multisets will be defined later):
definitions may use a pattern to obviate a larger list,
or reference a subset satisfying some property of another set.1 this is useful for bigger sets, infinite sets, and sets which aren't even countable (an infinite list is not enough), as famously proven by Cantor for the reals and other sets with cardinality bigger than ℵ0.
term singleton refers to any set with single element.
quantifiers from predicate and higher-order logics are a convenient way to condense logical formulas over large (potentially infinite) sets:
- existential ∃: read as "there exists", is an n-ary extension of the logical OR, meaning .
- universal ∀: read as "for all", is an n-ary extension of the logical AND, meaning .
- ∃! is used to mean "there exists a unique".
the order in which quantifiers are written may make a difference. e.g:
is true. for every integer it's true that there is another integer which is its double. whereas the following is false. there is no single integer which is the double of every integer.
• inclusion of sets
we will use S⊆T for subsets and S⊊T for proper subset. the subset operator can be defined using the element operator and the logical operator ⇒:
or more formally, using quantifiers:
note that:
-
for all sets,
-
for all sets,
symbol |S| denotes cardinality. if S and T are finite, then:
the subsets of a set S form another set, called its power set or the set of parts. this is denoted 𝒫 (S) or 2S, because |𝒫 (S)| = 2|S| if S is finite.
• operations
- ∪ : union
- ∩ : intersection
- \ : difference
- S \ s: complement of a subset
- ∐: disjoint union
- × : Cartesian product:
and their indexed n-ary generalizations. e.g:
more generally, if 𝒫 is a set of sets, we may write:
there is an important subtlety about these definitions. if all S∈𝒫 are nonempty, does it follow that is nonempty? if 𝒫 is finite this is obviously true, but if it's infinite this thorny issue amounts to the axiom of choice, which in 1963 Paul Cohen proved to be an unprovable statement within ZF set theory. This is a constructive example of Gödel's first incompleteness theorem at work.
• equivalence relations, partitions, quotients
intuitively, a relation is an affinity among selections of elements of S. For example, for all practical purposes the relation < on ℤ can be perfectly captured and defined by the set of pairs (a, b) of integers such that a<b. This leads to a straighforward definition of the notation of any relation.
a relation on set S is simply a subset R of the product S×S:
the prototype of a well-behaved relation is =, which corresponds to "the diagonal" in S×S:
if ~ denotes the equality relation for a moment, then ~ satisfies the following important properties:
- reflexivity: (∀a ∈ S) a ∼ a
- symmetry: (∀a ∈ S) (∀b ∈ S) a ∼ b ⟹ b ∼ a
- transitivity: (∀a ∈ S) (∀b ∈ S) (∀c ∈ S), (a ∼ b ∧ b ∼ c) ⟹ a ∼ c
• functions
• multisets, indexed sets
• composition
• injections, surjections, bijections
• monomorphisms and epimorphisms
• canonical decomposition
• categories
• morphisms
• isomorphisms
• monomorphisms and epimorphisms II
• universal properties
• initial and final objects
• universal properties
• quotients
• products
• coproducts
• Groups
• Rings and modules
• Groups II
• Irreducibility and factorization in integral domains
• Linear algebra
• Fields
• Linear algebra II
• Homological algebra
-
Which can still lead to pathologies such as Russell's paradox. All is well so long as S is already known to be a set. ↩