Metamath Proof Explorer


Theorem rspcdvinvd

Description: If something is true for all then it's true for some class. (Contributed by Stanislas Polu, 9-Mar-2020)

Ref Expression
Hypotheses rspcdvinvd.1 ( ( 𝜑𝑥 = 𝐴 ) → ( 𝜓𝜒 ) )
rspcdvinvd.2 ( 𝜑𝐴𝐵 )
rspcdvinvd.3 ( 𝜑 → ∀ 𝑥𝐵 𝜓 )
Assertion rspcdvinvd ( 𝜑𝜒 )

Proof

Step Hyp Ref Expression
1 rspcdvinvd.1 ( ( 𝜑𝑥 = 𝐴 ) → ( 𝜓𝜒 ) )
2 rspcdvinvd.2 ( 𝜑𝐴𝐵 )
3 rspcdvinvd.3 ( 𝜑 → ∀ 𝑥𝐵 𝜓 )
4 2 1 rspcdv ( 𝜑 → ( ∀ 𝑥𝐵 𝜓𝜒 ) )
5 3 4 mpd ( 𝜑𝜒 )