Metamath Proof Explorer


Theorem edgnbusgreu

Description: For each edge incident to a vertex there is exactly one neighbor of the vertex also incident to this edge in a simple graph. (Contributed by AV, 28-Oct-2020) (Revised by AV, 6-Jul-2022)

Ref Expression
Hypotheses edgnbusgreu.e E=EdgG
edgnbusgreu.n N=GNeighbVtxM
Assertion edgnbusgreu GUSGraphMVCEMC∃!nNC=Mn

Proof

Step Hyp Ref Expression
1 edgnbusgreu.e E=EdgG
2 edgnbusgreu.n N=GNeighbVtxM
3 simpll GUSGraphMVCEMCGUSGraph
4 1 eleq2i CECEdgG
5 4 biimpi CECEdgG
6 5 ad2antrl GUSGraphMVCEMCCEdgG
7 simprr GUSGraphMVCEMCMC
8 usgredg2vtxeu GUSGraphCEdgGMC∃!nVtxGC=Mn
9 3 6 7 8 syl3anc GUSGraphMVCEMC∃!nVtxGC=Mn
10 df-reu ∃!nVtxGC=Mn∃!nnVtxGC=Mn
11 prcom Mn=nM
12 11 eqeq2i C=MnC=nM
13 12 biimpi C=MnC=nM
14 13 eleq1d C=MnCEnME
15 14 biimpcd CEC=MnnME
16 15 ad2antrl GUSGraphMVCEMCC=MnnME
17 16 adantld GUSGraphMVCEMCnVtxGC=MnnME
18 17 imp GUSGraphMVCEMCnVtxGC=MnnME
19 simprr GUSGraphMVCEMCnVtxGC=MnC=Mn
20 18 19 jca GUSGraphMVCEMCnVtxGC=MnnMEC=Mn
21 simpl nMEC=MnnME
22 eqid VtxG=VtxG
23 1 22 usgrpredgv GUSGraphnMEnVtxGMVtxG
24 23 simpld GUSGraphnMEnVtxG
25 3 21 24 syl2an GUSGraphMVCEMCnMEC=MnnVtxG
26 simprr GUSGraphMVCEMCnMEC=MnC=Mn
27 25 26 jca GUSGraphMVCEMCnMEC=MnnVtxGC=Mn
28 20 27 impbida GUSGraphMVCEMCnVtxGC=MnnMEC=Mn
29 28 eubidv GUSGraphMVCEMC∃!nnVtxGC=Mn∃!nnMEC=Mn
30 29 biimpd GUSGraphMVCEMC∃!nnVtxGC=Mn∃!nnMEC=Mn
31 10 30 syl5bi GUSGraphMVCEMC∃!nVtxGC=Mn∃!nnMEC=Mn
32 9 31 mpd GUSGraphMVCEMC∃!nnMEC=Mn
33 2 eleq2i nNnGNeighbVtxM
34 1 nbusgreledg GUSGraphnGNeighbVtxMnME
35 33 34 syl5bb GUSGraphnNnME
36 35 anbi1d GUSGraphnNC=MnnMEC=Mn
37 36 ad2antrr GUSGraphMVCEMCnNC=MnnMEC=Mn
38 37 eubidv GUSGraphMVCEMC∃!nnNC=Mn∃!nnMEC=Mn
39 32 38 mpbird GUSGraphMVCEMC∃!nnNC=Mn
40 df-reu ∃!nNC=Mn∃!nnNC=Mn
41 39 40 sylibr GUSGraphMVCEMC∃!nNC=Mn