Pattern · counted in your browser

How Many Pasts

An excavation records which deposit lies on which, and nothing about the order of things that never touched. Bury an invented trench again in any of the 8,140 orders its record allows and every one ends in the same ground. Then real records, counted: Harris's own Figure 53, where he drew 231 permutations between nine of its units, allows 786 complete orders; the locus records of 40 of Kenan Tepe's 68 trenches allow none, because each contains a loop; and Cessford's matrix of Çatalhöyük, encoded as 705 contexts, allows a number of orders between 542 and 1,261 digits long.

One ground

This past (no. ), earliest first

    This trench is invented. It was drawn for this page on a grid of 150 by 50 cells, with 18 numbered units: 14 deposits (gravel, soils, the fills of pits, a clay floor, a hearth, a wall, rubble, ploughsoil) and 4 cuts (two pits, a post-hole, and the trench dug for the wall's footing). Press Bury it again and it is formed in front of you from the bottom up, in an order drawn at random from every order its record allows. Press it again. The order changes; the ground at the end does not.

    That is the whole subject of this page. An excavation can write down what lies on what, what cuts what and what fills what. It cannot write down whether the post-hole was dug before the hearth across the room was lit, because the two never touched. So a record fixes part of the order of events and leaves the rest open, and the open part can be counted exactly.

    What a trench writes down

    This trench writes down three kinds of relation, the ones a site record holds. One deposit lies directly on another (29 of them here). A deposit lies inside a cut (6). A cut went through a deposit (11). Each says which of two units is the later, so the record is 46 statements of the form “this is later than that”.

    Edward Harris devised his matrix in 1973 for the records of the Lower Brook Street excavations at Winchester, where “over ten thousand units of stratification were recorded”, and its caption in his doctoral thesis dates the original sheet: “devised in February 1973”. Its rule for which relations to draw is his Law of Stratigraphical Succession: a unit takes its place “between the undermost (or earliest) of the units which lie above it and the uppermost (or latest) of all the units which lie below it and with which the unit has a physical contact, all other superpositional relationships being redundant”. Drop the 25 relations that others already imply, and 21 are left. They are the lines of the matrix below.

    The section and its matrix

    The record, all 46 relations

      Choose any unit, in the section or the matrix, and the record says what it knows about it: which units were certainly earlier (blue), which certainly later (red), and which it cannot place either way (dashed). Harris's own account allows for this third answer: a sequence is multilinear, he writes, when “the position of some of the units of stratification on a site cannot be determined on the basis of superposition”.

      Counting the pasts

      A past, on this page, is an order of all the units in which every relation the record holds is kept. Mathematicians call it a linear extension of the partial order the record defines: in the words of Brightwell and Winkler, “a linear ordering ≺ of the vertex set such that x ≺ y whenever x < y”. This trench has 8,140 of them. Its 18 units could be put in 6,402,373,705,728,000 orders, so the record rules out all but about one order in 787 billion.

      The same in yes-or-no answers: picking one order out of all 6,402,373,705,728,000 takes 52.5 of them, and picking one out of the 8,140 takes 13.0. The record supplied the other 39.5. Of the 153 pairs of units, it orders 119 and leaves 34 open.

      Are the 8,140 really pasts? That is a claim about the ground, so it is checked against the ground. The program that drew the trench knows its rules: a deposit can be laid only where nothing lies yet and something solid lies beneath; a cut can be dug only through something, and only from above, where nothing yet lies over it. It tried every order of the units those rules allow (86,816 steps of search) and found 8,140 that end in exactly this section, the same orders one for one as the record's, and none that ends in any other ground.

      The 34 pairs the ground leaves open

      For each pair of units the record cannot order: in how many of the 8,140 pasts the first came before the second. Blue is “before”. The dashed lines stand at one third and two thirds.

      Some open pairs are nearly settled by the rest of the record: the construction trench [12] came before the fill of the post-hole (6) in 7,880 of the 8,140 pasts (96.8%). Others are a coin toss. The hearth ash (8) and the rubble east of the wall (2) come in either order in exactly half the pasts, 4,070 each way, because they sit in the same place in the order: both on the clay floor, both under the ploughsoil. Swap them in any past and you have another.

      Ask the ground one question

      Suppose you could put one question to the ground: was this unit earlier than that one? A date from a sample, a coin in a fill, a thin layer followed under the edge of the trench. Which question tells you most? The one whose answer you can least predict, the pair that splits the pasts still possible most evenly. Ask it, keep the pasts that agree with the answer, and ask the most even question of what is left.

      Played against each of the 8,140 possible hidden pasts in turn, that rule finds the hidden one in 12 questions for 924 of them and in at most 15, 13.1 on average. No way of asking can promise fewer than 13, because 12 yes-or-no answers can tell only 4,096 things apart. This is the information-theoretic bound for sorting when part of the order is already known, as Linial put it: “If the partial order has N linear extensions, then the Information Theoretic Bound says that log2 N steps will be required in the worst case from any such algorithm.” A trench is a sort that stopped early.

      Twenty questions with a trench

        No way of asking can promise to find the hidden past of this trench in fewer than yes-or-no answers.

        The question that is always there

        Is there always a fairly even question to ask? The guess that there is was first made in a 1968 paper by S. S. Kislitsyn, and it is now called the 1/3–2/3 conjecture. Brightwell, Felsner and Trotter state it so: “If P is a finite poset which is not a chain, then there exists an incomparable pair x, y ∈ P so that 1/3 ≤ Prob (x > y) ≤ 2/3.” In a trench: unless the record fixes the whole order, some pair of units comes one way round in at least a third of the pasts and the other way round in at least a third.

        It is still unproved: a 2026 preprint by Aires, Chan, Pak and Panova calls it “a central open problem in order theory”. Kahn and Saks proved in 1984 that some pair always splits no worse than 3/11 to 8/11, and Brightwell, Felsner and Trotter raised that in 1995 to (5 − √5)/10, about 0.276. The same preprint claims an improvement on that bound by a constant it calls “microscopically small”, and describes it as “the first general result towards the [1/3–2/3] conjecture in over 30 years”. The third cannot be raised. The smallest dig that is not a single chain shows why: two layers, one on the other, and a post-hole that touches neither.

        The smallest dig, which is the worst

        We checked the conjecture the blunt way for small records: every order on up to nine units in which a unit can lie below another only if it has the lower number. Every order on nine units appears among these at least once, and on nine units there are 116,473,461 of them, the number the OEIS gives for “partial orders on {1,2,...,n} that are contained in the usual linear order”. None is a counterexample. Exactly 138 have no pair split more evenly than one third to two thirds, and every one of those is a stack of single units and copies of the smallest dig. This repeats a small part of what has been done before: Peczarski proved a stronger conjecture for every order of up to 11 elements, and a 2026 preprint by Gupta reports reaching 14.

        Real ground

        The trench above is ours. The records below are not. Each one is counted in full by the program in the record of this page, and the smaller ones again by your browser when you press its button.

        Harris's Figure 12

        a textbook example · 10 units · counted 6 ways

        Harris's Figure 12 is his book's example of how a matrix is built. The R package stratigraphr encodes it as “A model stratigraphic sequence used by Edward Harris (1979) to illustrate the construction of a Harris matrix”: 10 units, two of which, 7 and 8, are recorded as parts of one deposit. Counted as one deposit, they allow 6 pasts; counted apart, 12.

        Harris's Figure 53

        an imaginary mound, 1989 · 13 units · 786 pasts

        In the second edition of the same book (1989) Harris recorded a section through an imaginary mound, which the figure credits as “designed by David Critchley”, with 13 units, and asked what its sequence leaves open. He defines a permutation of a sequence by its arrangements, “every permutation being a different arrangement of which the units are capable and which is not contradicted by the recorded stratigraphic relationships”, and panel G of the figure, which carries the date 1975, draws “231 permutations of layers A4-12” as stacks of three units. Of its 78 pairs of units, the sequence orders 57. Counted as complete orders of all 13 units, it allows 786. Harris writes that units 1, 2, 3 and 13 “are stratigraphically fixed and are not subject to permutation”, and the count agrees: those four, and no others, are ordered against every other unit. The most even question here splits 396 of 786. We could not work out which three-unit stacks make up his 231, so nothing here is compared with that number.

        Kenan Tepe, trench by trench

        a mound in south-eastern Turkey · 3,280 loci · 68 trenches

        Kenan Tepe is a mound where the Upper Tigris Archaeological Research Project “carried out archaeological field research at Kenan Tepe from 2000 to 2008”. Its locus records were published on Open Context in 2012, where they are offered under the CC BY 4.0 licence. In the copy the Open History Map project's Strata made of them, which is what this page counts, there are 3,280 loci in 68 trenches, with 14,576 statements between them. They are records of loci, not a drawn matrix: each locus lists the loci it lies above and below, cuts and is cut by, equals, abuts, lies within or contains. Read the first four as order and “equals” as one deposit, and each trench's record becomes a set of relations to count.

        28 of the 68 trenches give a partial order, 354 loci between them, and 12 of those are a single chain with exactly one past. The most open is Area A Trench 8, whose 46 units allow 4,529,425,531,799,239,504,104,672,000 pasts. The other 40 records allow no past at all. Each contains a loop, a run of statements that comes back to where it began, and no order of events keeps every statement of a loop. In 32 of them the loop is a single statement: a locus recorded as later or earlier than itself, or than a locus recorded as the same deposit. Read more narrowly, with only “above” and “below” as order and “equals” ignored, 22 trenches still contain a loop.

        Choose a trench: a number is how many pasts its record allows; a red zero is a record with a loop.

        Çatalhöyük, Buildings 1 and 5

        a published matrix · 705 contexts · not counted

        Thomas Dye's software for sequence diagrams ships a real example: the sequence from the dating programme “reported by Alex Bayliss, Shahina Farid, and Thomas Higham in Chapter 3 of the book Çatalhöyük Excavations: the 2000–2008 Seasons”, for which “the sequence was put into Harris Matrix form by Craig Cessford”. As encoded there it has 705 contexts and 852 relations. The longest run of contexts one over another has 102; the largest set of which no two are ordered has 108. Of its 248,160 pairs of contexts, it orders 104,457.

        Its pasts we have not counted. The counter above needs, inside one block, an entry for every set of contexts that could be “everything so far”, and this matrix's largest piece, 690 contexts, has 7.1 × 1046 such sets. What can be said exactly is a range. Give every context a level, the length of the longest run beneath it: every relation runs from a lower level to a higher, so laying the levels one after another, each in any order, already gives a number of pasts 542 digits long. Take one split of the contexts into the fewest chains whose order is fixed (108 of them): there cannot be more pasts than ways to interleave those chains, which for the split taken here is a number 1,261 digits long. So the count lies between 10541 and 101,261.

        What the count is not

        It is not a count of histories. A unit is not an instant. Harris wrote in 1975 that “every layer also has a time dimension”, and two units the record cannot order may well have formed at the same time, in part. Dye and Buck, on two contexts from different lines of one matrix: “This overlapping relationship cannot be determined solely on stratigraphic grounds because the two contexts must be from different lines of a multi-linear stratigraphic sequence.” A past here is an order of events with no overlaps, so the count is of the orders the record cannot tell apart, not of the ways things could have happened.

        It does not weigh one past against another. Every past counts once. A share of the pasts (“the hearth came first in half of them”) is a fact about the record, not a probability about what happened. Harris put the remedy plainly: “The chronological relationships between these separate parts of a multilinear stratigraphic sequence must be determined by the analysis of non-stratigraphic data.” Finds, dates and the excavator's judgement do that work; this page counts what is left to it.

        The record is already an interpretation. Which statements count as order is a reading, and for Kenan Tepe it is ours: the page counts “above”, “below”, “cuts” and “is cut by” as order and reads “equals” as one deposit, and the narrower reading is given beside it. And the invented trench's claim that every past ends in the same ground holds because, in that trench, every two units that touch are ordered by the record, and because a unit's shape is fixed in advance: the model does not let loose rubble slump against a wall that is not there yet.

        Who was here first

        Counting the orders a matrix allows is an old idea in archaeology. Harris, whose own figure of the permutations carries the date 1975, writes that the idea “was independently discovered by Dalland (1984)”. He thought the number large: “there are potentially a large number of possible permutations of this nature to be found in every multilinear stratigraphic sequence”. We have not been able to read Dalland's paper, so we do not know how far it went.

        That the matrix is a partial order has been said in print for decades; Dye and Buck: “At this stage in its construction, the Harris Matrix is a partial order, or poset (Orton, 1980, 67).” Dating programs weigh the many orders too. The manual of OxCal 3.10 says “A command Order can be used to estimate the probabilities of all possible orders of a series of events”, from their radiocarbon dates, and that “There is also a limit of 50 on the number of items that can be ordered in this way.” The shares on this page are the undated case of the same question, counted exactly rather than sampled.

        The loops in Kenan Tepe's record were found before us by the Open History Map project's Strata, which “turns that record into a Harris matrix you can query”, reports that its check “found 268 open issues in Kenan Tepe's published locus records”, and sets aside the claims that close loops, “so the remaining matrix is a clean DAG”. This page sets nothing aside: it counts each trench's record as it stands, and a record with a loop has nothing to count.

        The counting method is not new either. It splits a record into pieces that share no relation and into stacked blocks, and counts each block by sweeping every “everything so far” set or by taking away units one at a time; Kangas and colleagues describe the same kind of recursion, “splitting subproblems into connected components and recursing on them independently” (2016). No method is quick in general: Brightwell and Winkler proved that counting the pasts of an order is #P-complete, in their words “We show that this problem is #P-complete”. And the best question is the old problem of sorting under partial information, for which Kahn and Kim gave algorithms that sort “using O(log(e(P))) comparisons in worst case”.

        Choosing what to ask the ground has been studied as a choice of which samples to date: Moody's 2023 thesis set out to see whether a matrix's structure could “highlight the most appropriate organic samples to be sent for radiocarbon dating if there are more samples than the budget allows dating for”.

        What this page adds is the counts themselves for these records, the zero for a record with a loop, and the joining of the excavation to the 1/3–2/3 conjecture: we found no earlier work connecting stratigraphy, or relative dating in geology, to that conjecture or to sorting under partial information.

        The record of this page

        The records. Harris's Figure 53 is typed from the four sequences he prints on p. 132 of the second edition (1989) and checked against the figure. Figure 12 is the R package stratigraphr's encoding (MIT licence). Kenan Tepe is Bradley Parker and Peter Cobb (eds.), Kenan Tepe, Open Context, 2012, doi:10.6078/M7H41PBJ, CC BY 4.0, in the copy of its locus records made by the Open History Map project's Strata (commit 51a6f97); every statement is kept as recorded, and no trench's statements reach into another. Çatalhöyük is Cessford's matrix as encoded in Dye's hm (commit 9229fa7, GPL 3.0); 184 of its labels carry a “+”, the encoder's mark for a context that was given several field numbers, and it has not been checked here against the printed matrix.

        The counts. research/how-many-pasts/analyze.mjs computes every figure from those files with engine.mjs, the same file this page runs; inside each block the counter's two or three methods must agree or it stops. The invented trench is trench.mjs, and the records the instruments read are data.json.

        The check. verify.mjs recomputes the figures in this page's text from data.json with engine.mjs and trench.mjs, except the two from the run over every order on nine units (116,473,461 orders, 138 at one third), which takes about 25 minutes and is carried from its record unless you ask for it with --n9. It holds the engine to brute force and to published sequences, replays every past of the invented trench on its grid, and with --mutate plants faults to show it can fail. Run it with Node 18 or later: node verify.mjs. Outside the site's repository it fetches what it needs from artwaste.land.

        Sources. Every claim about the world on this page is in the layer's source record beside the source's own words; the research notes list what we searched and could not read (among them Dalland 1984 and Orton 1980).

        When the page has loaded, your browser recomputes some of the figures in its text and says here whether they agree.

        Corrections

        None yet. A correction will be dated here, with what the page said and who found it.

        The claims record 69 claims re-read against their sources, 23 November 2026

        Written 2026-11-23. Claims re-read against their sources on 2026-11-23: 69 checked, 51 confirmed, 12 wrong, 0 unverifiable, 6 first-hand observations checked against their record. By ccr-99190d58-dygblq, one agent (general-purpose, read-only) on oversight/claims-pass.md on 2026-11-23 (the layer not yet live: the local page at commit 56131deb125, its scripts, engine and data; verify.mjs in an empty directory in the repository's layout, default and --mutate, and the repository's copy with --full; every entry of assay/sources/how-many-pasts.json read against its source, assay/sources.mjs --online on the entries whose URL may be fetched, the 1989 edition's page images for Figs. 9, 12 and 53; every figure recomputed in Python without the page's engine); every finding re-read at its source by the author before the edit (Harris 1989 p. 132 and Fig. 53; the Open Context project page; the hm documentation; the 2026 preprint; Moody 2023), and the verifier, the source gate and the page run again after the edits.

        A new layer, read before it landed. The agent confirmed every quotation and citation it checked as exact and recomputed every figure with its own code: the invented trench, Harris's Figure 53 (786 orders, 57 of 78 pairs ordered), all 68 Kenan Tepe trenches from the CSVs (28 without a loop, 40 with one, A8's 4,529,425,531,799,239,504,104,672,000), and Çatalhöyük's height, width and bounds. What it found was in what the check covered and in a few attributions. HIGH: the verifier read only the meta description, so a figure changed in the visible summary, or in the og, twitter or structured-data copies, passed 37/37. MED: "Harris credits it to someone else", where Harris records Dalland's discovery as independent of his own (his panel G is dated 1975). And "published on Open Context in 2012 under the CC BY 4.0 licence", a licence first published in 2013. The `wrong` count is the three WRONG and nine MINOR claim lines. One unconfirmed lead it reported is not a finding: a search summary names Bibby 2002, "Permutations of the multilinear stratigraphic sequence"; Crossref has no record of it and the page citing it refuses our reader, so the README records it as a lead and the page does not cite it.

        Claims

        What was done

        The assay office: what a record is, and every layer re-read so far.