ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ccfunen GIF version

Theorem ccfunen 7205
Description: Existence of a choice function for a countably infinite set. (Contributed by Jim Kingdon, 28-Nov-2023.)
Hypotheses
Ref Expression
ccfunen.cc (𝜑CCHOICE)
ccfunen.a (𝜑𝐴 ≈ ω)
ccfunen.m (𝜑 → ∀𝑥𝐴𝑤 𝑤𝑥)
Assertion
Ref Expression
ccfunen (𝜑 → ∃𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) ∈ 𝑥))
Distinct variable groups:   𝐴,𝑓,𝑥   𝜑,𝑓,𝑥   𝑥,𝑤
Allowed substitution hints:   𝜑(𝑤)   𝐴(𝑤)

Proof of Theorem ccfunen
Dummy variables 𝑢 𝑣 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ccfunen.a . . . . . 6 (𝜑𝐴 ≈ ω)
2 encv 6712 . . . . . 6 (𝐴 ≈ ω → (𝐴 ∈ V ∧ ω ∈ V))
31, 2syl 14 . . . . 5 (𝜑 → (𝐴 ∈ V ∧ ω ∈ V))
43simpld 111 . . . 4 (𝜑𝐴 ∈ V)
5 abid2 2287 . . . . . 6 {𝑣𝑣𝑢} = 𝑢
6 vex 2729 . . . . . 6 𝑢 ∈ V
75, 6eqeltri 2239 . . . . 5 {𝑣𝑣𝑢} ∈ V
87a1i 9 . . . 4 ((𝜑𝑢𝐴) → {𝑣𝑣𝑢} ∈ V)
94, 8opabex3d 6089 . . 3 (𝜑 → {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∈ V)
10 ccfunen.cc . . . 4 (𝜑CCHOICE)
11 df-cc 7204 . . . 4 (CCHOICE ↔ ∀𝑦(dom 𝑦 ≈ ω → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦)))
1210, 11sylib 121 . . 3 (𝜑 → ∀𝑦(dom 𝑦 ≈ ω → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦)))
13 ccfunen.m . . . . . 6 (𝜑 → ∀𝑥𝐴𝑤 𝑤𝑥)
14 elequ2 2141 . . . . . . . . 9 (𝑥 = 𝑢 → (𝑤𝑥𝑤𝑢))
1514exbidv 1813 . . . . . . . 8 (𝑥 = 𝑢 → (∃𝑤 𝑤𝑥 ↔ ∃𝑤 𝑤𝑢))
1615cbvralv 2692 . . . . . . 7 (∀𝑥𝐴𝑤 𝑤𝑥 ↔ ∀𝑢𝐴𝑤 𝑤𝑢)
17 elequ1 2140 . . . . . . . . 9 (𝑤 = 𝑣 → (𝑤𝑢𝑣𝑢))
1817cbvexv 1906 . . . . . . . 8 (∃𝑤 𝑤𝑢 ↔ ∃𝑣 𝑣𝑢)
1918ralbii 2472 . . . . . . 7 (∀𝑢𝐴𝑤 𝑤𝑢 ↔ ∀𝑢𝐴𝑣 𝑣𝑢)
2016, 19bitri 183 . . . . . 6 (∀𝑥𝐴𝑤 𝑤𝑥 ↔ ∀𝑢𝐴𝑣 𝑣𝑢)
2113, 20sylib 121 . . . . 5 (𝜑 → ∀𝑢𝐴𝑣 𝑣𝑢)
22 dmopab3 4817 . . . . 5 (∀𝑢𝐴𝑣 𝑣𝑢 ↔ dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} = 𝐴)
2321, 22sylib 121 . . . 4 (𝜑 → dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} = 𝐴)
2423, 1eqbrtrd 4004 . . 3 (𝜑 → dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ≈ ω)
25 dmeq 4804 . . . . . 6 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → dom 𝑦 = dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})
2625breq1d 3992 . . . . 5 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → (dom 𝑦 ≈ ω ↔ dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ≈ ω))
27 sseq2 3166 . . . . . . 7 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → (𝑓𝑦𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}))
2825fneq2d 5279 . . . . . . 7 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → (𝑓 Fn dom 𝑦𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}))
2927, 28anbi12d 465 . . . . . 6 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → ((𝑓𝑦𝑓 Fn dom 𝑦) ↔ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})))
3029exbidv 1813 . . . . 5 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → (∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦) ↔ ∃𝑓(𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})))
3126, 30imbi12d 233 . . . 4 (𝑦 = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} → ((dom 𝑦 ≈ ω → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦)) ↔ (dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ≈ ω → ∃𝑓(𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}))))
3231spcgv 2813 . . 3 ({⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∈ V → (∀𝑦(dom 𝑦 ≈ ω → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦)) → (dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ≈ ω → ∃𝑓(𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}))))
339, 12, 24, 32syl3c 63 . 2 (𝜑 → ∃𝑓(𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}))
34 simprr 522 . . . . . 6 ((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) → 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})
3523fneq2d 5279 . . . . . . 7 (𝜑 → (𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ↔ 𝑓 Fn 𝐴))
3635adantr 274 . . . . . 6 ((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) → (𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ↔ 𝑓 Fn 𝐴))
3734, 36mpbid 146 . . . . 5 ((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) → 𝑓 Fn 𝐴)
38 simplrl 525 . . . . . . . . 9 (((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) ∧ 𝑥𝐴) → 𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})
39 fnopfv 5615 . . . . . . . . . 10 ((𝑓 Fn 𝐴𝑥𝐴) → ⟨𝑥, (𝑓𝑥)⟩ ∈ 𝑓)
4037, 39sylan 281 . . . . . . . . 9 (((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) ∧ 𝑥𝐴) → ⟨𝑥, (𝑓𝑥)⟩ ∈ 𝑓)
4138, 40sseldd 3143 . . . . . . . 8 (((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) ∧ 𝑥𝐴) → ⟨𝑥, (𝑓𝑥)⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})
42 vex 2729 . . . . . . . . 9 𝑥 ∈ V
43 vex 2729 . . . . . . . . . 10 𝑓 ∈ V
4443, 42fvex 5506 . . . . . . . . 9 (𝑓𝑥) ∈ V
45 eleq1 2229 . . . . . . . . . 10 (𝑢 = 𝑥 → (𝑢𝐴𝑥𝐴))
46 elequ2 2141 . . . . . . . . . 10 (𝑢 = 𝑥 → (𝑣𝑢𝑣𝑥))
4745, 46anbi12d 465 . . . . . . . . 9 (𝑢 = 𝑥 → ((𝑢𝐴𝑣𝑢) ↔ (𝑥𝐴𝑣𝑥)))
48 eleq1 2229 . . . . . . . . . 10 (𝑣 = (𝑓𝑥) → (𝑣𝑥 ↔ (𝑓𝑥) ∈ 𝑥))
4948anbi2d 460 . . . . . . . . 9 (𝑣 = (𝑓𝑥) → ((𝑥𝐴𝑣𝑥) ↔ (𝑥𝐴 ∧ (𝑓𝑥) ∈ 𝑥)))
5042, 44, 47, 49opelopab 4249 . . . . . . . 8 (⟨𝑥, (𝑓𝑥)⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ↔ (𝑥𝐴 ∧ (𝑓𝑥) ∈ 𝑥))
5141, 50sylib 121 . . . . . . 7 (((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) ∧ 𝑥𝐴) → (𝑥𝐴 ∧ (𝑓𝑥) ∈ 𝑥))
5251simprd 113 . . . . . 6 (((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) ∧ 𝑥𝐴) → (𝑓𝑥) ∈ 𝑥)
5352ralrimiva 2539 . . . . 5 ((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) → ∀𝑥𝐴 (𝑓𝑥) ∈ 𝑥)
5437, 53jca 304 . . . 4 ((𝜑 ∧ (𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)})) → (𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) ∈ 𝑥))
5554ex 114 . . 3 (𝜑 → ((𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}) → (𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) ∈ 𝑥)))
5655eximdv 1868 . 2 (𝜑 → (∃𝑓(𝑓 ⊆ {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)} ∧ 𝑓 Fn dom {⟨𝑢, 𝑣⟩ ∣ (𝑢𝐴𝑣𝑢)}) → ∃𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) ∈ 𝑥)))
5733, 56mpd 13 1 (𝜑 → ∃𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) ∈ 𝑥))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341   = wceq 1343  wex 1480  wcel 2136  {cab 2151  wral 2444  Vcvv 2726  wss 3116  cop 3579   class class class wbr 3982  {copab 4042  ωcom 4567  dom cdm 4604   Fn wfn 5183  cfv 5188  cen 6704  CCHOICEwacc 7203
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-en 6707  df-cc 7204
This theorem is referenced by:  cc1  7206  cc2lem  7207
  Copyright terms: Public domain W3C validator