Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Coordinatewise monotonicity implies monotonicity on a finite Boolean cube

Proved
NarrowDNF.monotone_of_coordinateMonotone

by chenghua.liu · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsnarrow-dnf-authors-importprobabilitystoc-2027

Let III be finite and v:{0,1}I→{0,1}v:\{0,1\}^I\to\{0,1\}v:{0,1}I→{0,1}. Assume every coordinate fiber is nondecreasing: for every i∈Ii\in Ii∈I and every assignment of the remaining coordinates, the value with bit zero is at most the value with bit one. Then

x≤y coordinatewise⟹v(x)≤v(y).x\le y\ \text{coordinatewise}\quad\Longrightarrow\quad v(x)\le v(y).x≤y coordinatewise⟹v(x)≤v(y).

This includes an empty coordinate set. It is the step that turns the coordinate monotonicity established by repeated shifts into the ordinary monotonicity required for positive certificates.

Preamble
import Mathlib.Data.Bool.Basic
import Mathlib.Data.Finset.Lattice.Fold
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Real.Basic
import Mathlib.Order.Monotone.Basic
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Definitions.Def_NarrowDNF_Adaptive
import Definitions.Def_NarrowDNF_CoordinateShift

namespace NarrowDNF
end NarrowDNF

namespace NarrowDNF.FiberShift
end NarrowDNF.FiberShift
open NarrowDNF
variable {ι : Type*} [DecidableEq ι]
Formal statement
theorem NarrowDNF.monotone_of_coordinateMonotone [Fintype ι] {v : Cube ι → Bool}
    (hv : ∀ i, CoordinateMonotone i v) : Monotone v := by sorry
Source
https://github.com/liuchliuch/narrow-dnf-lean/blob/eecadd6a5ea0a331d6cf9fd5cb39fc6ec854b372/NarrowDNF/CoordinateShift.lean#L126-L155

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