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
- dephased_path_interval_binary_averageThe colored interval polynomial at arbitrary real weights equals its weighted average over all zero-one profiles.
- dephased_path_interval_polynomialThe explicit interval expansion of the block-polynomial tripartite gap on an active path; left and right record the colors of fully…
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