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

Theorem unxpdomlem2 8717
Description: Lemma for unxpdom 8719. (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 483 . 2 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → ¬ 𝑠 = 𝑡)
3 elun1 4152 . . . . . . . . . 10 (𝑧𝑎𝑧 ∈ (𝑎𝑏))
43ad2antrl 726 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → 𝑧 ∈ (𝑎𝑏))
5 unxpdomlem1.1 . . . . . . . . . 10 𝐹 = (𝑥 ∈ (𝑎𝑏) ↦ 𝐺)
6 unxpdomlem1.2 . . . . . . . . . 10 𝐺 = if(𝑥𝑎, ⟨𝑥, if(𝑥 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑥 = 𝑡, 𝑛, 𝑚), 𝑥⟩)
75, 6unxpdomlem1 8716 . . . . . . . . 9 (𝑧 ∈ (𝑎𝑏) → (𝐹𝑧) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
84, 7syl 17 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑧) = if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩))
9 iftrue 4473 . . . . . . . . 9 (𝑧𝑎 → if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩) = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
109ad2antrl 726 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → if(𝑧𝑎, ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑧 = 𝑡, 𝑛, 𝑚), 𝑧⟩) = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
118, 10eqtrd 2856 . . . . . . 7 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑧) = ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩)
12 unxpdomlem2.1 . . . . . . . . . 10 (𝜑𝑤 ∈ (𝑎𝑏))
1312adantr 483 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → 𝑤 ∈ (𝑎𝑏))
145, 6unxpdomlem1 8716 . . . . . . . . 9 (𝑤 ∈ (𝑎𝑏) → (𝐹𝑤) = if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩))
1513, 14syl 17 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑤) = if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩))
16 iffalse 4476 . . . . . . . . 9 𝑤𝑎 → if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩) = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
1716ad2antll 727 . . . . . . . 8 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → if(𝑤𝑎, ⟨𝑤, if(𝑤 = 𝑚, 𝑡, 𝑠)⟩, ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩) = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
1815, 17eqtrd 2856 . . . . . . 7 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → (𝐹𝑤) = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
1911, 18eqeq12d 2837 . . . . . 6 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → ((𝐹𝑧) = (𝐹𝑤) ↔ ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩))
2019biimpa 479 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → ⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩)
21 vex 3498 . . . . . 6 𝑧 ∈ V
22 vex 3498 . . . . . . 7 𝑡 ∈ V
23 vex 3498 . . . . . . 7 𝑠 ∈ V
2422, 23ifex 4515 . . . . . 6 if(𝑧 = 𝑚, 𝑡, 𝑠) ∈ V
2521, 24opth 5361 . . . . 5 (⟨𝑧, if(𝑧 = 𝑚, 𝑡, 𝑠)⟩ = ⟨if(𝑤 = 𝑡, 𝑛, 𝑚), 𝑤⟩ ↔ (𝑧 = if(𝑤 = 𝑡, 𝑛, 𝑚) ∧ if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑤))
2620, 25sylib 220 . . . 4 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = if(𝑤 = 𝑡, 𝑛, 𝑚) ∧ if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑤))
2726simprd 498 . . 3 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑤)
28 iftrue 4473 . . . . . . 7 (𝑧 = 𝑚 → if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑡)
2927eqeq1d 2823 . . . . . . 7 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑡𝑤 = 𝑡))
3028, 29syl5ib 246 . . . . . 6 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚𝑤 = 𝑡))
31 iftrue 4473 . . . . . . 7 (𝑤 = 𝑡 → if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑛)
3226simpld 497 . . . . . . . 8 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → 𝑧 = if(𝑤 = 𝑡, 𝑛, 𝑚))
3332eqeq1d 2823 . . . . . . 7 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑛 ↔ if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑛))
3431, 33syl5ibr 248 . . . . . 6 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑤 = 𝑡𝑧 = 𝑛))
3530, 34syld 47 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚𝑧 = 𝑛))
36 unxpdomlem2.2 . . . . . . 7 (𝜑 → ¬ 𝑚 = 𝑛)
3736ad2antrr 724 . . . . . 6 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → ¬ 𝑚 = 𝑛)
38 equequ1 2028 . . . . . . 7 (𝑧 = 𝑚 → (𝑧 = 𝑛𝑚 = 𝑛))
3938notbid 320 . . . . . 6 (𝑧 = 𝑚 → (¬ 𝑧 = 𝑛 ↔ ¬ 𝑚 = 𝑛))
4037, 39syl5ibrcom 249 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚 → ¬ 𝑧 = 𝑛))
4135, 40pm2.65d 198 . . . 4 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → ¬ 𝑧 = 𝑚)
4241iffalsed 4478 . . 3 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → if(𝑧 = 𝑚, 𝑡, 𝑠) = 𝑠)
43 iffalse 4476 . . . . 5 𝑤 = 𝑡 → if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑚)
4432eqeq1d 2823 . . . . 5 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (𝑧 = 𝑚 ↔ if(𝑤 = 𝑡, 𝑛, 𝑚) = 𝑚))
4543, 44syl5ibr 248 . . . 4 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → (¬ 𝑤 = 𝑡𝑧 = 𝑚))
4641, 45mt3d 150 . . 3 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → 𝑤 = 𝑡)
4727, 42, 463eqtr3d 2864 . 2 (((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) ∧ (𝐹𝑧) = (𝐹𝑤)) → 𝑠 = 𝑡)
482, 47mtand 814 1 ((𝜑 ∧ (𝑧𝑎 ∧ ¬ 𝑤𝑎)) → ¬ (𝐹𝑧) = (𝐹𝑤))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1533  wcel 2110  cun 3934  ifcif 4467  cop 4567  cmpt 5139  cfv 6350
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-iota 6309  df-fun 6352  df-fv 6358
This theorem is referenced by:  unxpdomlem3  8718
  Copyright terms: Public domain W3C validator