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

Theorem funopdmsn 7004
Description: The domain of a function which is an ordered pair is a singleton. (Contributed by AV, 15-Nov-2021.) (Avoid depending on this detail.)
Hypotheses
Ref Expression
funopdmsn.g 𝐺 = ⟨𝑋, 𝑌
funopdmsn.x 𝑋𝑉
funopdmsn.y 𝑌𝑊
Assertion
Ref Expression
funopdmsn ((Fun 𝐺𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵)

Proof of Theorem funopdmsn
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 funopdmsn.g . . . . 5 𝐺 = ⟨𝑋, 𝑌
21funeqi 6439 . . . 4 (Fun 𝐺 ↔ Fun ⟨𝑋, 𝑌⟩)
3 funopdmsn.x . . . . . 6 𝑋𝑉
43elexi 3441 . . . . 5 𝑋 ∈ V
5 funopdmsn.y . . . . . 6 𝑌𝑊
65elexi 3441 . . . . 5 𝑌 ∈ V
74, 6funop 7003 . . . 4 (Fun ⟨𝑋, 𝑌⟩ ↔ ∃𝑥(𝑋 = {𝑥} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑥, 𝑥⟩}))
82, 7bitri 274 . . 3 (Fun 𝐺 ↔ ∃𝑥(𝑋 = {𝑥} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑥, 𝑥⟩}))
91eqcomi 2747 . . . . . . 7 𝑋, 𝑌⟩ = 𝐺
109eqeq1i 2743 . . . . . 6 (⟨𝑋, 𝑌⟩ = {⟨𝑥, 𝑥⟩} ↔ 𝐺 = {⟨𝑥, 𝑥⟩})
11 dmeq 5801 . . . . . . . 8 (𝐺 = {⟨𝑥, 𝑥⟩} → dom 𝐺 = dom {⟨𝑥, 𝑥⟩})
12 vex 3426 . . . . . . . . 9 𝑥 ∈ V
1312dmsnop 6108 . . . . . . . 8 dom {⟨𝑥, 𝑥⟩} = {𝑥}
1411, 13eqtrdi 2795 . . . . . . 7 (𝐺 = {⟨𝑥, 𝑥⟩} → dom 𝐺 = {𝑥})
15 eleq2 2827 . . . . . . . . 9 (dom 𝐺 = {𝑥} → (𝐴 ∈ dom 𝐺𝐴 ∈ {𝑥}))
16 eleq2 2827 . . . . . . . . 9 (dom 𝐺 = {𝑥} → (𝐵 ∈ dom 𝐺𝐵 ∈ {𝑥}))
1715, 16anbi12d 630 . . . . . . . 8 (dom 𝐺 = {𝑥} → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) ↔ (𝐴 ∈ {𝑥} ∧ 𝐵 ∈ {𝑥})))
18 elsni 4575 . . . . . . . . 9 (𝐴 ∈ {𝑥} → 𝐴 = 𝑥)
19 elsni 4575 . . . . . . . . 9 (𝐵 ∈ {𝑥} → 𝐵 = 𝑥)
20 eqtr3 2764 . . . . . . . . 9 ((𝐴 = 𝑥𝐵 = 𝑥) → 𝐴 = 𝐵)
2118, 19, 20syl2an 595 . . . . . . . 8 ((𝐴 ∈ {𝑥} ∧ 𝐵 ∈ {𝑥}) → 𝐴 = 𝐵)
2217, 21syl6bi 252 . . . . . . 7 (dom 𝐺 = {𝑥} → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵))
2314, 22syl 17 . . . . . 6 (𝐺 = {⟨𝑥, 𝑥⟩} → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵))
2410, 23sylbi 216 . . . . 5 (⟨𝑋, 𝑌⟩ = {⟨𝑥, 𝑥⟩} → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵))
2524adantl 481 . . . 4 ((𝑋 = {𝑥} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑥, 𝑥⟩}) → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵))
2625exlimiv 1934 . . 3 (∃𝑥(𝑋 = {𝑥} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑥, 𝑥⟩}) → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵))
278, 26sylbi 216 . 2 (Fun 𝐺 → ((𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵))
28273impib 1114 1 ((Fun 𝐺𝐴 ∈ dom 𝐺𝐵 ∈ dom 𝐺) → 𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wex 1783  wcel 2108  {csn 4558  cop 4564  dom cdm 5580  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:  fundmge2nop0  14134
  Copyright terms: Public domain W3C validator