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

Theorem wemappo 9165
Description: Construct lexicographic order on a function space based on a well-ordering of the indices and a total ordering of the values.

Without totality on the values or least differing indices, the best we can prove here is a partial order. (Contributed by Stefan O'Rear, 18-Jan-2015.) (Revised by AV, 21-Jul-2024.)

Hypothesis
Ref Expression
wemapso.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
Assertion
Ref Expression
wemappo ((𝑅 Or 𝐴𝑆 Po 𝐵) → 𝑇 Po (𝐵m 𝐴))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑤,𝑦,𝑧,𝐴   𝑤,𝑅,𝑥,𝑦,𝑧   𝑤,𝑆,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐵(𝑦,𝑧,𝑤)   𝑇(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem wemappo
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpllr 776 . . . . . 6 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) ∧ 𝑏𝐴) → 𝑆 Po 𝐵)
2 elmapi 8530 . . . . . . . 8 (𝑎 ∈ (𝐵m 𝐴) → 𝑎:𝐴𝐵)
32adantl 485 . . . . . . 7 (((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) → 𝑎:𝐴𝐵)
43ffvelrnda 6904 . . . . . 6 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) ∧ 𝑏𝐴) → (𝑎𝑏) ∈ 𝐵)
5 poirr 5480 . . . . . 6 ((𝑆 Po 𝐵 ∧ (𝑎𝑏) ∈ 𝐵) → ¬ (𝑎𝑏)𝑆(𝑎𝑏))
61, 4, 5syl2anc 587 . . . . 5 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) ∧ 𝑏𝐴) → ¬ (𝑎𝑏)𝑆(𝑎𝑏))
76intnanrd 493 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) ∧ 𝑏𝐴) → ¬ ((𝑎𝑏)𝑆(𝑎𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑎𝑐) = (𝑎𝑐))))
87nrexdv 3189 . . 3 (((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) → ¬ ∃𝑏𝐴 ((𝑎𝑏)𝑆(𝑎𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑎𝑐) = (𝑎𝑐))))
9 wemapso.t . . . . 5 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
109wemaplem1 9162 . . . 4 ((𝑎 ∈ V ∧ 𝑎 ∈ V) → (𝑎𝑇𝑎 ↔ ∃𝑏𝐴 ((𝑎𝑏)𝑆(𝑎𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑎𝑐) = (𝑎𝑐)))))
1110el2v 3416 . . 3 (𝑎𝑇𝑎 ↔ ∃𝑏𝐴 ((𝑎𝑏)𝑆(𝑎𝑏) ∧ ∀𝑐𝐴 (𝑐𝑅𝑏 → (𝑎𝑐) = (𝑎𝑐))))
128, 11sylnibr 332 . 2 (((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ 𝑎 ∈ (𝐵m 𝐴)) → ¬ 𝑎𝑇𝑎)
13 simplr1 1217 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑎 ∈ (𝐵m 𝐴))
14 simplr2 1218 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑏 ∈ (𝐵m 𝐴))
15 simplr3 1219 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑐 ∈ (𝐵m 𝐴))
16 simplll 775 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑅 Or 𝐴)
17 simpllr 776 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑆 Po 𝐵)
18 simprl 771 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑎𝑇𝑏)
19 simprr 773 . . . 4 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑏𝑇𝑐)
209, 13, 14, 15, 16, 17, 18, 19wemaplem3 9164 . . 3 ((((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) ∧ (𝑎𝑇𝑏𝑏𝑇𝑐)) → 𝑎𝑇𝑐)
2120ex 416 . 2 (((𝑅 Or 𝐴𝑆 Po 𝐵) ∧ (𝑎 ∈ (𝐵m 𝐴) ∧ 𝑏 ∈ (𝐵m 𝐴) ∧ 𝑐 ∈ (𝐵m 𝐴))) → ((𝑎𝑇𝑏𝑏𝑇𝑐) → 𝑎𝑇𝑐))
2212, 21ispod 5477 1 ((𝑅 Or 𝐴𝑆 Po 𝐵) → 𝑇 Po (𝐵m 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  wral 3061  wrex 3062  Vcvv 3408   class class class wbr 5053  {copab 5115   Po wpo 5466   Or wor 5467  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-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:  wemapsolem  9166
  Copyright terms: Public domain W3C validator