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 38115
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 5639 . . . . 5 (𝐹 “ {𝑥}) ⊆ dom 𝐹
2 dnnumch.f . . . . . . 7 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
32tfr1 7658 . . . . . 6 𝐹 Fn On
4 fndm 6147 . . . . . 6 (𝐹 Fn On → dom 𝐹 = On)
53, 4ax-mp 5 . . . . 5 dom 𝐹 = On
61, 5sseqtri 3774 . . . 4 (𝐹 “ {𝑥}) ⊆ On
7 dnnumch.a . . . . . . 7 (𝜑𝐴𝑉)
8 dnnumch.g . . . . . . 7 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
92, 7, 8dnnumch2 38113 . . . . . 6 (𝜑𝐴 ⊆ ran 𝐹)
109sselda 3740 . . . . 5 ((𝜑𝑥𝐴) → 𝑥 ∈ ran 𝐹)
11 inisegn0 5651 . . . . 5 (𝑥 ∈ ran 𝐹 ↔ (𝐹 “ {𝑥}) ≠ ∅)
1210, 11sylib 208 . . . 4 ((𝜑𝑥𝐴) → (𝐹 “ {𝑥}) ≠ ∅)
13 oninton 7161 . . . 4 (((𝐹 “ {𝑥}) ⊆ On ∧ (𝐹 “ {𝑥}) ≠ ∅) → (𝐹 “ {𝑥}) ∈ On)
146, 12, 13sylancr 698 . . 3 ((𝜑𝑥𝐴) → (𝐹 “ {𝑥}) ∈ On)
15 eqid 2756 . . 3 (𝑥𝐴 (𝐹 “ {𝑥})) = (𝑥𝐴 (𝐹 “ {𝑥}))
1614, 15fmptd 6544 . 2 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴⟶On)
172, 7, 8dnnumch3lem 38114 . . . . . 6 ((𝜑𝑣𝐴) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = (𝐹 “ {𝑣}))
1817adantrr 755 . . . . 5 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = (𝐹 “ {𝑣}))
192, 7, 8dnnumch3lem 38114 . . . . . 6 ((𝜑𝑤𝐴) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) = (𝐹 “ {𝑤}))
2019adantrl 754 . . . . 5 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) = (𝐹 “ {𝑤}))
2118, 20eqeq12d 2771 . . . 4 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) ↔ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})))
22 fveq2 6348 . . . . . . 7 ( (𝐹 “ {𝑣}) = (𝐹 “ {𝑤}) → (𝐹 (𝐹 “ {𝑣})) = (𝐹 (𝐹 “ {𝑤})))
2322adantl 473 . . . . . 6 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → (𝐹 (𝐹 “ {𝑣})) = (𝐹 (𝐹 “ {𝑤})))
24 cnvimass 5639 . . . . . . . . . . 11 (𝐹 “ {𝑣}) ⊆ dom 𝐹
2524, 5sseqtri 3774 . . . . . . . . . 10 (𝐹 “ {𝑣}) ⊆ On
269sselda 3740 . . . . . . . . . . 11 ((𝜑𝑣𝐴) → 𝑣 ∈ ran 𝐹)
27 inisegn0 5651 . . . . . . . . . . 11 (𝑣 ∈ ran 𝐹 ↔ (𝐹 “ {𝑣}) ≠ ∅)
2826, 27sylib 208 . . . . . . . . . 10 ((𝜑𝑣𝐴) → (𝐹 “ {𝑣}) ≠ ∅)
29 onint 7156 . . . . . . . . . 10 (((𝐹 “ {𝑣}) ⊆ On ∧ (𝐹 “ {𝑣}) ≠ ∅) → (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}))
3025, 28, 29sylancr 698 . . . . . . . . 9 ((𝜑𝑣𝐴) → (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}))
31 fniniseg 6497 . . . . . . . . . . 11 (𝐹 Fn On → ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}) ↔ ( (𝐹 “ {𝑣}) ∈ On ∧ (𝐹 (𝐹 “ {𝑣})) = 𝑣)))
323, 31ax-mp 5 . . . . . . . . . 10 ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}) ↔ ( (𝐹 “ {𝑣}) ∈ On ∧ (𝐹 (𝐹 “ {𝑣})) = 𝑣))
3332simprbi 483 . . . . . . . . 9 ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑣}) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
3430, 33syl 17 . . . . . . . 8 ((𝜑𝑣𝐴) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
3534adantrr 755 . . . . . . 7 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
3635adantr 472 . . . . . 6 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → (𝐹 (𝐹 “ {𝑣})) = 𝑣)
37 cnvimass 5639 . . . . . . . . . . 11 (𝐹 “ {𝑤}) ⊆ dom 𝐹
3837, 5sseqtri 3774 . . . . . . . . . 10 (𝐹 “ {𝑤}) ⊆ On
399sselda 3740 . . . . . . . . . . 11 ((𝜑𝑤𝐴) → 𝑤 ∈ ran 𝐹)
40 inisegn0 5651 . . . . . . . . . . 11 (𝑤 ∈ ran 𝐹 ↔ (𝐹 “ {𝑤}) ≠ ∅)
4139, 40sylib 208 . . . . . . . . . 10 ((𝜑𝑤𝐴) → (𝐹 “ {𝑤}) ≠ ∅)
42 onint 7156 . . . . . . . . . 10 (((𝐹 “ {𝑤}) ⊆ On ∧ (𝐹 “ {𝑤}) ≠ ∅) → (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}))
4338, 41, 42sylancr 698 . . . . . . . . 9 ((𝜑𝑤𝐴) → (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}))
44 fniniseg 6497 . . . . . . . . . . 11 (𝐹 Fn On → ( (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}) ↔ ( (𝐹 “ {𝑤}) ∈ On ∧ (𝐹 (𝐹 “ {𝑤})) = 𝑤)))
453, 44ax-mp 5 . . . . . . . . . 10 ( (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}) ↔ ( (𝐹 “ {𝑤}) ∈ On ∧ (𝐹 (𝐹 “ {𝑤})) = 𝑤))
4645simprbi 483 . . . . . . . . 9 ( (𝐹 “ {𝑤}) ∈ (𝐹 “ {𝑤}) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
4743, 46syl 17 . . . . . . . 8 ((𝜑𝑤𝐴) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
4847adantrl 754 . . . . . . 7 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
4948adantr 472 . . . . . 6 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → (𝐹 (𝐹 “ {𝑤})) = 𝑤)
5023, 36, 493eqtr3d 2798 . . . . 5 (((𝜑 ∧ (𝑣𝐴𝑤𝐴)) ∧ (𝐹 “ {𝑣}) = (𝐹 “ {𝑤})) → 𝑣 = 𝑤)
5150ex 449 . . . 4 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ( (𝐹 “ {𝑣}) = (𝐹 “ {𝑤}) → 𝑣 = 𝑤))
5221, 51sylbid 230 . . 3 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) → 𝑣 = 𝑤))
5352ralrimivva 3105 . 2 (𝜑 → ∀𝑣𝐴𝑤𝐴 (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) → 𝑣 = 𝑤))
54 dff13 6671 . 2 ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On ↔ ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴⟶On ∧ ∀𝑣𝐴𝑤𝐴 (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) → 𝑣 = 𝑤)))
5516, 53, 54sylanbrc 701 1 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1628  wcel 2135  wne 2928  wral 3046  Vcvv 3336  cdif 3708  wss 3711  c0 4054  𝒫 cpw 4298  {csn 4317   cint 4623  cmpt 4877  ccnv 5261  dom cdm 5262  ran crn 5263  cima 5265  Oncon0 5880   Fn wfn 6040  wf 6041  1-1wf1 6042  cfv 6045  recscrecs 7632
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1867  ax-4 1882  ax-5 1984  ax-6 2050  ax-7 2086  ax-8 2137  ax-9 2144  ax-10 2164  ax-11 2179  ax-12 2192  ax-13 2387  ax-ext 2736  ax-rep 4919  ax-sep 4929  ax-nul 4937  ax-pow 4988  ax-pr 5051  ax-un 7110
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1631  df-ex 1850  df-nf 1855  df-sb 2043  df-eu 2607  df-mo 2608  df-clab 2743  df-cleq 2749  df-clel 2752  df-nfc 2887  df-ne 2929  df-ral 3051  df-rex 3052  df-reu 3053  df-rab 3055  df-v 3338  df-sbc 3573  df-csb 3671  df-dif 3714  df-un 3716  df-in 3718  df-ss 3725  df-pss 3727  df-nul 4055  df-if 4227  df-pw 4300  df-sn 4318  df-pr 4320  df-tp 4322  df-op 4324  df-uni 4585  df-int 4624  df-iun 4670  df-br 4801  df-opab 4861  df-mpt 4878  df-tr 4901  df-id 5170  df-eprel 5175  df-po 5183  df-so 5184  df-fr 5221  df-we 5223  df-xp 5268  df-rel 5269  df-cnv 5270  df-co 5271  df-dm 5272  df-rn 5273  df-res 5274  df-ima 5275  df-pred 5837  df-ord 5883  df-on 5884  df-suc 5886  df-iota 6008  df-fun 6047  df-fn 6048  df-f 6049  df-f1 6050  df-fo 6051  df-f1o 6052  df-fv 6053  df-wrecs 7572  df-recs 7633
This theorem is referenced by:  dnwech  38116
  Copyright terms: Public domain W3C validator