Metamath Proof Explorer


Theorem setrec2mpt

Description: Version of setrec2 where F is defined using maps-to notation. Deduction form is omitted in the second hypothesis for simplicity. In practice, nothing important is lost since we are only interested in one choice of A , S , and V at a time. However, we are interested in what happens when C varies, so deduction form is used in the third hypothesis. (Contributed by Emmett Weisz, 4-Jun-2024)

Ref Expression
Hypotheses setrec2mpt.1 B = setrecs a A S
setrec2mpt.2 a A S V
setrec2mpt.3 φ a a C S C
Assertion setrec2mpt φ B C

Proof

Step Hyp Ref Expression
1 setrec2mpt.1 B = setrecs a A S
2 setrec2mpt.2 a A S V
3 setrec2mpt.3 φ a a C S C
4 nfmpt1 _ a a A S
5 eqid a A S = a A S
6 5 fvmpt2 a A S V a A S a = S
7 eqimss a A S a = S a A S a S
8 6 7 syl a A S V a A S a S
9 2 8 mpdan a A a A S a S
10 5 fvmptndm ¬ a A a A S a =
11 0ss S
12 10 11 eqsstrdi ¬ a A a A S a S
13 9 12 pm2.61i a A S a S
14 sstr2 a A S a S S C a A S a C
15 13 14 ax-mp S C a A S a C
16 15 imim2i a C S C a C a A S a C
17 3 16 sylg φ a a C a A S a C
18 4 1 17 setrec2 φ B C