Metamath Proof Explorer


Theorem hash1elsn

Description: A set of size 1 with a known element is the singleton of that element. (Contributed by Rohan Ridenour, 3-Aug-2023)

Ref Expression
Hypotheses hash1elsn.1 φA=1
hash1elsn.2 φBA
hash1elsn.3 φAV
Assertion hash1elsn φA=B

Proof

Step Hyp Ref Expression
1 hash1elsn.1 φA=1
2 hash1elsn.2 φBA
3 hash1elsn.3 φAV
4 hashen1 AVA=1A1𝑜
5 3 4 syl φA=1A1𝑜
6 1 5 mpbid φA1𝑜
7 en1 A1𝑜xA=x
8 6 7 sylib φxA=x
9 simpr φA=xA=x
10 2 adantr φA=xBA
11 10 9 eleqtrd φA=xBx
12 elsni BxB=x
13 11 12 syl φA=xB=x
14 13 sneqd φA=xB=x
15 9 14 eqtr4d φA=xA=B
16 8 15 exlimddv φA=B