← Existence And Smoothness Of The Navier–Stokes Equation (navier_stokes_existence_and_smoothness_R3)
Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_DerivativeChainPrivate_foundations.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗
/-From Prove2Me, definition `DerivativeChainPrivate_foundations` (https://prove2.me/definitions/68b95d66-17eb-4790-99fc-9c955976c17a). Apache-2.0 per Prove2Me's terms.-/import Mathlib open scoped BigOperatorsset_option autoImplicit falsenamespace DerivativeChainPrivate noncomputable def fromRoots {n : ℕ} (a : Fin n → ℂ) : Polynomial ℂ := ∏ i, (Polynomial.X - Polynomial.C (a i)) noncomputable def row {n : ℕ} (a : Fin n → ℂ) (m : ℕ) : Polynomial ℂ := (Polynomial.derivative^[n - m]) (fromRoots a) noncomputable def IsChain {n : ℕ} (a z : Fin n → ℂ) : Prop := ∀ i, (row a (i.val + 1)).eval (z i) = 0 noncomputable def chainCost {n : ℕ} (z : Fin n → ℂ) : ℝ := ∑ i : Fin (n - 1), ‖z ⟨i.val + 1, by omega⟩ - z ⟨i.val, by omega⟩‖ noncomputable def RealCoefficients {n : ℕ} (a : Fin n → ℂ) : Prop := ∀ k : ℕ, ((fromRoots a).coeff k).im = 0 noncomputable def nonrealCount {n : ℕ} (a : Fin n → ℂ) : ℕ := by classical exact (Finset.univ.filter (fun i => (a i).im ≠ 0)).card end DerivativeChainPrivate