Original question and givens
Use a complete simple undirected graph on Fin(5)={0,…,4} with raw edges=[[0, 1], [0, 2], [0, 3], [0, 4]]. Endpoints are typed and loops are prohibited. Reversed or repeated edges count once; normalize endpoints and edge order. Do not infer adjacency from a drawing. Retain source subset=[4, 2, 0], normalized as a set. Give (old normalized edges, sorted retained labels, induced edges, retained-label degrees, retained-label neighbor lists).
G001 — Use a complete simple undirected graph on Fin(5)={0,…,4} with raw edges=[[0, 1], [0, 2], [0, 3], [0, 4]]. Endpoints are typed and loops are prohibited. Reversed or repeated edges count once; normalize endpoints and edge order. Do not infer adjacency from a drawing. Retain source subset=[4, 2, 0], normalized as a set. Give (old normalized edges, sorted retained labels, induced edges, retained-label degrees, retained-label neighbor lists).
Step-by-step derivation
S001 · implies
Before
n=5;raw edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
canonical edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
Conditions: none
Validate every simple undirected edge for typed distinct endpoints.Sort endpoints and count reversed or repeated edges once;do not infer adjacency from a drawing.
Step identifiers and dependencies
Rule: simple_graph_edge_normalization · Uses: G001
S002 · implies
Before
phase=original;vertex=0;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
neighbors=[1, 2, 3, 4];degree=4
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S001
S003 · implies
Before
phase=original;vertex=1;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
neighbors=[0];degree=1
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S002
S004 · implies
Before
phase=original;vertex=2;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
neighbors=[0];degree=1
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S003
S005 · implies
Before
phase=original;vertex=3;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
neighbors=[0];degree=1
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S004
S006 · implies
Before
phase=original;vertex=4;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
neighbors=[0];degree=1
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S005
S007 · implies
Before
raw subset=[4, 2, 0];old edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
After
retained original labels=[0, 2, 4];induced edges=[[0, 2], [0, 4]]
Conditions: none
Deduplicate subset labels and retain exactly original edges with both endpoints present.Do not renumber nonconsecutive labels.
Step identifiers and dependencies
Rule: induced_graph_both_endpoints_guard · Uses: G001, S006
S008 · implies
Before
phase=induced;vertex=0;all edges=[[0, 2], [0, 4]]
After
neighbors=[2, 4];degree=2
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S007
S009 · implies
Before
phase=induced;vertex=2;all edges=[[0, 2], [0, 4]]
After
neighbors=[0];degree=1
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S008
S010 · implies
Before
phase=induced;vertex=4;all edges=[[0, 2], [0, 4]]
After
neighbors=[0];degree=1
Conditions: none
Scan all canonical edges.An incident edge contributes its other endpoint as a distinct neighbor.Keep original vertex labels.
Step identifiers and dependencies
Rule: complete_graph_neighbor_inventory · Uses: G001, S009
Result
([[0, 1], [0, 2], [0, 3], [0, 4]], [0, 2, 4], [[0, 2], [0, 4]], [2, 1, 1], [[2, 4], [0], [0]])
The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.