Sunday, 31 March 2024

Tao Analysis I - 3.5.6

Exercise 3.5.6

Let A, B, C, D be non-empty sets. Show that A×BC×D if and only if AC and BD, and that A×B=C×D if and only if A=C and B=D

What happens if some or all of the hypotheses that the A, B, C, D are non-empty are removed?


Show A×BC×DAC and BD

To show A×BC×D if and only if AC and BD we need to prove the following two statements:

  • A×BC×DACBD
  • ACBDA×BC×D


Let's start with the second statement as it easier to prove.

ACBDA×BC×D

We need to show - is a statement I was advised by a mathematician friend to get into the habit of writing - (aA,bB)[(a,b)C×D].

Given A and B are assumed non-empty, we can always pick an element aA and bB to form a tuple (a,b).

By assumption, AC and BD, and so we can deduce aC and bD. So the tuple (a,b) is in C×D by definition of cartesian products. Thus we have shown ACBDA×BC×D.


Now let's consider the first statement.

A×BC×DACBD

We need to show (aA)[aC] and (bB)[bD].

Since A and B are assumed non-empty, we can always pick an arbitrary aA and bB to form a tuple (a,b).

By definition of cartesian products, (a,b)A×B. By hypothesis A×BB×D, and so (a,b)C×D

Again, by definition of cartesian products, this means aCbD. Thus we have shown A×BC×DACBD.


By showing both statements, we have shown A×BC×DAC and BD. .


Show A×B=C×DA=C and B=D

To show A×B=C×D if and only if A=C and B=D we need to prove the following two statements:

  • A×B=C×DA=CB=D
  • A=CB=DA×B=C×D


Again, let's start with the second statement as it is easier to prove.

A=CB=DA×B=C×D

We need to show (aA,bB)[(a,b)C×D] and (cC,dD)[(c,d)A×B].

Since A and B are assumed non-empty, we can always pick an arbitrary aA and bB to form a tuple (a,b). By definition of cartesian products, (a,b)A×B. By hypothesis, A=C and B=D, and so we can deduce aC and bD. And so (a,b)C×D by definition of cartesian products. This gives us A×BC×D.

To show A×B=C×D, we also need to show C×DA×D.

Since C and D are assumed non-empty, we can always pick an arbitrary cC and dD to form a tuple (c,d). The same argument as for (a,b) gives us C×DA×D.

So we have shown A=CB=DA×B=C×D.


Now consider the first statement.

A×B=C×DA=CB=D

We need to show (aA)[aC], (bB)[bD], (cC)[cA], and (dD)[dB].

Since A and B are assumed non-empty, we can always pick an arbitrary aA and bB to form a tuple (a,b). By definition of cartesian products (a,b)A×B. By hypothesis A×B=C×D, and so (a,b)C×D. By definition of cartesian products, we deduce aC and bD.

We have shown (aA)[aC] and (bB)[bD]. We still need to show (cC)[cA], and (dD)[dB].

Since C and D are assumed non-empty, we can always pick an arbitrary cC and dD to form a tuple (c,d). A symmetric argument to that for (a,b) gives us cA and dB.

So we have shown A×B=C×DA=CB=D.


By showing both statements, we have proven A×B=C×DA=CB=D.


Removing The Non-Empty Set Assumptions

Consider the first proposal:

A×BC×DACBD

If only A=, then A×B=, which is a subset of any set, not just C×D. There is therefore no relationship between B, C, and D required to make the LHS true. The proposal is therefore not always true.

Because B is symmetric to A, if only B=, the proposal also fails.

However, if both A= and B=, then the proposal holds.


Now consider the second proposal:

A×B=C×DA=CB=D

If only A=, then A=C=, and the statement becomes ==B=D. The LHS is true regardless of any relationship between B and D, so the proposal is not always true. By symmetry, this applies to B= too.

If only both A=B=, then A=C= and B=D=, and the statement becomes ===, which is fine. By symmetry, this applies to C=D too.

If however, only A=C= then the statement becomes ==B=D. The LHS can be true regardless of B and D, and so the proposal is not always true.

By symmetry, this applies to B=D too.

If all A=B=C=D= then the proposal holds.

Note - we can intuitively think of ×A as multiplying by zero, and this "losing information" about A.


Wednesday, 27 March 2024

Tao Analysis I - 3.5.5

Exercise 3.5.5

Let A, B, C, D be sets. Show that (A×B)(C×D)=(AC)×(BD).

Is it true that (A×B)(C×D)=(AC)×(BD)?

Is it true that (A×B)(C×D)=(AC)×(BD)?


Let's draw a picture to help clarify our thinking.

We can see visually that:

  • (A×B)(C×D)=(AC)×(BD).
  • (AC)×(BD) contains (c,b) where cC,bB, but (A×B)(C×D) does not.
  • (A×B)(C×D) contains (a,e) where aA,eBD, but (AC)×(BD) does not.


Show (A×B)(C×D)=(AC)×(BD)

Let's write out what (A×B)(C×D) means,

(x,y)(A×B)(C×D)(x,y){(a,b):aA,bB}(x,y){(c,d):cC,dD}

We can see that x must be in both A and C, and y must be in both B and D.

Therefore, the RHS is equivalent to

(x,y){(s,t):sAC,tBD}

Thus we have shown (A×B)(C×D)=(AC)×(BD).


Is it true that (A×B)(C×D)=(AC)×(BD)?

Let's write out what (A×B)(C×D) means,

(x,y)(A×B)(C×D)(x,y){(a,b):aA,bB}(x,y){(c,d):cD,dD}

Here we need to be careful about what this means. It means that

(xAyB)(xCyD)

Note in particular that (c,b):cC,bB is not compatible with this, and is therefore not in the set (A×B)(C×D)

Let's consider the other set, (AC)×(BD). This means

(x,y)(AC)×(BD)(x,y){(a,b):aAC,bBD}

This time, the ordered pair (c,b):cC,bB  is in this set.

Therefore the two are not equivalent, (A×B)(C×D)(AC)×(BD).

A counter-example can illustrate this. Consider A={1},B={2},C={3},D={4}

Then  (A×B)(C×D)={(1,2),(3,4)}, and (AC)×(BD)={(1,2),(1,4),(3,2),(3,4)}, a different set. The latter contains (3,2), the former does not.


Is it true that (A×B)(C×D)=(AC)×(BD)?

Let's write out what (A×B)(C×D) means,

(x,y)(A×B)(C×D)(x,y){(a,b):aA,bB}(x,y){(c,d):cC,dD}

Again, with some care, we establish what this means. (revision on negating statements)

(xAyB)(xCyD)

Consider the ordered pair (a,e):aA,eBD. This satisfies the above condition, so is a member of the set (A×B)(C×D)

Now let's consider the other set, (AC)×(BD). This means

(x,y)(AC)×(BD)(x,y){(a,b):aAaC,bBbD}

That is, xAxCyByD.

The ordered pair (a,e):aA,eBD is not in this set.

Therefore the two are not equivalent, (A×B)(C×D)(AC)×(BD).

Again, a counter-example will illustrate this. Consider A={1},B={2,3},C={4},D={3,5}

Then, (A×B)(C×D)={(1,2),(1,3)}, and (AC)×(BD)={(1,2)}, a different set. The former contains {1,3}, the latter does not.


Tao Analysis I - 3.5.4

Exercise 3.5.4

Let A, B, C be sets. Show that A×(BC)=(A×B)(A×C), that A×(BC)=(A×B)(A×C), and that A×(BC)=(A×B)(A×C).


Show A×(BC)=(A×B)(A×C)

Let's write out what A×(BC) means,

(a,d)A×(BC)(a,d){(x,y):xA,yBC}

The RHS is equivalent to

(a,d){(x,y):xA,yB}(a,d){(x,y):xA,yC}

Which is equivalent to

(a,d)A×(BC)(a,d)(A×B)(A×C)

Thus, we have shown A×(BC)=(A×B)(A×C).


Show A×(BC)=(A×B)(A×C)

Let's write out what A×(BC) means

(a,d)A×(BC)(a,d){(x,y):xA,yBC}

The RHS is equivalent to

(a,d){(x,y):xA,yB}(a,d){(x,y):xA,yC}

Which is equivalent to

(a,d)A×(BC)(a,d)(A×B)(A×C)

Thus, we have shown A×(BC)=(A×B)(A×C).


Show A×(BC)=(A×B)(A×C)

Let's write out what A×(BC) means

(a,d)A×(BC)(a,d){(x,y):xA,yBC}

The RHS is equivalent to

(a,d){(x,y):xA,yB}(a,d){(x,y):xA,yC}

Which is equivalent to

(a,d)A×(BC)(a,d)(A×B)(A×C)

Thus, we have shown A×(BC)=(A×B)(A×C).


Tao Analysis I - 3.5.3

Exercise 3.5.3

Show that the definitions of equality for ordered pair and ordered n-tuple are consistent with the reflexivity, symmetry, and transitivity axioms, in the sense that if these axioms are assumed to hold for the individual components x, y of an ordered pair (x,y), then they hold for the ordered pair itself.


The approach is the same for both ordered pair and ntuple but for clarity we'll do the special easier case of an ordered pair first, then do the more general n-tuple.


Ordered Pair

Two ordered pairs (x,y) and (x,y) are equal if and only if x=x and y=y, by Definition 3.5.1.

Let's consider reflexivity, A=BB=A. So let's assume (x,y)=(x,y). This means x=x and y=y. Since reflexivity holds for x,y,x,y, we can say x=x and y=y, which is equivalent to (x,y)=(x,y). Thus we have shown reflexivity, (x,y)=(x,y)(x,y)=(x,y).

Now let's consider symmetry, (x,y)=(x,y). This is true because we know the components obey the equivalence property x=x and y=y, which means the ordered pair is equal to itself by definition 3.5.1.

Finally, consider transitivity, A=BB=CA=C. Let's start with (x,y)=(x,y) and (x,y)=(x,y). Using definition 3.5.1, we know that x=x,y=y and also x=x,y=y. Since these individual components obey the equivalence property of transitivity, we can say x=x,y=y. By definition 3.5.1 this tells us (x,y)=(x,y). We have shown ordered pairs obey transitivity, (x,y)=(x,y) and (x,y)=(x,y) implies (x,y)=(x,y).


n-Tuples

Definition 3.5.6 generalises equality of ordered pairs to n-tuples:

Two ordered n-tuples (xi)1in and (yi)1in are said to be equal iff xi=yi for all 1in.

Let's consider reflexivity, A=BB=A. Given two equal n-tuples, (xi)1in=(yi)1in, we know by the above definition 3.5.1 that xi=yi for all 1in. Since these individual components xi and yi obey reflexivity, we can say yi=xi for all 1in. This is equivalent to (yi)1in=(xi)1in, thus we have shown reflexivity.

Let's now consider symmetry, (xi)1in=(xi)1in. For this to be true we must have xi=xi for all 1in. This is indeed the case as the individual components xi obey symmetry. This we have shown symmetry.

Finally, consider transitivity, A=BB=CA=C. Let's start with (xi)1in=(yi)1in, and (yi)1in=(zi)1in. This tells us xi=yi for all 1in, and yi=zi for all 1in. Since these individual elements obey transitivity, we have xi=zi for all 1in. This is equivalent to (xi)1in=(zi)1in. Thus, we have shown transitivity. .


Monday, 25 March 2024

Tao Analysis I - 3.5.2

Exercise 3.5.2

Suppose we define an ordered n-tuple to be a surjective function x:{iN:1in}X whose codomain is some arbitrary set X (so different ordered n-tuples are allowed to have different ranges); we then write xi for x(i) and also write x as (xi)1in. Using this definition, verify that we have (xi)1in=(yi)1in if and only if xi=yi for all 1in

Also, show that if (Xi)1in are an ordered n-tuple of sets, then the Cartesian product, as defined in Definition 3.5.6, is indeed a set. (Hint: use Exercise 3.4.7 and the axiom of specification.)


Let's remind ourselves of Definition 3.5.6 (Ordered n-tuple and n-fold Cartesian product):

Let n be a natural number. An ordered n-tuple (xi)1in (also denoted (x1,,xn)) is a collection of objects xi , one for every natural number i between 1 and n; we refer to xi as the ith component of the ordered n-tuple.

Two ordered n-tuples (xi)1in and (yi)1in are said to be equal iff xi=yi for all 1in.

If (Xi)1in is an ordered n-tuple of sets, we define their Cartesian product 1inXi (also denoted i=1nXi or X1××Xn) by

1inXi:={(xi)1in:xiXi for all 1in}


Exploration

The terminology here is quite dense and confusing, so let's illustrate it with small examples to help clarify our thinking.

Let's start with the idea of an n-tuple as a function. The following shows a function which maps from a domain {1,2,3} to a codomain {a,b,c}

Specifically, the function maps 1 to a, 2 to b, and 3 to c

To fully describe this function, we can list the output values as an ordered n-tuple, (a,b,c)

However, to do this we also need to know which elements of the domain these output values correspond to, and for this we need to order the domain too. We can do this simply as iN:1i3, which gives 1, then 2, then 3, in that order.

To illustrate the notation, we can write fi for f(i), that is f2 for f(2). We can also write simply f for (fi)1i3.


Part One

We need to show that (xi)1in=(yi)1in if and only if xi=yi for all 1in. To do this we need to show both:

  • (xi)1in=(yi)1inxi=yi for all 1in
  • xi=yi for all 1in(xi)1in=(yi)1in

The first statement assumes the two functions x and y are equal. Functions are equal if they have the same domain, codomain, and also map the same inputs to the same outputs. This last requirement can be written as x(i)=y(i) for all 1in, which is what we needed to show.

The second statement assumes the two functions map the same inputs to the same outputs, x(i)=y(i). The domain is the same because it is defined for both as iN:1in. The range is the same because x(i)=y(i) for all 1in. Since the function is surjective, the range is also the domain. Thus we have demonstrated the three requirements for the functions to be equal, (xi)1in=(yi)1in.

Having shown both implications, we have proved that (xi)1in=(yi)1in if and only if xi=yi for all 1in.


Part Two - Exploration

I found this quote difficult so I began with an example illustration of some of the objects involved in the exercise.

An ordered n-tuple of sets, is a tuple with sets as elements. For example, a 2-tuple (X1,X2), where X1 and X2 are sets, not primitive objects like natural numbers. 

To illustrate, the cartesian product of those sets, let's fill in the content of those sets. For example, X1={a,b}, and X2={c}. The cartesian product is a set of 2-tuples, as per definition 3.5.6, which here is

1i2Xi={(a,c),(b,c)}

It is worth being clear that the cartesian product is a set of ordered n-tuples.

Let's think about how we might construct the cartesian product:

  • we can form the union of the original sets, X1,X2={a,b,c}
  • each element of the cartesian product is a 2-tuple (x1,x2) where x1X1,x2X2
  • that 2-tuple is a partial function from the domain {1,2} to the codomain {a,b,c}
  • the collection of all such partial functions is a set by exercise 3.4.7
  • we can select from that set, using the axiom of specification, just those partial functions that meet our needs: have a domain {1,2}, have codomain {a,b,c}, map i to xiXi, and are surjective, which gives us the set {(a,c),(b,c)}
  • the resulting set is the desired cartesian product


Part Two -  Solution

The exercise hints at using the axiom of specification, which can only be applied to one set. This suggests we need to form a single set from the n sets Xi, where 1in.

Let's begin with the union of those sets,

Y=1inXi

Thus, any element of any Xi is a member of Y. And so this set Y is useful because we can use its elements to build the cartesian product's tuples.

Now, consider a partial function from {1in}Y. This is a function which maps from a subset of the domain {1in} to a subset of the codomain Y. The collection of all such partial functions is a set, a result proved in Exercise 3.4.7. Let's call this set F.

Some, but not all, elements of this set F are functions, n-tuples, that are the elements of the cartesian product. We can select them using the Axiom of Specification to form the set C, using a statement S.

C={fF:S(f) is true}

here the statement S(f) is

S(f):domf={1in}codomainf=Yf(i)Xif is surjective

That is, the statement S(f) is true is the function fF has a domain \{1 \leq i \leq n\}, has a codomain Y=Xi, maps as f(i)Xi, and is surjective.

The resulting set C contains only the elements of the cartesian product 1inXi, as per Definition 3.5.6.

We have shown the cartesian product is a set by constructing it using the axioms, as above.

Wednesday, 20 March 2024

Tao Analysis I - 3.5.1

Exercise 3.5.1

(i) Suppose we define the ordered pair (x,y) for any objects x and y by the formula (x,y):={{x},{x,y}}. Show that such a definition (known as the Kuratowski definition of an ordered pair) indeed obeys the property (3.5).

(ii) Suppose we instead define an ordered pair using the alternate definition (x,y):={x,{x,y}}. Show that this definition (known as the short definition of an ordered pair) also verifies (3.5) and is thus also an acceptable definition of ordered pair. (Warning: this is tricky; one needs the axiom of regularity, and in particular Exercise 3.2.2.)

(iii) Show that regardless of the definition of ordered pair, the Cartesian product X×Y of any two sets X,Y is again a set. (Hint: first use the axiom of replacement to show that for any xX, that {(x,y):yY} is a set, and then apply the axiom of union.)


Let's remind ourselves of property (3.5):

Two ordered pairs (x,y) and (x,y) are considered equal if and only if both their components match, i.e.,

(x,y)=(x,y)(x=xy=y)


Part (i)

Let's consider two ordered pairs, (x,y) and (a,b). Let's write these in the form of the Kuratowski definition.

(x,y):={{x},{x,y}}

(a,b):={{a},{a,b}}

For the two ordered pairs to be equal, the two sets, {{x},{x,y}} and {{a},{a,b}}, must be equal. Two sets are equal if every member of one is also a member of the other.

This means the following four statements must be true:

  • {x}{{a},{a,b}}
  • {x,y}{{a},{a,b}}
  • {a}{{x},{x,y}}
  • {a,b}{{x},{x,y}}

Each of these statements implies the following, listed in corresponding order:

  • (x=a)(x=a=b)
  • (x=ay=b)(x=by=a)
  • (a=x)(a=x=y)
  • (a=xb=y)(a=yb=x)

These make use of the fact that a set with two (distinct) elements can't equal a singleton set. That is, {x}{a,b}, unless a=b, in which case {a,b}={a}={b}, a singleton set.

These last four statements are only all true if:

(x=a)(y=b)

This is because the first and third statements set x=a in all cases. Then the second and fourth statements set b=y, or the case where x=y=a=b.

This shows the Kuratowski definition of an ordered pair obeys property 3.5.


Part (ii)

We take a similar approach to the above. 

Before we do, let's remind ourselves of the result of Exercise 3.2.2:

  • If A is a set, then AA
  • If A and B are sets, then either AB or BA, or both.

Let's consider two ordered pairs, (x,y) and (a,b). Let's write these in the form of the "short" definition.

(x,y):={x,{x,y}}

(a,b):={a,{a,b}}

For the two ordered pairs to be equal, the two sets, {x,{x,y}} and {a,{a,b}}, must be equal. Two sets are equal if every member of one is also a member of the other.

This means the following four statements must be true:

  • x{a,{a,b}}
  • {x,y}{a,{a,b}}
  • a{x,{x,y}}
  • {a,b}{x,{x,y}}

Each of these statements implies the following, listed in corresponding order:

  • (x=a)(x={a,b})
  • (x=ay=b)(a={x,y})
  • (a=x)(a={x,y})
  • (a=xb=y)(x={a,b})

This requires more work to resolve. We start with two cases, x=a suggested by the first and third statements,  or xa.

case x=a

The first statement then suggests x=a={a,b}. However, this is ruled out by the axiom of regularity. If x=a is a fundamental object, then it cannot be a set {a,b}. If x=a is a set, then it cannot be a member of {a,b} by the axiom of regularity.

Similarly,  the second statement suggests a={x,y}, which is ruled out by the axiom of regularity, following a similar argument as above. This leaves x=ay=b. That is, y=b.

The third statement suggests a={x,y}, also ruled out by the axiom of regularity.

The fourth statement suggests x={a,b}, which is ruled out by the axiom of regularity, leaving b=y.

So the case x=a leaves only b=y.

case xa

Since xa, all four statements tell us the following two statements must be true:

  • a={x,y}
  • x={a,b}

This is ruled out by the axiom of regularity in the second form presented above: if A and B are sets, then either AB or BA, or both. So x must not be an element of {x,y}, a must not be an element of {a,b}

So the case xa is ruled out.

Considering both cases leaves us with

(x=a)(y=b)

This shows the "short" definition of an ordered pair obeys property 3.5.


Part (iii)

For any two sets, X and Y, we want to show that the cartesian product X×Y is also a set.

Fix an xX and apply the Axiom of Replacement to Y as follows. Consider the statement P:

P(y,(xy)):(x,y) is an ordered pair with yY

This statement P is true if (x,y) is an ordered pair with yY. For every yY it is true for at most one ordered pair (x,y), therefore it is suitable for use by the Axiom of Replacement. This gives us a new set S of ordered pairs:

Sx={(x,y):yY}

Remember, x is fixed.

Now we need to iterate over xX and we can do this using the Axiom of Union, which defines the following set:

T=xXSx={(x,y):xX,yY}

This set T contains all the combinations of xX and yY in the form of ordered pairs (x,y)

This is the Cartesian product X×Y, and is a set by the axioms of construction we used.


Update to Part (iii)

This discussion (link) has clarified an important point and is worth discussing here.

The axiom of union is quite intuitive, which is good, but does risk us overlooking some details.

The detail I had glossed over is that the union S requires S to be a set (of sets). Ensuring that S is a set is something I had glossed over, so the following approach is a little more rigorous.

Step 1:

  • Fix an xX and use the axiom of replacement on Y. Use the statement P(x,(x,y)):(x,y) is an ordered pair for yY which is true for at most one ordered pair (x,y) for each yY. This gives us a set Sx={(x,y):yY}. That is, the set exists due to the axiom of replacement.

Step 2:

  • Now use the axiom of replacement again, this time on Y. Use the statement Q(x,Sx):Sx is the set of ordered pairs {(x,y):yY} for xX) which is true for at most one Sx for each xX. This gives us a set of sets S={Sx:xX}. Again, this set exists due to the axiom of replacement.

Step 3:

  • Now we know S exists, we can use the axion of union, S={(x,y):(x,y)Sx}. This is equivalent to S={(x,y):xX,yY}=X×Y, as required.

Sunday, 17 March 2024

Tao Analysis I - 3.4.11

Exercise 3.4.11

Let X be a set, let I be an on-empty set, and for all αI let Aα be a subset of X.

Show that

XαIAα=αI(XAα)

and

XαIAα=αI(XAα)



Part One

Let's start by considering αIAα. By definition we have

xαIAα(xAα for some αI)

If x is not in αIAα, then we have

xαIAα(xAα for all αI)

Note the quantifier changes from "for some" to "for all" when negated.

So,  xXαIAα means

(xX)(xαIAα)

That is,

(xX)(xAα for all αI)

That means xX and also xAα for each and every Aα. This is equivalent to

xαI(XAα)

We have shown,

XαIAα=αI(XAα)


Part Two

The approach is similar to Part One.

Let's start by considering αIAα. By definition we have

xαIAα(xAα for all αI)

If x is not in αIAα, then we have

xαIAα(xAα for some αI)

Note the quantifier changes from "for all" to "for some" when negated. It might be easier to read "for some" as "at least one" in this example.

So,  xXαIAα means

(xX)(xαIAα)

That is,

(xX)(xAα for some αI)

That means xX and also xAα for some Aα. This is equivalent to

xαI(XAα)

We have shown,

XαIAα=αI(XAα)


Saturday, 16 March 2024

Tao Analysis I - 3.4.10

Exercise 3.4.10

Suppose that I and J are two sets, and for all αIJ let Aα be a set. Show that

(αIAα)(αJAα)=αIJAα

If I and I are non-empty, show that

(αIAα)(αJAα)=αIJAα


Union of Unions

Let's first consider the set (αIAα). By definition (3.2), we have

x(αIAα)xAα for some αI

Similarly, 

x(αJAα)xAα for some αJ

Now, by definition of pairwise union, if xXY(xY)(xY). So we have,

x(αIAα)(αJAα)(xAα for some αI)(xAα for some αJ)

The two membership conditions are combined in disjunction.

The RHS is equivalent to (xAα for some αIJ). This is the definition of αIJAα.

Thus, we have shown

(αIAα)(αJAα)=αIJAα


Intersection of Intersections

Let's consider the set (αIAα). By definition (3.4), we have

x(αIAα)xAα for all αI

Similarly,

x(αJAα)xAα for all αJ

Now, by definition of pairwise intersection, xXY(xY)(xY). So we have,

x(αIAα)(αJAα)(xAα for all αI)(xAα for all αJ)

The two membership conditions are combined in conjunction.

The RHS is equivalent to (xAα for all αIJ). This is the definition of αIJAα.

Thus, we have shown

(αIAα)(αJAα)=αIJAα


Tao Analysis I - 3.4.9

Exercise 3.4.9

Show that if β and β are two elements of a set I, and to each αI we assign a set Aα, then

{xAβ:xAα for all αI}={xAβ:xAα for all αI}

and so the definition of αIAα defined in (3.3) does not depend on β.

Also explain why (3.4) is true.


Let's remind ourselves what the more general definition of intersection (3.3) says:

Given any non-empty set I , and given an assignment of a set Aα to each αI, we can define the intersection αIAα by first choosing some element β of I (which we can do since I is non-empty), and setting

αIAα:={xAβ:xAα for all αI}

which is a set by the axiom of specification.


Thoughts

Since the intersection contains only elements which are members of all Aα, it doesn't matter which β is chosen to select one Aα=β

Another way to think about this is that, it is impossible to pick a bad Aβ because if an element is not in Aβ then it can't be in the intersection.

Another point worth making is that the definition looks over-complicated. Why can't be as simple as the following?

αIAα:={x:xAα for all αI}

The reason is that defining sets using logical statements can lead to paradoxes, as Tao introduced earlier. However, defining sets as subsets of known sets guarantees they are sets.


Solution

To show the two sets are equivalent, we need to show an element of one is also an element of the other.

If x{xAβ:xAα for all αI} then it must conform to the membership condition xAα for all αI.

Since Aβ is one of the Aα, then xAβ

So we have xAβ, and also xAα for all αI. This is equivalent to  x{xAβ:xAα for all αI}. This is the definition of the second set.

By a symmetric argument, if x is a member of the second set, it is also a member of the first.

Thus we have shown the two sets are equivalent. .


Now let's consider why (3.4) is true. Let's restate (3.4):

yαIAα(yAα for all αI)

Let's show this in the usual manner, that each statement implies the other.

If  yαIAα, then by definition (3.3) of the intersection of a family of sets, we have y{xAβ:xAα for all αI}. This means y must conform to the membership condition yAα for all αI. We have shown

yαIAαyAα for all αI

Now the converse, if yAα for all αI is true then the membership condition {yAβ:yAα for all αI} for the intersection is met, noting that Aβ is one of the Aα. Thus we have shown

yAα for all αIyαIAα

By showing both implications, we have shown that (3.4) is true.

Tao Analysis I - 3.4.8

Exercise 3.4.8

Show that Axiom 3.5 can be deduced from Axiom 3.1, Axiom 3.4, and Axiom 3.12.


Let's remind ourselves of these axioms.

Axiom 3.5 (Pairwise union). Given any two sets A, B, there exists a set AB, called the union of A and B, which consists of all the elements which belong to A or B or both. In other words, for any object x,

xAB(xAxB)

Axiom 3.1 (Sets are objects). If A is a set, then A is also an object. In particular, given two sets A and B, it is meaningful to ask whether A is also an element of B.

Axiom 3.4 (Singleton sets and pair sets). If a is an object, then there exists a set {a} whose only element is a, i.e., for every object y, we have y{a} if and only if y=a; we refer to {a} as the singleton set whose element is a. Furthermore, if a and b are objects, then there exists a set {a,b} whose only elements are a and b; i.e., for every object y, we have y{a,b} if and only if y=a or y=b; we refer to this set as the pair set formed by a and b.

Axiom 3.12 (Union). Let A be a set, all of whose elements are themselves sets. Then there exists a set A whose elements are precisely those objects which are elements of the elements of A, thus for all objects x

xA(xS for some SA)


Thoughts

The Axiom of Union 3.12 is a generalisation of Axiom of Pairwise Union 3.5. 

This suggests we should apply the given constraints to Axiom 3.12 to yield 3.5.


Solution

Consider two sets, A and B

Axiom 3.1 tells us these sets are objects. As such they can be considered elements of other sets.

Axiom 3.4 for pair sets tells us that two objects A and B, then there exists a s set C={A,B} whose only elements are A and B. In our case, A and B are also sets themselves.

Axion 3.12 tells us that there exists a set C whose elements are precisely those objects which are elements of the elements of C. That is,  the elements of C are the elements of A or B, or both.

x{A,B}(xAxB)

This is the definition of a pairwise set of A and B, this Axiom 3.5 follows from Axions 3.1, 3.4 and 3.12.

Thursday, 14 March 2024

Tao Analysis I - 3.4.7

Exercise 3.4.7

Let X,Y be sets. Define a partial function from X to Y to be any function f:XY whose domain X is a subset of X, and whose codomain Y is a subset of Y. Show that the collection of all partial functions from X to Y is itself a set. (Hint: use Exercise 3.4.6, the power set axiom, the replacement axiom, and the union axiom.)


Strategy

Intuitively the idea is to recognise that a set of all function from a single X and a single Y can be formed using the power set axiom. Then we need a way to expand from a single X to all subsets of X, and the same for all subsets of Y, in order for us to account for all functions from any subset of X to any subset of Y

Initially, this may suggest two uses of the union axion, but it turns out the first iteration can be done with the replacement axiom.


Solution

First consider X. We know from Exercise 3.4.6 which proves Lemma 3.4.10 that if X is a set, then there exists a set of all subsets of X, the power set of X. Let's call this P(X), and similarly, P(Y) for the power set of Y.

P(X)={X:XX}={X1,X2,X3,}

P(P)={Y:YY}={Y1,Y2,Y3,}


Now, given an XP(X), and a YP(Y), the power set axiom tells us there exists a set of all functions from XY.

(Y)X={f:XY}


Let's apply the axiom of replacement to P(X). Consider the following statement S(X,C)

S(X,C):C=(Y)(X)

The statement is true if C = (Y)(X). There is only one C for a given X, thus the axiom of replacement is applicable, and tells us the following set exists:

A={(Y)(X1),(Y)(X2),(Y)(X3),}

This A is a set of sets. Each member set consists of all the functions from each Xi to a fixed Y.


Let's remind ourselves of the Union Axiom 3.12.

Let A be a set, all of whose elements are themselves sets. Then there exists a set A

whose elements are precisely those objects which are of the elements of the element of A, thus for all objects x

xA(xS for some SA)


Let's apply the union axiom to our A={(Y)(Xi)}.

B=jA={(Yj)(Xi)}

Here the union is indexed by j over all subsets YjY

All functions from every X to a fixed Y are contained in a member set of A. Since B is a union of all (Yj)(Xi), it contains all functions from every XX to every YsubseteqY.

Therefore this set B consists of all the partial functions from X to Y, and is a set by the axioms that constructed it, as above.

Wednesday, 13 March 2024

Tao Analysis I - 3.4.6

Exercise 3.4.6 (edited as per errata)

Prove Lemma 3.4.10. (Hint: start with the set {0,1}X and apply the replacement axiom, replacing each function f with the object f1({1}).)


Let's write out Lemma 3.4.10. (edited as per errata)

Let X be a set. Then {Y:Y is a subset of X} is a set. That is to say, there exists a set Z such that YZYX for all objects Y.


Let's also remind ourselves of the Axiom of Replacement 3.7.

Let A be a set. For any object xA, and any object y, suppose we have a statement P(x,y) pertaining to x and y, such that for each xA there is at most one y for which P(x,y) is true. Then there exists a set 

{y:P(x,y) is true for some xA}

such that for any object z,

z{y:P(x,y) is true for some xA}P(x,z) is true for some xA


And the Power Set Axiom 3.11.

Let X and Y be sets. Then there exists a set, denoted YX, which consists of all the functions from X to Y, thus

fYX(f:XY)


Exploration

The lemma we need to prove is about existence. We need to prove that the given set exists. We also note that the axiom of replacement and the power set axiom are also about existence.

Let's also sketch out what the proof might look like illustrating the axioms and lemma with a small example (not proof). The following diagram shows A={a,b} and Y={0,1}, and the four functions which make up the power set YX={f1,f2,f3,f4}.

We can see the inverse images f1({1}) are all the subsets of X. Note that f2 does not have an inverse image f21({1}) because it does not map any element of X to 1Y.


Solution

Let's start arbitrary set X and a specific set Y={0,1}

The Power Set Axiom 3.7 tells us that there exists a set {0,1}X, which consists of all the functions f from X to {0,1}

{0,1}X={f:X{0,1}}


Now let's apply the Axiom of Replacement 3.7 to this set. Consider a statement P as follows:

P(f,A):A=f1({1})

The statement P is true if the set A is the inverse image of {1} with respect to the function f.

By definition of inverse images, there is exactly one A satisfying the statement P for each f, thus we can use the replacement axiom. 

Thus, by the Axiom of Replacement, there exists a set

B={A:A=f1({1})}

This set B consists of the inverse images of {1} for every f{0,1}X.


We now need to show that:

  • each A=f1({1}) is a subset of X
  • the set B consists of all subsets of X


If xA=f1({1}) then by definition of inverse images, f(x){1}. Since {1} is in Y, and the function is f, by definition of a function (domain, co-domain, mapping) we conclude xX. Thus xf1({1})xX. That is xAAX. We have shown that each A is a subset of X.


Every subset of A can characterised by a function:

fA(a)={1xA0xA

Such a function is a member of {0,1}X by definition. And as such, A=fA1({1}) is a member of B. Thus, all subsets of X are in B.


Thus, we have shown that if X is a set, then there exists a set of subsets of X.


Further Discussion

The above argument will work for any Y with cardinality more than 1.  This is because an element of Y can have an inverse image which is any subset of X

This is not possible if the cardinality of Y is 1. In this case, all elements of X map to this single element of Y and no partitioning of X into subsets is possible.