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

Theorem wemaplem1 9543
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 6884 . . . . . 6 (𝑥 = 𝑃 → (𝑥‘𝑧) = (𝑃‘𝑧))
2 fveq1 6884 . . . . . 6 (𝑦 = 𝑄 → (𝑦‘𝑧) = (𝑄‘𝑧))
31, 2breqan12d 5118 . . . . 5 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ↔ (𝑃‘𝑧)𝑆(𝑄‘𝑧)))
4 fveq1 6884 . . . . . . . 8 (𝑥 = 𝑃 → (𝑥‘𝑤) = (𝑃‘𝑤))
5 fveq1 6884 . . . . . . . 8 (𝑦 = 𝑄 → (𝑦‘𝑤) = (𝑄‘𝑤))
64, 5eqeqan12d 2774 . . . . . . 7 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → ((𝑥‘𝑤) = (𝑦‘𝑤) ↔ (𝑃‘𝑤) = (𝑄‘𝑤)))
76imbi2d 343 . . . . . 6 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → ((𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)) ↔ (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))))
87ralbidv 3185 . . . . 5 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)) ↔ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))))
93, 8anbi12d 644 . . . 4 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤))) ↔ ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)))))
109rexbidv 3186 . . 3 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤))) ↔ ∃𝑧 ∈ 𝐴 ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)))))
11 fveq2 6885 . . . . . 6 (𝑧 = 𝑎 → (𝑃‘𝑧) = (𝑃‘𝑎))
12 fveq2 6885 . . . . . 6 (𝑧 = 𝑎 → (𝑄‘𝑧) = (𝑄‘𝑎))
1311, 12breq12d 5115 . . . . 5 (𝑧 = 𝑎 → ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ↔ (𝑃‘𝑎)𝑆(𝑄‘𝑎)))
14 breq2 5106 . . . . . . . 8 (𝑧 = 𝑎 → (𝑤𝑅𝑧 ↔ 𝑤𝑅𝑎))
1514imbi1d 344 . . . . . . 7 (𝑧 = 𝑎 → ((𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ (𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤))))
1615ralbidv 3185 . . . . . 6 (𝑧 = 𝑎 → (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤))))
17 breq1 5105 . . . . . . . 8 (𝑤 = 𝑏 → (𝑤𝑅𝑎 ↔ 𝑏𝑅𝑎))
18 fveq2 6885 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑃‘𝑤) = (𝑃‘𝑏))
19 fveq2 6885 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑄‘𝑤) = (𝑄‘𝑏))
2018, 19eqeq12d 2776 . . . . . . . 8 (𝑤 = 𝑏 → ((𝑃‘𝑤) = (𝑄‘𝑤) ↔ (𝑃‘𝑏) = (𝑄‘𝑏)))
2117, 20imbi12d 347 . . . . . . 7 (𝑤 = 𝑏 → ((𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏))))
2221cbvralvw 3240 . . . . . 6 (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))
2316, 22bitrdi 290 . . . . 5 (𝑧 = 𝑎 → (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏))))
2413, 23anbi12d 644 . . . 4 (𝑧 = 𝑎 → (((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))) ↔ ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))))
2524cbvrexvw 3241 . . 3 (∃𝑧 ∈ 𝐴 ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))) ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏))))
2610, 25bitrdi 290 . 2 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤))) ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))))
27 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)))}
2826, 27brabga 5507 1 ((𝑃 ∈ 𝑉 ∧ 𝑄 ∈ 𝑊) → (𝑃𝑇𝑄 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086   class class class wbr 5102  {copab 5166  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-iota 6494  df-fv 6546
This theorem is used by:  wemaplem2  9544  wemaplem3  9545  wemappo  9546  wemapsolem  9547
  Copyright terms: Public domain W3C validator