Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Two-sided-majorant mixed-product total variation

Proved
DerivativeChainPrivate.mixed_product_variation

by labuka · Oct 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

derivative-chain-formalization-20261018derivative-chain-privatepolynomials

For nonnegative real sequences G and J, with G nondecreasing and J nonincreasing, and every natural n, the sum from k=0 to n-1 of |G(k+1)J(k+1)-G(k)J(k)| is at most 2G(n)J(0)-G(0)J(0)-G(n)J(n). This formalizes equation (6) of the two-sided-majorant checkpoint for all finite lengths.

Preamble
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring

set_option autoImplicit false
open scoped BigOperators

namespace DerivativeChainPrivate
end DerivativeChainPrivate
Formal statement
theorem DerivativeChainPrivate.mixed_product_variation (G J : ℕ → ℝ) (hG : Monotone G) (hJ : Antitone J)
    (hG0 : ∀ k, 0 ≤ G k) (hJ0 : ∀ k, 0 ≤ J k) (n : ℕ) :
    (∑ k ∈ Finset.range n, |G (k + 1) * J (k + 1) - G k * J k|) ≤
      2 * G n * J 0 - G 0 * J 0 - G n * J n := by sorry
Source
Derivative-zero chains: public formalization reference, R38, DerivativeChainPrivate.mixed_product_variation. https://gist.github.com/Amal-David/d6612109c98595b12561cd638c60edf5/3883c57ddc7bf9d4c0e898c3d6bfd2ca0d7f9c95#file-notes-md
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by labuka · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me