# Effective barcodes for a four-element antichain between two chains

Let P(a,b) be the ordinal sum of a chain of a elements, an antichain of four elements, and a chain of b elements. Either chain may be empty. Write F_P(N) for the largest number of positive scaled translates of the vertex set of its order polytope in an arbitrary N-point set in its ambient real space.

**Theorem.** If a+b≤5, the descending barcode of P(a,b) is effective at every point count. For every a,b, the same bound holds at every sufficiently large point count, with the explicit threshold below. Its basic word is one 3, eleven 2s, eleven 1s and one 0, in that order. The score of this word is evaluated at order k=3+a+b, so the functions depend on the dimension.

For example, the five-dimensional pyramid over a four-cube has an effective barcode. In Mou’s dimension-five catalog this covers the two unproved poset types p5_001 and p5_047. In dimension six it covers p6_002, p6_048 and p6_195, belonging to two previously uncertified congruence classes. Its consequence at each period boundary is an exact extremal count. The full conjecture for arbitrary posets remains open. [Mou, Theorems 1.2 and 5.4, Conjecture 1.4 and Proposition 6.4](https://arxiv.org/html/2611.32429v2) · [Original certificate catalog](https://arxiv.org/src/2611.32429v2) · [Four-dimensional starting case](https://isitsolved.com/files/efaa74a17e8c1818fffa345fb2a3b9ba6a56786514c83edd40f4a2211a48423f/four-cube-effective-barcode.md)

Define
$$
 X_n=\binom{n}{k+1}+11\binom{n+1}{k+1}+11\binom{n+2}{k+1}+\binom{n+3}{k+1},
 \qquad Q_n=\sum_{j=0}^{n-1}X_j.
$$
Let n₀ be the least n≥k such that 4 binom(n+1,k+1)≥binom(n,k)+binom(n+1,k). The upper bound holds for all N≥X_{n₀}. In particular F_P(X_n)=Q_n for n≥n₀ in every dimension, and at all widths if a+b≤5. Mou’s lattice construction attains the period-boundary value. For one added element X_n=Σ_{j<n}j⁴ and Q_n=Σ_{j<n}Σ_{i<j}i⁴.

## Chains preserve the auxiliary certificates and the two-plane inequality

Adjoining a global bottom or top element replaces the strict order polynomial Ω(n) by Σ_{j<n}Ω(j). Thus each binom(n+i,s) in its expansion becomes binom(n+i,s+1), with the same basic labels. Linear extension counts stay the same. Any chain-based certificate under Mou’s Theorem 5.4 and adjacent-swap lemma lifts to either ordinal extension. Indeed adding or contracting a relation between original elements commutes with adjoining the new global element. The children and the contracted face have unchanged label multisets and extension counts. Every shuffle, admissibility check and matched pair in the old certificate is identical in the lift. Its terminal chain is again a chain. Induction on the certificate proves the assertion. This justifies lifting the four auxiliary certificates used below. [Mou, Sections 4–5](https://arxiv.org/html/2611.32429v2)

In a P(a,b) copy, the original sixteen cube vertices form a face: all lower chain coordinates there are zero and all upper ones are one before scaling and translation. Cutting along a difference between two antichain coordinates gives the corresponding ordinal extension of the original half-cube. The same applies to its chain and fork cut. For occupied medians in the two disjoint coordinate differences let Z₁,Z₂ count copies centered on these planes, according to the differences at the least vertex. Then 2(Z₁+Z₂)≤O, where O is the number of host points off both planes. On the distinguished cube face charge the off-diagonal corner farther from its median in each coordinate pair, allowing both choices in a centered pair. Each charge recovers the scale as the smaller absolute difference from the two medians. The signs recover the four original translation coordinates. The fixed zero/one pattern recovers all other translation coordinates. This gives two charges for one centered pair and four for two, without collisions. [Original charging argument](https://isitsolved.com/files/8dd9ac009f350685dcc1bd96af2b35fff88dc93dce81790f98c68c61910dad7c/four-dimensional-cube-grid-theorem.md)

## The first bar

Use K=K_k, Mou’s simplex score. Set D=binom(n,k), C=binom(n+1,k), H=binom(n+2,k), d=C−D, w=H−C and e=w−d. In particular e=binom(n,k−2). Abbreviate K(D), K(C), K(H) by D', C', H'. Define

    A=D'+7C'+4H',     J=D'+4C'+H',     L=D+4C+H,     B=(Q_n−J)/2.

Then X_n=2A+L. Both auxiliary half words P and S have score B at A. The next six P capacities are C,C,H,D,C,C, yielding score B+J at U=A+L. The S capacities there have the same multiset, and the bars just before A and just after U in S both have capacity C. The two lifted half-cube bounds are the same basic words as in the four-dimensional proof:

    P=(1,1,2,0,1,1,2,1,2,1,2,1),      S=(1,1,2,1,0,1,1,2,2,1,1,2).

Here are the details that make that proof valid at arbitrary order. The chain and fork period boundaries are E=D'+3C' and G=D'+5C'+2H'. Their next six capacities are D,C,C,C,C,H and C,D,C,C,H,C, respectively. Write θ=A+2C, g=θ+C, γ=B+3C'. Direct period sums give g=E+G+D+5C and γ=a(E)+b(G)+D'+5C' for the chain and fork scores a,b. Pascal’s identity gives E+D=4C', C'−D'=D and H'−C'=C. The half-cube bounds are

    F_half(g+q) ≤ γ+K(q)                       for 0≤q≤D,
    F_half(θ+D+T) ≤ B+2C'+D'+K(T)              for C≤T≤H.

To check the first one, write the chain and fork budgets as E+u,G+v. For D+q≤u≤D+5C the gap upper bound suffices. In the part u≥C+q the first D is full and the remaining loads, capped at C, sum to 5C+q. In the other part put x=C+q−u. The fork loads C+x in H, and after its D the chain takes y=q+d−x≤C. The endpoint increment inequality bounds K(y)−K(q) by K(C)−K(D+x)=D−K_{k−1}(x), which covers the fork’s excess. Without a gap in that interval, at most E+D+q points lie strictly below one occupied level and G+q above. The difference between target and the cutting bound is at least K(C)−K(q)−q≥0.

For the second bound the relative budgets satisfy u+v=2D+4C+T. The relative target is 2D'+4C'+K(T). Put λ=ℒ_k(T). From D+min(C,λ+1) to D+C, Proposition 4.6 bounds the two nonconstant terms K(C−i)+K(T+i) by K(C)+K(T), with i=D+C−u. At i=0 use equality. From D+C to D+4C, put x=u−D−C. For x≤T the remaining terms are bounded by K(x)+K(T−x). For x>T the two D bars are full and every other load is at most C. Pack these loads of total 4C+T under cap C. Their score is at most 4C'+K(T).

From D+4C to D+4C+T, let x=D+4C+T−u. When x≤d use K(T−x)+K_{k−1}(x)≤K(T): for T=C+z>C the shift recurrence gives T−ℒ_k(T)=d+z−ℒ_{k−1}(z)>d. At T=C use Lemma 2.3 for x<d, and equality for x=d. In particular K(T)−K(T−d)≥D. For d≤x≤C the fork earns C'+K(x−d); add K(T−x) and use superadditivity at T−d. For x≥C it earns at most C'+D'+K(x−C); use superadditivity at T. Without a gap on the whole interval the open budgets are at most E+D+λ and G+D. Their scores plus the first open population give exactly the target when evaluated at these upper limits, since K(λ)+λ=K(T). This proves both half bounds. [Mou, Lemmas 2.1–2.3, cutting Lemma 3.1 and Proposition 4.6](https://arxiv.org/html/2611.32429v2)

For N=X_n+r, 0≤r≤H, every gap whose smaller side has k₀ points between A−C and floor(N/2) yields at most Q_n+K(r). For k₀≤A the S shoulder uses the matching C bars. Inside the P block remove the equal end pairs twice. To spell out this reduction, at total W+r let u be the shorter prefix of a block of width W with matching ends C. If u≤r pay the full block and pool two excesses summing to r. For r≤u≤C use the binomial endpoint bound on u and C+r−u. If max(C,r)≤u≤C+r, pay first C in the shorter prefix and the through-penultimate bars in the longer one, and pool the residuals summing to r. Otherwise remove two full C bars. These comparisons pay one full block plus K(r) or reduce to the intervening block at the same surplus.

For the remaining H,D block let u≤v sum to H+D+r. For u≤r the longer fills the block. For r≤u≤D use the endpoint inequality at D. Otherwise set t=u−r, so v=D+H−t. For t≤w the second half bound charges D'+K(H−t) on the longer side. If u≤H apply the endpoint increment inequality Δ_u(t)≤Δ_H(t), where Δ_b(x)=K(b)−K(b−x). For u>H combine K(u−H) and K(H−t) by superadditivity.

For t≥w one has v−C≤D and v≥C. When both sides reach C their residuals sum to r+e because H+D=2C+e. Use the first half bound on both. If r+e≤H their score after the C bars is at most K(r)+Δ_H(e)=K(r)+d. If r+e>H, put h=H−r. Pack the two residuals under H. Their score is at most H'+K(e−h). The last subbar identity is Δ_H(h)=d−K_{k−2}(e−h) for 0≤h≤e, by applying the canonical recurrence at C and then at d. Also K_k(y)≤K_{k−2}(y). Indeed restrict simplex homotheties to a fixed face and sum the bounds over the parallel affine subspaces of that face, using superadditivity. This again bounds the residual score by K(r)+d. Here 2C'+d=H'+D'. If u=C−s<C, the other side has residual r+e+s≤D. Pay for the length-e increment at H and the length-s increment at C to get K(r+e+s)−K(r)≤d+Δ_C(s). This finishes the gap bound.

If a host violates the target, all four open-side populations at the two occupied medians are at most A−C−1. Thus both centered counts are at least 1+J+2C', using S at A−C. But

    4(1+J+2C')−2(A−C−1) = 6+8C'−2(D+C)>0

whenever 4C'≥D+C. This contradicts the charging inequality and proves the first-bar claim.

## Filling the rest of the period

We include a packing argument so the only width threshold in the theorem is 4C'≥D+C. In the descending period ending at X_n the capacities are binom(n−1,k) once, D eleven times, C eleven times, H once. For any distribution of loads with these individual caps, their total score is at most that of filling the bars in decreasing order. To prove this, fill a largest bar first by moving load into it from the other bars, using superadditivity or the endpoint inequality, until it is full or no load remains elsewhere. Consequently, if losses of t points from X_n can be realized using a submultiset of those capacities, the resulting score is a lower bound for B↓(X_n−t).

First consider the middle interval X_m+H_m≤N≤2A_n with n=m+1; a subscript indicates the width used in the formulas. For i=0,1,2 put Lᵢ(m)=A_m+iC_m and Uᵢ(m)=X_m−Lᵢ(m), and likewise at n. The corresponding P boundary scores sum to Q_m at width m. The pair of windows from Lᵢ(m) to Lᵢ(n) and from Uᵢ(m) to Uᵢ(n) pools exactly one descending target period as a multiset. For i=0 their labels are the entire P word at m and its last six labels at m followed by its first six at n. For i=1,2 the equal ends move identical labels between the windows. If k₀,N−k₀ lie in their respective windows, packing gives the desired gap bound.

These windows cover from b=max(A_m,N−U₀(n)) to min(floor(N/2),N−U₂(m)). Indeed consecutive left and right endpoints overlap since N−X_m≥C_m and N≤X_n−C_n, and U₀(m)<A_n since the half-period advance beyond its first six bars is positive. For larger k₀≤N/2 the two residuals after L₂(m) are at least r=N−X_m≥H_m and at most H_m+D_m, and sum to H_m+D_m+r. Both therefore pay H'_m; their remaining loads pack under D_m, yielding an excess over Q_m at most H'_m+K(r−H_m). This fits in the target period by allocating H_m to its first bar and r−H_m≤D_m to its second. Without an admissible gap, the medians yield count at most 2P(b)+b/2 by charging. If b=A_m, the target exceeds or equals Q_m+H'_m≥2B_m+A_m/2, since 2(J_m+H'_m)−A_m=D'_m+C'_m. Otherwise the i=0 window gives target at least P(b)+B_n+J_n, and b≤A_n−L_n≤2J_n. This proves the middle claim. [Original window argument](https://isitsolved.com/files/7b4e09b5996fc7dc076d7963fd22a9649d15375d06bb4f4ee2caa787e6121669/four-cube-barcode-between-fourth-powers.md)

It remains to treat N=X_n−t≥2A_n, 0≤t≤L_n, above X_m+H_m. Drop width-n subscripts. For every A≤k₀≤N/2 the two P prefixes after A have total L−t and fit, in score, into one copy of the block C,C,H,D,C,C. To verify this, let u≤v be their lengths. At equal end bars, if u is within the first bar and v ends before the last, allocate u to that last bar. If v enters the last bar, combine its partial load there with u, since their sum fits. Otherwise both fill the first bar and neither enters the last; remove the end pair. In the resulting H,D block, if v≥H combine its D remainder with u. For v≤H use superadditivity when u+v≤H and the endpoint inequality at H otherwise. These operations preserve the total load. The block is a submultiset of the descending period, so the gap bound follows.

For t≥D+2C, all k₀ from b=max(A_m,N−U₀(n)) to A fit the i=0 window, since N≥2A_n and U₀(m)<A_n. If b=A_m use the preceding middle-interval centered estimate. Otherwise b=A−t≤2J using the identity A−2J=D+2C. The i=0 window again gives B↓(N)≥P(b)+B+J≥2P(b)+b/2.

For 0≤t≤D+2C put v=ceil(t/2). The six bars before A−C in S, in reverse order, are D,D,C,C,D,D. Their width 4D+2C is at least v. We show the gap bound down to A−C−v. For k₀=A−x, 0≤x≤C, with x≥t the two matching C fragments combine to at most K(C−t), so the loss can be realized in one C. With x≤t the two deficits x,t−x start at A and U. They use at most the trailing C on the smaller side and the six bars before U on the larger side. For k₀=A−C−x with 0≤x≤v, start at A−C and U+C. Their paired rewards sum to Q_n. Their deficits x,t−x use at most the above six preceding bars and, on the larger side, one C followed backwards by the six before U. The combined multiplicities are at most five Ds, seven Cs and one H. Each configuration thus fits the descending period and has the desired gap bound.

Finally write l for the actual score lost on moving back v from A−C in S. Two copies of the six preceding bars fit in the descending period, using eight Ds and four Cs. Removing v from each gives score Q_n−2l at X_n−2v≤N, hence B↓(N)≥Q_n−2l. If no treated gap occurs, each open-side score is at most B−C'−l. A violation would force Z₁,Z₂≥1+J+2C' at the two medians and give the same positive contradiction as in the first bar. This completes the all-size upper bound above X_{n₀}. The width condition persists: 4(n+1)(n+1−k)/(2(n+1)−k) is increasing, being four times the reciprocal of the sum of two decreasing positive reciprocals.

## The finite initial sizes

For k=4,5,6,7,8 the first widths meeting the sufficient condition and their endpoint budgets are:

| Barcode order k | Dimension | First analytic width | Finite check through |
|---:|---:|---:|---:|
| 4 | 5 | 5 | 354 |
| 5 | 6 | 6 | 470 |
| 6 | 7 | 8 | 2,054 |
| 7 | 8 | 9 | 2,814 |
| 8 | 9 | 10 | 3,750 |

There is one geometric refinement for the finite calculation. For j=a+b the minimum union sizes of one, two and three distinct homotheties of the half pattern are 12+j, 18+2j and 24+3j, respectively. For different scales an intersection has at most one point, since a pair of shared points in a binary configuration determines scale from any differing coordinate. At equal scale project onto the j chain coordinates. The projected levels consist of j+1 affinely independent simplex vertices. One fiber has the twelve original half-cube vertices, and each of the other fibers contains one vertex. For distinct projected translations at most one ordered pair of levels overlaps and at least one of its two fibers is a singleton. For equal projected translations, distinct full translations disagree in the original four coordinates, so only the twelve-point fibers overlap, in at most six points. This last bound also follows by pairing original points along the nonzero translation.

For three copies, if their scales or projected translations differ, at most one pair can have overlap exceeding one, and that pair has overlap at most six. Their union then has size at least 3(12+j)−8. Otherwise all j singleton fibers contribute three each. In the main fiber three translates of a triangle times a square use at least 24 points. If the overlap graph has at most one edge the conclusion follows from the two-copy bound. Otherwise translate its middle vertex to the origin; both other displacements belong to the 62 nonzero differences of the twelve vertices. Enumerating all distinct pairs gives minimum 24. Three consecutive translations in one square coordinate attain 24, and two attain 18. This establishes the three bounds for every j. The companion Python source enumerates all the displacements directly.

The finite verifier evaluates the four lifted auxiliary barcodes and the target word. For a proposed half-pattern count Y all actual gap ranks i in an m-point host satisfy a(i)+b(m−i)≥Y. Choose the last such rank at most floor(m/3) and the first above it, say i,j. If either is missing there is no such host. At the level of point floor(m/3)+1 the centered count is at most min(i,m−j), so Y≤a(i)+b(m−j)+min(i,m−j) is necessary. Combining this test with the small-union bounds and padding gives a nondecreasing bound f on the half pattern. For the full shape let s≤N/2 be the largest open-side population of either occupied median. Then its count is at most min(f(s)+f(N−s),2f(s)+floor(s/2)) by the gap and charging inequalities. The program verifies this against the specified target at every s and each of the finite sizes in the table. The a+b=0 case is the previously proved four-cube theorem. These statements concern the specified ordinal sums. They leave the five-dimensional cube and other unrelated posets to be treated separately.

To reproduce the initial intervals, run `python3 independent.py`. It enumerates all admissible cut intervals, using a separate canonical-expansion implementation. The C++17 version can be built with `c++ -O3 -std=c++17 verify.cpp -o verify` and run with the barcode order and the finite endpoint as arguments, for example `./verify 8 3750`. Running `python3 interval_checks.py` checks every relevant gap at 428 sampled middle- and last-period point counts, including the transitions between the formulas. The proof for unbounded widths is the analytic argument above.
