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

Theorem dfac4 9809
Description: Equivalence of two versions of the Axiom of Choice. The right-hand side is Axiom AC of [BellMachover] p. 488. The proof does not depend on AC. (Contributed by NM, 24-Mar-2004.) (Revised by Mario Carneiro, 26-Jun-2015.)
Assertion
Ref Expression
dfac4 (CHOICE ↔ ∀𝑥𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
Distinct variable group:   𝑥,𝑓,𝑧

Proof of Theorem dfac4
Dummy variables 𝑦 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfac3 9808 . 2 (CHOICE ↔ ∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))
2 fveq1 6755 . . . . . . . . 9 (𝑓 = 𝑦 → (𝑓𝑧) = (𝑦𝑧))
32eleq1d 2823 . . . . . . . 8 (𝑓 = 𝑦 → ((𝑓𝑧) ∈ 𝑧 ↔ (𝑦𝑧) ∈ 𝑧))
43imbi2d 340 . . . . . . 7 (𝑓 = 𝑦 → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧)))
54ralbidv 3120 . . . . . 6 (𝑓 = 𝑦 → (∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧)))
65cbvexvw 2041 . . . . 5 (∃𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∃𝑦𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧))
7 fvex 6769 . . . . . . . . 9 (𝑦𝑤) ∈ V
8 eqid 2738 . . . . . . . . 9 (𝑤𝑥 ↦ (𝑦𝑤)) = (𝑤𝑥 ↦ (𝑦𝑤))
97, 8fnmpti 6560 . . . . . . . 8 (𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥
10 fveq2 6756 . . . . . . . . . . . . 13 (𝑤 = 𝑧 → (𝑦𝑤) = (𝑦𝑧))
11 fvex 6769 . . . . . . . . . . . . 13 (𝑦𝑧) ∈ V
1210, 8, 11fvmpt 6857 . . . . . . . . . . . 12 (𝑧𝑥 → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) = (𝑦𝑧))
1312eleq1d 2823 . . . . . . . . . . 11 (𝑧𝑥 → (((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧 ↔ (𝑦𝑧) ∈ 𝑧))
1413imbi2d 340 . . . . . . . . . 10 (𝑧𝑥 → ((𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧)))
1514ralbiia 3089 . . . . . . . . 9 (∀𝑧𝑥 (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧) ↔ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧))
1615anbi2i 622 . . . . . . . 8 (((𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧)) ↔ ((𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧)))
179, 16mpbiran 705 . . . . . . 7 (((𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧)) ↔ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧))
18 fvrn0 6784 . . . . . . . . . . 11 (𝑦𝑤) ∈ (ran 𝑦 ∪ {∅})
1918rgenw 3075 . . . . . . . . . 10 𝑤𝑥 (𝑦𝑤) ∈ (ran 𝑦 ∪ {∅})
208fmpt 6966 . . . . . . . . . 10 (∀𝑤𝑥 (𝑦𝑤) ∈ (ran 𝑦 ∪ {∅}) ↔ (𝑤𝑥 ↦ (𝑦𝑤)):𝑥⟶(ran 𝑦 ∪ {∅}))
2119, 20mpbi 229 . . . . . . . . 9 (𝑤𝑥 ↦ (𝑦𝑤)):𝑥⟶(ran 𝑦 ∪ {∅})
22 vex 3426 . . . . . . . . 9 𝑥 ∈ V
23 vex 3426 . . . . . . . . . . 11 𝑦 ∈ V
2423rnex 7733 . . . . . . . . . 10 ran 𝑦 ∈ V
25 p0ex 5302 . . . . . . . . . 10 {∅} ∈ V
2624, 25unex 7574 . . . . . . . . 9 (ran 𝑦 ∪ {∅}) ∈ V
27 fex2 7754 . . . . . . . . 9 (((𝑤𝑥 ↦ (𝑦𝑤)):𝑥⟶(ran 𝑦 ∪ {∅}) ∧ 𝑥 ∈ V ∧ (ran 𝑦 ∪ {∅}) ∈ V) → (𝑤𝑥 ↦ (𝑦𝑤)) ∈ V)
2821, 22, 26, 27mp3an 1459 . . . . . . . 8 (𝑤𝑥 ↦ (𝑦𝑤)) ∈ V
29 fneq1 6508 . . . . . . . . 9 (𝑓 = (𝑤𝑥 ↦ (𝑦𝑤)) → (𝑓 Fn 𝑥 ↔ (𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥))
30 fveq1 6755 . . . . . . . . . . . 12 (𝑓 = (𝑤𝑥 ↦ (𝑦𝑤)) → (𝑓𝑧) = ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧))
3130eleq1d 2823 . . . . . . . . . . 11 (𝑓 = (𝑤𝑥 ↦ (𝑦𝑤)) → ((𝑓𝑧) ∈ 𝑧 ↔ ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧))
3231imbi2d 340 . . . . . . . . . 10 (𝑓 = (𝑤𝑥 ↦ (𝑦𝑤)) → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧)))
3332ralbidv 3120 . . . . . . . . 9 (𝑓 = (𝑤𝑥 ↦ (𝑦𝑤)) → (∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧𝑥 (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧)))
3429, 33anbi12d 630 . . . . . . . 8 (𝑓 = (𝑤𝑥 ↦ (𝑦𝑤)) → ((𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)) ↔ ((𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧))))
3528, 34spcev 3535 . . . . . . 7 (((𝑤𝑥 ↦ (𝑦𝑤)) Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → ((𝑤𝑥 ↦ (𝑦𝑤))‘𝑧) ∈ 𝑧)) → ∃𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
3617, 35sylbir 234 . . . . . 6 (∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
3736exlimiv 1934 . . . . 5 (∃𝑦𝑧𝑥 (𝑧 ≠ ∅ → (𝑦𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
386, 37sylbi 216 . . . 4 (∃𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
39 exsimpr 1873 . . . 4 (∃𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)) → ∃𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))
4038, 39impbii 208 . . 3 (∃𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∃𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
4140albii 1823 . 2 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑥𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
421, 41bitri 274 1 (CHOICE ↔ ∀𝑥𝑓(𝑓 Fn 𝑥 ∧ ∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  wne 2942  wral 3063  Vcvv 3422  cun 3881  c0 4253  {csn 4558  cmpt 5153  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418  CHOICEwac 9802
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ac 9803
This theorem is referenced by:  dfac5  9815  dfacacn  9828  ac5  10164
  Copyright terms: Public domain W3C validator