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

Theorem wemaplem1 8994
Description: Value of the lexicographic order on a sequence space. (Contributed by Stefan O'Rear, 18-Jan-2015.)
Hypothesis
Ref Expression
wemapso.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
Assertion
Ref Expression
wemaplem1 ((𝑃𝑉𝑄𝑊) → (𝑃𝑇𝑄 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
Distinct variable groups:   𝑎,𝑏,𝑥   𝑇,𝑎,𝑏   𝑤,𝑎,𝑦,𝑧,𝑏,𝑥,𝐴   𝑃,𝑎,𝑏,𝑤,𝑥,𝑦,𝑧   𝑄,𝑎,𝑏,𝑤,𝑥,𝑦,𝑧   𝑅,𝑎,𝑏,𝑤,𝑥,𝑦,𝑧   𝑆,𝑎,𝑏,𝑤,𝑥,𝑦,𝑧
Allowed substitution hints:   𝑇(𝑥,𝑦,𝑧,𝑤)   𝑉(𝑥,𝑦,𝑧,𝑤,𝑎,𝑏)   𝑊(𝑥,𝑦,𝑧,𝑤,𝑎,𝑏)

Proof of Theorem wemaplem1
StepHypRef Expression
1 fveq1 6644 . . . . . 6 (𝑥 = 𝑃 → (𝑥𝑧) = (𝑃𝑧))
2 fveq1 6644 . . . . . 6 (𝑦 = 𝑄 → (𝑦𝑧) = (𝑄𝑧))
31, 2breqan12d 5046 . . . . 5 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑥𝑧)𝑆(𝑦𝑧) ↔ (𝑃𝑧)𝑆(𝑄𝑧)))
4 fveq1 6644 . . . . . . . 8 (𝑥 = 𝑃 → (𝑥𝑤) = (𝑃𝑤))
5 fveq1 6644 . . . . . . . 8 (𝑦 = 𝑄 → (𝑦𝑤) = (𝑄𝑤))
64, 5eqeqan12d 2815 . . . . . . 7 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑥𝑤) = (𝑦𝑤) ↔ (𝑃𝑤) = (𝑄𝑤)))
76imbi2d 344 . . . . . 6 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)) ↔ (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))))
87ralbidv 3162 . . . . 5 ((𝑥 = 𝑃𝑦 = 𝑄) → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)) ↔ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))))
93, 8anbi12d 633 . . . 4 ((𝑥 = 𝑃𝑦 = 𝑄) → (((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)))))
109rexbidv 3256 . . 3 ((𝑥 = 𝑃𝑦 = 𝑄) → (∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ∃𝑧𝐴 ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)))))
11 fveq2 6645 . . . . . 6 (𝑧 = 𝑎 → (𝑃𝑧) = (𝑃𝑎))
12 fveq2 6645 . . . . . 6 (𝑧 = 𝑎 → (𝑄𝑧) = (𝑄𝑎))
1311, 12breq12d 5043 . . . . 5 (𝑧 = 𝑎 → ((𝑃𝑧)𝑆(𝑄𝑧) ↔ (𝑃𝑎)𝑆(𝑄𝑎)))
14 breq2 5034 . . . . . . . 8 (𝑧 = 𝑎 → (𝑤𝑅𝑧𝑤𝑅𝑎))
1514imbi1d 345 . . . . . . 7 (𝑧 = 𝑎 → ((𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤))))
1615ralbidv 3162 . . . . . 6 (𝑧 = 𝑎 → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑤𝐴 (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤))))
17 breq1 5033 . . . . . . . 8 (𝑤 = 𝑏 → (𝑤𝑅𝑎𝑏𝑅𝑎))
18 fveq2 6645 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑃𝑤) = (𝑃𝑏))
19 fveq2 6645 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑄𝑤) = (𝑄𝑏))
2018, 19eqeq12d 2814 . . . . . . . 8 (𝑤 = 𝑏 → ((𝑃𝑤) = (𝑄𝑤) ↔ (𝑃𝑏) = (𝑄𝑏)))
2117, 20imbi12d 348 . . . . . . 7 (𝑤 = 𝑏 → ((𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤)) ↔ (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2221cbvralvw 3396 . . . . . 6 (∀𝑤𝐴 (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))
2316, 22syl6bb 290 . . . . 5 (𝑧 = 𝑎 → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2413, 23anbi12d 633 . . . 4 (𝑧 = 𝑎 → (((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))) ↔ ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
2524cbvrexvw 3397 . . 3 (∃𝑧𝐴 ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))) ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2610, 25syl6bb 290 . 2 ((𝑥 = 𝑃𝑦 = 𝑄) → (∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
27 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
2826, 27brabga 5386 1 ((𝑃𝑉𝑄𝑊) → (𝑃𝑇𝑄 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  wral 3106  wrex 3107   class class class wbr 5030  {copab 5092  cfv 6324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-iota 6283  df-fv 6332
This theorem is referenced by:  wemaplem2  8995  wemaplem3  8996  wemappo  8997  wemapsolem  8998
  Copyright terms: Public domain W3C validator