| 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 6696 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → Rel 𝐹) | |
| 2 | relrn0 5939 | . . . . . 6 ⊢ (Rel 𝐹 → (𝐹 = ∅ ↔ ran 𝐹 = ∅)) | |
| 3 | 2 | necon3abid 2962 | . . . . 5 ⊢ (Rel 𝐹 → (𝐹 ≠ ∅ ↔ ¬ ran 𝐹 = ∅)) |
| 4 | 1, 3 | syl 17 | . . . 4 ⊢ (𝐹:𝐴⟶{𝐵} → (𝐹 ≠ ∅ ↔ ¬ ran 𝐹 = ∅)) |
| 5 | frn 6698 | . . . . . 6 ⊢ (𝐹:𝐴⟶{𝐵} → ran 𝐹 ⊆ {𝐵}) | |
| 6 | sssn 4793 | . . . . . 6 ⊢ (ran 𝐹 ⊆ {𝐵} ↔ (ran 𝐹 = ∅ ∨ ran 𝐹 = {𝐵})) | |
| 7 | 5, 6 | sylib 218 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → (ran 𝐹 = ∅ ∨ ran 𝐹 = {𝐵})) |
| 8 | 7 | ord 864 | . . . 4 ⊢ (𝐹:𝐴⟶{𝐵} → (¬ ran 𝐹 = ∅ → ran 𝐹 = {𝐵})) |
| 9 | 4, 8 | sylbid 240 | . . 3 ⊢ (𝐹:𝐴⟶{𝐵} → (𝐹 ≠ ∅ → ran 𝐹 = {𝐵})) |
| 10 | 9 | imdistani 568 | . 2 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ∧ ran 𝐹 = {𝐵})) |
| 11 | dffo2 6779 | . 2 ⊢ (𝐹:𝐴–onto→{𝐵} ↔ (𝐹:𝐴⟶{𝐵} ∧ ran 𝐹 = {𝐵})) | |
| 12 | 10, 11 | sylibr 234 | 1 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → 𝐹:𝐴–onto→{𝐵}) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 206 ∧ wa 395 ∨ wo 847 = wceq 1540 ≠ wne 2926 ⊆ wss 3917 ∅c0 4299 {csn 4592 ran crn 5642 Rel wrel 5646 ⟶wf 6510 –onto→wfo 6512 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pr 5390 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-clab 2709 df-cleq 2722 df-clel 2804 df-ne 2927 df-rab 3409 df-v 3452 df-dif 3920 df-un 3922 df-ss 3934 df-nul 4300 df-if 4492 df-sn 4593 df-pr 4595 df-op 4599 df-br 5111 df-opab 5173 df-xp 5647 df-rel 5648 df-cnv 5649 df-dm 5651 df-rn 5652 df-fun 6516 df-fn 6517 df-f 6518 df-fo 6520 |
| This theorem is referenced by: dif1enlem 9126 dif1enlemOLD 9127 fullthinc 49443 |
| Copyright terms: Public domain | W3C validator |