Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dnnumch1 Structured version   Visualization version   GIF version

Theorem dnnumch1 40869
Description: Define an enumeration of a set from a choice function; second part, it restricts to a bijection. EDITORIAL: overlaps dfac8a 9786. (Contributed by Stefan O'Rear, 18-Jan-2015.)
Hypotheses
Ref Expression
dnnumch.f 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
dnnumch.a (𝜑𝐴𝑉)
dnnumch.g (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
Assertion
Ref Expression
dnnumch1 (𝜑 → ∃𝑥 ∈ On (𝐹𝑥):𝑥1-1-onto𝐴)
Distinct variable groups:   𝑥,𝐹,𝑦   𝑥,𝐺,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝐹(𝑧)   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem dnnumch1
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 dnnumch.a . 2 (𝜑𝐴𝑉)
2 recsval 8235 . . . . . . 7 (𝑥 ∈ On → (recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))‘𝑥) = ((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))‘(recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))) ↾ 𝑥)))
3 dnnumch.f . . . . . . . 8 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
43fveq1i 6775 . . . . . . 7 (𝐹𝑥) = (recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))‘𝑥)
53tfr1 8228 . . . . . . . . . . 11 𝐹 Fn On
6 fnfun 6533 . . . . . . . . . . 11 (𝐹 Fn On → Fun 𝐹)
75, 6ax-mp 5 . . . . . . . . . 10 Fun 𝐹
8 vex 3436 . . . . . . . . . 10 𝑥 ∈ V
9 resfunexg 7091 . . . . . . . . . 10 ((Fun 𝐹𝑥 ∈ V) → (𝐹𝑥) ∈ V)
107, 8, 9mp2an 689 . . . . . . . . 9 (𝐹𝑥) ∈ V
11 rneq 5845 . . . . . . . . . . . . 13 (𝑤 = (𝐹𝑥) → ran 𝑤 = ran (𝐹𝑥))
12 df-ima 5602 . . . . . . . . . . . . 13 (𝐹𝑥) = ran (𝐹𝑥)
1311, 12eqtr4di 2796 . . . . . . . . . . . 12 (𝑤 = (𝐹𝑥) → ran 𝑤 = (𝐹𝑥))
1413difeq2d 4057 . . . . . . . . . . 11 (𝑤 = (𝐹𝑥) → (𝐴 ∖ ran 𝑤) = (𝐴 ∖ (𝐹𝑥)))
1514fveq2d 6778 . . . . . . . . . 10 (𝑤 = (𝐹𝑥) → (𝐺‘(𝐴 ∖ ran 𝑤)) = (𝐺‘(𝐴 ∖ (𝐹𝑥))))
16 rneq 5845 . . . . . . . . . . . . 13 (𝑧 = 𝑤 → ran 𝑧 = ran 𝑤)
1716difeq2d 4057 . . . . . . . . . . . 12 (𝑧 = 𝑤 → (𝐴 ∖ ran 𝑧) = (𝐴 ∖ ran 𝑤))
1817fveq2d 6778 . . . . . . . . . . 11 (𝑧 = 𝑤 → (𝐺‘(𝐴 ∖ ran 𝑧)) = (𝐺‘(𝐴 ∖ ran 𝑤)))
1918cbvmptv 5187 . . . . . . . . . 10 (𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))) = (𝑤 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑤)))
20 fvex 6787 . . . . . . . . . 10 (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ V
2115, 19, 20fvmpt 6875 . . . . . . . . 9 ((𝐹𝑥) ∈ V → ((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))‘(𝐹𝑥)) = (𝐺‘(𝐴 ∖ (𝐹𝑥))))
2210, 21ax-mp 5 . . . . . . . 8 ((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))‘(𝐹𝑥)) = (𝐺‘(𝐴 ∖ (𝐹𝑥)))
233reseq1i 5887 . . . . . . . . 9 (𝐹𝑥) = (recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))) ↾ 𝑥)
2423fveq2i 6777 . . . . . . . 8 ((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))‘(𝐹𝑥)) = ((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))‘(recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))) ↾ 𝑥))
2522, 24eqtr3i 2768 . . . . . . 7 (𝐺‘(𝐴 ∖ (𝐹𝑥))) = ((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))‘(recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧)))) ↾ 𝑥))
262, 4, 253eqtr4g 2803 . . . . . 6 (𝑥 ∈ On → (𝐹𝑥) = (𝐺‘(𝐴 ∖ (𝐹𝑥))))
2726ad2antlr 724 . . . . 5 (((𝜑𝑥 ∈ On) ∧ (𝐴 ∖ (𝐹𝑥)) ≠ ∅) → (𝐹𝑥) = (𝐺‘(𝐴 ∖ (𝐹𝑥))))
28 difss 4066 . . . . . . . . 9 (𝐴 ∖ (𝐹𝑥)) ⊆ 𝐴
29 elpw2g 5268 . . . . . . . . . 10 (𝐴𝑉 → ((𝐴 ∖ (𝐹𝑥)) ∈ 𝒫 𝐴 ↔ (𝐴 ∖ (𝐹𝑥)) ⊆ 𝐴))
301, 29syl 17 . . . . . . . . 9 (𝜑 → ((𝐴 ∖ (𝐹𝑥)) ∈ 𝒫 𝐴 ↔ (𝐴 ∖ (𝐹𝑥)) ⊆ 𝐴))
3128, 30mpbiri 257 . . . . . . . 8 (𝜑 → (𝐴 ∖ (𝐹𝑥)) ∈ 𝒫 𝐴)
32 dnnumch.g . . . . . . . 8 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
33 neeq1 3006 . . . . . . . . . 10 (𝑦 = (𝐴 ∖ (𝐹𝑥)) → (𝑦 ≠ ∅ ↔ (𝐴 ∖ (𝐹𝑥)) ≠ ∅))
34 fveq2 6774 . . . . . . . . . . 11 (𝑦 = (𝐴 ∖ (𝐹𝑥)) → (𝐺𝑦) = (𝐺‘(𝐴 ∖ (𝐹𝑥))))
35 id 22 . . . . . . . . . . 11 (𝑦 = (𝐴 ∖ (𝐹𝑥)) → 𝑦 = (𝐴 ∖ (𝐹𝑥)))
3634, 35eleq12d 2833 . . . . . . . . . 10 (𝑦 = (𝐴 ∖ (𝐹𝑥)) → ((𝐺𝑦) ∈ 𝑦 ↔ (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ (𝐴 ∖ (𝐹𝑥))))
3733, 36imbi12d 345 . . . . . . . . 9 (𝑦 = (𝐴 ∖ (𝐹𝑥)) → ((𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦) ↔ ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ (𝐴 ∖ (𝐹𝑥)))))
3837rspcva 3559 . . . . . . . 8 (((𝐴 ∖ (𝐹𝑥)) ∈ 𝒫 𝐴 ∧ ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦)) → ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ (𝐴 ∖ (𝐹𝑥))))
3931, 32, 38syl2anc 584 . . . . . . 7 (𝜑 → ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ (𝐴 ∖ (𝐹𝑥))))
4039adantr 481 . . . . . 6 ((𝜑𝑥 ∈ On) → ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ (𝐴 ∖ (𝐹𝑥))))
4140imp 407 . . . . 5 (((𝜑𝑥 ∈ On) ∧ (𝐴 ∖ (𝐹𝑥)) ≠ ∅) → (𝐺‘(𝐴 ∖ (𝐹𝑥))) ∈ (𝐴 ∖ (𝐹𝑥)))
4227, 41eqeltrd 2839 . . . 4 (((𝜑𝑥 ∈ On) ∧ (𝐴 ∖ (𝐹𝑥)) ≠ ∅) → (𝐹𝑥) ∈ (𝐴 ∖ (𝐹𝑥)))
4342ex 413 . . 3 ((𝜑𝑥 ∈ On) → ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐹𝑥) ∈ (𝐴 ∖ (𝐹𝑥))))
4443ralrimiva 3103 . 2 (𝜑 → ∀𝑥 ∈ On ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐹𝑥) ∈ (𝐴 ∖ (𝐹𝑥))))
455tz7.49c 8277 . 2 ((𝐴𝑉 ∧ ∀𝑥 ∈ On ((𝐴 ∖ (𝐹𝑥)) ≠ ∅ → (𝐹𝑥) ∈ (𝐴 ∖ (𝐹𝑥)))) → ∃𝑥 ∈ On (𝐹𝑥):𝑥1-1-onto𝐴)
461, 44, 45syl2anc 584 1 (𝜑 → ∃𝑥 ∈ On (𝐹𝑥):𝑥1-1-onto𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wne 2943  wral 3064  wrex 3065  Vcvv 3432  cdif 3884  wss 3887  c0 4256  𝒫 cpw 4533  cmpt 5157  ran crn 5590  cres 5591  cima 5592  Oncon0 6266  Fun wfun 6427   Fn wfn 6428  1-1-ontowf1o 6432  cfv 6433  recscrecs 8201
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-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-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-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-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202
This theorem is referenced by:  dnnumch2  40870
  Copyright terms: Public domain W3C validator