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

Theorem zfac 9229
Description: Axiom of Choice expressed with the fewest number of different variables. The penultimate step shows the logical equivalence to ax-ac 9228. (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 9228 . 2 𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣))
2 equequ2 1950 . . . . . . . . . 10 (𝑣 = 𝑤 → (𝑢 = 𝑣𝑢 = 𝑤))
32bibi2d 332 . . . . . . . . 9 (𝑣 = 𝑤 → ((∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ (∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑤)))
4 elequ2 2001 . . . . . . . . . . . . 13 (𝑡 = 𝑤 → (𝑧𝑡𝑧𝑤))
54anbi2d 739 . . . . . . . . . . . 12 (𝑡 = 𝑤 → ((𝑢𝑧𝑧𝑡) ↔ (𝑢𝑧𝑧𝑤)))
6 elequ2 2001 . . . . . . . . . . . . 13 (𝑡 = 𝑤 → (𝑢𝑡𝑢𝑤))
7 elequ1 1994 . . . . . . . . . . . . 13 (𝑡 = 𝑤 → (𝑡𝑥𝑤𝑥))
86, 7anbi12d 746 . . . . . . . . . . . 12 (𝑡 = 𝑤 → ((𝑢𝑡𝑡𝑥) ↔ (𝑢𝑤𝑤𝑥)))
95, 8anbi12d 746 . . . . . . . . . . 11 (𝑡 = 𝑤 → (((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ ((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥))))
109cbvexv 2274 . . . . . . . . . 10 (∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ ∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)))
1110bibi1i 328 . . . . . . . . 9 ((∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑤) ↔ (∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤))
123, 11syl6bb 276 . . . . . . . 8 (𝑣 = 𝑤 → ((∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ (∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤)))
1312albidv 1846 . . . . . . 7 (𝑣 = 𝑤 → (∀𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ ∀𝑢(∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤)))
14 elequ1 1994 . . . . . . . . . . . 12 (𝑢 = 𝑦 → (𝑢𝑧𝑦𝑧))
1514anbi1d 740 . . . . . . . . . . 11 (𝑢 = 𝑦 → ((𝑢𝑧𝑧𝑤) ↔ (𝑦𝑧𝑧𝑤)))
16 elequ1 1994 . . . . . . . . . . . 12 (𝑢 = 𝑦 → (𝑢𝑤𝑦𝑤))
1716anbi1d 740 . . . . . . . . . . 11 (𝑢 = 𝑦 → ((𝑢𝑤𝑤𝑥) ↔ (𝑦𝑤𝑤𝑥)))
1815, 17anbi12d 746 . . . . . . . . . 10 (𝑢 = 𝑦 → (((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ ((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥))))
1918exbidv 1847 . . . . . . . . 9 (𝑢 = 𝑦 → (∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ ∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥))))
20 equequ1 1949 . . . . . . . . 9 (𝑢 = 𝑦 → (𝑢 = 𝑤𝑦 = 𝑤))
2119, 20bibi12d 335 . . . . . . . 8 (𝑢 = 𝑦 → ((∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤) ↔ (∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
2221cbvalv 2272 . . . . . . 7 (∀𝑢(∃𝑤((𝑢𝑧𝑧𝑤) ∧ (𝑢𝑤𝑤𝑥)) ↔ 𝑢 = 𝑤) ↔ ∀𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
2313, 22syl6bb 276 . . . . . 6 (𝑣 = 𝑤 → (∀𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ ∀𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
2423cbvexv 2274 . . . . 5 (∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣) ↔ ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
2524imbi2i 326 . . . 4 (((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣)) ↔ ((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
26252albii 1745 . . 3 (∀𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣)) ↔ ∀𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
2726exbii 1771 . 2 (∃𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑣𝑢(∃𝑡((𝑢𝑧𝑧𝑡) ∧ (𝑢𝑡𝑡𝑥)) ↔ 𝑢 = 𝑣)) ↔ ∃𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤)))
281, 27mpbi 220 1 𝑥𝑦𝑧((𝑦𝑧𝑧𝑤) → ∃𝑤𝑦(∃𝑤((𝑦𝑧𝑧𝑤) ∧ (𝑦𝑤𝑤𝑥)) ↔ 𝑦 = 𝑤))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  wal 1478  wex 1701
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ac 9228
This theorem depends on definitions:  df-bi 197  df-an 386  df-ex 1702  df-nf 1707
This theorem is referenced by:  axacndlem4  9379
  Copyright terms: Public domain W3C validator