Sign-reversing involution on the order complex.
ProvedPosetFlow.alternatingSum_orderComplex_eq_zero_of_conePointaether-catalogalgebra
Sign-reversing involution on the order complex. If a finite poset has an
element comparable with every element (a cone point), then the alternating sum of
(-1) ^ |C| over all faces C of its order complex vanishes. Equivalently, the
reduced Euler characteristic of the order complex vanishes: a cone is acyclic.
theorem PosetFlow.alternatingSum_orderComplex_eq_zero_of_conePoint(z : R) (hz : ∀ a, z ≤ a ∨ a ≤ z) :
∑ C ∈ orderComplex R, (-1 : ℤ) ^ C.card = 0 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Algebra/PosetFlow/OrderComplexEuler.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Algebra/PosetFlow/OrderComplexEuler.lean
import Mathlib
import Definitions.Def_Algebra_PosetFlow_OrderComplexEuler
/-!
# The order complex of a finite poset and cone points
This file develops the combinatorial (Euler-characteristic) shadow of the statement
"the simplicial nerve of a poset with a least element is contractible", which is the
homotopical engine behind the *chain replacement of a poset flow*: the poset of
strictly increasing chains from `x` to `y` ordered by refinement has a least element
(the chain `{x, y}`), hence its nerve is contractible, hence the chain replacement of
a poset flow has contractible spaces of execution paths.
Since simplicial contractibility is not available at this level of the library, we
prove the exact numerical consequence: the (unreduced) alternating face sum of the
order complex of a finite poset possessing a *cone point* vanishes, i.e. the reduced
Euler characteristic of the order complex is `0`. The proof is a sign-reversing
involution: adding or deleting the cone point.
## Main definitions
* `PosetFlow.IsOrderChain` : a finset of a poset is totally ordered.
* `PosetFlow.orderComplex` : the finset of all totally ordered finsets (the faces of
the order complex, including the empty face).
## Main results
* `PosetFlow.alternatingSum_orderComplex_eq_zero_of_conePoint` : if some element of a
finite poset is comparable with every element, the alternating sum
`∑ (-1) ^ |C|` over all faces `C` vanishes.
* `PosetFlow.reducedEuler_eq_zero_of_conePoint` : the reduced form, a sum over
nonempty faces equal to `-1`.
* `PosetFlow.alternatingSum_orderComplex_eq_zero_of_orderBot` /
`..._of_orderTop` : the special cases of a least / greatest element.
-/
open PosetFlow
open Finset
variable {R : Type*} [PartialOrder R] [Fintype R] [DecidableEq R] [DecidableLE R]Formal statement
theorem PosetFlow.alternatingSum_orderComplex_eq_zero_of_conePoint(z : R) (hz : ∀ a, z ≤ a ∨ a ≤ z) :
∑ C ∈ orderComplex R, (-1 : ℤ) ^ C.card = 0 := by sorrySource