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

Theorem dnwech 40789
Description: Define a well-ordering from a choice function. (Contributed by Stefan O'Rear, 18-Jan-2015.)
Hypotheses
Ref Expression
dnnumch.f 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
dnnumch.a (𝜑𝐴𝑉)
dnnumch.g (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
dnwech.h 𝐻 = {⟨𝑣, 𝑤⟩ ∣ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤})}
Assertion
Ref Expression
dnwech (𝜑𝐻 We 𝐴)
Distinct variable groups:   𝑣,𝐹,𝑤,𝑦   𝑣,𝐺,𝑤,𝑦,𝑧   𝑣,𝐴,𝑤,𝑦,𝑧   𝜑,𝑣,𝑤
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝐹(𝑧)   𝐻(𝑦,𝑧,𝑤,𝑣)   𝑉(𝑦,𝑧,𝑤,𝑣)

Proof of Theorem dnwech
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 dnnumch.f . . . . 5 𝐹 = recs((𝑧 ∈ V ↦ (𝐺‘(𝐴 ∖ ran 𝑧))))
2 dnnumch.a . . . . 5 (𝜑𝐴𝑉)
3 dnnumch.g . . . . 5 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(𝑦 ≠ ∅ → (𝐺𝑦) ∈ 𝑦))
41, 2, 3dnnumch3 40788 . . . 4 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On)
5 f1f1orn 6711 . . . 4 ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1-onto→ran (𝑥𝐴 (𝐹 “ {𝑥})))
64, 5syl 17 . . 3 (𝜑 → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1-onto→ran (𝑥𝐴 (𝐹 “ {𝑥})))
7 f1f 6654 . . . . 5 ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1→On → (𝑥𝐴 (𝐹 “ {𝑥})):𝐴⟶On)
8 frn 6591 . . . . 5 ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴⟶On → ran (𝑥𝐴 (𝐹 “ {𝑥})) ⊆ On)
94, 7, 83syl 18 . . . 4 (𝜑 → ran (𝑥𝐴 (𝐹 “ {𝑥})) ⊆ On)
10 epweon 7603 . . . 4 E We On
11 wess 5567 . . . 4 (ran (𝑥𝐴 (𝐹 “ {𝑥})) ⊆ On → ( E We On → E We ran (𝑥𝐴 (𝐹 “ {𝑥}))))
129, 10, 11mpisyl 21 . . 3 (𝜑 → E We ran (𝑥𝐴 (𝐹 “ {𝑥})))
13 eqid 2738 . . . 4 {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} = {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)}
1413f1owe 7204 . . 3 ((𝑥𝐴 (𝐹 “ {𝑥})):𝐴1-1-onto→ran (𝑥𝐴 (𝐹 “ {𝑥})) → ( E We ran (𝑥𝐴 (𝐹 “ {𝑥})) → {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} We 𝐴))
156, 12, 14sylc 65 . 2 (𝜑 → {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} We 𝐴)
16 fvex 6769 . . . . . . . . 9 ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) ∈ V
1716epeli 5488 . . . . . . . 8 (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) ↔ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) ∈ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤))
181, 2, 3dnnumch3lem 40787 . . . . . . . . . 10 ((𝜑𝑣𝐴) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = (𝐹 “ {𝑣}))
1918adantrr 713 . . . . . . . . 9 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) = (𝐹 “ {𝑣}))
201, 2, 3dnnumch3lem 40787 . . . . . . . . . 10 ((𝜑𝑤𝐴) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) = (𝐹 “ {𝑤}))
2120adantrl 712 . . . . . . . . 9 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) = (𝐹 “ {𝑤}))
2219, 21eleq12d 2833 . . . . . . . 8 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → (((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) ∈ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤) ↔ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤})))
2317, 22bitr2id 283 . . . . . . 7 ((𝜑 ∧ (𝑣𝐴𝑤𝐴)) → ( (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤}) ↔ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)))
2423pm5.32da 578 . . . . . 6 (𝜑 → (((𝑣𝐴𝑤𝐴) ∧ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤})) ↔ ((𝑣𝐴𝑤𝐴) ∧ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤))))
2524opabbidv 5136 . . . . 5 (𝜑 → {⟨𝑣, 𝑤⟩ ∣ ((𝑣𝐴𝑤𝐴) ∧ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤}))} = {⟨𝑣, 𝑤⟩ ∣ ((𝑣𝐴𝑤𝐴) ∧ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤))})
26 incom 4131 . . . . . 6 (𝐻 ∩ (𝐴 × 𝐴)) = ((𝐴 × 𝐴) ∩ 𝐻)
27 df-xp 5586 . . . . . . 7 (𝐴 × 𝐴) = {⟨𝑣, 𝑤⟩ ∣ (𝑣𝐴𝑤𝐴)}
28 dnwech.h . . . . . . 7 𝐻 = {⟨𝑣, 𝑤⟩ ∣ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤})}
2927, 28ineq12i 4141 . . . . . 6 ((𝐴 × 𝐴) ∩ 𝐻) = ({⟨𝑣, 𝑤⟩ ∣ (𝑣𝐴𝑤𝐴)} ∩ {⟨𝑣, 𝑤⟩ ∣ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤})})
30 inopab 5728 . . . . . 6 ({⟨𝑣, 𝑤⟩ ∣ (𝑣𝐴𝑤𝐴)} ∩ {⟨𝑣, 𝑤⟩ ∣ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤})}) = {⟨𝑣, 𝑤⟩ ∣ ((𝑣𝐴𝑤𝐴) ∧ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤}))}
3126, 29, 303eqtri 2770 . . . . 5 (𝐻 ∩ (𝐴 × 𝐴)) = {⟨𝑣, 𝑤⟩ ∣ ((𝑣𝐴𝑤𝐴) ∧ (𝐹 “ {𝑣}) ∈ (𝐹 “ {𝑤}))}
32 incom 4131 . . . . . 6 ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)) = ((𝐴 × 𝐴) ∩ {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)})
3327ineq1i 4139 . . . . . 6 ((𝐴 × 𝐴) ∩ {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)}) = ({⟨𝑣, 𝑤⟩ ∣ (𝑣𝐴𝑤𝐴)} ∩ {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)})
34 inopab 5728 . . . . . 6 ({⟨𝑣, 𝑤⟩ ∣ (𝑣𝐴𝑤𝐴)} ∩ {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)}) = {⟨𝑣, 𝑤⟩ ∣ ((𝑣𝐴𝑤𝐴) ∧ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤))}
3532, 33, 343eqtri 2770 . . . . 5 ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)) = {⟨𝑣, 𝑤⟩ ∣ ((𝑣𝐴𝑤𝐴) ∧ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤))}
3625, 31, 353eqtr4g 2804 . . . 4 (𝜑 → (𝐻 ∩ (𝐴 × 𝐴)) = ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)))
37 weeq1 5568 . . . 4 ((𝐻 ∩ (𝐴 × 𝐴)) = ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)) → ((𝐻 ∩ (𝐴 × 𝐴)) We 𝐴 ↔ ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)) We 𝐴))
3836, 37syl 17 . . 3 (𝜑 → ((𝐻 ∩ (𝐴 × 𝐴)) We 𝐴 ↔ ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)) We 𝐴))
39 weinxp 5662 . . 3 (𝐻 We 𝐴 ↔ (𝐻 ∩ (𝐴 × 𝐴)) We 𝐴)
40 weinxp 5662 . . 3 ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} We 𝐴 ↔ ({⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} ∩ (𝐴 × 𝐴)) We 𝐴)
4138, 39, 403bitr4g 313 . 2 (𝜑 → (𝐻 We 𝐴 ↔ {⟨𝑣, 𝑤⟩ ∣ ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑣) E ((𝑥𝐴 (𝐹 “ {𝑥}))‘𝑤)} We 𝐴))
4215, 41mpbird 256 1 (𝜑𝐻 We 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wne 2942  wral 3063  Vcvv 3422  cdif 3880  cin 3882  wss 3883  c0 4253  𝒫 cpw 4530  {csn 4558   cint 4876   class class class wbr 5070  {copab 5132  cmpt 5153   E cep 5485   We wwe 5534   × cxp 5578  ccnv 5579  ran crn 5581  cima 5583  Oncon0 6251  wf 6414  1-1wf1 6415  1-1-ontowf1o 6417  cfv 6418  recscrecs 8172
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-ov 7258  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173
This theorem is referenced by:  aomclem3  40797
  Copyright terms: Public domain W3C validator