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

Theorem wemapso 9167
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 3923 . 2 (𝐵m 𝐴) ⊆ (𝐵m 𝐴)
3 weso 5542 . . 3 (𝑅 We 𝐴𝑅 Or 𝐴)
43adantr 484 . 2 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑅 Or 𝐴)
5 simpr 488 . 2 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑆 Or 𝐵)
6 vex 3412 . . . . . 6 𝑎 ∈ V
76difexi 5221 . . . . 5 (𝑎𝑏) ∈ V
87dmex 7689 . . . 4 dom (𝑎𝑏) ∈ V
98a1i 11 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ∈ V)
10 wefr 5541 . . . 4 (𝑅 We 𝐴𝑅 Fr 𝐴)
1110ad2antrr 726 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑅 Fr 𝐴)
12 difss 4046 . . . . 5 (𝑎𝑏) ⊆ 𝑎
13 dmss 5771 . . . . 5 ((𝑎𝑏) ⊆ 𝑎 → dom (𝑎𝑏) ⊆ dom 𝑎)
1412, 13ax-mp 5 . . . 4 dom (𝑎𝑏) ⊆ dom 𝑎
15 simprll 779 . . . . 5 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎 ∈ (𝐵m 𝐴))
16 elmapi 8530 . . . . 5 (𝑎 ∈ (𝐵m 𝐴) → 𝑎:𝐴𝐵)
1715, 16syl 17 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎:𝐴𝐵)
1814, 17fssdm 6565 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ⊆ 𝐴)
19 simprr 773 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎𝑏)
2017ffnd 6546 . . . . . 6 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎 Fn 𝐴)
21 simprlr 780 . . . . . . . 8 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏 ∈ (𝐵m 𝐴))
22 elmapi 8530 . . . . . . . 8 (𝑏 ∈ (𝐵m 𝐴) → 𝑏:𝐴𝐵)
2321, 22syl 17 . . . . . . 7 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏:𝐴𝐵)
2423ffnd 6546 . . . . . 6 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏 Fn 𝐴)
25 fndmdifeq0 6864 . . . . . 6 ((𝑎 Fn 𝐴𝑏 Fn 𝐴) → (dom (𝑎𝑏) = ∅ ↔ 𝑎 = 𝑏))
2620, 24, 25syl2anc 587 . . . . 5 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → (dom (𝑎𝑏) = ∅ ↔ 𝑎 = 𝑏))
2726necon3bid 2985 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → (dom (𝑎𝑏) ≠ ∅ ↔ 𝑎𝑏))
2819, 27mpbird 260 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ≠ ∅)
29 fri 5512 . . 3 (((dom (𝑎𝑏) ∈ V ∧ 𝑅 Fr 𝐴) ∧ (dom (𝑎𝑏) ⊆ 𝐴 ∧ dom (𝑎𝑏) ≠ ∅)) → ∃𝑐 ∈ dom (𝑎𝑏)∀𝑑 ∈ dom (𝑎𝑏) ¬ 𝑑𝑅𝑐)
309, 11, 18, 28, 29syl22anc 839 . 2 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → ∃𝑐 ∈ dom (𝑎𝑏)∀𝑑 ∈ dom (𝑎𝑏) ¬ 𝑑𝑅𝑐)
311, 2, 4, 5, 30wemapsolem 9166 1 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑇 Or (𝐵m 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1543  wcel 2110  wne 2940  wral 3061  wrex 3062  Vcvv 3408  cdif 3863  wss 3866  c0 4237   class class class wbr 5053  {copab 5115   Or wor 5467   Fr wfr 5506   We wwe 5508  dom cdm 5551   Fn wfn 6375  wf 6376  cfv 6380  (class class class)co 7213  m cmap 8508
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fv 6388  df-ov 7216  df-oprab 7217  df-mpo 7218  df-1st 7761  df-2nd 7762  df-map 8510
This theorem is referenced by:  opsrtoslem2  21013  wepwso  40571
  Copyright terms: Public domain W3C validator