Metamath Proof Explorer


Theorem fnexALT

Description: Alternate proof of fnex , derived using the Axiom of Replacement in the form of funimaexg . This version uses ax-pow and ax-un , whereas fnex does not. (Contributed by NM, 14-Aug-1994) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion fnexALT F Fn A A B F V

Proof

Step Hyp Ref Expression
1 fnrel F Fn A Rel F
2 relssdmrn Rel F F dom F × ran F
3 1 2 syl F Fn A F dom F × ran F
4 3 adantr F Fn A A B F dom F × ran F
5 fndm F Fn A dom F = A
6 5 eleq1d F Fn A dom F B A B
7 6 biimpar F Fn A A B dom F B
8 fnfun F Fn A Fun F
9 funimaexg Fun F A B F A V
10 8 9 sylan F Fn A A B F A V
11 imadmrn F dom F = ran F
12 5 imaeq2d F Fn A F dom F = F A
13 11 12 eqtr3id F Fn A ran F = F A
14 13 eleq1d F Fn A ran F V F A V
15 14 biimpar F Fn A F A V ran F V
16 10 15 syldan F Fn A A B ran F V
17 xpexg dom F B ran F V dom F × ran F V
18 7 16 17 syl2anc F Fn A A B dom F × ran F V
19 ssexg F dom F × ran F dom F × ran F V F V
20 4 18 19 syl2anc F Fn A A B F V