Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eqfnun Structured version   Visualization version   GIF version

Theorem eqfnun 35807
Description: Two functions on 𝐴𝐵 are equal if and only if they have equal restrictions to both 𝐴 and 𝐵. (Contributed by Jeff Madsen, 19-Jun-2011.)
Assertion
Ref Expression
eqfnun ((𝐹 Fn (𝐴𝐵) ∧ 𝐺 Fn (𝐴𝐵)) → (𝐹 = 𝐺 ↔ ((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵))))

Proof of Theorem eqfnun
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 reseq1 5874 . . 3 (𝐹 = 𝐺 → (𝐹𝐴) = (𝐺𝐴))
2 reseq1 5874 . . 3 (𝐹 = 𝐺 → (𝐹𝐵) = (𝐺𝐵))
31, 2jca 511 . 2 (𝐹 = 𝐺 → ((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)))
4 elun 4079 . . . . 5 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
5 fveq1 6755 . . . . . . . . 9 ((𝐹𝐴) = (𝐺𝐴) → ((𝐹𝐴)‘𝑥) = ((𝐺𝐴)‘𝑥))
6 fvres 6775 . . . . . . . . 9 (𝑥𝐴 → ((𝐹𝐴)‘𝑥) = (𝐹𝑥))
75, 6sylan9req 2800 . . . . . . . 8 (((𝐹𝐴) = (𝐺𝐴) ∧ 𝑥𝐴) → ((𝐺𝐴)‘𝑥) = (𝐹𝑥))
8 fvres 6775 . . . . . . . . 9 (𝑥𝐴 → ((𝐺𝐴)‘𝑥) = (𝐺𝑥))
98adantl 481 . . . . . . . 8 (((𝐹𝐴) = (𝐺𝐴) ∧ 𝑥𝐴) → ((𝐺𝐴)‘𝑥) = (𝐺𝑥))
107, 9eqtr3d 2780 . . . . . . 7 (((𝐹𝐴) = (𝐺𝐴) ∧ 𝑥𝐴) → (𝐹𝑥) = (𝐺𝑥))
1110adantlr 711 . . . . . 6 ((((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)) ∧ 𝑥𝐴) → (𝐹𝑥) = (𝐺𝑥))
12 fveq1 6755 . . . . . . . . 9 ((𝐹𝐵) = (𝐺𝐵) → ((𝐹𝐵)‘𝑥) = ((𝐺𝐵)‘𝑥))
13 fvres 6775 . . . . . . . . 9 (𝑥𝐵 → ((𝐹𝐵)‘𝑥) = (𝐹𝑥))
1412, 13sylan9req 2800 . . . . . . . 8 (((𝐹𝐵) = (𝐺𝐵) ∧ 𝑥𝐵) → ((𝐺𝐵)‘𝑥) = (𝐹𝑥))
15 fvres 6775 . . . . . . . . 9 (𝑥𝐵 → ((𝐺𝐵)‘𝑥) = (𝐺𝑥))
1615adantl 481 . . . . . . . 8 (((𝐹𝐵) = (𝐺𝐵) ∧ 𝑥𝐵) → ((𝐺𝐵)‘𝑥) = (𝐺𝑥))
1714, 16eqtr3d 2780 . . . . . . 7 (((𝐹𝐵) = (𝐺𝐵) ∧ 𝑥𝐵) → (𝐹𝑥) = (𝐺𝑥))
1817adantll 710 . . . . . 6 ((((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)) ∧ 𝑥𝐵) → (𝐹𝑥) = (𝐺𝑥))
1911, 18jaodan 954 . . . . 5 ((((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)) ∧ (𝑥𝐴𝑥𝐵)) → (𝐹𝑥) = (𝐺𝑥))
204, 19sylan2b 593 . . . 4 ((((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)) ∧ 𝑥 ∈ (𝐴𝐵)) → (𝐹𝑥) = (𝐺𝑥))
2120ralrimiva 3107 . . 3 (((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)) → ∀𝑥 ∈ (𝐴𝐵)(𝐹𝑥) = (𝐺𝑥))
22 eqfnfv 6891 . . 3 ((𝐹 Fn (𝐴𝐵) ∧ 𝐺 Fn (𝐴𝐵)) → (𝐹 = 𝐺 ↔ ∀𝑥 ∈ (𝐴𝐵)(𝐹𝑥) = (𝐺𝑥)))
2321, 22syl5ibr 245 . 2 ((𝐹 Fn (𝐴𝐵) ∧ 𝐺 Fn (𝐴𝐵)) → (((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵)) → 𝐹 = 𝐺))
243, 23impbid2 225 1 ((𝐹 Fn (𝐴𝐵) ∧ 𝐺 Fn (𝐴𝐵)) → (𝐹 = 𝐺 ↔ ((𝐹𝐴) = (𝐺𝐴) ∧ (𝐹𝐵) = (𝐺𝐵))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wral 3063  cun 3881  cres 5582   Fn wfn 6413  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-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  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-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator