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

Theorem dfacacn 9828
Description: A choice equivalent: every set has choice sets of every length. (Contributed by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
dfacacn (CHOICE ↔ ∀𝑥AC 𝑥 = V)

Proof of Theorem dfacacn
Dummy variables 𝑓 𝑔 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 acacni 9827 . . . 4 ((CHOICE𝑥 ∈ V) → AC 𝑥 = V)
21elvd 3429 . . 3 (CHOICEAC 𝑥 = V)
32alrimiv 1931 . 2 (CHOICE → ∀𝑥AC 𝑥 = V)
4 vex 3426 . . . . . . 7 𝑦 ∈ V
54difexi 5247 . . . . . 6 (𝑦 ∖ {∅}) ∈ V
6 acneq 9730 . . . . . . 7 (𝑥 = (𝑦 ∖ {∅}) → AC 𝑥 = AC (𝑦 ∖ {∅}))
76eqeq1d 2740 . . . . . 6 (𝑥 = (𝑦 ∖ {∅}) → (AC 𝑥 = V ↔ AC (𝑦 ∖ {∅}) = V))
85, 7spcv 3534 . . . . 5 (∀𝑥AC 𝑥 = V → AC (𝑦 ∖ {∅}) = V)
9 vuniex 7570 . . . . . . 7 𝑦 ∈ V
10 id 22 . . . . . . 7 (AC (𝑦 ∖ {∅}) = V → AC (𝑦 ∖ {∅}) = V)
119, 10eleqtrrid 2846 . . . . . 6 (AC (𝑦 ∖ {∅}) = V → 𝑦AC (𝑦 ∖ {∅}))
12 eldifi 4057 . . . . . . . . 9 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧𝑦)
13 elssuni 4868 . . . . . . . . 9 (𝑧𝑦𝑧 𝑦)
1412, 13syl 17 . . . . . . . 8 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧 𝑦)
15 eldifsni 4720 . . . . . . . 8 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧 ≠ ∅)
1614, 15jca 511 . . . . . . 7 (𝑧 ∈ (𝑦 ∖ {∅}) → (𝑧 𝑦𝑧 ≠ ∅))
1716rgen 3073 . . . . . 6 𝑧 ∈ (𝑦 ∖ {∅})(𝑧 𝑦𝑧 ≠ ∅)
18 acni2 9733 . . . . . 6 (( 𝑦AC (𝑦 ∖ {∅}) ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑧 𝑦𝑧 ≠ ∅)) → ∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧))
1911, 17, 18sylancl 585 . . . . 5 (AC (𝑦 ∖ {∅}) = V → ∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧))
204mptex 7081 . . . . . . 7 (𝑥𝑦 ↦ (𝑔𝑥)) ∈ V
21 simpr 484 . . . . . . . . 9 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧)
22 eldifsn 4717 . . . . . . . . . . . 12 (𝑧 ∈ (𝑦 ∖ {∅}) ↔ (𝑧𝑦𝑧 ≠ ∅))
2322imbi1i 349 . . . . . . . . . . 11 ((𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ ((𝑧𝑦𝑧 ≠ ∅) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
24 fveq2 6756 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (𝑔𝑥) = (𝑔𝑧))
25 eqid 2738 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↦ (𝑔𝑥)) = (𝑥𝑦 ↦ (𝑔𝑥))
26 fvex 6769 . . . . . . . . . . . . . . 15 (𝑔𝑧) ∈ V
2724, 25, 26fvmpt 6857 . . . . . . . . . . . . . 14 (𝑧𝑦 → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) = (𝑔𝑧))
2812, 27syl 17 . . . . . . . . . . . . 13 (𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) = (𝑔𝑧))
2928eleq1d 2823 . . . . . . . . . . . 12 (𝑧 ∈ (𝑦 ∖ {∅}) → (((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧 ↔ (𝑔𝑧) ∈ 𝑧))
3029pm5.74i 270 . . . . . . . . . . 11 ((𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ (𝑧 ∈ (𝑦 ∖ {∅}) → (𝑔𝑧) ∈ 𝑧))
31 impexp 450 . . . . . . . . . . 11 (((𝑧𝑦𝑧 ≠ ∅) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ (𝑧𝑦 → (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
3223, 30, 313bitr3i 300 . . . . . . . . . 10 ((𝑧 ∈ (𝑦 ∖ {∅}) → (𝑔𝑧) ∈ 𝑧) ↔ (𝑧𝑦 → (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
3332ralbii2 3088 . . . . . . . . 9 (∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧 ↔ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
3421, 33sylib 217 . . . . . . . 8 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
35 fvrn0 6784 . . . . . . . . . . 11 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅})
3635rgenw 3075 . . . . . . . . . 10 𝑥𝑦 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅})
3725fmpt 6966 . . . . . . . . . 10 (∀𝑥𝑦 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅}) ↔ (𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅}))
3836, 37mpbi 229 . . . . . . . . 9 (𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅})
39 ffn 6584 . . . . . . . . 9 ((𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅}) → (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦)
4038, 39ax-mp 5 . . . . . . . 8 (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦
4134, 40jctil 519 . . . . . . 7 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
42 fneq1 6508 . . . . . . . . 9 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (𝑓 Fn 𝑦 ↔ (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦))
43 fveq1 6755 . . . . . . . . . . . 12 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (𝑓𝑧) = ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧))
4443eleq1d 2823 . . . . . . . . . . 11 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑓𝑧) ∈ 𝑧 ↔ ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
4544imbi2d 340 . . . . . . . . . 10 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
4645ralbidv 3120 . . . . . . . . 9 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
4742, 46anbi12d 630 . . . . . . . 8 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)) ↔ ((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))))
4847spcegv 3526 . . . . . . 7 ((𝑥𝑦 ↦ (𝑔𝑥)) ∈ V → (((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))))
4920, 41, 48mpsyl 68 . . . . . 6 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5049exlimiv 1934 . . . . 5 (∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
518, 19, 503syl 18 . . . 4 (∀𝑥AC 𝑥 = V → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5251alrimiv 1931 . . 3 (∀𝑥AC 𝑥 = V → ∀𝑦𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
53 dfac4 9809 . . 3 (CHOICE ↔ ∀𝑦𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5452, 53sylibr 233 . 2 (∀𝑥AC 𝑥 = V → CHOICE)
553, 54impbii 208 1 (CHOICE ↔ ∀𝑥AC 𝑥 = V)
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  cdif 3880  cun 3881  wss 3883  c0 4253  {csn 4558   cuni 4836  cmpt 5153  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418  AC wacn 9627  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-rep 5205  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-3or 1086  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-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  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-pred 6191  df-ord 6254  df-on 6255  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-card 9628  df-acn 9631  df-ac 9803
This theorem is referenced by:  dfac13  9829
  Copyright terms: Public domain W3C validator