This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: A lemma for variants of the axiom of replacement: if we can form the set of images of the functional relation, then we can also form a set containing all its images. The converse requires the axiom of separation. (Contributed by BJ, 5-Apr-2026)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | replem |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | biimpr | ||
| 2 | r19.23v | ||
| 3 | 2 | biimpri | |
| 4 | ancr | ||
| 5 | 4 | ralimi | |
| 6 | 1 3 5 | 3syl | |
| 7 | 6 | alimi | |
| 8 | ralcom4 | ||
| 9 | 8 | biimpri | |
| 10 | exim | ||
| 11 | df-rex | ||
| 12 | 10 11 | imbitrrdi | |
| 13 | 12 | ralimi | |
| 14 | 7 9 13 | 3syl | |
| 15 | pm2.27 | ||
| 16 | 15 | ral2imi | |
| 17 | 14 16 | syl5 | |
| 18 | 17 | eximdv | |
| 19 | 18 | imp |