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

Theorem funsndifnop 6321
Description: A singleton of an ordered pair is not an ordered pair if the components are different. (Contributed by AV, 23-Sep-2020.)
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 5100 . . 3 (𝐺 ∈ (V × V) ↔ ∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩)
2 funsndifnop.g . . . . . 6 𝐺 = {⟨𝐴, 𝐵⟩}
3 funsndifnop.a . . . . . . . 8 𝐴 ∈ V
4 funsndifnop.b . . . . . . . 8 𝐵 ∈ V
53, 4funsn 5853 . . . . . . 7 Fun {⟨𝐴, 𝐵⟩}
6 funeq 5823 . . . . . . 7 (𝐺 = {⟨𝐴, 𝐵⟩} → (Fun 𝐺 ↔ Fun {⟨𝐴, 𝐵⟩}))
75, 6mpbiri 247 . . . . . 6 (𝐺 = {⟨𝐴, 𝐵⟩} → Fun 𝐺)
82, 7ax-mp 5 . . . . 5 Fun 𝐺
9 funeq 5823 . . . . . . 7 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ Fun ⟨𝑥, 𝑦⟩))
10 vex 3176 . . . . . . . 8 𝑥 ∈ V
11 vex 3176 . . . . . . . 8 𝑦 ∈ V
1210, 11funop 6320 . . . . . . 7 (Fun ⟨𝑥, 𝑦⟩ ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}))
139, 12syl6bb 275 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩})))
14 eqeq2 2621 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ ↔ 𝐺 = {⟨𝑎, 𝑎⟩}))
15 eqeq1 2614 . . . . . . . . . . . . 13 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} ↔ {⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩}))
16 opex 4859 . . . . . . . . . . . . . . 15 𝐴, 𝐵⟩ ∈ V
1716sneqr 4311 . . . . . . . . . . . . . 14 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → ⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩)
183, 4opth 4871 . . . . . . . . . . . . . . 15 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ ↔ (𝐴 = 𝑎𝐵 = 𝑎))
19 eqtr3 2631 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝑎𝐵 = 𝑎) → 𝐴 = 𝐵)
2019a1d 25 . . . . . . . . . . . . . . 15 ((𝐴 = 𝑎𝐵 = 𝑎) → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2118, 20sylbi 206 . . . . . . . . . . . . . 14 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2217, 21syl 17 . . . . . . . . . . . . 13 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2315, 22syl6bi 242 . . . . . . . . . . . 12 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
242, 23ax-mp 5 . . . . . . . . . . 11 (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2514, 24syl6bi 242 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
2625com23 84 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)))
2726impcom 445 . . . . . . . 8 ((𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2827exlimiv 1845 . . . . . . 7 (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2928com12 32 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → 𝐴 = 𝐵))
3013, 29sylbid 229 . . . . 5 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺𝐴 = 𝐵))
318, 30mpi 20 . . . 4 (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
3231exlimivv 1847 . . 3 (∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
331, 32sylbi 206 . 2 (𝐺 ∈ (V × V) → 𝐴 = 𝐵)
3433necon3ai 2807 1 (𝐴𝐵 → ¬ 𝐺 ∈ (V × V))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1475  wex 1695  wcel 1977  wne 2780  Vcvv 3173  {csn 4125  cop 4131   × cxp 5036  Fun wfun 5798
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-fal 1481  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812
This theorem is referenced by:  funsneqopb  6324  snstrvtxval  25712  snstriedgval  25713
  Copyright terms: Public domain W3C validator