Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  funop1 Structured version   Visualization version   GIF version

Theorem funop1 48492
Description: A function is an ordered pair iff it is a singleton of an ordered pair. (Contributed by AV, 20-Sep-2020.) (Avoid depending on this detail.)
Assertion
Ref Expression
funop1 (∃𝑥∃𝑦 𝐹 = ⟨𝑥, 𝑦⟩ → (Fun 𝐹 ↔ ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩}))
Distinct variable group:   𝑥,𝐹,𝑦

Proof of Theorem funop1
Dummy variables 𝑎 𝑣 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opeq12 4844 . . . 4 ((𝑥 = 𝑣 ∧ 𝑦 = 𝑤) → ⟨𝑥, 𝑦⟩ = ⟨𝑣, 𝑤⟩)
21eqeq2d 2774 . . 3 ((𝑥 = 𝑣 ∧ 𝑦 = 𝑤) → (𝐹 = ⟨𝑥, 𝑦⟩ ↔ 𝐹 = ⟨𝑣, 𝑤⟩))
32cbvex2vw 2075 . 2 (∃𝑥∃𝑦 𝐹 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑣∃𝑤 𝐹 = ⟨𝑣, 𝑤⟩)
4 vex 3457 . . . . . . 7 𝑣 ∈ V
5 vex 3457 . . . . . . 7 𝑤 ∈ V
64, 5funopsn 7159 . . . . . 6 ((Fun 𝐹 ∧ 𝐹 = ⟨𝑣, 𝑤⟩) → ∃𝑎(𝑣 = {𝑎} ∧ 𝐹 = {⟨𝑎, 𝑎⟩}))
7 vex 3457 . . . . . . . . 9 𝑎 ∈ V
8 opeq12 4844 . . . . . . . . . . 11 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑎) → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑎⟩)
98sneqd 4595 . . . . . . . . . 10 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑎) → {⟨𝑥, 𝑦⟩} = {⟨𝑎, 𝑎⟩})
109eqeq2d 2774 . . . . . . . . 9 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑎) → (𝐹 = {⟨𝑥, 𝑦⟩} ↔ 𝐹 = {⟨𝑎, 𝑎⟩}))
117, 7, 10spc2ev 3564 . . . . . . . 8 (𝐹 = {⟨𝑎, 𝑎⟩} → ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩})
1211adantl 487 . . . . . . 7 ((𝑣 = {𝑎} ∧ 𝐹 = {⟨𝑎, 𝑎⟩}) → ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩})
1312exlimiv 1964 . . . . . 6 (∃𝑎(𝑣 = {𝑎} ∧ 𝐹 = {⟨𝑎, 𝑎⟩}) → ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩})
146, 13syl 18 . . . . 5 ((Fun 𝐹 ∧ 𝐹 = ⟨𝑣, 𝑤⟩) → ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩})
1514expcom 419 . . . 4 (𝐹 = ⟨𝑣, 𝑤⟩ → (Fun 𝐹 → ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩}))
16 vex 3457 . . . . . . 7 𝑥 ∈ V
17 vex 3457 . . . . . . 7 𝑦 ∈ V
1816, 17funsn 6601 . . . . . 6 Fun {⟨𝑥, 𝑦⟩}
19 funeq 6567 . . . . . 6 (𝐹 = {⟨𝑥, 𝑦⟩} → (Fun 𝐹 ↔ Fun {⟨𝑥, 𝑦⟩}))
2018, 19mpbiri 261 . . . . 5 (𝐹 = {⟨𝑥, 𝑦⟩} → Fun 𝐹)
2120exlimivv 1966 . . . 4 (∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩} → Fun 𝐹)
2215, 21impbid1 228 . . 3 (𝐹 = ⟨𝑣, 𝑤⟩ → (Fun 𝐹 ↔ ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩}))
2322exlimivv 1966 . 2 (∃𝑣∃𝑤 𝐹 = ⟨𝑣, 𝑤⟩ → (Fun 𝐹 ↔ ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩}))
243, 23sylbi 220 1 (∃𝑥∃𝑦 𝐹 = ⟨𝑥, 𝑦⟩ → (Fun 𝐹 ↔ ∃𝑥∃𝑦 𝐹 = {⟨𝑥, 𝑦⟩}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811  {csn 4587  ⟨cop 4837  Fun wfun 6540
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pr 5394
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator