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

Theorem funsndifnop 7005
Description: A singleton of an ordered pair is not an ordered pair if the components are different. (Contributed by AV, 23-Sep-2020.) (Avoid depending on this detail.)
Hypotheses
Ref Expression
funsndifnop.a 𝐴 ∈ V
funsndifnop.b 𝐵 ∈ V
funsndifnop.g 𝐺 = {⟨𝐴, 𝐵⟩}
Assertion
Ref Expression
funsndifnop (𝐴𝐵 → ¬ 𝐺 ∈ (V × V))

Proof of Theorem funsndifnop
Dummy variables 𝑎 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elvv 5652 . . 3 (𝐺 ∈ (V × V) ↔ ∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩)
2 funsndifnop.g . . . . . 6 𝐺 = {⟨𝐴, 𝐵⟩}
3 funsndifnop.a . . . . . . . 8 𝐴 ∈ V
4 funsndifnop.b . . . . . . . 8 𝐵 ∈ V
53, 4funsn 6471 . . . . . . 7 Fun {⟨𝐴, 𝐵⟩}
6 funeq 6438 . . . . . . 7 (𝐺 = {⟨𝐴, 𝐵⟩} → (Fun 𝐺 ↔ Fun {⟨𝐴, 𝐵⟩}))
75, 6mpbiri 257 . . . . . 6 (𝐺 = {⟨𝐴, 𝐵⟩} → Fun 𝐺)
82, 7ax-mp 5 . . . . 5 Fun 𝐺
9 funeq 6438 . . . . . . 7 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ Fun ⟨𝑥, 𝑦⟩))
10 vex 3426 . . . . . . . 8 𝑥 ∈ V
11 vex 3426 . . . . . . . 8 𝑦 ∈ V
1210, 11funop 7003 . . . . . . 7 (Fun ⟨𝑥, 𝑦⟩ ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}))
139, 12bitrdi 286 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩})))
14 eqeq2 2750 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ ↔ 𝐺 = {⟨𝑎, 𝑎⟩}))
15 eqeq1 2742 . . . . . . . . . . . . 13 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} ↔ {⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩}))
16 opex 5373 . . . . . . . . . . . . . . 15 𝐴, 𝐵⟩ ∈ V
1716sneqr 4768 . . . . . . . . . . . . . 14 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → ⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩)
183, 4opth 5385 . . . . . . . . . . . . . . 15 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ ↔ (𝐴 = 𝑎𝐵 = 𝑎))
19 eqtr3 2764 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝑎𝐵 = 𝑎) → 𝐴 = 𝐵)
2019a1d 25 . . . . . . . . . . . . . . 15 ((𝐴 = 𝑎𝐵 = 𝑎) → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2118, 20sylbi 216 . . . . . . . . . . . . . 14 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2217, 21syl 17 . . . . . . . . . . . . 13 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2315, 22syl6bi 252 . . . . . . . . . . . 12 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
242, 23ax-mp 5 . . . . . . . . . . 11 (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2514, 24syl6bi 252 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
2625com23 86 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)))
2726impcom 407 . . . . . . . 8 ((𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2827exlimiv 1934 . . . . . . 7 (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2928com12 32 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → 𝐴 = 𝐵))
3013, 29sylbid 239 . . . . 5 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺𝐴 = 𝐵))
318, 30mpi 20 . . . 4 (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
3231exlimivv 1936 . . 3 (∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
331, 32sylbi 216 . 2 (𝐺 ∈ (V × V) → 𝐴 = 𝐵)
3433necon3ai 2967 1 (𝐴𝐵 → ¬ 𝐺 ∈ (V × V))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wex 1783  wcel 2108  wne 2942  Vcvv 3422  {csn 4558  cop 4564   × cxp 5578  Fun wfun 6412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  funsneqopb  7006  snstrvtxval  27310  snstriedgval  27311
  Copyright terms: Public domain W3C validator