Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fgraphopab Structured version   Visualization version   GIF version

Theorem fgraphopab 44397
Description: Express a function as a subset of the Cartesian product. (Contributed by Stefan O'Rear, 25-Jan-2015.)
Assertion
Ref Expression
fgraphopab (𝐹:𝐴⟶𝐵 → 𝐹 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)})
Distinct variable groups:   𝐹,𝑎,𝑏   𝐴,𝑎,𝑏   𝐵,𝑎,𝑏

Proof of Theorem fgraphopab
StepHypRef Expression
1 fssxp 6759 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐹 ⊆ (𝐴 × 𝐵))
2 dfss2 4097 . . . 4 (𝐹 ⊆ (𝐴 × 𝐵) ↔ (𝐹 ∩ (𝐴 × 𝐵)) = 𝐹)
31, 2sylib 221 . . 3 (𝐹:𝐴⟶𝐵 → (𝐹 ∩ (𝐴 × 𝐵)) = 𝐹)
4 ffn 6731 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
5 dffn5 6966 . . . . 5 (𝐹 Fn 𝐴 ↔ 𝐹 = (𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)))
64, 5sylib 221 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐹 = (𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)))
76ineq1d 4119 . . 3 (𝐹:𝐴⟶𝐵 → (𝐹 ∩ (𝐴 × 𝐵)) = ((𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)) ∩ (𝐴 × 𝐵)))
83, 7eqtr3d 2800 . 2 (𝐹:𝐴⟶𝐵 → 𝐹 = ((𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)) ∩ (𝐴 × 𝐵)))
9 df-mpt 5190 . . . 4 (𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)) = {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎))}
10 df-xp 5661 . . . 4 (𝐴 × 𝐵) = {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)}
119, 10ineq12i 4118 . . 3 ((𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)) ∩ (𝐴 × 𝐵)) = ({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎))} ∩ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)})
12 inopab 5813 . . 3 ({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎))} ∩ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)}) = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎)) ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵))}
13 anandi 689 . . . . 5 ((𝑎 ∈ 𝐴 ∧ (𝑏 = (𝐹‘𝑎) ∧ 𝑏 ∈ 𝐵)) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎)) ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)))
14 ancom 466 . . . . . . 7 ((𝑏 = (𝐹‘𝑎) ∧ 𝑏 ∈ 𝐵) ↔ (𝑏 ∈ 𝐵 ∧ 𝑏 = (𝐹‘𝑎)))
1514anbi2i 635 . . . . . 6 ((𝑎 ∈ 𝐴 ∧ (𝑏 = (𝐹‘𝑎) ∧ 𝑏 ∈ 𝐵)) ↔ (𝑎 ∈ 𝐴 ∧ (𝑏 ∈ 𝐵 ∧ 𝑏 = (𝐹‘𝑎))))
16 anass 474 . . . . . 6 (((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ 𝑏 = (𝐹‘𝑎)) ↔ (𝑎 ∈ 𝐴 ∧ (𝑏 ∈ 𝐵 ∧ 𝑏 = (𝐹‘𝑎))))
17 eqcom 2770 . . . . . . 7 (𝑏 = (𝐹‘𝑎) ↔ (𝐹‘𝑎) = 𝑏)
1817anbi2i 635 . . . . . 6 (((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ 𝑏 = (𝐹‘𝑎)) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏))
1915, 16, 183bitr2i 302 . . . . 5 ((𝑎 ∈ 𝐴 ∧ (𝑏 = (𝐹‘𝑎) ∧ 𝑏 ∈ 𝐵)) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏))
2013, 19bitr3i 280 . . . 4 (((𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎)) ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏))
2120opabbii 5175 . . 3 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 = (𝐹‘𝑎)) ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵))} = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)}
2211, 12, 213eqtri 2790 . 2 ((𝑎 ∈ 𝐴 ↦ (𝐹‘𝑎)) ∩ (𝐴 × 𝐵)) = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)}
238, 22eqtrdi 2814 1 (𝐹:𝐴⟶𝐵 → 𝐹 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900   ∩ cin 4092  {copab 5170   ↦ cmpt 5189   × cxp 5653   Fn wfn 6553  ⟶wf 6554  ‘cfv 6558
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566
This theorem is used by:  fgraphxp  44398
  Copyright terms: Public domain W3C validator