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

Theorem wemaplem1 9570
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 6910 . . . . . 6 (𝑥 = 𝑃 → (𝑥‘𝑧) = (𝑃‘𝑧))
2 fveq1 6910 . . . . . 6 (𝑦 = 𝑄 → (𝑦‘𝑧) = (𝑄‘𝑧))
31, 2breqan12d 5122 . . . . 5 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ↔ (𝑃‘𝑧)𝑆(𝑄‘𝑧)))
4 fveq1 6910 . . . . . . . 8 (𝑥 = 𝑃 → (𝑥‘𝑤) = (𝑃‘𝑤))
5 fveq1 6910 . . . . . . . 8 (𝑦 = 𝑄 → (𝑦‘𝑤) = (𝑄‘𝑤))
64, 5eqeqan12d 2777 . . . . . . 7 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → ((𝑥‘𝑤) = (𝑦‘𝑤) ↔ (𝑃‘𝑤) = (𝑄‘𝑤)))
76imbi2d 343 . . . . . 6 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → ((𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)) ↔ (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))))
87ralbidv 3189 . . . . 5 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)) ↔ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))))
93, 8anbi12d 644 . . . 4 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤))) ↔ ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)))))
109rexbidv 3190 . . 3 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤))) ↔ ∃𝑧 ∈ 𝐴 ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)))))
11 fveq2 6911 . . . . . 6 (𝑧 = 𝑎 → (𝑃‘𝑧) = (𝑃‘𝑎))
12 fveq2 6911 . . . . . 6 (𝑧 = 𝑎 → (𝑄‘𝑧) = (𝑄‘𝑎))
1311, 12breq12d 5119 . . . . 5 (𝑧 = 𝑎 → ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ↔ (𝑃‘𝑎)𝑆(𝑄‘𝑎)))
14 breq2 5110 . . . . . . . 8 (𝑧 = 𝑎 → (𝑤𝑅𝑧 ↔ 𝑤𝑅𝑎))
1514imbi1d 344 . . . . . . 7 (𝑧 = 𝑎 → ((𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ (𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤))))
1615ralbidv 3189 . . . . . 6 (𝑧 = 𝑎 → (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤))))
17 breq1 5109 . . . . . . . 8 (𝑤 = 𝑏 → (𝑤𝑅𝑎 ↔ 𝑏𝑅𝑎))
18 fveq2 6911 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑃‘𝑤) = (𝑃‘𝑏))
19 fveq2 6911 . . . . . . . . 9 (𝑤 = 𝑏 → (𝑄‘𝑤) = (𝑄‘𝑏))
2018, 19eqeq12d 2779 . . . . . . . 8 (𝑤 = 𝑏 → ((𝑃‘𝑤) = (𝑄‘𝑤) ↔ (𝑃‘𝑏) = (𝑄‘𝑏)))
2117, 20imbi12d 347 . . . . . . 7 (𝑤 = 𝑏 → ((𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏))))
2221cbvralvw 3244 . . . . . 6 (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑎 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))
2316, 22bitrdi 290 . . . . 5 (𝑧 = 𝑎 → (∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤)) ↔ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏))))
2413, 23anbi12d 644 . . . 4 (𝑧 = 𝑎 → (((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))) ↔ ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))))
2524cbvrexvw 3245 . . 3 (∃𝑧 ∈ 𝐴 ((𝑃‘𝑧)𝑆(𝑄‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑃‘𝑤) = (𝑄‘𝑤))) ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏))))
2610, 25bitrdi 290 . 2 ((𝑥 = 𝑃 ∧ 𝑦 = 𝑄) → (∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤))) ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))))
27 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)))}
2826, 27brabga 5513 1 ((𝑃 ∈ 𝑉 ∧ 𝑄 ∈ 𝑊) → (𝑃𝑇𝑄 ↔ ∃𝑎 ∈ 𝐴 ((𝑃‘𝑎)𝑆(𝑄‘𝑎) ∧ ∀𝑏 ∈ 𝐴 (𝑏𝑅𝑎 → (𝑃‘𝑏) = (𝑄‘𝑏)))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090   class class class wbr 5106  {copab 5171  ‘cfv 6561
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5253  ax-pr 5396
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-iota 6515  df-fv 6569
This theorem is used by:  wemaplem2  9571  wemaplem3  9572  wemappo  9573  wemapsolem  9574
  Copyright terms: Public domain W3C validator