Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eqfunresadj Structured version   Visualization version   GIF version

Theorem eqfunresadj 33641
Description: Law for adjoining an element to restrictions of functions. (Contributed by Scott Fenton, 6-Dec-2021.)
Assertion
Ref Expression
eqfunresadj (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝐹 ↾ (𝑋 ∪ {𝑌})) = (𝐺 ↾ (𝑋 ∪ {𝑌})))

Proof of Theorem eqfunresadj
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5909 . 2 Rel (𝐹 ↾ (𝑋 ∪ {𝑌}))
2 relres 5909 . 2 Rel (𝐺 ↾ (𝑋 ∪ {𝑌}))
3 breq 5072 . . . . 5 ((𝐹𝑋) = (𝐺𝑋) → (𝑥(𝐹𝑋)𝑦𝑥(𝐺𝑋)𝑦))
433ad2ant2 1132 . . . 4 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥(𝐹𝑋)𝑦𝑥(𝐺𝑋)𝑦))
5 velsn 4574 . . . . . . 7 (𝑥 ∈ {𝑌} ↔ 𝑥 = 𝑌)
6 simp33 1209 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝐹𝑌) = (𝐺𝑌))
76eqeq1d 2740 . . . . . . . . 9 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝐹𝑌) = 𝑦 ↔ (𝐺𝑌) = 𝑦))
8 simp1l 1195 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → Fun 𝐹)
9 simp31 1207 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → 𝑌 ∈ dom 𝐹)
10 funbrfvb 6806 . . . . . . . . . 10 ((Fun 𝐹𝑌 ∈ dom 𝐹) → ((𝐹𝑌) = 𝑦𝑌𝐹𝑦))
118, 9, 10syl2anc 583 . . . . . . . . 9 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝐹𝑌) = 𝑦𝑌𝐹𝑦))
12 simp1r 1196 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → Fun 𝐺)
13 simp32 1208 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → 𝑌 ∈ dom 𝐺)
14 funbrfvb 6806 . . . . . . . . . 10 ((Fun 𝐺𝑌 ∈ dom 𝐺) → ((𝐺𝑌) = 𝑦𝑌𝐺𝑦))
1512, 13, 14syl2anc 583 . . . . . . . . 9 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝐺𝑌) = 𝑦𝑌𝐺𝑦))
167, 11, 153bitr3d 308 . . . . . . . 8 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑌𝐹𝑦𝑌𝐺𝑦))
17 breq1 5073 . . . . . . . . 9 (𝑥 = 𝑌 → (𝑥𝐹𝑦𝑌𝐹𝑦))
18 breq1 5073 . . . . . . . . 9 (𝑥 = 𝑌 → (𝑥𝐺𝑦𝑌𝐺𝑦))
1917, 18bibi12d 345 . . . . . . . 8 (𝑥 = 𝑌 → ((𝑥𝐹𝑦𝑥𝐺𝑦) ↔ (𝑌𝐹𝑦𝑌𝐺𝑦)))
2016, 19syl5ibrcom 246 . . . . . . 7 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥 = 𝑌 → (𝑥𝐹𝑦𝑥𝐺𝑦)))
215, 20syl5bi 241 . . . . . 6 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥 ∈ {𝑌} → (𝑥𝐹𝑦𝑥𝐺𝑦)))
2221pm5.32d 576 . . . . 5 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝑥 ∈ {𝑌} ∧ 𝑥𝐹𝑦) ↔ (𝑥 ∈ {𝑌} ∧ 𝑥𝐺𝑦)))
23 vex 3426 . . . . . 6 𝑦 ∈ V
2423brresi 5889 . . . . 5 (𝑥(𝐹 ↾ {𝑌})𝑦 ↔ (𝑥 ∈ {𝑌} ∧ 𝑥𝐹𝑦))
2523brresi 5889 . . . . 5 (𝑥(𝐺 ↾ {𝑌})𝑦 ↔ (𝑥 ∈ {𝑌} ∧ 𝑥𝐺𝑦))
2622, 24, 253bitr4g 313 . . . 4 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥(𝐹 ↾ {𝑌})𝑦𝑥(𝐺 ↾ {𝑌})𝑦))
274, 26orbi12d 915 . . 3 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝑥(𝐹𝑋)𝑦𝑥(𝐹 ↾ {𝑌})𝑦) ↔ (𝑥(𝐺𝑋)𝑦𝑥(𝐺 ↾ {𝑌})𝑦)))
28 resundi 5894 . . . . 5 (𝐹 ↾ (𝑋 ∪ {𝑌})) = ((𝐹𝑋) ∪ (𝐹 ↾ {𝑌}))
2928breqi 5076 . . . 4 (𝑥(𝐹 ↾ (𝑋 ∪ {𝑌}))𝑦𝑥((𝐹𝑋) ∪ (𝐹 ↾ {𝑌}))𝑦)
30 brun 5121 . . . 4 (𝑥((𝐹𝑋) ∪ (𝐹 ↾ {𝑌}))𝑦 ↔ (𝑥(𝐹𝑋)𝑦𝑥(𝐹 ↾ {𝑌})𝑦))
3129, 30bitri 274 . . 3 (𝑥(𝐹 ↾ (𝑋 ∪ {𝑌}))𝑦 ↔ (𝑥(𝐹𝑋)𝑦𝑥(𝐹 ↾ {𝑌})𝑦))
32 resundi 5894 . . . . 5 (𝐺 ↾ (𝑋 ∪ {𝑌})) = ((𝐺𝑋) ∪ (𝐺 ↾ {𝑌}))
3332breqi 5076 . . . 4 (𝑥(𝐺 ↾ (𝑋 ∪ {𝑌}))𝑦𝑥((𝐺𝑋) ∪ (𝐺 ↾ {𝑌}))𝑦)
34 brun 5121 . . . 4 (𝑥((𝐺𝑋) ∪ (𝐺 ↾ {𝑌}))𝑦 ↔ (𝑥(𝐺𝑋)𝑦𝑥(𝐺 ↾ {𝑌})𝑦))
3533, 34bitri 274 . . 3 (𝑥(𝐺 ↾ (𝑋 ∪ {𝑌}))𝑦 ↔ (𝑥(𝐺𝑋)𝑦𝑥(𝐺 ↾ {𝑌})𝑦))
3627, 31, 353bitr4g 313 . 2 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥(𝐹 ↾ (𝑋 ∪ {𝑌}))𝑦𝑥(𝐺 ↾ (𝑋 ∪ {𝑌}))𝑦))
371, 2, 36eqbrrdiv 5693 1 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝐹 ↾ (𝑋 ∪ {𝑌})) = (𝐺 ↾ (𝑋 ∪ {𝑌})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  cun 3881  {csn 4558   class class class wbr 5070  dom cdm 5580  cres 5582  Fun wfun 6412  cfv 6418
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-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  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-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-res 5592  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426
This theorem is referenced by:  eqfunressuc  33642
  Copyright terms: Public domain W3C validator