Closing a finite complex path at a chosen center
DefinitionDerivativeChainContinuation_ReturnPathcontinuation-20261026derivative-chainssparse-families
The function closeAt keeps the first entries of a complex path and sets every later entry to a chosen center . It adds the single return edge needed by the centroid-return construction.
Definition code
import Mathlib import Definitions.Def_DerivativeChainPrivate_foundations import Definitions.Def_DerivativeChain_root_probability set_option autoImplicit false namespace DerivativeChainContinuation open DerivativeChainPrivate open scoped BigOperators def closeAt (r : ℕ) (f : ℕ → ℂ) (u : ℂ) (i : ℕ) : ℂ := if i < r then f i else u end DerivativeChainContinuation
Source