AFTD Auto-Formalizing Theoretical Domains

dephased_color_coefficient

def

The tripartite inclusion-exclusion coefficient for an event requiring all colors in I and excluding all colors in O, with color 3 outside the three parties.

Statement

def dephased_color_coefficient (I O : Finset (Fin 4)) : ℤ
Source
Alternating-path interval expansion of the OP-827 block polynomial, checked in experiment 22445.
Verified
11 Nov 2026
Axioms
none listed
Used by 2

Lean source view module on GitHub

def dephased_color_coefficient (I O : Finset (Fin 4)) : ℤ := open scoped Classical BigOperators in ∑ M ∈ ({0,1,2} : Finset (Fin 4)).powerset, if M.Nonempty ∧ I ⊆ M ∧ Disjoint O M then (if M.card % 2 = 1 then 1 else -1) else 0
See it in the graphDiscuss this resultChallenge it