AFTD Auto-Formalizing Theoretical Domains

is_rooted_graph_iso

def

Two graphs G and H with designated vertices r and s are isomorphic as rooted graphs if there exists a graph isomorphism from G to H that maps r to s.

Statement

def is_rooted_graph_iso {V W : Type*} (G : SimpleGraph V) (r : V) (H : SimpleGraph W) (s : W) : Prop
Defined in
arXiv:2611.28984 Sec. 5
Verified
28 Nov 2026
Axioms
none listed

Read back from the Lean

Given types V and W, a simple graph G with vertices in V, a designated vertex r : V, a simple graph H with vertices in W, and a designated vertex s : W, is_rooted_graph_iso G r H s asserts that there exists an isomorphism of simple graphs f : G ≃g H such that f r = s.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Two simple graphs with designated root vertices are isomorphic as rooted graphs. -/
def is_rooted_graph_iso {V W : Type*} (G : SimpleGraph V) (r : V) (H : SimpleGraph W) (s : W) : Prop :=
  ∃ f : G ≃g H, f r = s
See it in the graphDiscuss this resultChallenge it