MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  zfpair Structured version   Visualization version   GIF version

Theorem zfpair 5314
Description: The Axiom of Pairing of Zermelo-Fraenkel set theory. Axiom 2 of [TakeutiZaring] p. 15. In some textbooks this is stated as a separate axiom; here we show it is redundant since it can be derived from the other axioms.

This theorem should not be referenced by any proof other than axprALT 5315. Instead, use zfpair2 5323 below so that the uses of the Axiom of Pairing can be more easily identified. (Contributed by NM, 18-Oct-1995.) (New usage is discouraged.)

Assertion
Ref Expression
zfpair {𝑥, 𝑦} ∈ V

Proof of Theorem zfpair
Dummy variables 𝑧 𝑤 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfpr2 4580 . 2 {𝑥, 𝑦} = {𝑤 ∣ (𝑤 = 𝑥𝑤 = 𝑦)}
2 19.43 1879 . . . . 5 (∃𝑧((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) ↔ (∃𝑧(𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ ∃𝑧(𝑧 = {∅} ∧ 𝑤 = 𝑦)))
3 prlem2 1050 . . . . . 6 (((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) ↔ ((𝑧 = ∅ ∨ 𝑧 = {∅}) ∧ ((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦))))
43exbii 1844 . . . . 5 (∃𝑧((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) ↔ ∃𝑧((𝑧 = ∅ ∨ 𝑧 = {∅}) ∧ ((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦))))
5 0ex 5204 . . . . . . . 8 ∅ ∈ V
65isseti 3509 . . . . . . 7 𝑧 𝑧 = ∅
7 19.41v 1946 . . . . . . 7 (∃𝑧(𝑧 = ∅ ∧ 𝑤 = 𝑥) ↔ (∃𝑧 𝑧 = ∅ ∧ 𝑤 = 𝑥))
86, 7mpbiran 707 . . . . . 6 (∃𝑧(𝑧 = ∅ ∧ 𝑤 = 𝑥) ↔ 𝑤 = 𝑥)
9 p0ex 5277 . . . . . . . 8 {∅} ∈ V
109isseti 3509 . . . . . . 7 𝑧 𝑧 = {∅}
11 19.41v 1946 . . . . . . 7 (∃𝑧(𝑧 = {∅} ∧ 𝑤 = 𝑦) ↔ (∃𝑧 𝑧 = {∅} ∧ 𝑤 = 𝑦))
1210, 11mpbiran 707 . . . . . 6 (∃𝑧(𝑧 = {∅} ∧ 𝑤 = 𝑦) ↔ 𝑤 = 𝑦)
138, 12orbi12i 911 . . . . 5 ((∃𝑧(𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ ∃𝑧(𝑧 = {∅} ∧ 𝑤 = 𝑦)) ↔ (𝑤 = 𝑥𝑤 = 𝑦))
142, 4, 133bitr3ri 304 . . . 4 ((𝑤 = 𝑥𝑤 = 𝑦) ↔ ∃𝑧((𝑧 = ∅ ∨ 𝑧 = {∅}) ∧ ((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦))))
1514abbii 2886 . . 3 {𝑤 ∣ (𝑤 = 𝑥𝑤 = 𝑦)} = {𝑤 ∣ ∃𝑧((𝑧 = ∅ ∨ 𝑧 = {∅}) ∧ ((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)))}
16 dfpr2 4580 . . . . 5 {∅, {∅}} = {𝑧 ∣ (𝑧 = ∅ ∨ 𝑧 = {∅})}
17 pp0ex 5279 . . . . 5 {∅, {∅}} ∈ V
1816, 17eqeltrri 2910 . . . 4 {𝑧 ∣ (𝑧 = ∅ ∨ 𝑧 = {∅})} ∈ V
19 equequ2 2029 . . . . . . . 8 (𝑣 = 𝑥 → (𝑤 = 𝑣𝑤 = 𝑥))
20 0inp0 5252 . . . . . . . 8 (𝑧 = ∅ → ¬ 𝑧 = {∅})
2119, 20prlem1 1049 . . . . . . 7 (𝑣 = 𝑥 → (𝑧 = ∅ → (((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣)))
2221alrimdv 1926 . . . . . 6 (𝑣 = 𝑥 → (𝑧 = ∅ → ∀𝑤(((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣)))
2322spimevw 1997 . . . . 5 (𝑧 = ∅ → ∃𝑣𝑤(((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣))
24 orcom 866 . . . . . . . 8 (((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) ↔ ((𝑧 = {∅} ∧ 𝑤 = 𝑦) ∨ (𝑧 = ∅ ∧ 𝑤 = 𝑥)))
25 equequ2 2029 . . . . . . . . 9 (𝑣 = 𝑦 → (𝑤 = 𝑣𝑤 = 𝑦))
2620con2i 141 . . . . . . . . 9 (𝑧 = {∅} → ¬ 𝑧 = ∅)
2725, 26prlem1 1049 . . . . . . . 8 (𝑣 = 𝑦 → (𝑧 = {∅} → (((𝑧 = {∅} ∧ 𝑤 = 𝑦) ∨ (𝑧 = ∅ ∧ 𝑤 = 𝑥)) → 𝑤 = 𝑣)))
2824, 27syl7bi 257 . . . . . . 7 (𝑣 = 𝑦 → (𝑧 = {∅} → (((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣)))
2928alrimdv 1926 . . . . . 6 (𝑣 = 𝑦 → (𝑧 = {∅} → ∀𝑤(((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣)))
3029spimevw 1997 . . . . 5 (𝑧 = {∅} → ∃𝑣𝑤(((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣))
3123, 30jaoi 853 . . . 4 ((𝑧 = ∅ ∨ 𝑧 = {∅}) → ∃𝑣𝑤(((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)) → 𝑤 = 𝑣))
3218, 31zfrep4 5193 . . 3 {𝑤 ∣ ∃𝑧((𝑧 = ∅ ∨ 𝑧 = {∅}) ∧ ((𝑧 = ∅ ∧ 𝑤 = 𝑥) ∨ (𝑧 = {∅} ∧ 𝑤 = 𝑦)))} ∈ V
3315, 32eqeltri 2909 . 2 {𝑤 ∣ (𝑤 = 𝑥𝑤 = 𝑦)} ∈ V
341, 33eqeltri 2909 1 {𝑥, 𝑦} ∈ V
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wo 843  wal 1531   = wceq 1533  wex 1776  wcel 2110  {cab 2799  Vcvv 3495  c0 4291  {csn 4561  {cpr 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-v 3497  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-pw 4541  df-sn 4562  df-pr 4564
This theorem is referenced by:  axprALT  5315
  Copyright terms: Public domain W3C validator