Metamath Proof Explorer


Theorem preiman0

Description: The preimage of a nonempty set is nonempty. (Contributed by Thierry Arnoux, 9-Jun-2024)

Ref Expression
Assertion preiman0 Fun F A ran F A F -1 A

Proof

Step Hyp Ref Expression
1 df-rn ran F = dom F -1
2 1 ineq1i ran F A ran F = dom F -1 A ran F
3 df-ss A ran F A ran F = A
4 3 biimpi A ran F A ran F = A
5 4 ineq2d A ran F ran F A ran F = ran F A
6 sseqin2 A ran F ran F A = A
7 6 biimpi A ran F ran F A = A
8 5 7 eqtrd A ran F ran F A ran F = A
9 8 3ad2ant2 Fun F A ran F F -1 A = ran F A ran F = A
10 fimacnvinrn Fun F F -1 A = F -1 A ran F
11 10 eqeq1d Fun F F -1 A = F -1 A ran F =
12 11 biimpa Fun F F -1 A = F -1 A ran F =
13 12 3adant2 Fun F A ran F F -1 A = F -1 A ran F =
14 imadisj F -1 A ran F = dom F -1 A ran F =
15 13 14 sylib Fun F A ran F F -1 A = dom F -1 A ran F =
16 2 9 15 3eqtr3a Fun F A ran F F -1 A = A =
17 16 3expia Fun F A ran F F -1 A = A =
18 17 necon3d Fun F A ran F A F -1 A
19 18 3impia Fun F A ran F A F -1 A