Fundamental group

Let A⊂C be a path-connected open set, and fix a base point z0∈A.
Consider the set of all closed curves in A based at z0, i.e., continuous maps γ:[0,1]→A with γ(0)=γ(1)=z0. Call this set Λ(A;z0).
Define a relation ∼ on Λ(A;z0) by:

γ0∼γ1ifγ0 and γ1

are homotopic as closed curves in A.

This is an equivalence relation. The fundamental group of A at z0 is the quotient set

π1(A;z0)=Λ(A;z0)/∼,

equipped with the binary operation induced by concatenation of loops:

[γ0]⋅[γ1]=[γ0∗γ1],

where γ0∗γ1 traverses γ0 then γ1 at double speed. This operation is well-defined on homotopy classes, associative, has identity the constant loop at z0, and inverses via reversal.

If is path-connected, π1(A;z0) is independent of z0 (up to isomorphism) and denoted simply π1(A). A set A is simply connected if and only if π1(A)={e} (the trivial group).