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

Theorem unxpdomlem1 8706
Description: Lemma for unxpdom 8709. (Trivial substitution proof.) (Contributed by Mario Carneiro, 13-Jan-2013.)
Hypotheses
Ref Expression
unxpdomlem1.1 𝐹 = (𝑥 ∈ (𝑎𝑏) ↦ 𝐺)
unxpdomlem1.2 𝐺 = if(𝑥𝑎, ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩)
Assertion
Ref Expression
unxpdomlem1 (𝑧 ∈ (𝑎𝑏) → (𝐹𝑧) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
Distinct variable groups:   𝑧,𝐹   𝑎,𝑏,𝑚,𝑛,𝑠,𝑡,𝑥,𝑧
Allowed substitution hints:   𝐹(𝑥,𝑡,𝑚,𝑛,𝑠,𝑎,𝑏)   𝐺(𝑥,𝑧,𝑡,𝑚,𝑛,𝑠,𝑎,𝑏)

Proof of Theorem unxpdomlem1
StepHypRef Expression
1 unxpdomlem1.2 . . 3 𝐺 = if(𝑥𝑎, ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩)
2 elequ1 2118 . . . 4 (𝑥 = 𝑧 → (𝑥𝑎𝑧𝑎))
3 opeq1 4763 . . . . 5 (𝑥 = 𝑧 → ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩ = ⟨𝑧, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩)
4 equequ1 2032 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑚𝑧 = 𝑚))
54ifbid 4447 . . . . . 6 (𝑥 = 𝑧 → if(𝑥 = 𝑚, 𝑡, 𝑠) = if(𝑧 = 𝑚, 𝑡, 𝑠))
65opeq2d 4772 . . . . 5 (𝑥 = 𝑧 → ⟨𝑧, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩ = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
73, 6eqtrd 2833 . . . 4 (𝑥 = 𝑧 → ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩ = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
8 equequ1 2032 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑡𝑧 = 𝑡))
98ifbid 4447 . . . . . 6 (𝑥 = 𝑧 → if(𝑥 = 𝑡, 𝑛, 𝑚) = if(𝑧 = 𝑡, 𝑛, 𝑚))
109opeq1d 4771 . . . . 5 (𝑥 = 𝑧 → ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩ = ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑥⟩)
11 opeq2 4765 . . . . 5 (𝑥 = 𝑧 → ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑥⟩ = ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩)
1210, 11eqtrd 2833 . . . 4 (𝑥 = 𝑧 → ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩ = ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩)
132, 7, 12ifbieq12d 4452 . . 3 (𝑥 = 𝑧 → if(𝑥𝑎, ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
141, 13syl5eq 2845 . 2 (𝑥 = 𝑧𝐺 = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
15 unxpdomlem1.1 . 2 𝐹 = (𝑥 ∈ (𝑎𝑏) ↦ 𝐺)
16 opex 5321 . . 3 𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ ∈ V
17 opex 5321 . . 3 ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩ ∈ V
1816, 17ifex 4473 . 2 if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩) ∈ V
1914, 15, 18fvmpt 6745 1 (𝑧 ∈ (𝑎𝑏) → (𝐹𝑧) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1538  wcel 2111  cun 3879  ifcif 4425  cop 4531  cmpt 5110  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-rab 3115  df-v 3443  df-sbc 3721  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-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-iota 6283  df-fun 6326  df-fv 6332
This theorem is referenced by:  unxpdomlem2  8707  unxpdomlem3  8708
  Copyright terms: Public domain W3C validator