| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > foconst | Structured version Visualization version GIF version | ||
| Description: A nonzero constant function is onto. (Contributed by NM, 12-Jan-2007.) |
| Ref | Expression |
|---|---|
| foconst | ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → 𝐹:𝐴–onto→{𝐵}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | frel 6711 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → Rel 𝐹) | |
| 2 | relrn0 5963 | . . . . . 6 ⊢ (Rel 𝐹 → (𝐹 = ∅ ↔ ran 𝐹 = ∅)) | |
| 3 | 2 | necon3abid 2992 | . . . . 5 ⊢ (Rel 𝐹 → (𝐹 ≠ ∅ ↔ ¬ ran 𝐹 = ∅)) |
| 4 | 1, 3 | syl 18 | . . . 4 ⊢ (𝐹:𝐴⟶{𝐵} → (𝐹 ≠ ∅ ↔ ¬ ran 𝐹 = ∅)) |
| 5 | frn 6713 | . . . . . 6 ⊢ (𝐹:𝐴⟶{𝐵} → ran 𝐹 ⊆ {𝐵}) | |
| 6 | sssn 4791 | . . . . . 6 ⊢ (ran 𝐹 ⊆ {𝐵} ↔ (ran 𝐹 = ∅ ∨ ran 𝐹 = {𝐵})) | |
| 7 | 5, 6 | sylib 221 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → (ran 𝐹 = ∅ ∨ ran 𝐹 = {𝐵})) |
| 8 | 7 | ord 877 | . . . 4 ⊢ (𝐹:𝐴⟶{𝐵} → (¬ ran 𝐹 = ∅ → ran 𝐹 = {𝐵})) |
| 9 | 4, 8 | sylbid 243 | . . 3 ⊢ (𝐹:𝐴⟶{𝐵} → (𝐹 ≠ ∅ → ran 𝐹 = {𝐵})) |
| 10 | 9 | imdistani 578 | . 2 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ∧ ran 𝐹 = {𝐵})) |
| 11 | dffo2 6796 | . 2 ⊢ (𝐹:𝐴–onto→{𝐵} ↔ (𝐹:𝐴⟶{𝐵} ∧ ran 𝐹 = {𝐵})) | |
| 12 | 10, 11 | sylibr 237 | 1 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → 𝐹:𝐴–onto→{𝐵}) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 400 ∨ wo 860 = wceq 1568 ≠ wne 2956 ⊆ wss 3904 ∅c0 4285 {csn 4588 ran crn 5662 Rel wrel 5666 ⟶wf 6532 –onto→wfo 6534 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1823 ax-4 1837 ax-5 1938 ax-6 1995 ax-7 2036 ax-8 2143 ax-9 2151 ax-ext 2733 ax-sep 5256 ax-pr 5404 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1571 df-fal 1581 df-ex 1808 df-sb 2095 df-clab 2740 df-cleq 2753 df-clel 2836 df-ne 2957 df-rab 3415 df-v 3455 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4487 df-sn 4589 df-pr 4591 df-op 4595 df-br 5109 df-opab 5173 df-xp 5667 df-rel 5668 df-cnv 5669 df-dm 5671 df-rn 5672 df-fun 6538 df-fn 6539 df-f 6540 df-fo 6542 |
| This theorem is referenced by: dif1enlem 9143 fullthinc 50195 |
| Copyright terms: Public domain | W3C validator |