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

Theorem wemaplem1 8998
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 6662 . . . . . 6 (𝑥 = 𝑃 → (𝑥𝑧) = (𝑃𝑧))
2 fveq1 6662 . . . . . 6 (𝑦 = 𝑄 → (𝑦𝑧) = (𝑄𝑧))
31, 2breqan12d 5073 . . . . 5 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑥𝑧)𝑆(𝑦𝑧) ↔ (𝑃𝑧)𝑆(𝑄𝑧)))
4 fveq1 6662 . . . . . . . 8 (𝑥 = 𝑃 → (𝑥𝑤) = (𝑃𝑤))
5 fveq1 6662 . . . . . . . 8 (𝑦 = 𝑄 → (𝑦𝑤) = (𝑄𝑤))
64, 5eqeqan12d 2835 . . . . . . 7 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑥𝑤) = (𝑦𝑤) ↔ (𝑃𝑤) = (𝑄𝑤)))
76imbi2d 342 . . . . . 6 ((𝑥 = 𝑃𝑦 = 𝑄) → ((𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)) ↔ (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))))
87ralbidv 3194 . . . . 5 ((𝑥 = 𝑃𝑦 = 𝑄) → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)) ↔ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))))
93, 8anbi12d 630 . . . 4 ((𝑥 = 𝑃𝑦 = 𝑄) → (((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)))))
109rexbidv 3294 . . 3 ((𝑥 = 𝑃𝑦 = 𝑄) → (∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ∃𝑧𝐴 ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)))))
11 fveq2 6663 . . . . . 6 (𝑧 = 𝑎 → (𝑃𝑧) = (𝑃𝑎))
12 fveq2 6663 . . . . . 6 (𝑧 = 𝑎 → (𝑄𝑧) = (𝑄𝑎))
1311, 12breq12d 5070 . . . . 5 (𝑧 = 𝑎 → ((𝑃𝑧)𝑆(𝑄𝑧) ↔ (𝑃𝑎)𝑆(𝑄𝑎)))
14 breq2 5061 . . . . . . . 8 (𝑧 = 𝑎 → (𝑤𝑅𝑧𝑤𝑅𝑎))
1514imbi1d 343 . . . . . . 7 (𝑧 = 𝑎 → ((𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤))))
1615ralbidv 3194 . . . . . 6 (𝑧 = 𝑎 → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑤𝐴 (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤))))
17 breq1 5060 . . . . . . . 8 (𝑤 = 𝑏 → (𝑤𝑅𝑎𝑏𝑅𝑎))
18 fveq2 6663 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑃𝑤) = (𝑃𝑏))
19 fveq2 6663 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑄𝑤) = (𝑄𝑏))
2018, 19eqeq12d 2834 . . . . . . . 8 (𝑤 = 𝑏 → ((𝑃𝑤) = (𝑄𝑤) ↔ (𝑃𝑏) = (𝑄𝑏)))
2117, 20imbi12d 346 . . . . . . 7 (𝑤 = 𝑏 → ((𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤)) ↔ (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2221cbvralvw 3447 . . . . . 6 (∀𝑤𝐴 (𝑤𝑅𝑎 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))
2316, 22syl6bb 288 . . . . 5 (𝑧 = 𝑎 → (∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤)) ↔ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2413, 23anbi12d 630 . . . 4 (𝑧 = 𝑎 → (((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))) ↔ ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
2524cbvrexvw 3448 . . 3 (∃𝑧𝐴 ((𝑃𝑧)𝑆(𝑄𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑃𝑤) = (𝑄𝑤))) ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏))))
2610, 25syl6bb 288 . 2 ((𝑥 = 𝑃𝑦 = 𝑄) → (∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤))) ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
27 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 ((𝑥𝑧)𝑆(𝑦𝑧) ∧ ∀𝑤𝐴 (𝑤𝑅𝑧 → (𝑥𝑤) = (𝑦𝑤)))}
2826, 27brabga 5412 1 ((𝑃𝑉𝑄𝑊) → (𝑃𝑇𝑄 ↔ ∃𝑎𝐴 ((𝑃𝑎)𝑆(𝑄𝑎) ∧ ∀𝑏𝐴 (𝑏𝑅𝑎 → (𝑃𝑏) = (𝑄𝑏)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1528  wcel 2105  wral 3135  wrex 3136   class class class wbr 5057  {copab 5119  cfv 6348
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-iota 6307  df-fv 6356
This theorem is referenced by:  wemaplem2  8999  wemaplem3  9000  wemappo  9001  wemapsolem  9002
  Copyright terms: Public domain W3C validator