Metamath Proof Explorer


Theorem f1resveqaeq

Description: If a function restricted to a class is one-to-one, then for any two elements of the class, the values of the function at those elements are equal only if the two elements are the same element. (Contributed by BTernaryTau, 27-Sep-2023)

Ref Expression
Assertion f1resveqaeq ( ( ( 𝐹𝐴 ) : 𝐴1-1𝐵 ∧ ( 𝐶𝐴𝐷𝐴 ) ) → ( ( 𝐹𝐶 ) = ( 𝐹𝐷 ) → 𝐶 = 𝐷 ) )

Proof

Step Hyp Ref Expression
1 fvres ( 𝐶𝐴 → ( ( 𝐹𝐴 ) ‘ 𝐶 ) = ( 𝐹𝐶 ) )
2 1 ad2antrl ( ( ( 𝐹𝐴 ) : 𝐴1-1𝐵 ∧ ( 𝐶𝐴𝐷𝐴 ) ) → ( ( 𝐹𝐴 ) ‘ 𝐶 ) = ( 𝐹𝐶 ) )
3 fvres ( 𝐷𝐴 → ( ( 𝐹𝐴 ) ‘ 𝐷 ) = ( 𝐹𝐷 ) )
4 3 ad2antll ( ( ( 𝐹𝐴 ) : 𝐴1-1𝐵 ∧ ( 𝐶𝐴𝐷𝐴 ) ) → ( ( 𝐹𝐴 ) ‘ 𝐷 ) = ( 𝐹𝐷 ) )
5 2 4 eqeq12d ( ( ( 𝐹𝐴 ) : 𝐴1-1𝐵 ∧ ( 𝐶𝐴𝐷𝐴 ) ) → ( ( ( 𝐹𝐴 ) ‘ 𝐶 ) = ( ( 𝐹𝐴 ) ‘ 𝐷 ) ↔ ( 𝐹𝐶 ) = ( 𝐹𝐷 ) ) )
6 f1veqaeq ( ( ( 𝐹𝐴 ) : 𝐴1-1𝐵 ∧ ( 𝐶𝐴𝐷𝐴 ) ) → ( ( ( 𝐹𝐴 ) ‘ 𝐶 ) = ( ( 𝐹𝐴 ) ‘ 𝐷 ) → 𝐶 = 𝐷 ) )
7 5 6 sylbird ( ( ( 𝐹𝐴 ) : 𝐴1-1𝐵 ∧ ( 𝐶𝐴𝐷𝐴 ) ) → ( ( 𝐹𝐶 ) = ( 𝐹𝐷 ) → 𝐶 = 𝐷 ) )