Metamath Proof Explorer


Theorem fvresval

Description: The value of a function at a restriction is either null or the same as the function itself. (Contributed by Scott Fenton, 4-Sep-2011)

Ref Expression
Assertion fvresval ( ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ( 𝐹𝐴 ) ∨ ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ∅ )

Proof

Step Hyp Ref Expression
1 exmid ( 𝐴𝐵 ∨ ¬ 𝐴𝐵 )
2 fvres ( 𝐴𝐵 → ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ( 𝐹𝐴 ) )
3 nfvres ( ¬ 𝐴𝐵 → ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ∅ )
4 2 3 orim12i ( ( 𝐴𝐵 ∨ ¬ 𝐴𝐵 ) → ( ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ( 𝐹𝐴 ) ∨ ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ∅ ) )
5 1 4 ax-mp ( ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ( 𝐹𝐴 ) ∨ ( ( 𝐹𝐵 ) ‘ 𝐴 ) = ∅ )