Metamath Proof Explorer


Theorem fnreseql

Description: Two functions are equal on a subset iff their equalizer contains that subset. (Contributed by Stefan O'Rear, 7-Mar-2015)

Ref Expression
Assertion fnreseql F Fn A G Fn A X A F X = G X X dom F G

Proof

Step Hyp Ref Expression
1 fnssres F Fn A X A F X Fn X
2 1 3adant2 F Fn A G Fn A X A F X Fn X
3 fnssres G Fn A X A G X Fn X
4 3 3adant1 F Fn A G Fn A X A G X Fn X
5 fneqeql F X Fn X G X Fn X F X = G X dom F X G X = X
6 2 4 5 syl2anc F Fn A G Fn A X A F X = G X dom F X G X = X
7 resindir F G X = F X G X
8 7 dmeqi dom F G X = dom F X G X
9 dmres dom F G X = X dom F G
10 8 9 eqtr3i dom F X G X = X dom F G
11 10 eqeq1i dom F X G X = X X dom F G = X
12 df-ss X dom F G X dom F G = X
13 11 12 bitr4i dom F X G X = X X dom F G
14 6 13 bitrdi F Fn A G Fn A X A F X = G X X dom F G