AFTD Auto-Formalizing Theoretical Domains

cycle_demand_twofactor_graph_edges

def

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

Statement

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

Lean source view module on GitHub

def cycle_demand_twofactor_graph_edges {X : Type*} [Fintype X] [DecidableEq X]
    (sigma p : X ≃ X) : Finset (Sym2 (X × Bool)) := (Finset.univ.image fun x : X => s((x,false),(sigma x,false))) ∪
    (Finset.univ.image fun x : X => s((x,true),(p x,true))) ∪
    (Finset.univ.image fun x : X => s((x,false),(x,true)))
See it in the graphDiscuss this resultChallenge it