| 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 7204 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → (𝑥 ∈ 𝐹 → 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) | |
| 2 | 1 | adantl 487 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 → 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) |
| 3 | fnfun 6673 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → Fun 𝐹) | |
| 4 | snidg 4624 | . . . . . . . . . 10 ⊢ (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴}) | |
| 5 | 4 | adantr 486 | . . . . . . . . 9 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ {𝐴}) |
| 6 | fndm 6676 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 7 | 6 | adantl 487 | . . . . . . . . 9 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → dom 𝐹 = {𝐴}) |
| 8 | 5, 7 | eleqtrrd 2873 | . . . . . . . 8 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ dom 𝐹) |
| 9 | funfvop 7084 | . . . . . . . 8 ⊢ ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹) | |
| 10 | 3, 8, 9 | syl2an2 699 | . . . . . . 7 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹) |
| 11 | eleq1 2858 | . . . . . . 7 ⊢ (𝑥 = 〈𝐴, (𝐹‘𝐴)〉 → (𝑥 ∈ 𝐹 ↔ 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹)) | |
| 12 | 10, 11 | syl5ibrcom 250 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 = 〈𝐴, (𝐹‘𝐴)〉 → 𝑥 ∈ 𝐹)) |
| 13 | 2, 12 | impbid 215 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) |
| 14 | velsn 4602 | . . . . 5 ⊢ (𝑥 ∈ {〈𝐴, (𝐹‘𝐴)〉} ↔ 𝑥 = 〈𝐴, (𝐹‘𝐴)〉) | |
| 15 | 13, 14 | bitr4di 292 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 ∈ {〈𝐴, (𝐹‘𝐴)〉})) |
| 16 | 15 | eqrdv 2767 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐹 = {〈𝐴, (𝐹‘𝐴)〉}) |
| 17 | 16 | ex 418 | . 2 ⊢ (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} → 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| 18 | fvex 6933 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 19 | fnsng 6626 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ (𝐹‘𝐴) ∈ V) → {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴}) | |
| 20 | 18, 19 | mpan2 704 | . . 3 ⊢ (𝐴 ∈ 𝑉 → {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴}) |
| 21 | fneq1 6664 | . . 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 1572 ∈ wcel 2151 Vcvv 3456 {csn 4590 〈cop 4843 dom cdm 5661 Fun wfun 6564 Fn wfn 6565 ‘cfv 6570 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2153 ax-9 2161 ax-10 2184 ax-12 2220 ax-ext 2741 ax-sep 5258 ax-nul 5269 ax-pr 5401 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2105 df-mo 2571 df-eu 2601 df-clab 2748 df-cleq 2761 df-clel 2845 df-ne 2966 df-ral 3087 df-rex 3097 df-reu 3372 df-rab 3419 df-v 3458 df-ss 3903 df-dif 4052 df-in 4096 df-un 4156 df-nul 4284 df-if 4488 df-sn 4591 df-pr 4593 df-op 4844 df-uni 4876 df-br 5112 df-opab 5177 df-id 5556 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 df-iota 6524 df-fun 6572 df-fn 6573 df-f 6574 df-f1 6575 df-fo 6576 df-f1o 6577 df-fv 6578 |
| This theorem is used by: fnsnb 7206 frlmsnic 43887 termcnatval 51111 |
| Copyright terms: Public domain | W3C validator |