Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.2: Uncrossing a family of increasing chains

Open
QAlgorithms.Papers.Independent.Extend50.P32.chainUncrossing

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let bbb be a distinct-letter word over a linearly ordered alphabet. Embed its finite alphabet in the real line in order, and place its letters at their occurrence positions. Let I1,…,IcI_1,\ldots,I_cI1​,…,Ic​ be disjoint increasing chains, allowing c=0c=0c=0 and empty chains. Curves are graphs of continuous strictly increasing functions tending to ±∞\pm\infty±∞ at the corresponding ends. Then the selected occurrences can be regrouped so that

⋃a=1cIa′=⋃a=1cIa,I1′,…,Ic′ are disjoint increasing chains admitting disjoint proper increasing curves.\bigcup_{a=1}^c I_a^\prime=\bigcup_{a=1}^c I_a,\qquad I_1^\prime,\ldots,I_c^\prime\text{ are disjoint increasing chains admitting disjoint proper increasing curves}.a=1⋃c​Ia′​=a=1⋃c​Ia​,I1′​,…,Ic′​ are disjoint increasing chains admitting disjoint proper increasing curves.

This isolates the source comparison or construction with all of its domain and occurrence conventions retained.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Matrix ComplexOrder Topology

namespace QAlgorithms.Papers.Independent.Extend50.P32

open QAlgorithms.Papers.Independent.Support50.P38 (wordMass tv)

-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.

open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)

/-- Lemma 6.2, PDF pp.28,30,32: uncrossing, with no admissibility or
separation premise; c=0 and empty chains are allowed. -/
theorem chainUncrossing {A : Type*} [LinearOrder A] (b : List A) (hDistinct : b.Nodup)
    (e : A → ℝ) (hEmbedding : StrictMonoOn e (↑b.toFinset : Set A)) (c : ℕ)
    (I : Fin c → Finset (Fin (wordPoints b).length)) (hChains : IsChains (wordPoints b) I) :
    ∃ J : Fin c → Finset (Fin (wordPoints b).length),
      IsChains (wordPoints b) J ∧ Finset.univ.biUnion J = Finset.univ.biUnion I ∧
      ∃ f : Fin c → ℝ → ℝ, CurvesThrough e (wordPoints b) J f := by sorry

end QAlgorithms.Papers.Independent.Extend50.P32

end
Source
Efficient quantum tomography II, arXiv:1612.00034v1, PDF p. 28, Lemma 6.2
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let AAA be any linearly ordered type, let bbb be a finite list with no repeated elements, and let e:A→Re:A\to\mathbb Re:A→R strictly preserve order on the elements appearing in bbb. Let ccc be any natural number, and write W=((0,b0),(1,b1),…)W=((0,b_0),(1,b_1),\ldots)W=((0,b0​),(1,b1​),…). Suppose I0,…,Ic−1I_0,\ldots,I_{c-1}I0​,…,Ic−1​ are finite sets of positions in WWW, pairwise disjoint, and each is a chain in the sense that u<vu<vu<v in the same IjI_jIj​ implies bu≤bvb_u\le b_vbu​≤bv​. Then there exist pairwise disjoint finite sets of positions J0,…,Jc−1J_0,\ldots,J_{c-1}J0​,…,Jc−1​, each satisfying the same chain condition, with

⋃j=0c−1Jj=⋃j=0c−1Ij,\bigcup_{j=0}^{c-1}J_j=\bigcup_{j=0}^{c-1}I_j,j=0⋃c−1​Jj​=j=0⋃c−1​Ij​,

and continuous strictly increasing functions fj:R→Rf_j:\mathbb R\to\mathbb Rfj​:R→R such that each fjf_jfj​ tends to +∞+\infty+∞ at +∞+\infty+∞ and to −∞-\infty−∞ at −∞-\infty−∞, fj(u)=e(bu)f_j(u)=e(b_u)fj​(u)=e(bu​) for every u∈Jju\in J_ju∈Jj​, and fi(x)≠fj(x)f_i(x)\ne f_j(x)fi​(x)=fj​(x) for all real xxx whenever i≠ji\ne ji=j. The assertion includes c=0c=0c=0, empty lists, and empty individual chains; it preserves the union of selected positions without asserting preservation of each chain's cardinality.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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