![]() |
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 6719 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → Rel 𝐹) | |
2 | relrn0 5966 | . . . . . 6 ⊢ (Rel 𝐹 → (𝐹 = ∅ ↔ ran 𝐹 = ∅)) | |
3 | 2 | necon3abid 2977 | . . . . 5 ⊢ (Rel 𝐹 → (𝐹 ≠ ∅ ↔ ¬ ran 𝐹 = ∅)) |
4 | 1, 3 | syl 17 | . . . 4 ⊢ (𝐹:𝐴⟶{𝐵} → (𝐹 ≠ ∅ ↔ ¬ ran 𝐹 = ∅)) |
5 | frn 6721 | . . . . . 6 ⊢ (𝐹:𝐴⟶{𝐵} → ran 𝐹 ⊆ {𝐵}) | |
6 | sssn 4828 | . . . . . 6 ⊢ (ran 𝐹 ⊆ {𝐵} ↔ (ran 𝐹 = ∅ ∨ ran 𝐹 = {𝐵})) | |
7 | 5, 6 | sylib 217 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → (ran 𝐹 = ∅ ∨ ran 𝐹 = {𝐵})) |
8 | 7 | ord 862 | . . . 4 ⊢ (𝐹:𝐴⟶{𝐵} → (¬ ran 𝐹 = ∅ → ran 𝐹 = {𝐵})) |
9 | 4, 8 | sylbid 239 | . . 3 ⊢ (𝐹:𝐴⟶{𝐵} → (𝐹 ≠ ∅ → ran 𝐹 = {𝐵})) |
10 | 9 | imdistani 569 | . 2 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ∧ ran 𝐹 = {𝐵})) |
11 | dffo2 6806 | . 2 ⊢ (𝐹:𝐴–onto→{𝐵} ↔ (𝐹:𝐴⟶{𝐵} ∧ ran 𝐹 = {𝐵})) | |
12 | 10, 11 | sylibr 233 | 1 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐹 ≠ ∅) → 𝐹:𝐴–onto→{𝐵}) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 205 ∧ wa 396 ∨ wo 845 = wceq 1541 ≠ wne 2940 ⊆ wss 3947 ∅c0 4321 {csn 4627 ran crn 5676 Rel wrel 5680 ⟶wf 6536 –onto→wfo 6538 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2703 ax-sep 5298 ax-nul 5305 ax-pr 5426 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 846 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-nf 1786 df-sb 2068 df-clab 2710 df-cleq 2724 df-clel 2810 df-ne 2941 df-rab 3433 df-v 3476 df-dif 3950 df-un 3952 df-in 3954 df-ss 3964 df-nul 4322 df-if 4528 df-sn 4628 df-pr 4630 df-op 4634 df-br 5148 df-opab 5210 df-xp 5681 df-rel 5682 df-cnv 5683 df-dm 5685 df-rn 5686 df-fun 6542 df-fn 6543 df-f 6544 df-fo 6546 |
This theorem is referenced by: dif1enlem 9152 dif1enlemOLD 9153 fullthinc 47619 |
Copyright terms: Public domain | W3C validator |