This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: If the domain of a function G equals the range of a function F , then the composition ( G o. F ) is surjective iff G and F as function to the domain of G are both surjective. Symmetric version of fnfocofob including the fact that F is a surjection onto its range. (Contributed by GL and AV, 20-Sep-2024) (Proof shortened by AV, 29-Sep-2024)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | focofob |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ffn | ||
| 2 | fnfocofob | ||
| 3 | 1 2 | syl3an1 | |
| 4 | dffn4 | ||
| 5 | 1 4 | sylib | |
| 6 | 5 | 3ad2ant1 | |
| 7 | foeq3 | ||
| 8 | 7 | 3ad2ant3 | |
| 9 | 6 8 | mpbid | |
| 10 | 9 | biantrurd | |
| 11 | 3 10 | bitrd |