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 33735
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 5920 . 2 Rel (𝐹 ↾ (𝑋 ∪ {𝑌}))
2 relres 5920 . 2 Rel (𝐺 ↾ (𝑋 ∪ {𝑌}))
3 breq 5076 . . . . 5 ((𝐹𝑋) = (𝐺𝑋) → (𝑥(𝐹𝑋)𝑦𝑥(𝐺𝑋)𝑦))
433ad2ant2 1133 . . . 4 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥(𝐹𝑋)𝑦𝑥(𝐺𝑋)𝑦))
5 velsn 4577 . . . . . . 7 (𝑥 ∈ {𝑌} ↔ 𝑥 = 𝑌)
6 simp33 1210 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝐹𝑌) = (𝐺𝑌))
76eqeq1d 2740 . . . . . . . . 9 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝐹𝑌) = 𝑦 ↔ (𝐺𝑌) = 𝑦))
8 simp1l 1196 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → Fun 𝐹)
9 simp31 1208 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → 𝑌 ∈ dom 𝐹)
10 funbrfvb 6824 . . . . . . . . . 10 ((Fun 𝐹𝑌 ∈ dom 𝐹) → ((𝐹𝑌) = 𝑦𝑌𝐹𝑦))
118, 9, 10syl2anc 584 . . . . . . . . 9 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝐹𝑌) = 𝑦𝑌𝐹𝑦))
12 simp1r 1197 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → Fun 𝐺)
13 simp32 1209 . . . . . . . . . 10 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → 𝑌 ∈ dom 𝐺)
14 funbrfvb 6824 . . . . . . . . . 10 ((Fun 𝐺𝑌 ∈ dom 𝐺) → ((𝐺𝑌) = 𝑦𝑌𝐺𝑦))
1512, 13, 14syl2anc 584 . . . . . . . . 9 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝐺𝑌) = 𝑦𝑌𝐺𝑦))
167, 11, 153bitr3d 309 . . . . . . . 8 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑌𝐹𝑦𝑌𝐺𝑦))
17 breq1 5077 . . . . . . . . 9 (𝑥 = 𝑌 → (𝑥𝐹𝑦𝑌𝐹𝑦))
18 breq1 5077 . . . . . . . . 9 (𝑥 = 𝑌 → (𝑥𝐺𝑦𝑌𝐺𝑦))
1917, 18bibi12d 346 . . . . . . . 8 (𝑥 = 𝑌 → ((𝑥𝐹𝑦𝑥𝐺𝑦) ↔ (𝑌𝐹𝑦𝑌𝐺𝑦)))
2016, 19syl5ibrcom 246 . . . . . . 7 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥 = 𝑌 → (𝑥𝐹𝑦𝑥𝐺𝑦)))
215, 20syl5bi 241 . . . . . 6 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥 ∈ {𝑌} → (𝑥𝐹𝑦𝑥𝐺𝑦)))
2221pm5.32d 577 . . . . 5 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝑥 ∈ {𝑌} ∧ 𝑥𝐹𝑦) ↔ (𝑥 ∈ {𝑌} ∧ 𝑥𝐺𝑦)))
23 vex 3436 . . . . . 6 𝑦 ∈ V
2423brresi 5900 . . . . 5 (𝑥(𝐹 ↾ {𝑌})𝑦 ↔ (𝑥 ∈ {𝑌} ∧ 𝑥𝐹𝑦))
2523brresi 5900 . . . . 5 (𝑥(𝐺 ↾ {𝑌})𝑦 ↔ (𝑥 ∈ {𝑌} ∧ 𝑥𝐺𝑦))
2622, 24, 253bitr4g 314 . . . 4 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥(𝐹 ↾ {𝑌})𝑦𝑥(𝐺 ↾ {𝑌})𝑦))
274, 26orbi12d 916 . . 3 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → ((𝑥(𝐹𝑋)𝑦𝑥(𝐹 ↾ {𝑌})𝑦) ↔ (𝑥(𝐺𝑋)𝑦𝑥(𝐺 ↾ {𝑌})𝑦)))
28 resundi 5905 . . . . 5 (𝐹 ↾ (𝑋 ∪ {𝑌})) = ((𝐹𝑋) ∪ (𝐹 ↾ {𝑌}))
2928breqi 5080 . . . 4 (𝑥(𝐹 ↾ (𝑋 ∪ {𝑌}))𝑦𝑥((𝐹𝑋) ∪ (𝐹 ↾ {𝑌}))𝑦)
30 brun 5125 . . . 4 (𝑥((𝐹𝑋) ∪ (𝐹 ↾ {𝑌}))𝑦 ↔ (𝑥(𝐹𝑋)𝑦𝑥(𝐹 ↾ {𝑌})𝑦))
3129, 30bitri 274 . . 3 (𝑥(𝐹 ↾ (𝑋 ∪ {𝑌}))𝑦 ↔ (𝑥(𝐹𝑋)𝑦𝑥(𝐹 ↾ {𝑌})𝑦))
32 resundi 5905 . . . . 5 (𝐺 ↾ (𝑋 ∪ {𝑌})) = ((𝐺𝑋) ∪ (𝐺 ↾ {𝑌}))
3332breqi 5080 . . . 4 (𝑥(𝐺 ↾ (𝑋 ∪ {𝑌}))𝑦𝑥((𝐺𝑋) ∪ (𝐺 ↾ {𝑌}))𝑦)
34 brun 5125 . . . 4 (𝑥((𝐺𝑋) ∪ (𝐺 ↾ {𝑌}))𝑦 ↔ (𝑥(𝐺𝑋)𝑦𝑥(𝐺 ↾ {𝑌})𝑦))
3533, 34bitri 274 . . 3 (𝑥(𝐺 ↾ (𝑋 ∪ {𝑌}))𝑦 ↔ (𝑥(𝐺𝑋)𝑦𝑥(𝐺 ↾ {𝑌})𝑦))
3627, 31, 353bitr4g 314 . 2 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝑥(𝐹 ↾ (𝑋 ∪ {𝑌}))𝑦𝑥(𝐺 ↾ (𝑋 ∪ {𝑌}))𝑦))
371, 2, 36eqbrrdiv 5704 1 (((Fun 𝐹 ∧ Fun 𝐺) ∧ (𝐹𝑋) = (𝐺𝑋) ∧ (𝑌 ∈ dom 𝐹𝑌 ∈ dom 𝐺 ∧ (𝐹𝑌) = (𝐺𝑌))) → (𝐹 ↾ (𝑋 ∪ {𝑌})) = (𝐺 ↾ (𝑋 ∪ {𝑌})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  cun 3885  {csn 4561   class class class wbr 5074  dom cdm 5589  cres 5591  Fun wfun 6427  cfv 6433
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-11 2154  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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  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-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-res 5601  df-iota 6391  df-fun 6435  df-fn 6436  df-fv 6441
This theorem is referenced by:  eqfunressuc  33736
  Copyright terms: Public domain W3C validator