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

Theorem wemapso 9310
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 3943 . 2 (𝐵m 𝐴) ⊆ (𝐵m 𝐴)
3 weso 5580 . . 3 (𝑅 We 𝐴𝑅 Or 𝐴)
43adantr 481 . 2 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑅 Or 𝐴)
5 simpr 485 . 2 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑆 Or 𝐵)
6 vex 3436 . . . . . 6 𝑎 ∈ V
76difexi 5252 . . . . 5 (𝑎𝑏) ∈ V
87dmex 7758 . . . 4 dom (𝑎𝑏) ∈ V
98a1i 11 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ∈ V)
10 wefr 5579 . . . 4 (𝑅 We 𝐴𝑅 Fr 𝐴)
1110ad2antrr 723 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑅 Fr 𝐴)
12 difss 4066 . . . . 5 (𝑎𝑏) ⊆ 𝑎
13 dmss 5811 . . . . 5 ((𝑎𝑏) ⊆ 𝑎 → dom (𝑎𝑏) ⊆ dom 𝑎)
1412, 13ax-mp 5 . . . 4 dom (𝑎𝑏) ⊆ dom 𝑎
15 simprll 776 . . . . 5 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎 ∈ (𝐵m 𝐴))
16 elmapi 8637 . . . . 5 (𝑎 ∈ (𝐵m 𝐴) → 𝑎:𝐴𝐵)
1715, 16syl 17 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎:𝐴𝐵)
1814, 17fssdm 6620 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ⊆ 𝐴)
19 simprr 770 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎𝑏)
2017ffnd 6601 . . . . . 6 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑎 Fn 𝐴)
21 simprlr 777 . . . . . . . 8 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏 ∈ (𝐵m 𝐴))
22 elmapi 8637 . . . . . . . 8 (𝑏 ∈ (𝐵m 𝐴) → 𝑏:𝐴𝐵)
2321, 22syl 17 . . . . . . 7 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏:𝐴𝐵)
2423ffnd 6601 . . . . . 6 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → 𝑏 Fn 𝐴)
25 fndmdifeq0 6921 . . . . . 6 ((𝑎 Fn 𝐴𝑏 Fn 𝐴) → (dom (𝑎𝑏) = ∅ ↔ 𝑎 = 𝑏))
2620, 24, 25syl2anc 584 . . . . 5 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → (dom (𝑎𝑏) = ∅ ↔ 𝑎 = 𝑏))
2726necon3bid 2988 . . . 4 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → (dom (𝑎𝑏) ≠ ∅ ↔ 𝑎𝑏))
2819, 27mpbird 256 . . 3 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → dom (𝑎𝑏) ≠ ∅)
29 fri 5549 . . 3 (((dom (𝑎𝑏) ∈ V ∧ 𝑅 Fr 𝐴) ∧ (dom (𝑎𝑏) ⊆ 𝐴 ∧ dom (𝑎𝑏) ≠ ∅)) → ∃𝑐 ∈ dom (𝑎𝑏)∀𝑑 ∈ dom (𝑎𝑏) ¬ 𝑑𝑅𝑐)
309, 11, 18, 28, 29syl22anc 836 . 2 (((𝑅 We 𝐴𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴)) ∧ 𝑎𝑏)) → ∃𝑐 ∈ dom (𝑎𝑏)∀𝑑 ∈ dom (𝑎𝑏) ¬ 𝑑𝑅𝑐)
311, 2, 4, 5, 30wemapsolem 9309 1 ((𝑅 We 𝐴𝑆 Or 𝐵) → 𝑇 Or (𝐵m 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wne 2943  wral 3064  wrex 3065  Vcvv 3432  cdif 3884  wss 3887  c0 4256   class class class wbr 5074  {copab 5136   Or wor 5502   Fr wfr 5541   We wwe 5543  dom cdm 5589   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  m cmap 8615
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-map 8617
This theorem is referenced by:  opsrtoslem2  21263  wepwso  40868
  Copyright terms: Public domain W3C validator