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

Theorem ac6 10588
Description: Equivalent of Axiom of Choice. This is useful for proving that there exists, for example, a sequence mapping natural numbers to members of a larger set 𝐵, where 𝜑 depends on 𝑥 (the natural number) and 𝑦 (to specify a member of 𝐵). A stronger version of this theorem, ac6s 10592, allows 𝐵 to be a proper class. Unlike ac6sg 10596, which allows 𝐵 to be a proper class and so uses the Collection principle bnd2 9986, this needs neither ax-reg 9616 nor ax-inf2 9672. (Contributed by NM, 18-Oct-1999.) (Revised by Mario Carneiro, 27-Aug-2015.) Replace hypotheses with antecedents. (Revised by Timothy J. O'Malley, 15-Oct-2026.)
Hypothesis
Ref Expression
ac6.1 (𝑦 = (𝑓‘𝑥) → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
ac6 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑) → ∃𝑓(𝑓:𝐴⟶𝐵 ∧ ∀𝑥 ∈ 𝐴 𝜓))
Distinct variable groups:   𝑥,𝑓,𝐴   𝑦,𝑓,𝐵,𝑥   𝜑,𝑓   𝜓,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝜓(𝑥, 𝑓)   𝐴(𝑦)   𝑉(𝑥, 𝑦, 𝑓)   𝑊(𝑥, 𝑦, 𝑓)

Proof of Theorem ac6
StepHypRef Expression
1 ssrab2 4008 . . . . . 6 {𝑦 ∈ 𝐵 ∣ 𝜑} ⊆ 𝐵
21rgenw 3084 . . . . 5 ∀𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ⊆ 𝐵
3 iunss 5006 . . . . 5 (∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ⊆ 𝐵 ↔ ∀𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ⊆ 𝐵)
42, 3mpbir 234 . . . 4 ∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ⊆ 𝐵
5 ssexg 5286 . . . 4 ((∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ⊆ 𝐵 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ∈ V)
64, 5mpan 703 . . 3 (𝐵 ∈ 𝑊 → ∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ∈ V)
7 numth3 10578 . . 3 (∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ∈ V → ∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ∈ dom card)
86, 7syl 18 . 2 (𝐵 ∈ 𝑊 → ∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ∈ dom card)
9 ac6.1 . . 3 (𝑦 = (𝑓‘𝑥) → (𝜑 ↔ 𝜓))
109ac6num 10587 . 2 ((𝐴 ∈ 𝑉 ∧ ∪ 𝑥 ∈ 𝐴 {𝑦 ∈ 𝐵 ∣ 𝜑} ∈ dom card ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑) → ∃𝑓(𝑓:𝐴⟶𝐵 ∧ ∀𝑥 ∈ 𝐴 𝜓))
118, 10syl3an2 1182 1 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑) → ∃𝑓(𝑓:𝐴⟶𝐵 ∧ ∀𝑥 ∈ 𝐴 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090  {crab 3416  Vcvv 3454   ⊆ wss 3900  ∪ ciun 4954  dom cdm 5656  ⟶wf 6557  ‘cfv 6561  cardccrd 10046
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778  ax-ac2 10571
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-se 5610  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6325  df-ord 6386  df-on 6387  df-suc 6389  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-isom 6570  df-riota 7403  df-ov 7449  df-2nd 8029  df-frecs 8330  df-wrecs 8361  df-recs 8410  df-en 9005  df-card 10050  df-ac 10225
This theorem is used by:  ac6c4  10589  ac6s  10592  acsmapd  18760  wlkiswwlksupgr2  30499  foresf1o  33175  ac6mapd  33292  acunirnmpt2  33329  acunirnmpt2f  33330  elrspunidl  34062  fedgmul  34346  reff  34554  cmpcref  34565  omssubadd  35015  ptpconn  36178  nlpfvineqsn  38537  pibt2  38545
  Copyright terms: Public domain W3C validator