Metamath Proof Explorer


Theorem fveqprc

Description: Lemma for showing the equality of values for functions like slot extractors E at a proper class. Extracted from several former proofs of lemmas like zlmlem . (Contributed by AV, 31-Oct-2024)

Ref Expression
Hypotheses fveqprc.e ( 𝐸 ‘ ∅ ) = ∅
fveqprc.y 𝑌 = ( 𝐹𝑋 )
Assertion fveqprc ( ¬ 𝑋 ∈ V → ( 𝐸𝑋 ) = ( 𝐸𝑌 ) )

Proof

Step Hyp Ref Expression
1 fveqprc.e ( 𝐸 ‘ ∅ ) = ∅
2 fveqprc.y 𝑌 = ( 𝐹𝑋 )
3 1 eqcomi ∅ = ( 𝐸 ‘ ∅ )
4 fvprc ( ¬ 𝑋 ∈ V → ( 𝐸𝑋 ) = ∅ )
5 fvprc ( ¬ 𝑋 ∈ V → ( 𝐹𝑋 ) = ∅ )
6 2 5 eqtrid ( ¬ 𝑋 ∈ V → 𝑌 = ∅ )
7 6 fveq2d ( ¬ 𝑋 ∈ V → ( 𝐸𝑌 ) = ( 𝐸 ‘ ∅ ) )
8 3 4 7 3eqtr4a ( ¬ 𝑋 ∈ V → ( 𝐸𝑋 ) = ( 𝐸𝑌 ) )