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

Theorem funsndifnop 6907
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 5620 . . 3 (𝐺 ∈ (V × V) ↔ ∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩)
2 funsndifnop.g . . . . . 6 𝐺 = {⟨𝐴, 𝐵⟩}
3 funsndifnop.a . . . . . . . 8 𝐴 ∈ V
4 funsndifnop.b . . . . . . . 8 𝐵 ∈ V
53, 4funsn 6401 . . . . . . 7 Fun {⟨𝐴, 𝐵⟩}
6 funeq 6369 . . . . . . 7 (𝐺 = {⟨𝐴, 𝐵⟩} → (Fun 𝐺 ↔ Fun {⟨𝐴, 𝐵⟩}))
75, 6mpbiri 260 . . . . . 6 (𝐺 = {⟨𝐴, 𝐵⟩} → Fun 𝐺)
82, 7ax-mp 5 . . . . 5 Fun 𝐺
9 funeq 6369 . . . . . . 7 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ Fun ⟨𝑥, 𝑦⟩))
10 vex 3497 . . . . . . . 8 𝑥 ∈ V
11 vex 3497 . . . . . . . 8 𝑦 ∈ V
1210, 11funop 6905 . . . . . . 7 (Fun ⟨𝑥, 𝑦⟩ ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}))
139, 12syl6bb 289 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩})))
14 eqeq2 2833 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ ↔ 𝐺 = {⟨𝑎, 𝑎⟩}))
15 eqeq1 2825 . . . . . . . . . . . . 13 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} ↔ {⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩}))
16 opex 5348 . . . . . . . . . . . . . . 15 𝐴, 𝐵⟩ ∈ V
1716sneqr 4764 . . . . . . . . . . . . . 14 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → ⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩)
183, 4opth 5360 . . . . . . . . . . . . . . 15 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ ↔ (𝐴 = 𝑎𝐵 = 𝑎))
19 eqtr3 2843 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝑎𝐵 = 𝑎) → 𝐴 = 𝐵)
2019a1d 25 . . . . . . . . . . . . . . 15 ((𝐴 = 𝑎𝐵 = 𝑎) → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2118, 20sylbi 219 . . . . . . . . . . . . . 14 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2217, 21syl 17 . . . . . . . . . . . . 13 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2315, 22syl6bi 255 . . . . . . . . . . . 12 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
242, 23ax-mp 5 . . . . . . . . . . 11 (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2514, 24syl6bi 255 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
2625com23 86 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)))
2726impcom 410 . . . . . . . 8 ((𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2827exlimiv 1927 . . . . . . 7 (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2928com12 32 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → 𝐴 = 𝐵))
3013, 29sylbid 242 . . . . 5 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺𝐴 = 𝐵))
318, 30mpi 20 . . . 4 (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
3231exlimivv 1929 . . 3 (∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
331, 32sylbi 219 . 2 (𝐺 ∈ (V × V) → 𝐴 = 𝐵)
3433necon3ai 3041 1 (𝐴𝐵 → ¬ 𝐺 ∈ (V × V))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1533  wex 1776  wcel 2110  wne 3016  Vcvv 3494  {csn 4560  cop 4566   × cxp 5547  Fun wfun 6343
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 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-fal 1546  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-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357
This theorem is referenced by:  funsneqopb  6908  snstrvtxval  26816  snstriedgval  26817
  Copyright terms: Public domain W3C validator