AFTD Auto-Formalizing Theoretical Domains

op309_selected_edge_graph

def

The spanning graph consisting exactly of the selected edges.

Statement

def op309_selected_edge_graph {V : Type*} [DecidableEq V]
    (G : SimpleGraph V) (R : Finset G.edgeSet) : SimpleGraph V
Source
OP-309 overlap-aware port incidence selection, IN-1099.
Verified
20 Nov 2026
Axioms
none listed
Used by 7

Lean source view module on GitHub

def op309_selected_edge_graph {V : Type*} [DecidableEq V]
    (G : SimpleGraph V) (R : Finset G.edgeSet) : SimpleGraph V :=
  SimpleGraph.fromEdgeSet (↑(R.image Subtype.val) : Set (Sym2 V))
See it in the graphDiscuss this resultChallenge it