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

Theorem dfacacn 9165
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 vex 3354 . . . 4 𝑥 ∈ V
2 acacni 9164 . . . 4 ((CHOICE𝑥 ∈ V) → AC 𝑥 = V)
31, 2mpan2 671 . . 3 (CHOICEAC 𝑥 = V)
43alrimiv 2007 . 2 (CHOICE → ∀𝑥AC 𝑥 = V)
5 vex 3354 . . . . . . 7 𝑦 ∈ V
6 difexg 4942 . . . . . . 7 (𝑦 ∈ V → (𝑦 ∖ {∅}) ∈ V)
75, 6ax-mp 5 . . . . . 6 (𝑦 ∖ {∅}) ∈ V
8 acneq 9066 . . . . . . 7 (𝑥 = (𝑦 ∖ {∅}) → AC 𝑥 = AC (𝑦 ∖ {∅}))
98eqeq1d 2773 . . . . . 6 (𝑥 = (𝑦 ∖ {∅}) → (AC 𝑥 = V ↔ AC (𝑦 ∖ {∅}) = V))
107, 9spcv 3450 . . . . 5 (∀𝑥AC 𝑥 = V → AC (𝑦 ∖ {∅}) = V)
11 vuniex 7101 . . . . . . 7 𝑦 ∈ V
12 id 22 . . . . . . 7 (AC (𝑦 ∖ {∅}) = V → AC (𝑦 ∖ {∅}) = V)
1311, 12syl5eleqr 2857 . . . . . 6 (AC (𝑦 ∖ {∅}) = V → 𝑦AC (𝑦 ∖ {∅}))
14 eldifi 3883 . . . . . . . . 9 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧𝑦)
15 elssuni 4603 . . . . . . . . 9 (𝑧𝑦𝑧 𝑦)
1614, 15syl 17 . . . . . . . 8 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧 𝑦)
17 eldifsni 4457 . . . . . . . 8 (𝑧 ∈ (𝑦 ∖ {∅}) → 𝑧 ≠ ∅)
1816, 17jca 501 . . . . . . 7 (𝑧 ∈ (𝑦 ∖ {∅}) → (𝑧 𝑦𝑧 ≠ ∅))
1918rgen 3071 . . . . . 6 𝑧 ∈ (𝑦 ∖ {∅})(𝑧 𝑦𝑧 ≠ ∅)
20 acni2 9069 . . . . . 6 (( 𝑦AC (𝑦 ∖ {∅}) ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑧 𝑦𝑧 ≠ ∅)) → ∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧))
2113, 19, 20sylancl 574 . . . . 5 (AC (𝑦 ∖ {∅}) = V → ∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧))
225mptex 6630 . . . . . . 7 (𝑥𝑦 ↦ (𝑔𝑥)) ∈ V
23 simpr 471 . . . . . . . . 9 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧)
24 eldifsn 4453 . . . . . . . . . . . 12 (𝑧 ∈ (𝑦 ∖ {∅}) ↔ (𝑧𝑦𝑧 ≠ ∅))
2524imbi1i 338 . . . . . . . . . . 11 ((𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ ((𝑧𝑦𝑧 ≠ ∅) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
26 fveq2 6332 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (𝑔𝑥) = (𝑔𝑧))
27 eqid 2771 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↦ (𝑔𝑥)) = (𝑥𝑦 ↦ (𝑔𝑥))
28 fvex 6342 . . . . . . . . . . . . . . 15 (𝑔𝑧) ∈ V
2926, 27, 28fvmpt 6424 . . . . . . . . . . . . . 14 (𝑧𝑦 → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) = (𝑔𝑧))
3014, 29syl 17 . . . . . . . . . . . . 13 (𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) = (𝑔𝑧))
3130eleq1d 2835 . . . . . . . . . . . 12 (𝑧 ∈ (𝑦 ∖ {∅}) → (((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧 ↔ (𝑔𝑧) ∈ 𝑧))
3231pm5.74i 260 . . . . . . . . . . 11 ((𝑧 ∈ (𝑦 ∖ {∅}) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ (𝑧 ∈ (𝑦 ∖ {∅}) → (𝑔𝑧) ∈ 𝑧))
33 impexp 437 . . . . . . . . . . 11 (((𝑧𝑦𝑧 ≠ ∅) → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧) ↔ (𝑧𝑦 → (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
3425, 32, 333bitr3i 290 . . . . . . . . . 10 ((𝑧 ∈ (𝑦 ∖ {∅}) → (𝑔𝑧) ∈ 𝑧) ↔ (𝑧𝑦 → (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
3534ralbii2 3127 . . . . . . . . 9 (∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧 ↔ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
3623, 35sylib 208 . . . . . . . 8 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
37 fvrn0 6357 . . . . . . . . . . 11 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅})
3837rgenw 3073 . . . . . . . . . 10 𝑥𝑦 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅})
3927fmpt 6523 . . . . . . . . . 10 (∀𝑥𝑦 (𝑔𝑥) ∈ (ran 𝑔 ∪ {∅}) ↔ (𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅}))
4038, 39mpbi 220 . . . . . . . . 9 (𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅})
41 ffn 6185 . . . . . . . . 9 ((𝑥𝑦 ↦ (𝑔𝑥)):𝑦⟶(ran 𝑔 ∪ {∅}) → (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦)
4240, 41ax-mp 5 . . . . . . . 8 (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦
4336, 42jctil 509 . . . . . . 7 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
44 fneq1 6119 . . . . . . . . 9 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (𝑓 Fn 𝑦 ↔ (𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦))
45 fveq1 6331 . . . . . . . . . . . 12 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (𝑓𝑧) = ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧))
4645eleq1d 2835 . . . . . . . . . . 11 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑓𝑧) ∈ 𝑧 ↔ ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))
4746imbi2d 329 . . . . . . . . . 10 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
4847ralbidv 3135 . . . . . . . . 9 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → (∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)))
4944, 48anbi12d 616 . . . . . . . 8 (𝑓 = (𝑥𝑦 ↦ (𝑔𝑥)) → ((𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)) ↔ ((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧))))
5049spcegv 3445 . . . . . . 7 ((𝑥𝑦 ↦ (𝑔𝑥)) ∈ V → (((𝑥𝑦 ↦ (𝑔𝑥)) Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → ((𝑥𝑦 ↦ (𝑔𝑥))‘𝑧) ∈ 𝑧)) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))))
5122, 43, 50mpsyl 68 . . . . . 6 ((𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5251exlimiv 2010 . . . . 5 (∃𝑔(𝑔:(𝑦 ∖ {∅})⟶ 𝑦 ∧ ∀𝑧 ∈ (𝑦 ∖ {∅})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5310, 21, 523syl 18 . . . 4 (∀𝑥AC 𝑥 = V → ∃𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5453alrimiv 2007 . . 3 (∀𝑥AC 𝑥 = V → ∀𝑦𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
55 dfac4 9145 . . 3 (CHOICE ↔ ∀𝑦𝑓(𝑓 Fn 𝑦 ∧ ∀𝑧𝑦 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
5654, 55sylibr 224 . 2 (∀𝑥AC 𝑥 = V → CHOICE)
574, 56impbii 199 1 (CHOICE ↔ ∀𝑥AC 𝑥 = V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  wal 1629   = wceq 1631  wex 1852  wcel 2145  wne 2943  wral 3061  Vcvv 3351  cdif 3720  cun 3721  wss 3723  c0 4063  {csn 4316   cuni 4574  cmpt 4863  ran crn 5250   Fn wfn 6026  wf 6027  cfv 6031  AC wacn 8964  CHOICEwac 9138
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-int 4612  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-se 5209  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-isom 6040  df-riota 6754  df-ov 6796  df-oprab 6797  df-mpt2 6798  df-1st 7315  df-2nd 7316  df-wrecs 7559  df-recs 7621  df-er 7896  df-map 8011  df-en 8110  df-dom 8111  df-card 8965  df-acn 8968  df-ac 9139
This theorem is referenced by:  dfac13  9166
  Copyright terms: Public domain W3C validator