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

Theorem dnnumch3 37094
Description: Define an injection from a set into the ordinals using a choice function. (Contributed by Stefan O'Rear, 18-Jan-2015.)
Hypotheses
Ref Expression
dnnumch.f 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
dnnumch.a (𝜑𝐴𝑉)
dnnumch.g (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
Assertion
Ref Expression
dnnumch3 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On)
Distinct variable groups:   𝑥,𝐹,𝑦   𝑥,𝐺,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝐹(𝑧)   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem dnnumch3
Dummy variables 𝑣 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cnvimass 5444 . . . . 5 (𝐹 “ {𝑥}) ⊆ dom 𝐹
2 dnnumch.f . . . . . . 7 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
32tfr1 7438 . . . . . 6 𝐹 Fn On
4 fndm 5948 . . . . . 6 (𝐹 Fn On → dom 𝐹 = On)
53, 4ax-mp 5 . . . . 5 dom 𝐹 = On
61, 5sseqtri 3616 . . . 4 (𝐹 “ {𝑥}) ⊆ On
7 dnnumch.a . . . . . . 7 (𝜑𝐴𝑉)
8 dnnumch.g . . . . . . 7 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
92, 7, 8dnnumch2 37092 . . . . . 6 (𝜑𝐴 ⊆ ran 𝐹)
109sselda 3583 . . . . 5 ((𝜑𝑥𝐴) → 𝑥 ∈ ran 𝐹)
11 inisegn0 5456 . . . . 5 (𝑥 ∈ ran 𝐹 ↔ (𝐹 “ {𝑥}) ≠ ∅)
1210, 11sylib 208 . . . 4 ((𝜑𝑥𝐴) → (𝐹 “ {𝑥}) ≠ ∅)
13 oninton 6947 . . . 4 (((𝐹 “ {𝑥}) ⊆ On ∧ (𝐹 “ {𝑥}) ≠ ∅) → (𝐹 “ {𝑥}) ∈ On)
146, 12, 13sylancr 694 . . 3 ((𝜑𝑥𝐴) → (𝐹 “ {𝑥}) ∈ On)
15 eqid 2621 . . 3 (𝑥𝐴 (𝐹 “ {𝑥})) = (𝑥𝐴 (𝐹 “ {𝑥}))
1614, 15fmptd 6340 . 2 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴⟶On)
172, 7, 8dnnumch3lem 37093 . . . . . 6 ((𝜑𝑣𝐴) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = (𝐹 “ {𝑣}))
1817adantrr 752 . . . . 5 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = (𝐹 “ {𝑣}))
192, 7, 8dnnumch3lem 37093 . . . . . 6 ((𝜑𝑤𝐴) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) = (𝐹 “ {𝑤}))
2019adantrl 751 . . . . 5 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) = (𝐹 “ {𝑤}))
2118, 20eqeq12d 2636 . . . 4 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) ↔ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})))
22 fveq2 6148 . . . . . . 7 ( (𝐹 “ {𝑣}) = (𝐹 “ {𝑤}) → (𝐹 (𝐹 “ {𝑣})) = (𝐹 (𝐹 “ {𝑤})))
2322adantl 482 . . . . . 6 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → (𝐹 (𝐹 “ {𝑣})) = (𝐹 (𝐹 “ {𝑤})))
24 cnvimass 5444 . . . . . . . . . . 11 (𝐹 “ {𝑣}) ⊆ dom 𝐹
2524, 5sseqtri 3616 . . . . . . . . . 10 (𝐹 “ {𝑣}) ⊆ On
269sselda 3583 . . . . . . . . . . 11 ((𝜑𝑣𝐴) → 𝑣 ∈ ran 𝐹)
27 inisegn0 5456 . . . . . . . . . . 11 (𝑣 ∈ ran 𝐹 ↔ (𝐹 “ {𝑣}) ≠ ∅)
2826, 27sylib 208 . . . . . . . . . 10 ((𝜑𝑣𝐴) → (𝐹 “ {𝑣}) ≠ ∅)
29 onint 6942 . . . . . . . . . 10 (((𝐹 “ {𝑣}) ⊆ On ∧ (𝐹 “ {𝑣}) ≠ ∅) → (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}))
3025, 28, 29sylancr 694 . . . . . . . . 9 ((𝜑𝑣𝐴) → (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}))
31 fniniseg 6294 . . . . . . . . . . 11 (𝐹 Fn On → ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}) ↔ ( (𝐹 “ {𝑣}) ∈ On ∧ (𝐹 (𝐹 “ {𝑣})) = 𝑣)))
323, 31ax-mp 5 . . . . . . . . . 10 ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}) ↔ ( (𝐹 “ {𝑣}) ∈ On ∧ (𝐹 (𝐹 “ {𝑣})) = 𝑣))
3332simprbi 480 . . . . . . . . 9 ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
3430, 33syl 17 . . . . . . . 8 ((𝜑𝑣𝐴) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
3534adantrr 752 . . . . . . 7 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
3635adantr 481 . . . . . 6 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
37 cnvimass 5444 . . . . . . . . . . 11 (𝐹 “ {𝑤}) ⊆ dom 𝐹
3837, 5sseqtri 3616 . . . . . . . . . 10 (𝐹 “ {𝑤}) ⊆ On
399sselda 3583 . . . . . . . . . . 11 ((𝜑𝑤𝐴) → 𝑤 ∈ ran 𝐹)
40 inisegn0 5456 . . . . . . . . . . 11 (𝑤 ∈ ran 𝐹 ↔ (𝐹 “ {𝑤}) ≠ ∅)
4139, 40sylib 208 . . . . . . . . . 10 ((𝜑𝑤𝐴) → (𝐹 “ {𝑤}) ≠ ∅)
42 onint 6942 . . . . . . . . . 10 (((𝐹 “ {𝑤}) ⊆ On ∧ (𝐹 “ {𝑤}) ≠ ∅) → (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}))
4338, 41, 42sylancr 694 . . . . . . . . 9 ((𝜑𝑤𝐴) → (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}))
44 fniniseg 6294 . . . . . . . . . . 11 (𝐹 Fn On → ( (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}) ↔ ( (𝐹 “ {𝑤}) ∈ On ∧ (𝐹 (𝐹 “ {𝑤})) = 𝑤)))
453, 44ax-mp 5 . . . . . . . . . 10 ( (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}) ↔ ( (𝐹 “ {𝑤}) ∈ On ∧ (𝐹 (𝐹 “ {𝑤})) = 𝑤))
4645simprbi 480 . . . . . . . . 9 ( (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
4743, 46syl 17 . . . . . . . 8 ((𝜑𝑤𝐴) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
4847adantrl 751 . . . . . . 7 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
4948adantr 481 . . . . . 6 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
5023, 36, 493eqtr3d 2663 . . . . 5 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → 𝑣 = 𝑤)
5150ex 450 . . . 4 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ( (𝐹 “ {𝑣}) = (𝐹 “ {𝑤}) → 𝑣 = 𝑤))
5221, 51sylbid 230 . . 3 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) → 𝑣 = 𝑤))
5352ralrimivva 2965 . 2 (𝜑 → ∀𝑣𝐴𝑤𝐴 (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) → 𝑣 = 𝑤))
54 dff13 6466 . 2 ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On ↔ ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴⟶On ∧ ∀𝑣𝐴𝑤𝐴 (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) → 𝑣 = 𝑤)))
5516, 53, 54sylanbrc 697 1 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wne 2790  wral 2907  Vcvv 3186  cdif 3552  wss 3555  c0 3891  𝒫 cpw 4130  {csn 4148   cint 4440  cmpt 4673  ccnv 5073  dom cdm 5074  ran crn 5075  cima 5077  Oncon0 5682   Fn wfn 5842  wf 5843  1-1wf1 5844  cfv 5847  recscrecs 7412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-wrecs 7352  df-recs 7413
This theorem is referenced by:  dnwech  37095
  Copyright terms: Public domain W3C validator