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

Theorem zfac 9483
Description: Axiom of Choice expressed with the fewest number of different variables. The penultimate step shows the logical equivalence to ax-ac 9482. (New usage is discouraged.) (Contributed by NM, 14-Aug-2003.)
Assertion
Ref Expression
zfac 𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
Distinct variable group:   𝑥,𝑦,𝑧,𝑤

Proof of Theorem zfac
Dummy variables 𝑣 𝑢 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ax-ac 9482 . 2 𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣))
2 equequ2 2110 . . . . . . . . . 10 (𝑣 = 𝑤 → (𝑢 = 𝑣𝑢 = 𝑤))
32bibi2d 331 . . . . . . . . 9 (𝑣 = 𝑤 → ((∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ (∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑤)))
4 elequ2 2158 . . . . . . . . . . . . 13 (𝑡 = 𝑤 → (𝑧𝑡𝑧𝑤))
54anbi2d 606 . . . . . . . . . . . 12 (𝑡 = 𝑤 → ((𝑢𝑧𝑧𝑡) ↔ (𝑢𝑧𝑧𝑤)))
6 elequ2 2158 . . . . . . . . . . . . 13 (𝑡 = 𝑤 → (𝑢𝑡𝑢𝑤))
7 elequ1 2151 . . . . . . . . . . . . 13 (𝑡 = 𝑤 → (𝑡𝑥𝑤𝑥))
86, 7anbi12d 608 . . . . . . . . . . . 12 (𝑡 = 𝑤 → ((𝑢𝑡𝑡𝑥) ↔ (𝑢𝑤𝑤𝑥)))
95, 8anbi12d 608 . . . . . . . . . . 11 (𝑡 = 𝑤 → (((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ ((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥))))
109cbvexv 2434 . . . . . . . . . 10 (∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ ∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)))
1110bibi1i 327 . . . . . . . . 9 ((∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑤) ↔ (∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤))
123, 11syl6bb 276 . . . . . . . 8 (𝑣 = 𝑤 → ((∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ (∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤)))
1312albidv 2000 . . . . . . 7 (𝑣 = 𝑤 → (∀𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ ∀𝑢(∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤)))
14 elequ1 2151 . . . . . . . . . . . 12 (𝑢 = 𝑦 → (𝑢𝑧𝑦𝑧))
1514anbi1d 607 . . . . . . . . . . 11 (𝑢 = 𝑦 → ((𝑢𝑧𝑧𝑤) ↔ (𝑦𝑧𝑧𝑤)))
16 elequ1 2151 . . . . . . . . . . . 12 (𝑢 = 𝑦 → (𝑢𝑤𝑦𝑤))
1716anbi1d 607 . . . . . . . . . . 11 (𝑢 = 𝑦 → ((𝑢𝑤𝑤𝑥) ↔ (𝑦𝑤𝑤𝑥)))
1815, 17anbi12d 608 . . . . . . . . . 10 (𝑢 = 𝑦 → (((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ ((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥))))
1918exbidv 2001 . . . . . . . . 9 (𝑢 = 𝑦 → (∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ ∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥))))
20 equequ1 2109 . . . . . . . . 9 (𝑢 = 𝑦 → (𝑢 = 𝑤𝑦 = 𝑤))
2119, 20bibi12d 334 . . . . . . . 8 (𝑢 = 𝑦 → ((∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤) ↔ (∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
2221cbvalv 2433 . . . . . . 7 (∀𝑢(∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤) ↔ ∀𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
2313, 22syl6bb 276 . . . . . 6 (𝑣 = 𝑤 → (∀𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ ∀𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
2423cbvexv 2434 . . . . 5 (∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
2524imbi2i 325 . . . 4 (((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣)) ↔ ((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
26252albii 1895 . . 3 (∀𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣)) ↔ ∀𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
2726exbii 1923 . 2 (∃𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣)) ↔ ∃𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
281, 27mpbi 220 1 𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  wal 1628  wex 1851
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-8 2146  ax-9 2153  ax-11 2189  ax-12 2202  ax-13 2407  ax-ac 9482
This theorem depends on definitions:  df-bi 197  df-an 383  df-ex 1852  df-nf 1857
This theorem is referenced by:  axacndlem4  9633
  Copyright terms: Public domain W3C validator