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

Theorem dfacacn 9897
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 9896 . . . 4 ((CHOICE𝑥 ∈ V) → AC 𝑥 = V)
21elvd 3439 . . 3 (CHOICEAC 𝑥 = V)
32alrimiv 1930 . 2 (CHOICE → ∀𝑥AC 𝑥 = V)
4 vex 3436 . . . . . . 7 𝑦 ∈ V
54difexi 5252 . . . . . 6 (𝑦 ∖ {∅}) ∈ V
6 acneq 9799 . . . . . . 7 (𝑥 = (𝑦 ∖ {∅}) → AC 𝑥 = AC (𝑦 ∖ {∅}))
76eqeq1d 2740 . . . . . 6 (𝑥 = (𝑦 ∖ {∅}) → (AC 𝑥 = V ↔ AC (𝑦 ∖ {∅}) = V))
85, 7spcv 3544 . . . . 5 (∀𝑥AC 𝑥 = V → AC (𝑦 ∖ {∅}) = V)
9 vuniex 7592 . . . . . . 7 𝑦 ∈ V
10 id 22 . . . . . . 7 (AC (𝑦 ∖ {∅}) = V → AC (𝑦 ∖ {∅}) = V)
119, 10eleqtrrid 2846 . . . . . 6 (AC (𝑦 ∖ {∅}) = V → 𝑦AC (𝑦 ∖ {∅}))
12 eldifi 4061 . . . . . . . . 9 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧𝑦)
13 elssuni 4871 . . . . . . . . 9 (𝑧𝑦𝑧 𝑦)
1412, 13syl 17 . . . . . . . 8 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧 𝑦)
15 eldifsni 4723 . . . . . . . 8 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧 ≠ ∅)
1614, 15jca 512 . . . . . . 7 (𝑧 ∈ (𝑦 ∖ {∅}) → (𝑧 𝑦𝑧 ≠ ∅))
1716rgen 3074 . . . . . 6 𝑧 ∈ (𝑦 ∖ {∅})(𝑧 𝑦𝑧 ≠ ∅)
18 acni2 9802 . . . . . 6 (( 𝑦AC (𝑦 ∖ {∅}) ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑧 𝑦𝑧 ≠ ∅)) → ∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧))
1911, 17, 18sylancl 586 . . . . 5 (AC (𝑦 ∖ {∅}) = V → ∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧))
204mptex 7099 . . . . . . 7 (𝑥𝑦 ↦ (𝑔𝑥)) ∈ V
21 simpr 485 . . . . . . . . 9 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧)
22 eldifsn 4720 . . . . . . . . . . . 12 (𝑧 ∈ (𝑦 ∖ {∅}) ↔ (𝑧𝑦𝑧 ≠ ∅))
2322imbi1i 350 . . . . . . . . . . 11 ((𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ ((𝑧𝑦𝑧 ≠ ∅) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
24 fveq2 6774 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (𝑔𝑥) = (𝑔𝑧))
25 eqid 2738 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↦ (𝑔𝑥)) = (𝑥𝑦 ↦ (𝑔𝑥))
26 fvex 6787 . . . . . . . . . . . . . . 15 (𝑔𝑧) ∈ V
2724, 25, 26fvmpt 6875 . . . . . . . . . . . . . 14 (𝑧𝑦 → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) = (𝑔𝑧))
2812, 27syl 17 . . . . . . . . . . . . 13 (𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) = (𝑔𝑧))
2928eleq1d 2823 . . . . . . . . . . . 12 (𝑧 ∈ (𝑦 ∖ {∅}) → (((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧 ↔ (𝑔𝑧) ∈ 𝑧))
3029pm5.74i 270 . . . . . . . . . . 11 ((𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ (𝑧 ∈ (𝑦 ∖ {∅}) → (𝑔𝑧) ∈ 𝑧))
31 impexp 451 . . . . . . . . . . 11 (((𝑧𝑦𝑧 ≠ ∅) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ (𝑧𝑦 → (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
3223, 30, 313bitr3i 301 . . . . . . . . . 10 ((𝑧 ∈ (𝑦 ∖ {∅}) → (𝑔𝑧) ∈ 𝑧) ↔ (𝑧𝑦 → (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
3332ralbii2 3090 . . . . . . . . 9 (∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧 ↔ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
3421, 33sylib 217 . . . . . . . 8 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
35 fvrn0 6802 . . . . . . . . . . 11 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅})
3635rgenw 3076 . . . . . . . . . 10 𝑥𝑦 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅})
3725fmpt 6984 . . . . . . . . . 10 (∀𝑥𝑦 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅}) ↔ (𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅}))
3836, 37mpbi 229 . . . . . . . . 9 (𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅})
39 ffn 6600 . . . . . . . . 9 ((𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅}) → (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦)
4038, 39ax-mp 5 . . . . . . . 8 (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦
4134, 40jctil 520 . . . . . . 7 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
42 fneq1 6524 . . . . . . . . 9 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (𝑓 Fn 𝑦 ↔ (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦))
43 fveq1 6773 . . . . . . . . . . . 12 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (𝑓𝑧) = ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧))
4443eleq1d 2823 . . . . . . . . . . 11 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑓𝑧) ∈ 𝑧 ↔ ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
4544imbi2d 341 . . . . . . . . . 10 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
4645ralbidv 3112 . . . . . . . . 9 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
4742, 46anbi12d 631 . . . . . . . 8 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)) ↔ ((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))))
4847spcegv 3536 . . . . . . 7 ((𝑥𝑦 ↦ (𝑔𝑥)) ∈ V → (((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))))
4920, 41, 48mpsyl 68 . . . . . 6 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5049exlimiv 1933 . . . . 5 (∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
518, 19, 503syl 18 . . . 4 (∀𝑥AC 𝑥 = V → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5251alrimiv 1930 . . 3 (∀𝑥AC 𝑥 = V → ∀𝑦𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
53 dfac4 9878 . . 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 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  wne 2943  wral 3064  Vcvv 3432  cdif 3884  cun 3885  wss 3887  c0 4256  {csn 4561   cuni 4839  cmpt 5157  ran crn 5590   Fn wfn 6428  wf 6429  cfv 6433  AC wacn 9696  CHOICEwac 9871
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-card 9697  df-acn 9700  df-ac 9872
This theorem is referenced by:  dfac13  9898
  Copyright terms: Public domain W3C validator