AFTD Auto-Formalizing Theoretical Domains

cycle_demand_twofactor_graph

def

The base graph formed by two factor permutations and the matching.

Statement

def cycle_demand_twofactor_graph {X : Type*} [Fintype X] [DecidableEq X]
    (sigma p : X ≃ X) : SimpleGraph (X × Bool)
Source
Periodic two-factor local-state construction for the OP-874 campaign.
Verified
20 Nov 2026
Axioms
none listed
Built on 1

Lean source view module on GitHub

def cycle_demand_twofactor_graph {X : Type*} [Fintype X] [DecidableEq X]
    (sigma p : X ≃ X) : SimpleGraph (X × Bool) := SimpleGraph.fromEdgeSet (↑(cycle_demand_twofactor_graph_edges sigma p) : Set (Sym2 (X × Bool)))
See it in the graphDiscuss this resultChallenge it