Ask your own question, for FREE!
Mathematics 21 Online
OpenStudy (anonymous):

Set theory operations from logical operations

Parth (parthkohli):

\[A \cap B = C\]is equivalent to\[k\in C \iff (k\in A) \wedge (k \in B)\]I don't even know what the question is but...

OpenStudy (anonymous):

The set operations seem to mimic logical operations. \[ A\cap B = C \equiv \forall x:x\in A\land x\in B \iff x \in C \]In this sense \(\cap\) corresponds to \(\land\), \(\cup\) corresponds to \(\lor\), \(\subseteq\) corresponds to \(\implies \), \(\setminus \) is more of a combination of two operations, or as \(a \land \lnot b\), which is \(\lnot (a \implies b)\). I'm just sort of thinking aloud here.

OpenStudy (anonymous):

It's not really a tutorial, it's more of a discussion. You can ask questions but there is no actual question.

OpenStudy (anonymous):

\[ A f(\circ) B = C\equiv \forall x:(x \in A) \circ (x\in B) \iff x \in C \]Hmmmmm

OpenStudy (anonymous):

So \(f(\land) = \cap\).

OpenStudy (anonymous):

so would set theory disallow this? Since it requires that there exist a set of all sets?

OpenStudy (anonymous):

Let \(B = \{ true, false\}\). We can say \(\circ\) is an operation on \(B\), but we can't say \(\cap\) is an operation/mapping because it acts on all sets, and you can't have a set of all sets.

OpenStudy (perl):

How did you go from operating on a set to a set of all sets.

OpenStudy (anonymous):

Well, what would you say is the domain and codomain of \(\cap\)?

OpenStudy (perl):

I don't know if we can think of intersection as a function or an operation in the traditional sense. the power set i think is an operation

OpenStudy (anonymous):

Hmmm

OpenStudy (anonymous):

power set still has 'all sets' as a domain, codomain

OpenStudy (perl):

ok I think I understand you are saying. For intersection U X U -> U for union the same

OpenStudy (anonymous):

Yep

OpenStudy (perl):

but you are using the domain as U, not UXU ?

OpenStudy (perl):

taking the cross product of such a large set can present its own problems

OpenStudy (anonymous):

for a unary operation, you have U -> U

OpenStudy (perl):

complement would be a unary operation

OpenStudy (anonymous):

Yep Well maybe what we need is a new math concept, say "collection" , like a set, but less strict. Less strict to the sense that we can say the "collection" of all sets

OpenStudy (perl):

Why did it bother the early 20th century mathematicians so much, allowing a universal set.

OpenStudy (anonymous):

And a collection would nee the ability to let you know if something is in it or not, to iterate through it, have no duplicates?

OpenStudy (perl):

I would rather have a system that is clear and intuitive , that may have a paradox, than a complicated system that I cannot use.

OpenStudy (anonymous):

Yeah, this is something we can do in programming, yet we can't do it in math. How bizarre!

OpenStudy (perl):

you can allow self reference in programming, as you said with memory earlier?

OpenStudy (anonymous):

yeah

OpenStudy (perl):

what you described above with logic and set theory is whats called an isomorphism

OpenStudy (anonymous):

You can have an array of arrays, where one of the elements is itself

OpenStudy (perl):

with some qualifications , the logical *and* corresponds to intersection

OpenStudy (perl):

can you find a logical operation that is equivalent to A subset B

OpenStudy (anonymous):

Well \(\implies \) corresponds to \(\supseteq\)

OpenStudy (perl):

with some tweaking it could work. note that you need for all x for the subset condition

OpenStudy (anonymous):

Here is something I found that is interesting: https://en.wikipedia.org/wiki/Type_theory

OpenStudy (perl):

"In type theory, concepts like "and" and "or" can be encoded as types in the type theory itself." This could correspond to memory addresses

OpenStudy (perl):

Here is some of the history behind type theory Types were created to prevent paradoxes, such as Russell's paradox. However, the motives that lead to those paradoxes – being able to say things about all types – still exist. So many type theories have a "universe type", which contains all other types.

OpenStudy (perl):

There is probably no way to avoid universe in some sense

OpenStudy (anonymous):

Here is another idea: \[ f(\circ)A = y \equiv \forall x\in A: x \circ \bigg(f(\circ) (A\setminus x)\bigg) = y \]

OpenStudy (anonymous):

wait, that isn't quite right...

OpenStudy (anonymous):

Here is another idea: \[ f(\circ)A = y \equiv \bigg( f(\circ)\emptyset = I_{\circ} \bigg) \land x\in A \implies x \circ \bigg(f(\circ) (A\setminus x)\bigg) = y \]

OpenStudy (anonymous):

Hmm, what I'm trying to do is describe a map. It takes a binary operation with an identity element. For the empty set, it returns that element. For a non empty set, it removes any element x from the set, finds the result for the set minus x, then performs the operation on x and this result

OpenStudy (anonymous):

The idea is \(f(+)\) corresponds to \(\sum\).

OpenStudy (anonymous):

\[ f(\circ) = \begin{cases} \circ_{identity} & \emptyset \\ x\circ f(\circ) (A\setminus\{x\}) &\text{otherwise} \end{cases} \]I wonder if this is problematic in ZF set theory. Can you pick out an arbitrary element, and keep doing this until you have an empty set?

OpenStudy (anonymous):

Also, for \(x\) to be an arbitrary element in \(A\), then I'm guessing this operation must be associative.

OpenStudy (perl):

is your latter definition of \( f \circ \) different from your former definition above \( A f(\circ) B = C\equiv \forall x:(x \in A) \circ (x\in B) \iff x \in C\)

OpenStudy (anonymous):

Yep, they are not the same \(f\).

OpenStudy (anonymous):

Right now I'm doing something along the lines of: \[ g(+)A =\sum_{x \in A}x \]

OpenStudy (anonymous):

Like \[ g(\cap) A =y \equiv \left(\bigcup_{x\in A}x \right)= y \]

OpenStudy (anonymous):

an accumulator function

OpenStudy (anonymous):

While \(f(\land) = \cap\) was more of a setwise function.

OpenStudy (perl):

okay that looks valid, but your definition looks recursive

OpenStudy (perl):

$$f(\circ) = \begin{cases} \circ_{identity} & \emptyset \\ x\circ \color{red}{f(\circ)} (A\setminus\{x\}) &\text{otherwise} \end{cases} $$

OpenStudy (anonymous):

Eventually you will run out of elements to use and hit the base case of the empty set.

OpenStudy (perl):

can you show me how it operates on \( \{1,2,3 \} \) $$\Large f(\circ) \{ 1,2,3\}$$

OpenStudy (anonymous):

\[ f(\circ) \{1,2,3\} \equiv 1 \circ(2\circ 3) = 1 \circ(3\circ 2) = 2\circ (1\circ 3) = 2\circ(3\circ 1) = \ldots \]

OpenStudy (anonymous):

Well, technically: \[ f(\circ)\{1,2,3\} \equiv 1\circ (2\circ (3\circ \text{idenity} )) \]

OpenStudy (perl):

okay so this is defining an associative operation using a binary operation

OpenStudy (anonymous):

Nope

OpenStudy (anonymous):

It's like this: \[ f(+)\{1,2,3\} \equiv \sum_{k\in\{1,2,3\}}k = 1+ 2+ 3 \]

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!