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

Theorem wemaplem1 9012
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 6671 . . . . . 6 (𝑥 = 𝑃 → (𝑥𝑧) = (𝑃𝑧))
2 fveq1 6671 . . . . . 6 (𝑦 = 𝑄 → (𝑦𝑧) = (𝑄𝑧))
31, 2breqan12d 5084 . . . . 5 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑥𝑧)𝑆(𝑦𝑧) ↔ (𝑃𝑧)𝑆(𝑄𝑧)))
4 fveq1 6671 . . . . . . . 8 (𝑥 = 𝑃 → (𝑥𝑤) = (𝑃𝑤))
5 fveq1 6671 . . . . . . . 8 (𝑦 = 𝑄 → (𝑦𝑤) = (𝑄𝑤))
64, 5eqeqan12d 2840 . . . . . . 7 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑥𝑤) = (𝑦𝑤) ↔ (𝑃𝑤) = (𝑄𝑤)))
76imbi2d 343 . . . . . 6 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)) ↔ (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))))
87ralbidv 3199 . . . . 5 ((𝑥 = 𝑃𝑦 = 𝑄) → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)) ↔ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))))
93, 8anbi12d 632 . . . 4 ((𝑥 = 𝑃𝑦 = 𝑄) → (((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)))))
109rexbidv 3299 . . 3 ((𝑥 = 𝑃𝑦 = 𝑄) → (∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ∃𝑧𝐴 ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)))))
11 fveq2 6672 . . . . . 6 (𝑧 = 𝑎 → (𝑃𝑧) = (𝑃𝑎))
12 fveq2 6672 . . . . . 6 (𝑧 = 𝑎 → (𝑄𝑧) = (𝑄𝑎))
1311, 12breq12d 5081 . . . . 5 (𝑧 = 𝑎 → ((𝑃𝑧)𝑆(𝑄𝑧) ↔ (𝑃𝑎)𝑆(𝑄𝑎)))
14 breq2 5072 . . . . . . . 8 (𝑧 = 𝑎 → (𝑤𝑅𝑧𝑤𝑅𝑎))
1514imbi1d 344 . . . . . . 7 (𝑧 = 𝑎 → ((𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤))))
1615ralbidv 3199 . . . . . 6 (𝑧 = 𝑎 → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑤𝐴 (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤))))
17 breq1 5071 . . . . . . . 8 (𝑤 = 𝑏 → (𝑤𝑅𝑎𝑏𝑅𝑎))
18 fveq2 6672 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑃𝑤) = (𝑃𝑏))
19 fveq2 6672 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑄𝑤) = (𝑄𝑏))
2018, 19eqeq12d 2839 . . . . . . . 8 (𝑤 = 𝑏 → ((𝑃𝑤) = (𝑄𝑤) ↔ (𝑃𝑏) = (𝑄𝑏)))
2117, 20imbi12d 347 . . . . . . 7 (𝑤 = 𝑏 → ((𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤)) ↔ (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2221cbvralvw 3451 . . . . . 6 (∀𝑤𝐴 (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))
2316, 22syl6bb 289 . . . . 5 (𝑧 = 𝑎 → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2413, 23anbi12d 632 . . . 4 (𝑧 = 𝑎 → (((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))) ↔ ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
2524cbvrexvw 3452 . . 3 (∃𝑧𝐴 ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))) ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2610, 25syl6bb 289 . 2 ((𝑥 = 𝑃𝑦 = 𝑄) → (∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
27 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
2826, 27brabga 5423 1 ((𝑃𝑉𝑄𝑊) → (𝑃𝑇𝑄 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wral 3140  wrex 3141   class class class wbr 5068  {copab 5130  cfv 6357
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-iota 6316  df-fv 6365
This theorem is referenced by:  wemaplem2  9013  wemaplem3  9014  wemappo  9015  wemapsolem  9016
  Copyright terms: Public domain W3C validator