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

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

Proof of Theorem unxpdomlem2
StepHypRef Expression
1 unxpdomlem2.3 . . 3 (𝜑 → ¬ 𝑠 = 𝑡)
21adantr 481 . 2 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → ¬ 𝑠 = 𝑡)
3 elun1 4110 . . . . . . . . . 10 (𝑧𝑎𝑧 ∈ (𝑎𝑏))
43ad2antrl 725 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → 𝑧 ∈ (𝑎𝑏))
5 unxpdomlem1.1 . . . . . . . . . 10 𝐹 = (𝑥 ∈ (𝑎𝑏) ↦ 𝐺)
6 unxpdomlem1.2 . . . . . . . . . 10 𝐺 = if(𝑥𝑎, ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩)
75, 6unxpdomlem1 9027 . . . . . . . . 9 (𝑧 ∈ (𝑎𝑏) → (𝐹𝑧) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
84, 7syl 17 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑧) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
9 iftrue 4465 . . . . . . . . 9 (𝑧𝑎 → if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩) = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
109ad2antrl 725 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩) = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
118, 10eqtrd 2778 . . . . . . 7 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑧) = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
12 unxpdomlem2.1 . . . . . . . . . 10 (𝜑𝑤 ∈ (𝑎𝑏))
1312adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → 𝑤 ∈ (𝑎𝑏))
145, 6unxpdomlem1 9027 . . . . . . . . 9 (𝑤 ∈ (𝑎𝑏) → (𝐹𝑤) = if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩))
1513, 14syl 17 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑤) = if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩))
16 iffalse 4468 . . . . . . . . 9 𝑤𝑎 → if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩) = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
1716ad2antll 726 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩) = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
1815, 17eqtrd 2778 . . . . . . 7 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑤) = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
1911, 18eqeq12d 2754 . . . . . 6 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → ((𝐹𝑧) = (𝐹𝑤) ↔ ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩))
2019biimpa 477 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
21 vex 3436 . . . . . 6 𝑧 ∈ V
22 vex 3436 . . . . . . 7 𝑡 ∈ V
23 vex 3436 . . . . . . 7 𝑠 ∈ V
2422, 23ifex 4509 . . . . . 6 if(𝑧 = 𝑚, 𝑡, 𝑠) ∈ V
2521, 24opth 5391 . . . . 5 (⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩ ↔ (𝑧 = if(𝑤 = 𝑡, 𝑛, 𝑚) ∧ if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑤))
2620, 25sylib 217 . . . 4 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = if(𝑤 = 𝑡, 𝑛, 𝑚) ∧ if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑤))
2726simprd 496 . . 3 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑤)
28 iftrue 4465 . . . . . . 7 (𝑧 = 𝑚 → if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑡)
2927eqeq1d 2740 . . . . . . 7 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑡𝑤 = 𝑡))
3028, 29syl5ib 243 . . . . . 6 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚𝑤 = 𝑡))
31 iftrue 4465 . . . . . . 7 (𝑤 = 𝑡 → if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑛)
3226simpld 495 . . . . . . . 8 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → 𝑧 = if(𝑤 = 𝑡, 𝑛, 𝑚))
3332eqeq1d 2740 . . . . . . 7 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑛 ↔ if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑛))
3431, 33syl5ibr 245 . . . . . 6 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑤 = 𝑡𝑧 = 𝑛))
3530, 34syld 47 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚𝑧 = 𝑛))
36 unxpdomlem2.2 . . . . . . 7 (𝜑 → ¬ 𝑚 = 𝑛)
3736ad2antrr 723 . . . . . 6 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → ¬ 𝑚 = 𝑛)
38 equequ1 2028 . . . . . . 7 (𝑧 = 𝑚 → (𝑧 = 𝑛𝑚 = 𝑛))
3938notbid 318 . . . . . 6 (𝑧 = 𝑚 → (¬ 𝑧 = 𝑛 ↔ ¬ 𝑚 = 𝑛))
4037, 39syl5ibrcom 246 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚 → ¬ 𝑧 = 𝑛))
4135, 40pm2.65d 195 . . . 4 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → ¬ 𝑧 = 𝑚)
4241iffalsed 4470 . . 3 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑠)
43 iffalse 4468 . . . . 5 𝑤 = 𝑡 → if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑚)
4432eqeq1d 2740 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚 ↔ if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑚))
4543, 44syl5ibr 245 . . . 4 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (¬ 𝑤 = 𝑡𝑧 = 𝑚))
4641, 45mt3d 148 . . 3 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → 𝑤 = 𝑡)
4727, 42, 463eqtr3d 2786 . 2 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → 𝑠 = 𝑡)
482, 47mtand 813 1 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → ¬ (𝐹𝑧) = (𝐹𝑤))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1539  wcel 2106  cun 3885  ifcif 4459  cop 4567  cmpt 5157  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441
This theorem is referenced by:  unxpdomlem3  9029
  Copyright terms: Public domain W3C validator