Developing an On-line Encyclopedia of Enumerated Sets
Psychosocial transcendence through dynamic exchange and sonification with AI assistance
[All]
"Encyclopedia" names the thing I argued the corpus must not be. OEIS is a curated convenience collection: sequences enter because someone found them interesting. An encyclopedia of concept sets would inherit exactly that, and since the hypothesis under test is that memorable sizes are preferentially remembered and indexed, a collection assembled that way confirms it regardless of the truth. What the protocol specifies is a registry with pre-specified inclusion criteria — closer to a systematic review than to an encyclopedia.
Set-Closure Registry — Protocol v0.1
A registry of enumerated sets, designed to test whether the size of a set is influenced by how the set achieves closure.
This is a systematic-review-style protocol with pre-specified inclusion criteria, not an encyclopedia. The distinction matters: a searchable collection assembled by contribution or recall (the OEIS model) would be generated by the very preference under test, and would confirm it regardless of the truth.
1. Question
Do sets that lack an internal completeness criterion compensate by adopting an arithmetically convenient count?
Hypothesis. Chunkable N substitutes for structural closure. Sets closed by proof, by formal scheme, or by performance feedback have no need of a convenient count. Sets closed only by assertion borrow one from arithmetic.
Primary prediction. The rate of N divisible by 6 rises across strata: A (classification) < B (functional) < C (doctrinal).
2. Why the count of the primary outcome is 6 and not something else
Three candidate measures were considered. Two are confounded with magnitude, because strata differ systematically in typical size:
| class | rate in 1–20 | rate in 21–99 |
|---|---|---|
| 3-smooth (2*a·3*b) | 50.0% | 12.7% |
| prime | 40.0% | 21.5% |
| multiple of 6 | 15.0% | 16.5% |
Only divisibility by 6 is approximately flat in magnitude, so only it can be compared across strata without size-matching. It is therefore the pre-registered primary outcome. The other two are secondary and must be reported within size bands only.
3. Strata
| code | stratum | closure supplied by | why size-blind |
|---|---|---|---|
| A | classification | a proof or exhaustive enumeration | the count is not at anyone's discretion |
| B | functional | performance feedback | the count is optimised for play/deliberation, not recall |
| C | doctrinal | assertion | the stratum of interest |
| D | aesthetic | formal resolution in time | contains both exhaustive and composed cases within one repertoire |
Stratum A is the empirical null. No uniform-over-1–99 baseline is used anywhere in the primary analysis; that assumption was the weakest step in the preliminary work and is discarded here.
Stratum D is diagnostically valuable because a single composer or tradition supplies both closure types — Bach's 24 preludes and fugues are exhaustive over the key set, his 30 Goldberg variations are composed — which controls for period, genre and individual idiom.
4. Sampling frames
Entry into the registry is by frame position, never by the number. A frame is a closed, externally defined population; every member is coded, or a systematic sample is drawn by a rule fixed in advance.
| frame | population | enumeration source | method |
|---|---|---|---|
| A1 | regular and uniform polytopes, tilings | Coxeter, Regular Polytopes; Grünbaum & Shephard, Tilings and Patterns | census |
| A2 | crystallographic classifications | International Tables for Crystallography | census |
| A3 | classification theorems in a standard survey | a named handbook chapter | census |
| B1 | team sports on the Olympic/Commonwealth programme | official programme list | census |
| B2 | jury and bench sizes | comparative-law reference | census of listed jurisdictions |
| B3 | statutory minimum board/quorum sizes | company-law compendium | systematic |
| C1 | UN core human-rights instruments | OHCHR list | census, article counts |
| C2 | national constitutions | Comparative Constitutions Project | systematic sample of states |
| C3 | professional codes of ethics | member list of a named federation (e.g. IFAC, WMA) | census of members |
| D1 | variation sets | a fixed catalogue or dictionary entry | census of listed works |
| D2 | fixed poetic forms | Princeton Encyclopedia of Poetry and Poetics | census of entries |
Frames must be recorded in frames.csv with the population definition, the enumeration source, the population size, and how it was sampled. A frame whose population cannot be stated without reference to counts is not admissible.
5. Inclusion and exclusion
Include a named, bounded enumeration presented as constituting a whole, where the count is stated or unambiguously derivable, and the items are of comparable type.
Exclude:
- open-ended lists, inventories and indexes that accrete
- "top N" formats, where N is a presentation convention chosen by the lister
- sets whose count is not stated and cannot be derived without judgement
- duplicates: the same set appearing in two frames is coded once, at its earliest frame
Code as dependent, not excluded: sets whose N is a direct consequence of another set's N (24 preludes = 12 keys × 2 modes). Record derived_from. Dependent entries are excluded from the primary analysis and reported separately.
6. Counting rules
- Nested items. Count the top level. Record sub-counts in notes. 18 principles each with 3 sub-points → n = 18.
- Unnumbered framing material. Exclude preludes, arias, prefaces and codas not presented as members. Goldberg Variations → n = 30, aria noted.
- Variant recensions. Take the value in the enumeration source; put the others in n_history with dates.
- Adopted versus proposed. Record the adopted value; the proposal goes in n_history. SDGs → n = 17; "16" recorded with its date.
- Ranges. If the source gives a range (a ghazal of 5–15 couplets), the set is structural and n is left null with n_range filled. Such entries are excluded from the divisibility analysis and used only for the closure-type descriptives.
7. Closure-type decision tree
Apply in order; stop at the first that fits.
- Is there a proof, or an exhaustive enumeration over an explicitly defined domain? → exhaustive
- Is N fixed by approximating a continuous quantity, where a better N exists but costs disproportionately? → convergent
- Is N fully determined by a formal scheme (rhyme, key set, board geometry, physical constraint)? → structural
- Is there documented adjustment of N by negotiation among stakeholders? → negotiated
- Is there documented selection of N under performance feedback? → functional
- Do the compilers state that they stopped when new categories ceased to appear? → saturation
- Is there positive evidence of a mnemonic purpose — an explicit mnemonic device, liturgical recitation, oral transmission? → mnemonic
- Otherwise → unclear
mnemonic requires positive evidence. It is not the residual category; unclear is. This asymmetry is deliberate, since the hypothesis predicts mnemonic closure and a permissive residual would manufacture support for it.
8. Schema
Full field definitions in set_closure_schema.json. Summary:
Identification — entry_id, set_name, source_type, source_citation, source_url, year_first, tradition
Datum — n, n_range, n_definition (the counting rule actually applied), n_history (value:year;value:year)
Closure — closure_type, completeness_claimed (asserted / denied / partial / not_stated), generating_rule, derived_from, transmission
Sampling — stratum, frame_id, frame_position, provisional
Quality — coder, coder_confidence (1–3), notes
Two fields are cheap and unusually informative:
- completeness_claimed is an observable textual feature distinguishing "the seven X" from "seven of the X". It separates a claim of exhaustiveness from a mere enumeration at no coding cost.
- n_history turns the SDG 16→17 shift from a nuisance into evidence. Sets whose count drifted are direct observations of negotiated closure, and the direction of drift is itself testable: the prediction is drift toward divisibility, not away from it.
9. Coding quality
Two coders independently code a 20% subsample. Report Cohen's κ on closure_type; target κ ≥ 0.60. Below that, refine the decision tree and recode — do not adjudicate case by case, which launders disagreement into apparent agreement.
coder_confidence = 1 entries are excluded from the primary analysis and reported in a sensitivity arm.
10. Pre-registered analysis
Primary. Rate of n % 6 == 0, contrast A versus C, tested by permutation: shuffle stratum labels within size bands (1–9, 10–19, 20–39, 40–99) and recompute the contrast, 10,000 times. Report the observed difference, the permutation p, and a Mantel–Haenszel common odds ratio across bands.
Secondary, all within size bands:
- prime rate by stratum
- mean Ω(n) (prime factors with multiplicity) by stratum
- rate of N expressible as a×b with 2 ≤ a,b ≤ 9
- rate of N divisible by 18
Convergent test. For entries coded convergent, compute the continued-fraction convergents of the underlying ratio in advance and test whether the attested N is a convergent denominator. This is a point prediction and needs far fewer cases than a class-membership test. Worked case: logâ‚‚(3/2) gives denominators 2, 5, 12, 41, 53 — pentatonic and chromatic are the two affordable convergents, and 12 buys a ninefold accuracy gain over 5 for a 2.4× increase in N, while 41 buys only fourfold for 3.4×.
Sensitivity, reported for every result:
- Contamination fraction — what share of entries must have been included because of their size for the effect to arise from a null of no preference: f = (observed − null) / (1 − null)
- Weight capping — recompute with per-size weights capped at 3
- Leave-one-frame-out — recompute dropping each frame in turn
- Provisional exclusion — recompute on provisional == FALSE only
11. Power
| contrast | n per stratum |
|---|---|
| 6% vs 29% (the preliminary A-vs-C gap) | *45 |
| 16% vs 28% | *180 |
| 16% vs 24% | *430 |
Target 50–200 per stratum. Larger than a single-corpus design, but each frame is a closed population and therefore easier to enumerate than an open search.
12. Known limitations
- Ω(n) and divisor count remain magnitude-confounded even within bands, and should be read as descriptive.
- Stratum D is not a clean test on its own; its value is the within-repertoire comparison of exhaustive against composed closure.
- Closure type is a judgement, and the κ requirement is the only guard.
- Frames are not a random sample of frames. The frame list above was chosen for tractability, and no claim is made that it represents "all enumerated sets".
- The seed file is contaminated by construction (see below) and is excluded by default.
13. The seed file
set_closure_seed.csv contains the preliminary entries from the exploratory work, flagged provisional=TRUE and frame_id=X0-convenience. They were assembled from a single document about numerical patterns in set-sizes — that is, selected partly because their sizes were interesting.
They are retained only so that the contaminated and clean estimates can be compared directly. analysis.py excludes them by default. Including them requires the explicit --include-provisional flag, and any result so obtained must be reported as such.
*******************************| frame_id | stratum | population_definition | enumeration_source | population_size | sampling_method | sampling_rule |
| X0-convenience | C | exploratory entries recalled from one document about numerical patterns in set sizes | n/a | convenience | NOT ADMISSIBLE - retained only for contamination comparison | |
| A1-polytopes-tilings | A | classification theorems for regular and uniform polytopes and plane tilings | Coxeter, Regular Polytopes; Grunbaum & Shephard, Tilings and Patterns | census | ||
| B1-team-sports | B | team sports on the Olympic and Commonwealth Games programme; players on field per side | official programme lists | census | ||
| C1-un-instruments | C | UN core international human rights instruments; count of substantive articles | OHCHR list of core instruments | census | ||
| C2-constitutions | C | national constitutions in force; count of articles | Comparative Constitutions Project | systematic | every 3rd state alphabetically | |
| C3-ethics-codes | C | codes of ethics of member bodies of a named professional federation | federation member list | census | ||
| D1-variation-sets | D | works titled Variations in a fixed dictionary catalogue | Grove | census | ||
| D2-poetic-forms | D | fixed poetic forms with entries in a standard reference | Princeton Encyclopedia of Poetry and Poetics | census |
[All]