MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  wemapso Structured version   Visualization version   GIF version

Theorem wemapso 9240
Description: Construct lexicographic order on a function space based on a well-ordering of the indices and a total ordering of the values. (Contributed by Stefan O'Rear, 18-Jan-2015.) (Revised by Mario Carneiro, 8-Feb-2015.) (Revised by AV, 21-Jul-2024.)
Hypothesis
Ref Expression
wemapso.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
Assertion
Ref Expression
wemapso ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑇 Or (𝐵m 𝐴))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑤,𝑦,𝑧,𝐴   𝑤,𝑅,𝑥,𝑦,𝑧   𝑤,𝑆,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐵(𝑦,𝑧,𝑤)   𝑇(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem wemapso
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
2 ssid 3939 . 2 (𝐵m 𝐴) ⊆ (𝐵m 𝐴)
3 weso 5571 . . 3 (𝑅 We 𝐴𝑅 Or 𝐴)
43adantr 480 . 2 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑅 Or 𝐴)
5 simpr 484 . 2 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑆 Or 𝐵)
6 vex 3426 . . . . . 6 𝑎 ∈ V
76difexi 5247 . . . . 5 (𝑎𝑏) ∈ V
87dmex 7732 . . . 4 dom (𝑎𝑏) ∈ V
98a1i 11 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ∈ V)
10 wefr 5570 . . . 4 (𝑅 We 𝐴𝑅 Fr 𝐴)
1110ad2antrr 722 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑅 Fr 𝐴)
12 difss 4062 . . . . 5 (𝑎𝑏) ⊆ 𝑎
13 dmss 5800 . . . . 5 ((𝑎𝑏) ⊆ 𝑎 → dom (𝑎𝑏) ⊆ dom 𝑎)
1412, 13ax-mp 5 . . . 4 dom (𝑎𝑏) ⊆ dom 𝑎
15 simprll 775 . . . . 5 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎 ∈ (𝐵m 𝐴))
16 elmapi 8595 . . . . 5 (𝑎 ∈ (𝐵m 𝐴) → 𝑎:𝐴𝐵)
1715, 16syl 17 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎:𝐴𝐵)
1814, 17fssdm 6604 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ⊆ 𝐴)
19 simprr 769 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎𝑏)
2017ffnd 6585 . . . . . 6 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎 Fn 𝐴)
21 simprlr 776 . . . . . . . 8 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏 ∈ (𝐵m 𝐴))
22 elmapi 8595 . . . . . . . 8 (𝑏 ∈ (𝐵m 𝐴) → 𝑏:𝐴𝐵)
2321, 22syl 17 . . . . . . 7 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏:𝐴𝐵)
2423ffnd 6585 . . . . . 6 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏 Fn 𝐴)
25 fndmdifeq0 6903 . . . . . 6 ((𝑎 Fn 𝐴𝑏 Fn 𝐴) → (dom (𝑎𝑏) = ∅ ↔ 𝑎 = 𝑏))
2620, 24, 25syl2anc 583 . . . . 5 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → (dom (𝑎𝑏) = ∅ ↔ 𝑎 = 𝑏))
2726necon3bid 2987 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → (dom (𝑎𝑏) ≠ ∅ ↔ 𝑎𝑏))
2819, 27mpbird 256 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ≠ ∅)
29 fri 5540 . . 3 (((dom (𝑎𝑏) ∈ V ∧ 𝑅 Fr 𝐴) ∧ (dom (𝑎𝑏) ⊆ 𝐴 ∧ dom (𝑎𝑏) ≠ ∅)) → ∃𝑐 ∈ dom (𝑎𝑏)∀𝑑 ∈ dom (𝑎𝑏) ¬ 𝑑𝑅𝑐)
309, 11, 18, 28, 29syl22anc 835 . 2 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → ∃𝑐 ∈ dom (𝑎𝑏)∀𝑑 ∈ dom (𝑎𝑏) ¬ 𝑑𝑅𝑐)
311, 2, 4, 5, 30wemapsolem 9239 1 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑇 Or (𝐵m 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wne 2942  wral 3063  wrex 3064  Vcvv 3422  cdif 3880  wss 3883  c0 4253   class class class wbr 5070  {copab 5132   Or wor 5493   Fr wfr 5532   We wwe 5534  dom cdm 5580   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573
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-sep 5218  ax-nul 5225  ax-pow 5283  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-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  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-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575
This theorem is referenced by:  opsrtoslem2  21173  wepwso  40784
  Copyright terms: Public domain W3C validator