ΘρϵηΠατπ

Binary Operation
Let S be a set, a binary operation on S is a function :S×SS where we denote (a,b) as ab using infix notation

Note the distinction between binary operation and binary relation, a binary operation is a function, which is a binary relation with some extra conditions.

Commutative Binary Operation
A binary operation on a set S such that for any a,bS, then ab=ba is called commutative
Associative Binary Operation
A binary operation on a set S such that for any a,b,cS, then (ab)c=a(bc) is called associative
Left Fold
Suppose that :S×SS is a binary operation, and (x1,x2,xk) be a tuple in 0 for some k1 then foldl(,(x1,x2,xk)):={(foldl(,(x1,x2,xk1)))xkamp; if k2x1amp; if k=1

Left fold formalizes the idea that we want to look at objects of the form (((x0x1)x2)xk), we also have a right fold:

Right Fold
Suppose that :S×SS is a binary operation, and (x1,x2,xk) be a tuple in 0 for some k1 then foldr(,(x1,x2,xk)):={x1(foldr(,(x2,xk)))amp; if k2x1amp; if k=1
Distributivity
Let ⊕︎ be a binary operation on a set S, and let :X×SS be a binary function for some set X then we say that distributes into ⊕︎ whenever we have for any a,bS and cX c(a⊕︎b)=(ca)⊕︎(cb)
Bracket Placement Doesn't Matter for Associative Binary Operations
Suppose that is an associative binary operation, then for any n3, then no matter how one places the brackets in the product x1x2xn it always evaluates to the same value

In order to prove this statement we have to prove that no matter the bracketing we get the same value, but what exactly is this value? It must be the result of some bracketing so to make our life easier let's select a left-most bracketing of the form ((x1x2)x3)xk

Therefore the statement we are trying to prove is equivalent to that of: for any k3 given the syntactically incorrect x1x2xk then given any syntactically valid version (obtained by inserting brackets), the value of the expression is equal to the value of the version where it is bracketed in the left-most manner. We'll prove this by strong induction or induction, which we will determine as the proof continues.


For the base case this holds true because of associativity. Now for the induction step assume it holds true for k3 and lets show that it holds true for k+1, suppose we have a product x1xk+1 and then an arbitrary bracketing of the product which is syntactically valid, it must have the form (ea)(eb) where a+b=k+1 where without loss of generality a2 and b1, due to this we also know that a,bk

Since we are (now) using strong induction then we know that the property holds true on ea,eb as they are arbitrarily bracketed expressions, each of which have the same value as their left-most bracketed counterparts, and therefore since they have the same value, they can be substituted so that (ea)(eb)=(((x1x2))xa)(((xa+1xa+2))xa+b) at this point we've done some work, now if we can re-arrange this to be fully left-bracketed which would prove the statement true, recall that one of the properties we haven't used yet is associativity of . Closing our left eye, we can observe that: (ea)(eb1xa+b)=(eaeb1)xa+b Now (eaeb1) is a arbitrarily bracketed expression of using a+b1<k+1 elements and so by our strong induction hypothesis we know that it's value is equal to the leftmost bracketed version of itself, so we have (eaeb1)xa+b=(((x1x2))xb1)xa+b

Chaining equalities, we've proven that (ea)(eb)=(((x1x2))xb1)xb, which is exactly what we wanted to show, therefore by induction this shows that the property holds for every expression.

Associativity Implies Folds are Equal
Suppose that :S×SS is associative, and (x1,xk) is a tuple in 1, then foldl(,(x1,xk))=foldr(,(x1,,xk))
Since all bracketings are equal, then specifically these bracketing are equal
Fold of a Composition Law
Suppose that :S×SS is a composition law, and (x1,xk) a tuple in 0 for k1 fold(,(x0,x1,,xk)):=foldl(,(x0,x1,,xk))
Sum Fold
Suppose we have +:× then and R a finite tuple, then we define R=fold(+,R) in terms of the sum fold
Ellipses Notation
Suppose that :S×SS is a composition law, and (x1,xk) a tuple in 0 for k1 x1x2xk:=fold(,(x0,x1,,xk))

Since all bracketings yield the same value, our definition of fold to be the left fold was quite arbitrary. We can also now look at previous things under simpler lights, recall a definition of i=0kai that you're familiar with, this is simply just fold(+,(a0,,ak))

Composition Law
A composition law is an associative binary operation
Identity Element
Given a set S and a binary relation , we say that an element eS is an identity element on S when for every sS,es=se=s
Binary Operation has Inverses For an Identity
Given a set S and a binary operation on S, that has an identity element e, then we say that has inverses for e if for every sS, there exists some rS such that sr=e
Group
We say that (G,) where G is a set and is a composition law on G, when there exists an element eG satisfying the following properties:
  • e is an identity element on G
  • inversion: for every aG we have some bG such that ab=ba=e

note: informally this says that you can do nothing, and you can also undo anything

Trivial Group
A trivial group is a group that has one element
The Integers are a Group
,+ form a group

Note that at this point in time we can write things like a+b and that makes sense, if we were to write something like xa+b this should not make sense because at this point we only have one operator, and not a multiplication operator yet, but we can think of xa as "syntactic sugar" for a+a++a (with x repetitions) and it's alright.

One Point sets are Form Trivial Groups
Suppose that T is a set such that |T|=1, and is a constant composition law, then (T,) forms a group

Let t be the only element of T, we claim this is the identity, which we can verify by checking tt=t, because is constant, thus it is an identity element.

Now we can also show that we have inversion as well, because for every element in T (which is just t) we have an element (which is also t) such that tt=t, where the t on the right hand side is the identity.

It should be clear by now that is not a group since it cannot have an identity element because there are no elements as candidate for this position. At this point in time we know that in a group there is at least one element e with the above properties, we will now find out that there is exactly one such element.

identity element is unique in a group
Suppose G is a group, then the identity element e is unique
Suppose that f and g are both identity elements, then by the identity property of a group, we know that fg=gf=f since g is an identity element, but also gf=fg=g since f is the identity, as well. Relating the equalities yields that f=g and therefore the identity element is unique.
inverse element is unique
Suppose G is a group, and aG, then there is a unique element b such that ab=ba=e
Suppose that b and c are both inverses to a, thus ab=e=ca, then c=ce=c(ab)=(ca)b=eb=b so then c=b
Inverse
Given a group G and aG, we denote the unique element b such that ab=ba=e as a1 and call it the inverse of a
two inverses cancel
(a1)1=a
To show this is true we want to show that a1a=aa1=e, though the definition of a1 is such that aa1=a1a=e and since the equality symbol is a reflexive relation, this proves what we needed to show
inverse of ab
Given a group G and a,bG, then (ab)1=b1a1
For ease let c=(ab)1, so that (ab)c=c(ab)=e since we know (ab)c=a(bc)=e , and thus a1(a(bc))=a1e, thus (a1a)(bc)=a1e, which simplifies to e(bc)=a1, so we can see that a1=bc, as needed
Cancellation
Suppose G is a group and a,b,cG, then ac=bca=b and ca=cba=b, in other words, we can cancel common elements on right and left
Suppose that ac=bc, let c1 be the inverse of c , then we have the following ac=bcamp;(ac)c1=(bc)c1amp;a(cc1)=b(cc1)amp;ae=beamp;a=b Where we've used associativity followed by the definition of inverse and then the identity element. The proof for right cancellation can be obtained by placing a mirror on the left of the above chain of equalities and reversing individual elements, so that if you see ɘ you interpret it as e.
Order of a group
The order of a group G denoted by |G| is the cardinality of G
Abelian
Given a group, if it's composition law is commutative, then we say that the group is abelian
The Integers with Addition are Abelian
,+ where + is defined in the usual sense form an abelian group
Cartesian Product of Abelian Groups is Abelian
Let (G,) be an abelian group, then Gn forms an abelian group with the operation ⊕︎ defined for a,bGn as a⊕︎b:=(a1b1,,anbn)

Can the above be generalized for any extra group properties?

Multiplicative Notation

Given a group (G,) then since there is only one operation in question, instead of writing the operator between every two pairs of elements we may limit it to ab, to refer to ab to reduce visual clutter

note: since is also a simple thing to write, we may also use it in place of

Power of an Element
Given a group G and aG, then we define an:=aaan times for any n>0 and a0:=e, when n<0 then an:=(a1)n, thus we've defined an for all n
Power Properties
For all a,bG, anam=an+m and (an)m=anm for any m,n
TODO
Order of a Group Element
The order of an element aG, denoted |a|, is the smallest n1 such that an=e
Suppose G is a group and that aG if a has finite order given by n0, then ai=aj iff i % n=j % n
If the power of an element with finite order yields the identity then the order divides the power
Let G be a group and suppose aG has order n then if ak=e then n|k
We know that ak=e=a0 therefore k % n=0 % n=0 therefore n|k as needed.
Subgroup
Suppose that (G,) is a group, then if HG is a group under , then we say that H is a subgroup of G and write HG
Let G be a group. Given a non-empty HG if ab1H for any a,bH, then HG

Since H is non-empty then there is some element hH, thus we know that hh1H, since hH, since HG, then we know that hG, and therefore in G we have an inverse h1 such that hh1=e, where eG but by assumption this is also an element of H, thus eH.

So now we know that eH, how can we be sure this is the identity in H? Perhaps it is not, but given any sH, since HG, we know sG then using the fact that G is a group we see es=se, since e is also in H this confirms that it is H's identity.

Now we'll show that H has inverses, so let aH, at the same time we know we have eH, thus ea1H and thus a1H as needed.

At this point it may seem like we've verified all the requirements for H to be a group, but there's something a little subtle, when we were working with we know that it was composition law meaning that this operation is closed for elements in G, so we also need to verify that is closed in H, that is to say that is a composition law in H, so let x,yH, then from the previous paragraph we know that y1 is a member of H, thus x(y1)1H

Notice that the equation stated above is special, firstly given two elements in a,bH it combines a and b1, the special thing here is the b1, originally we don't know if this element is a member of H because in the proof we verify if indeed it is a group, and we don't know that inverses exists until we verify them, but we do know when it's combined with b1 it produces an element of H.

Note that we need H to be non-empty otherwise the empty set would satisfy the above, and we know that the empty set is not a group. It also helps us bootstrap the proof.

TODO
An element of a group has order 1 if and only if x=e

Suppose that aG, then |a|=1 if and only if a1=e note that a1=a, so a=e as needed

For the reverse direction, follow the above proof backwards, noting that each connection is a bi-implication

TODO
Show that ,, are groups under multiplicaiton
TODO
Generator
The notation a denotes the set {an:n}. Then aG is said to be a generator of g if and only if G=a
For a positive integer n, all groups of order n are cyclic iff GCD(n, phi(n)) = 1
cyclic group
A group G is considered a cyclic group if and only iff there exists some aG such that G=a
cyclic implies abelian
If a group G is cyclic, then it is abelian
TODO
power equivalence
For a group G with aG, if G has infinite order, then ai=aj if and only if i=j otherwise if G has finite order n then ai=aj if and only if i%n=j%n
TODO
gcd generates the same
Suppose G is a group. Let aG so that |a|=n, then ak=agcd(n,k) and |ak|=ngcd(n,k)
TODO
TODO
For a group G and aG, then |a| divides |G|
TODO