| 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 7156 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → (𝑥 ∈ 𝐹 → 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) | |
| 2 | 1 | adantl 487 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 → 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) |
| 3 | fnfun 6627 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → Fun 𝐹) | |
| 4 | snidg 4620 | . . . . . . . . . 10 ⊢ (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴}) | |
| 5 | 4 | adantr 486 | . . . . . . . . 9 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ {𝐴}) |
| 6 | fndm 6630 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 7 | 6 | adantl 487 | . . . . . . . . 9 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → dom 𝐹 = {𝐴}) |
| 8 | 5, 7 | eleqtrrd 2863 | . . . . . . . 8 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ dom 𝐹) |
| 9 | funfvop 7037 | . . . . . . . 8 ⊢ ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹) | |
| 10 | 3, 8, 9 | syl2an2 699 | . . . . . . 7 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹) |
| 11 | eleq1 2848 | . . . . . . 7 ⊢ (𝑥 = 〈𝐴, (𝐹‘𝐴)〉 → (𝑥 ∈ 𝐹 ↔ 〈𝐴, (𝐹‘𝐴)〉 ∈ 𝐹)) | |
| 12 | 10, 11 | syl5ibrcom 250 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 = 〈𝐴, (𝐹‘𝐴)〉 → 𝑥 ∈ 𝐹)) |
| 13 | 2, 12 | impbid 215 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 = 〈𝐴, (𝐹‘𝐴)〉)) |
| 14 | velsn 4599 | . . . . 5 ⊢ (𝑥 ∈ {〈𝐴, (𝐹‘𝐴)〉} ↔ 𝑥 = 〈𝐴, (𝐹‘𝐴)〉) | |
| 15 | 13, 14 | bitr4di 292 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 ∈ {〈𝐴, (𝐹‘𝐴)〉})) |
| 16 | 15 | eqrdv 2758 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐹 = {〈𝐴, (𝐹‘𝐴)〉}) |
| 17 | 16 | ex 418 | . 2 ⊢ (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} → 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| 18 | fvex 6886 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 19 | fnsng 6580 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ (𝐹‘𝐴) ∈ V) → {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴}) | |
| 20 | 18, 19 | mpan2 704 | . . 3 ⊢ (𝐴 ∈ 𝑉 → {〈𝐴, (𝐹‘𝐴)〉} Fn {𝐴}) |
| 21 | fneq1 6618 | . . 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 2145 Vcvv 3450 {csn 4583 〈cop 4589 dom cdm 5647 Fun wfun 6521 Fn wfn 6522 ‘cfv 6527 |
| 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 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-12 2213 ax-ext 2732 ax-sep 5248 ax-nul 5259 ax-pr 5390 |
| 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 2100 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-ne 2956 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-dif 3901 df-un 3903 df-in 3905 df-ss 3915 df-nul 4279 df-if 4482 df-sn 4584 df-pr 4586 df-op 4590 df-uni 4867 df-br 5103 df-opab 5167 df-id 5542 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-res 5659 df-ima 5660 df-iota 6483 df-fun 6529 df-fn 6530 df-f 6531 df-f1 6532 df-fo 6533 df-f1o 6534 df-fv 6535 |
| This theorem is used by: fnsnb 7158 frlmsnic 43526 termcnatval 50565 |
| Copyright terms: Public domain | W3C validator |