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

Theorem fresaunres1 6581
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 4057 . . 3 (𝐹𝐺) = (𝐺𝐹)
21reseq1i 5836 . 2 ((𝐹𝐺) ↾ 𝐴) = ((𝐺𝐹) ↾ 𝐴)
3 incom 4105 . . . . . 6 (𝐴𝐵) = (𝐵𝐴)
43reseq2i 5837 . . . . 5 (𝐹 ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐵𝐴))
53reseq2i 5837 . . . . 5 (𝐺 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐵𝐴))
64, 5eqeq12i 2752 . . . 4 ((𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐵𝐴)) = (𝐺 ↾ (𝐵𝐴)))
7 eqcom 2741 . . . 4 ((𝐹 ↾ (𝐵𝐴)) = (𝐺 ↾ (𝐵𝐴)) ↔ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴)))
86, 7bitri 278 . . 3 ((𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵)) ↔ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴)))
9 fresaunres2 6580 . . . 4 ((𝐺:𝐵𝐶𝐹:𝐴𝐶 ∧ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴))) → ((𝐺𝐹) ↾ 𝐴) = 𝐹)
1093com12 1125 . . 3 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐺 ↾ (𝐵𝐴)) = (𝐹 ↾ (𝐵𝐴))) → ((𝐺𝐹) ↾ 𝐴) = 𝐹)
118, 10syl3an3b 1407 . 2 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵))) → ((𝐺𝐹) ↾ 𝐴) = 𝐹)
122, 11syl5eq 2786 1 ((𝐹:𝐴𝐶𝐺:𝐵𝐶 ∧ (𝐹 ↾ (𝐴𝐵)) = (𝐺 ↾ (𝐴𝐵))) → ((𝐹𝐺) ↾ 𝐴) = 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1089   = wceq 1543  cun 3855  cin 3856  cres 5542  wf 6365
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-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-clab 2713  df-cleq 2726  df-clel 2812  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3403  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-br 5044  df-opab 5106  df-xp 5546  df-rel 5547  df-dm 5550  df-res 5552  df-fun 6371  df-fn 6372  df-f 6373
This theorem is referenced by:  mapunen  8804  hashf1lem1  14003  hashf1lem1OLD  14004  ptuncnv  22676  resf1o  30757  cvmliftlem10  32941  aacllem  46130
  Copyright terms: Public domain W3C validator