Professional Documents
Culture Documents
-defining homomorphisms
Sets
-again, an entity with elements that is distinct from but
entirely determined by them if there are elements
- { S | S is a set and S ∉ S }
-order relations such as ‘<’ or ‘≤’ on R are examples of relations and can
be defined purely by which ordered pairs from S x T are in it. For
example, ‘<’ is the set { (r,s) | There is a positive number t such that
r+t=s }
Now, here’s where the dualism comes in- since the second
variable in Hom(S,f) is a function, Hom(S,f) is no longer
defined as a set of functions but a function itself called
a Hom function.
continued
With defining it as Hom(S,f)(g)=fºg, we are defining the
previously undefined Hom(S,f)(g) with fºg, where if again
f: T=>V and g is whatever but presumably moves from
somewhere to T (like S=>T), then fºg: S=>V
continued
What Hom(S,f) does is move from domain of Hom(S,T)
[basically saying set of all functions with domain S and
codomain T] towards the codomain of Hom (S,V) [basically
saying set of all functions with domain S and codomain V].
Essentially, the purpose of this is to put a function into
a different framework, to move the function into another
codomain (like for example from positive to real,
essentially).
Graphs
-specifically, directed multigraphs with loops
-there can be any amount of arrows, from one to two to none at all.
-an arrow with the same source and target node is called an endomorphism
of that node.
sourceG: G1=>G0
targetG: G1=>G0
sourceH: H1=>H0
targetH: H1=>H0
continued
If we lay these out, we find
that the pair of mappings that
constitute homomorphism, Φ0:
G0=>H0 and Φ1: G1=>H1, are only
graph homomorphisms if
sourceHºΦ1=Φ0ºsourceG and
targetHºΦ1=Φ0ºtargetG.
-you could say that the first two are examples of the third: there is a
large graph whose nodes are sets and arrows are functions, and another large
graph whose nodes are small graphs and the arrows are graph homomorphisms.
-the prior “Φ: G=>H, is a pair of functions Φ 0: G0=>H0 and Φ1: G1=>H1” is
also overloaded notation- usually the subscripts for the thetas are omitted in
all three.
-in practice, you can usually use common sense to distinguish between them
(yes, really).
identity homomorphism
If G is any graph, the identity homomorphism idG:G=>G is
defined by (idG)0=idG0 and (idG)1=idG1. If you remember how
composition works, this is basically just G 0 and G1 pointing
at themselves.
example
If G is this graph:
then there is a homomorphism Φ: G=>H, for which Φ 0(1)=S (theta with zero
subscript meaning translating from node to node), Φ 0(2)=Φ0(3)=F, and
Φ (4)=Q:
continued
Φ1 takes the loop on 2 and the arrow from 2 to 3 both to
the upper loop of F. Since F has two loops, Φ1 can be 4
different combinations on the arrows (keeping Φ 0 fixed):
continued
If H is any graph with a node n and a loop u:n=>n, then
there is a homomorphism from any graph G to H that takes
every node of G to n and every arrow to u. This means there
are two more homomorphisms from G to H in the above example
aside from the four there:
model of a sketch
There is a homomorphism σ to this graph:
That takes the node called 1 to a one-element set {*} which takes the node
n to the set N of natural numbers. The homomorphism σ takes the arrow 1=>n
to the function *↦0 that picks out the natural number 0, and σ(successor)
is the function that adds 1. This is an example of a model of a sketch.
-one can let n go to the set of integers (mod k) for a fixed k and let
succ be the function that adds one (mod k) (it wraps around).