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

Theorem fresaunres1 6647
Description: From the union of two functions that agree on the domain overlap, either component can be recovered by restriction. (Contributed by Mario Carneiro, 16-Feb-2015.)
Assertion
Ref Expression
fresaunres1 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵))) → ((𝐹𝐺) ↾ 𝐴) = 𝐹)

Proof of Theorem fresaunres1
StepHypRef Expression
1 uncom 4087 . . 3 (𝐹𝐺) = (𝐺𝐹)
21reseq1i 5887 . 2 ((𝐹𝐺) ↾ 𝐴) = ((𝐺𝐹) ↾ 𝐴)
3 incom 4135 . . . . . 6 (𝐴𝐵) = (𝐵𝐴)
43reseq2i 5888 . . . . 5 (𝐹 ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐵𝐴))
53reseq2i 5888 . . . . 5 (𝐺 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐵𝐴))
64, 5eqeq12i 2756 . . . 4 ((𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐵𝐴)) = (𝐺 ↾ (𝐵𝐴)))
7 eqcom 2745 . . . 4 ((𝐹 ↾ (𝐵𝐴)) = (𝐺 ↾ (𝐵𝐴)) ↔ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴)))
86, 7bitri 274 . . 3 ((𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵)) ↔ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴)))
9 fresaunres2 6646 . . . 4 ((𝐺:𝐵𝐶𝐹:𝐴𝐶 ∧ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴))) → ((𝐺𝐹) ↾ 𝐴) = 𝐹)
1093com12 1122 . . 3 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴))) → ((𝐺𝐹) ↾ 𝐴) = 𝐹)
118, 10syl3an3b 1404 . 2 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵))) → ((𝐺𝐹) ↾ 𝐴) = 𝐹)
122, 11eqtrid 2790 1 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵))) → ((𝐹𝐺) ↾ 𝐴) = 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1086   = wceq 1539  cun 3885  cin 3886  cres 5591  wf 6429
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-dm 5599  df-res 5601  df-fun 6435  df-fn 6436  df-f 6437
This theorem is referenced by:  mapunen  8933  hashf1lem1  14168  hashf1lem1OLD  14169  ptuncnv  22958  resf1o  31065  cvmliftlem10  33256  aacllem  46505
  Copyright terms: Public domain W3C validator