Metamath Proof Explorer


Theorem grimid

Description: The identity relation restricted to the set of vertices of a graph is a graph isomorphism between the graph and itself. (Contributed by AV, 29-Apr-2025) (Prove shortened by AV, 5-May-2025.)

Ref Expression
Assertion grimid ⊢ G ∈ UHGraph → I ↾ Vtx ⁡ G ∈ G GraphIso G

Proof

Step Hyp Ref Expression
1 id ⊢ G ∈ UHGraph → G ∈ UHGraph
2 eqidd ⊢ G ∈ UHGraph → Vtx ⁡ G = Vtx ⁡ G
3 eqidd ⊢ G ∈ UHGraph → iEdg ⁡ G = iEdg ⁡ G
4 1 1 2 3 grimidvtxedg ⊢ G ∈ UHGraph → I ↾ Vtx ⁡ G ∈ G GraphIso G