Proof about successor function

  • Thread starter Thread starter cragar
  • Start date Start date
  • Tags Tags
    Function Proof
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
cragar
Messages
2,546
Reaction score
3

Homework Statement


Successor of a set x is defined as [itex]S(x)=x \cup {x}[/itex]
Prove that if S(x)=S(y) then x=y
Our teacher gives us a hint and says use the foundation axiom.

The Attempt at a Solution



if [itex]S(x)=S(y)=x \cup {x}=y \cup {y}[/itex]
I feel like doing a proof by contradiction would work.
assume for contradiction that [itex]x \neq y[/itex]
if x does not equal y then [itex](<b>x \cup {x}) \neq (y \cup {y}) </b>[/itex]
which contradicts S(x)=S(y) therefore x=y.

[/B]
 
Physics news on Phys.org
cragar said:

Homework Statement


Successor of a set x is defined as [itex]S(x)=x \cup {x}[/itex]
Prove that if S(x)=S(y) then x=y
Our teacher gives us a hint and says use the foundation axiom.

The Attempt at a Solution



if [itex]S(x)=S(y)=x \cup {x}=y \cup {y}[/itex]
I feel like doing a proof by contradiction would work.
assume for contradiction that [itex]x \neq y[/itex]
if x does not equal y then [itex](<b>x \cup {x}) \neq (y \cup {y}) </b>[/itex]
which contradicts S(x)=S(y) therefore x=y.
[/B]
You probably meant ##S(x)=x \cup \{x\}##
Hint: can two sets be elements of each other? (I mean, is ##s \in t## and ##t \in s## possible?)
 
its only possible when s=t.
 
cragar said:
its only possible when s=t.
I thought not even then (consequence of axiom of foundation).
What can you then conclude from ##x \cup \{x\}=y \cup \{y\}##?
 
So [itex]x \cup (x)= (x, (x))[/itex] so x must equal y.
 
cragar said:
So [itex]x \cup (x)= (x, (x))[/itex] so x must equal y.
Can you elaborate? I don't understand how you got that conclusion.
 
If x is unioned with the set that contains x, the only elements are x so if x didn't equal y we would have different sets.
 
cragar said:
If x is unioned with the set that contains x, the only elements are x so if x didn't equal y we would have different sets.
Is that correct?
Take ##x=\{1,2\}##. Then ##x \cup \{x\}=\{1,2,\{1,2\}\}##. I think you have the correct idea, but as this is an exercise in the foundations (no pun intended) of set theory, the argument should be a little more formal.