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

Theorem funsndifnop 6955
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 5612 . . 3 (𝐺 ∈ (V × V) ↔ ∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩)
2 funsndifnop.g . . . . . 6 𝐺 = {⟨𝐴, 𝐵⟩}
3 funsndifnop.a . . . . . . . 8 𝐴 ∈ V
4 funsndifnop.b . . . . . . . 8 𝐵 ∈ V
53, 4funsn 6422 . . . . . . 7 Fun {⟨𝐴, 𝐵⟩}
6 funeq 6389 . . . . . . 7 (𝐺 = {⟨𝐴, 𝐵⟩} → (Fun 𝐺 ↔ Fun {⟨𝐴, 𝐵⟩}))
75, 6mpbiri 261 . . . . . 6 (𝐺 = {⟨𝐴, 𝐵⟩} → Fun 𝐺)
82, 7ax-mp 5 . . . . 5 Fun 𝐺
9 funeq 6389 . . . . . . 7 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ Fun ⟨𝑥, 𝑦⟩))
10 vex 3405 . . . . . . . 8 𝑥 ∈ V
11 vex 3405 . . . . . . . 8 𝑦 ∈ V
1210, 11funop 6953 . . . . . . 7 (Fun ⟨𝑥, 𝑦⟩ ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}))
139, 12bitrdi 290 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺 ↔ ∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩})))
14 eqeq2 2746 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ ↔ 𝐺 = {⟨𝑎, 𝑎⟩}))
15 eqeq1 2738 . . . . . . . . . . . . 13 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} ↔ {⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩}))
16 opex 5337 . . . . . . . . . . . . . . 15 𝐴, 𝐵⟩ ∈ V
1716sneqr 4741 . . . . . . . . . . . . . 14 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → ⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩)
183, 4opth 5349 . . . . . . . . . . . . . . 15 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ ↔ (𝐴 = 𝑎𝐵 = 𝑎))
19 eqtr3 2760 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝑎𝐵 = 𝑎) → 𝐴 = 𝐵)
2019a1d 25 . . . . . . . . . . . . . . 15 ((𝐴 = 𝑎𝐵 = 𝑎) → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2118, 20sylbi 220 . . . . . . . . . . . . . 14 (⟨𝐴, 𝐵⟩ = ⟨𝑎, 𝑎⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2217, 21syl 17 . . . . . . . . . . . . 13 ({⟨𝐴, 𝐵⟩} = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2315, 22syl6bi 256 . . . . . . . . . . . 12 (𝐺 = {⟨𝐴, 𝐵⟩} → (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
242, 23ax-mp 5 . . . . . . . . . . 11 (𝐺 = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → 𝐴 = 𝐵))
2514, 24syl6bi 256 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝐺 = ⟨𝑥, 𝑦⟩ → (𝑥 = {𝑎} → 𝐴 = 𝐵)))
2625com23 86 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩} → (𝑥 = {𝑎} → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)))
2726impcom 411 . . . . . . . 8 ((𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2827exlimiv 1938 . . . . . . 7 (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵))
2928com12 32 . . . . . 6 (𝐺 = ⟨𝑥, 𝑦⟩ → (∃𝑎(𝑥 = {𝑎} ∧ ⟨𝑥, 𝑦⟩ = {⟨𝑎, 𝑎⟩}) → 𝐴 = 𝐵))
3013, 29sylbid 243 . . . . 5 (𝐺 = ⟨𝑥, 𝑦⟩ → (Fun 𝐺𝐴 = 𝐵))
318, 30mpi 20 . . . 4 (𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
3231exlimivv 1940 . . 3 (∃𝑥𝑦 𝐺 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝐵)
331, 32sylbi 220 . 2 (𝐺 ∈ (V × V) → 𝐴 = 𝐵)
3433necon3ai 2960 1 (𝐴𝐵 → ¬ 𝐺 ∈ (V × V))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1543  wex 1787  wcel 2110  wne 2935  Vcvv 3401  {csn 4531  cop 4537   × cxp 5538  Fun wfun 6363
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-sep 5181  ax-nul 5188  ax-pr 5311
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-nul 4228  df-if 4430  df-sn 4532  df-pr 4534  df-op 4538  df-uni 4810  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-id 5444  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-iota 6327  df-fun 6371  df-fn 6372  df-f 6373  df-f1 6374  df-fo 6375  df-f1o 6376  df-fv 6377
This theorem is referenced by:  funsneqopb  6956  snstrvtxval  27100  snstriedgval  27101
  Copyright terms: Public domain W3C validator