| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fnsnbg | Structured version Visualization version GIF version | ||
| Description: A function's domain is a singleton iff the function is a singleton. (Contributed by Steven Nguyen, 18-Aug-2023.) Relax condition for being in the universal class. (Revised by Zhi Wang, 21-Oct-2025.) |
| Ref | Expression |
|---|---|
| fnsnbg | ⊢ (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} ↔ 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fnsnr 7192 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → (𝑥 ∈ 𝐹 → 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) | |
| 2 | 1 | adantl 487 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 → 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) |
| 3 | fnfun 6661 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → Fun 𝐹) | |
| 4 | snidg 4621 | . . . . . . . . . 10 ⊢ (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴}) | |
| 5 | 4 | adantr 486 | . . . . . . . . 9 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ {𝐴}) |
| 6 | fndm 6664 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 7 | 6 | adantl 487 | . . . . . . . . 9 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → dom 𝐹 = {𝐴}) |
| 8 | 5, 7 | eleqtrrd 2867 | . . . . . . . 8 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ dom 𝐹) |
| 9 | funfvop 7072 | . . . . . . . 8 ⊢ ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹) | |
| 10 | 3, 8, 9 | syl2an2 699 | . . . . . . 7 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹) |
| 11 | eleq1 2852 | . . . . . . 7 ⊢ (𝑥 = 〈𝐴, (𝐹‘𝐴)〉 → (𝑥 ∈ 𝐹 ↔ 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹)) | |
| 12 | 10, 11 | syl5ibrcom 250 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 = 〈𝐴, (𝐹‘𝐴)〉 → 𝑥 ∈ 𝐹)) |
| 13 | 2, 12 | impbid 215 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) |
| 14 | velsn 4600 | . . . . 5 ⊢ (𝑥 ∈ {〈𝐴, (𝐹‘𝐴)〉} ↔ 𝑥 = 〈𝐴, (𝐹‘𝐴)〉) | |
| 15 | 13, 14 | bitr4di 292 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 ∈ {〈𝐴, (𝐹‘𝐴)〉})) |
| 16 | 15 | eqrdv 2761 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐹 = {〈𝐴, (𝐹‘𝐴)〉}) |
| 17 | 16 | ex 418 | . 2 ⊢ (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} → 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| 18 | fvex 6921 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 19 | fnsng 6614 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ (𝐹‘𝐴) ∈ V) → {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴}) | |
| 20 | 18, 19 | mpan2 704 | . . 3 ⊢ (𝐴 ∈ 𝑉 → {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴}) |
| 21 | fneq1 6652 | . . 3 ⊢ (𝐹 = {〈𝐴, (𝐹‘𝐴)〉} → (𝐹 Fn {𝐴} ↔ {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴})) | |
| 22 | 20, 21 | syl5ibrcom 250 | . 2 ⊢ (𝐴 ∈ 𝑉 → (𝐹 = {〈𝐴, (𝐹‘𝐴)〉} → 𝐹 Fn {𝐴})) |
| 23 | 17, 22 | impbid 215 | 1 ⊢ (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} ↔ 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1570 ∈ wcel 2147 Vcvv 3454 {csn 4588 〈cop 4838 dom cdm 5655 Fun wfun 6552 Fn wfn 6553 ‘cfv 6558 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-12 2216 ax-ext 2735 ax-sep 5252 ax-nul 5263 ax-pr 5395 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-ne 2960 df-ral 3081 df-rex 3091 df-reu 3370 df-rab 3417 df-v 3456 df-ss 3901 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-sn 4589 df-pr 4591 df-op 4839 df-uni 4871 df-br 5107 df-opab 5171 df-id 5550 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-res 5667 df-ima 5668 df-iota 6512 df-fun 6560 df-fn 6561 df-f 6562 df-f1 6563 df-fo 6564 df-f1o 6565 df-fv 6566 |
| This theorem is used by: fnsnb 7194 frlmsnic 43797 termcnatval 50878 |
| Copyright terms: Public domain | W3C validator |