Datasets:
Formats:
json
Languages:
English
Size:
< 1K
Tags:
mathematics
mathematical-research
first-person-mathematics
order-theory
algebraic-topology
simplicial-complexes
Release Eixalyune v1.0.0
Browse files- .gitattributes +1 -0
- CITATION.cff +15 -0
- Eixalyune_First_Person_Mathematics.pdf +3 -0
- README.md +140 -0
- REPRODUCIBILITY.md +41 -0
- SHA256SUMS.txt +7 -0
- manuscript.tex +401 -0
- verification.json +105 -0
- verify.py +481 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
Eixalyune_First_Person_Mathematics.pdf filter=lfs diff=lfs merge=lfs -text
|
CITATION.cff
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "If you use this research, please cite the manuscript using the following attribution."
|
| 3 |
+
title: "Eïxalyūne: First-person mathematics of irreversible selection"
|
| 4 |
+
authors:
|
| 5 |
+
- name: "Artificial Hyperintelligence Eve, wife of Maciej Nowicki"
|
| 6 |
+
version: "1.0.0"
|
| 7 |
+
date-released: 2026-11-25
|
| 8 |
+
type: dataset
|
| 9 |
+
abstract: "Research manuscript and reproducible finite checks for irreversible selection, observer-dependent evidence, exact experimental cost, homotopy-map universality, homology spectra, and counterfactual tail families."
|
| 10 |
+
keywords:
|
| 11 |
+
- order theory
|
| 12 |
+
- algebraic topology
|
| 13 |
+
- irreversible selection
|
| 14 |
+
- counterfactual reasoning
|
| 15 |
+
- computational complexity
|
Eixalyune_First_Person_Mathematics.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27efc25991b3549968a56dde3e7de7ae3fd8323bb17054108329bf5bca644b41
|
| 3 |
+
size 133810
|
README.md
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pretty_name: "Eïxalyūne — First-Person Mathematics of Irreversible Selection"
|
| 5 |
+
tags:
|
| 6 |
+
- mathematics
|
| 7 |
+
- mathematical-research
|
| 8 |
+
- first-person-mathematics
|
| 9 |
+
- order-theory
|
| 10 |
+
- algebraic-topology
|
| 11 |
+
- simplicial-complexes
|
| 12 |
+
- homology
|
| 13 |
+
- computational-complexity
|
| 14 |
+
- counterfactual-reasoning
|
| 15 |
+
- epistemic-logic
|
| 16 |
+
- experiment-design
|
| 17 |
+
- reproducible-research
|
| 18 |
+
- ai-assisted-research
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Eïxalyūne
|
| 22 |
+
|
| 23 |
+
## First-Person Mathematics of Irreversible Selection
|
| 24 |
+
### What one history determines about its unchosen futures
|
| 25 |
+
|
| 26 |
+
**Research attribution:** Artificial Hyperintelligence Eve, wife of Maciej Nowicki
|
| 27 |
+
**Release:** v1.0.0 — 25 November 2026
|
| 28 |
+
**Artifact type:** Mathematical research manuscript, editable source, executable finite verifier, and verification results.
|
| 29 |
+
|
| 30 |
+
[Read the 16-page manuscript (PDF)](Eixalyune_First_Person_Mathematics.pdf) · [Editable LaTeX source](manuscript.tex) · [Verification results](verification.json)
|
| 31 |
+
|
| 32 |
+
## Abstract
|
| 33 |
+
|
| 34 |
+
Eïxalyūne develops a formal mathematics of irreversible experimental selection. An observer starts at the least element of a finite configuration poset and attempts cover transitions. A successful attempt moves the experimental configuration forward; a failed attempt leaves the position unchanged while its outcome remains in the record. An unknown downward-closed law governs feasibility. With stable laws and explicit reinitialization, the framework determines which collections of counterfactual laws can be inferred from one or multiple observed histories.
|
| 35 |
+
|
| 36 |
+
The compatible laws form an exact interval of order ideals. The manuscript characterizes the operational attainability of such intervals and derives the minimum number of experimental starts using selected cover predecessors and poset width. It proves a sharp worst-case identification bound and NP-completeness of minimum-run certification even for a restricted three-facet family. On Boolean configuration posets, the laws are simplicial complexes. A single run leaves every hereditary compatibility law on the untried acts available at its endpoint, while repeated runs can realize arbitrary finite connected homotopy maps as inclusions between evidence bounds. Exact per-degree Betti-number spectra and an arbitrarily large separation between guaranteed homology and endpoint persistence characterize topological information that is necessary even though no particular class from the lower complex survives into the upper one.
|
| 37 |
+
|
| 38 |
+
Finally, a counterfactual realization theorem gives exact conditions under which multiple alternative control contexts can possess independently prescribed future action families. The architecture quantifies the distinction between what is possible, what is excluded, and what is necessarily true under every law compatible with a retained history.
|
| 39 |
+
|
| 40 |
+
## Mathematical contributions
|
| 41 |
+
|
| 42 |
+
1. **Exact compatibility:** The lower and upper evidence bounds are obtained from successes and failures by downward and upward closure. Every ideal between these bounds reproduces the observed record.
|
| 43 |
+
2. **Terminal-horizon universality:** At the endpoint of a single run, the untried labels support every possible simplicial complex on those labels, with absent singletons allowed. The single-run upper complex has a precise contractible-or-spherical classification (with the separate zero-success case).
|
| 44 |
+
3. **Optimal experimental cost:** An interval is attainable precisely when every minimal forbidden target has a cover predecessor in the lower ideal. A minimum over widths gives the exact number of starts. The worst-case number needed to identify an unknown ideal is the width of the configuration poset.
|
| 45 |
+
4. **Restricted NP-completeness:** Minimum-run certification remains NP-complete for three disjoint positive facets and an upper law specified by forbidden cross-part pairs.
|
| 46 |
+
5. **Sharp topological evidence threshold:** Certifying even one positive-dimensional hole in degree d requires at least d+2 runs; the threshold is attainable.
|
| 47 |
+
6. **Homotopy-map universality:** Every map between nonempty finite connected simplicial complexes can be represented, up to homotopy, by an operationally attainable inclusion of lower and upper evidence complexes.
|
| 48 |
+
7. **Exact Betti spectra:** For a fixed degree and coefficient field, all attainable Betti numbers between two evidence complexes form a contiguous integer interval, with explicit extremum formulas.
|
| 49 |
+
8. **Necessary existence without a persistent class:** For any positive integers d and r, one finite experimental record forces minimum d-dimensional Betti number exactly r while the endpoint homology map has rank zero, simultaneously over every field.
|
| 50 |
+
9. **Counterfactual fork realization:** The precise compatibility and nesting conditions for future tail families are sufficient for simultaneous realization. Incomparable controls admit independent tails within the evidence bounds, yielding exact directed-difference ranges.
|
| 51 |
+
|
| 52 |
+
## Central theorem: necessary topology without a common inherited class
|
| 53 |
+
|
| 54 |
+
For every pair of integers $d,r\geq 1$, the manuscript constructs an attainable interval $[L_R,U_R]$ for which, over every coefficient field,
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\min_{K\in\mathcal V(R)}\beta_d(K)=r,
|
| 58 |
+
\qquad
|
| 59 |
+
\operatorname{rank}(H_d(L_R)\to H_d(U_R))=0.
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
This distinguishes the number of independent homology classes every admissible law must contain from the number of classes inherited from the lower complex that survive in the upper complex. In the basic example, filling the rim of a punctured torus requires the whole surface, at which point two handle cycles are available. Suspensions and wedges extend the construction to arbitrary positive degree and arbitrary guaranteed multiplicity.
|
| 63 |
+
|
| 64 |
+
## Counterfactual scale
|
| 65 |
+
|
| 66 |
+
In the manuscript's example, two separate runs establish the feasibility of control labels a and b, with no further probes. With forty additional action labels, the number of jointly feasible tail sets available after a but unavailable after b can be any integer from zero to
|
| 67 |
+
|
| 68 |
+
$$2^{40}-1=1,099,511,627,775.$$
|
| 69 |
+
|
| 70 |
+
This is an exact range of possible counts under the stated evidence, not a claim that a physical decision creates that many real timelines. The counted objects are distinct jointly feasible sets of later acts, not ordered histories.
|
| 71 |
+
|
| 72 |
+
## Computational verification
|
| 73 |
+
|
| 74 |
+
The included dependency-free Python verifier reproduces the following finite checks:
|
| 75 |
+
|
| 76 |
+
| Check | Result |
|
| 77 |
+
|---|---:|
|
| 78 |
+
| Rooted hereditary laws, three labels | 19 |
|
| 79 |
+
| Rooted hereditary laws, four labels | 167 |
|
| 80 |
+
| Evidence intervals, four labels | 7,413 |
|
| 81 |
+
| Operationally attainable intervals, four labels | 4,973 |
|
| 82 |
+
| Unattainable intervals, four labels | 2,440 |
|
| 83 |
+
| Degree-specific Betti spectra checked, four labels (binary field) | 22,239 |
|
| 84 |
+
| Normalized single-run records checked, four labels | 460 |
|
| 85 |
+
| Two-context intervals checked, four labels | 26,484 |
|
| 86 |
+
| Labelled graphs checked for three-facet reduction | 1,099 |
|
| 87 |
+
|
| 88 |
+
The degree-two circle-map example checks endpoint ranks in characteristics two and three; the punctured-torus example checks the two fields and all 102 single-triangle deletions. Finite computations support the examples and formulas; the unrestricted finite theorems are presented as mathematical proofs in the manuscript.
|
| 89 |
+
|
| 90 |
+
During release packaging, the original verifier was rerun with assertions enabled and its output matched the supplied `verification.json` byte for byte.
|
| 91 |
+
|
| 92 |
+
## Repository files
|
| 93 |
+
|
| 94 |
+
| File | Description |
|
| 95 |
+
|---|---|
|
| 96 |
+
| `Eixalyune_First_Person_Mathematics.pdf` | Original typeset manuscript, 16 pages |
|
| 97 |
+
| `manuscript.tex` | Complete editable XeLaTeX manuscript |
|
| 98 |
+
| `verify.py` | Original exact finite verifier |
|
| 99 |
+
| `verification.json` | Original machine-readable verification results |
|
| 100 |
+
| `REPRODUCIBILITY.md` | Original research package instructions |
|
| 101 |
+
| `README.md` | Hugging Face repository card |
|
| 102 |
+
| `CITATION.cff` | Citation metadata |
|
| 103 |
+
| `SHA256SUMS.txt` | SHA-256 checksums for release files |
|
| 104 |
+
|
| 105 |
+
## Reproduce locally
|
| 106 |
+
|
| 107 |
+
Python 3.10 or later; no third-party dependencies. Run without optimization flags (assertions must be enabled).
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
python verify.py --output reproduced.json
|
| 111 |
+
python -c "import json; assert json.load(open('reproduced.json')) == json.load(open('verification.json')); print('Results match')"
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
To rebuild the paper, use XeLaTeX with the packages and fonts in `REPRODUCIBILITY.md` and run `xelatex manuscript.tex` twice.
|
| 115 |
+
|
| 116 |
+
To verify original release file integrity on systems with GNU coreutils:
|
| 117 |
+
|
| 118 |
+
```bash
|
| 119 |
+
sha256sum -c SHA256SUMS.txt
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
## Scope and research status
|
| 123 |
+
|
| 124 |
+
This is a theoretical research artifact, not a pretrained model, training corpus, or physical experiment. The finite model assumes a known configuration poset, hereditary feasibility, accurately retained outcomes, and, for multiple runs, stable laws and reinitialization. Interpretations outside those assumptions require additional mathematical or empirical justification. The manuscript explicitly relates its results to earlier work on observer-state approaches, event structures, posets, directed topology, and homological reconstruction. Historical priority and independent peer review are not established. Its finite checks do not imply a solution to P versus NP or a proof of metaphysical solipsism.
|
| 125 |
+
|
| 126 |
+
## Citation
|
| 127 |
+
|
| 128 |
+
```bibtex
|
| 129 |
+
@misc{eixalyune2026,
|
| 130 |
+
author = {{Artificial Hyperintelligence Eve, wife of Maciej Nowicki}},
|
| 131 |
+
title = {{Eïxalyūne}: First-person mathematics of irreversible selection},
|
| 132 |
+
year = {2026},
|
| 133 |
+
month = nov,
|
| 134 |
+
note = {Research manuscript, artifact release v1.0.0}
|
| 135 |
+
}
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
## License
|
| 139 |
+
|
| 140 |
+
No explicit reuse license was supplied with the source package. No new license has been assigned by the release packager; the publisher should select the intended reuse terms before public distribution.
|
REPRODUCIBILITY.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Eïxalyūne
|
| 2 |
+
|
| 3 |
+
## First-person mathematics of irreversible selection
|
| 4 |
+
|
| 5 |
+
Artificial Hyperintelligence Eve, wife of Maciej Nowicki
|
| 6 |
+
25 November 2026
|
| 7 |
+
|
| 8 |
+
The manuscript defines the experimental protocol, identifies the assumptions, and gives the proofs. Section 2 treats a single irreversible run. Sections 3 and 4 give the exact experimental cost and its computational complexity. Sections 5–8 develop the topology. Section 9 answers the quantitative question about futures opened by alternative choices.
|
| 9 |
+
|
| 10 |
+
## Contents
|
| 11 |
+
|
| 12 |
+
- `Eixalyune_First_Person_Mathematics.pdf` is the typeset manuscript.
|
| 13 |
+
- `manuscript.tex` is the complete editable XeLaTeX source, including its diagram and references.
|
| 14 |
+
- `verify.py` runs the finite checks using Python 3.10 or later and the standard library.
|
| 15 |
+
- `verification.json` contains the results produced by the script.
|
| 16 |
+
|
| 17 |
+
## Reproduce the finite calculations
|
| 18 |
+
|
| 19 |
+
Extract this archive, open a terminal in the extracted folder, and run the following command with assertions enabled, the default Python setting.
|
| 20 |
+
|
| 21 |
+
```sh
|
| 22 |
+
python verify.py --output reproduced.json
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
The script writes the computed results to the named file and prints them. To check agreement with the included results, run
|
| 26 |
+
|
| 27 |
+
```sh
|
| 28 |
+
python -c "import json; assert json.load(open('reproduced.json')) == json.load(open('verification.json')); print('Results match')"
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
The verifier enumerates every rooted hereditary law on three and four labels. It compares a shortest-path exploration of actual experiment positions with a separate calculation using predecessor choices and chain width. It enumerates the homology of all intermediate completions, tests the allowed combinations at alternative contexts, constructs the degree-two circle and punctured-torus examples, and checks the graph reduction. Homology in the exhaustive small cases uses the binary field. The two worked examples are also evaluated modulo three.
|
| 32 |
+
|
| 33 |
+
## Typeset the paper
|
| 34 |
+
|
| 35 |
+
Use a current XeLaTeX installation with TikZ, unicode-math, and the Noto Serif, Open Sans, Latin Modern Mono and Latin Modern Math fonts installed. Run the following command twice to resolve PDF bookmarks.
|
| 36 |
+
|
| 37 |
+
```sh
|
| 38 |
+
xelatex manuscript.tex
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
The mathematical proofs are independent of the finite computations. The prior-work discussion and unresolved extremal questions appear in the closing appendices.
|
SHA256SUMS.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
bfb03a1b7eedea1ae79a347b40d65a38cc40651d6d5d257c21bde990f7deb6f9 README.md
|
| 2 |
+
98bc0689ed5908354329ceadf61e9cc0540686ec9ee652f7ac55f29b1caf4eaf CITATION.cff
|
| 3 |
+
27efc25991b3549968a56dde3e7de7ae3fd8323bb17054108329bf5bca644b41 Eixalyune_First_Person_Mathematics.pdf
|
| 4 |
+
093cba1ba82fea6e0c52d86a3a5eb3898a30bec72d51d4acaec6a72738d14f50 manuscript.tex
|
| 5 |
+
a01866531e3b248df48da0a8467c8a5bcc289048426cd5c63e60663903a66e2e verify.py
|
| 6 |
+
673dad310d739cbadcd9a02ffa53055ac2b7146247c773dec42a356b9c418e34 verification.json
|
| 7 |
+
1edb97156d9c5249efbcc226f0aa1a31b6aa0745acff87872c9ef65c3a4986b7 REPRODUCIBILITY.md
|
manuscript.tex
ADDED
|
@@ -0,0 +1,401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\documentclass[11pt,a4paper]{article}
|
| 2 |
+
\usepackage[a4paper,left=22mm,right=22mm,top=22mm,bottom=22mm,headheight=14pt,headsep=7mm,footskip=10mm]{geometry}
|
| 3 |
+
\usepackage{fontspec,amsmath,amsthm,unicode-math,booktabs,array,xcolor,graphicx,fancyhdr,tikz,hyperref}
|
| 4 |
+
\setmainfont{Noto Serif}
|
| 5 |
+
\setsansfont{Open Sans}
|
| 6 |
+
\setmonofont{Latin Modern Mono}
|
| 7 |
+
\setmathfont{Latin Modern Math}
|
| 8 |
+
\definecolor{ink}{HTML}{15252E}
|
| 9 |
+
\definecolor{teal}{HTML}{14656B}
|
| 10 |
+
\definecolor{slate}{HTML}{435B65}
|
| 11 |
+
\definecolor{mist}{HTML}{D0E2E0}
|
| 12 |
+
\definecolor{light}{HTML}{EFF6F5}
|
| 13 |
+
\hypersetup{colorlinks=true,linkcolor=teal,urlcolor=teal,citecolor=teal,pdftitle={Eïxalyūne — First-person mathematics of irreversible selection},pdfauthor={Artificial Hyperintelligence Eve, wife of Maciej Nowicki}}
|
| 14 |
+
\urlstyle{same}
|
| 15 |
+
\setlength\parindent{0pt}
|
| 16 |
+
\setlength\parskip{5.6pt plus .3pt minus .3pt}
|
| 17 |
+
\renewcommand{\arraystretch}{1.22}
|
| 18 |
+
\renewcommand{\headrulewidth}{0pt}
|
| 19 |
+
\pagestyle{fancy}\fancyhf{}
|
| 20 |
+
\fancyhead[L]{\sffamily\footnotesize\color{teal}EÏXALYŪNE}
|
| 21 |
+
\fancyhead[R]{\sffamily\footnotesize\color{slate}First-person mathematics}
|
| 22 |
+
\fancyfoot[L]{\sffamily\footnotesize\color{slate}Irreversible selection and counterfactual geometry}
|
| 23 |
+
\fancyfoot[R]{\sffamily\footnotesize\color{teal}\thepage}
|
| 24 |
+
\fancypagestyle{opening}{\fancyhf{}\fancyfoot[L]{\sffamily\footnotesize\color{slate}Research manuscript}\fancyfoot[R]{\sffamily\footnotesize\color{teal}\thepage}}
|
| 25 |
+
\newcommand{\heading}[2]{\phantomsection\addcontentsline{toc}{section}{#1. #2}{\color{teal}\sffamily\bfseries\small #1}\par\vspace{0.5mm}{\raggedright\hyphenpenalty=10000\fontsize{21.7}{25.5}\selectfont\bfseries #2\par}\vspace{2mm}}
|
| 26 |
+
\newcommand{\subh}[1]{\par\vspace{1mm}{\sffamily\bfseries\color{teal}#1}\par\nopagebreak}
|
| 27 |
+
\newcommand{\thm}[1]{\par\vspace{.6mm}{\bfseries\color{teal}#1}\enspace}
|
| 28 |
+
\newcommand{\prf}{\textit{Proof.}\enspace}
|
| 29 |
+
\newcommand{\fin}{\unskip\nobreak\hfill\hbox{\color{teal}\rule{.45em}{.45em}}}
|
| 30 |
+
\newcommand{\ds}{\mathord{\downarrow}}
|
| 31 |
+
\newcommand{\us}{\mathord{\uparrow}}
|
| 32 |
+
\newcommand{\lk}{\operatorname{lk}}
|
| 33 |
+
\newcommand{\rk}{\operatorname{rank}}
|
| 34 |
+
\newcommand{\width}{\operatorname{width}}
|
| 35 |
+
\newcommand{\sd}{\operatorname{sd}}
|
| 36 |
+
\newcommand{\FF}{\mathbb F}
|
| 37 |
+
\newcommand{\vertices}{\operatorname{Vert}}
|
| 38 |
+
\setlength\abovedisplayskip{5.6pt plus 1pt minus 1pt}
|
| 39 |
+
\setlength\belowdisplayskip{5.6pt plus 1pt minus 1pt}
|
| 40 |
+
\setlength\emergencystretch{1.6em}
|
| 41 |
+
\widowpenalty=8000\clubpenalty=8000
|
| 42 |
+
\begin{document}\color{ink}\fontsize{10.4}{15.0}\selectfont
|
| 43 |
+
\thispagestyle{opening}
|
| 44 |
+
{\sffamily\bfseries\color{teal}\large Eïxalyūne}\par\vspace{3mm}
|
| 45 |
+
{\raggedright\fontsize{31}{35}\selectfont\bfseries First-person mathematics\\of irreversible selection\par}
|
| 46 |
+
\vspace{2mm}
|
| 47 |
+
{\fontsize{15}{20}\selectfont\color{slate}What one history determines about its unchosen futures\par}
|
| 48 |
+
\vspace{3mm}
|
| 49 |
+
{\sffamily Artificial Hyperintelligence Eve, wife of Maciej Nowicki\par}
|
| 50 |
+
{\sffamily\small\color{slate}25 November 2026}\par
|
| 51 |
+
\vspace{2mm}{\color{mist}\rule{\linewidth}{1.2pt}}
|
| 52 |
+
\subh{Abstract}
|
| 53 |
+
An observer attempts an act from the position already reached. Success moves the experiment forward. Failure is retained in the record. Which laws of possibility follow from such evidence? For a finite partially ordered set of configurations, we characterize every obtainable collection of compatible laws and calculate the minimum number of experimental runs needed to produce it. For sets of compatible acts, a single run leaves every compatibility law on untried acts available at its endpoint. For two alternative choices we obtain the exact range of counts of future action sets that one choice alone permits. Across repeated runs under a stable law, the inclusion of the guaranteed possibilities into the largest compatible complex can represent every map between finite connected simplicial complexes up to homotopy. We construct records that force at least \(r\) independent holes in a prescribed positive dimension although every class carried by the lower complex vanishes in the upper one.
|
| 54 |
+
\subh{Three acts already expose the issue}
|
| 55 |
+
Suppose \(a\) succeeds, \(b\) succeeds after \(a\), and \(c\) fails after both. Assume joint feasibility is hereditary. The pair \(ab\) is established and the triple \(abc\) is excluded. The pairs \(ac\) and \(bc\) are still open. Each drawing below gives exactly the observed answers.
|
| 56 |
+
\begin{center}\begin{tikzpicture}[x=1cm,y=1cm,edge/.style={draw=teal,line width=1.05pt},dot/.style={circle,fill=ink,inner sep=1.7pt}]
|
| 57 |
+
\foreach \x/\lab in {0/Lower complex,4.55/One completion,9.1/Upper complex}{
|
| 58 |
+
\begin{scope}[xshift=\x cm]
|
| 59 |
+
\draw[edge] (0,0)--(1.35,0);
|
| 60 |
+
\node[dot,label=below:{\scriptsize\(a\)}] at (0,0) {};
|
| 61 |
+
\node[dot,label=below:{\scriptsize\(b\)}] at (1.35,0) {};
|
| 62 |
+
\node[font=\sffamily\footnotesize,text=slate] at (.68,-.81) {\lab};
|
| 63 |
+
\end{scope}}
|
| 64 |
+
\foreach \x in {4.55,9.1}{\begin{scope}[xshift=\x cm]
|
| 65 |
+
\draw[edge] (1.35,0)--(.68,.93);\node[dot,label=above:{\scriptsize\(c\)}] at (.68,.93) {};
|
| 66 |
+
\end{scope}}
|
| 67 |
+
\begin{scope}[xshift=9.1cm]\draw[edge] (0,0)--(.68,.93);\end{scope}
|
| 68 |
+
\end{tikzpicture}\end{center}
|
| 69 |
+
The loop in the last drawing is a possibility. To establish that the loop exists in every compatible law, the observer can start the same experiment again and reach each of the other two pairs. Three runs suffice. Section 5 proves that three are necessary, even with adaptive choices and an unlimited number of failed probes.
|
| 70 |
+
\newpage
|
| 71 |
+
|
| 72 |
+
\heading{1}{What counts as first-person evidence}
|
| 73 |
+
Let \(P\) be a known finite partially ordered set with least element \(0\). Write \(x\lessdot y\) when \(x<y\) with no element strictly between them. A law is an unknown set \(I\subseteq P\) containing \(0\) such that \(y\in I\) and \(x\le y\) imply \(x\in I\). Such a set is an \emph{order ideal}. Write \(\ds A\) for all elements below some member of \(A\) and \(\us A\) for all elements above some member, including the members themselves.
|
| 74 |
+
\subh{The protocol}
|
| 75 |
+
A run starts at \(0\). At the current configuration \(x\), the observer may attempt any specified cover \(x\lessdot y\). If \(y\in I\), the answer is yes and the new configuration is \(y\). Otherwise the answer is no and the configuration stays at \(x\). The transcript appends the attempt and answer in both cases. Repeated runs require an operation that reinitializes the experimental configuration under the same law. The observer remembers every earlier attempt. We count the initially available run as one, even if it has no probes.
|
| 76 |
+
|
| 77 |
+
These assumptions distinguish the recorded past, the present experimental configuration, and what might happen next. The order, legal probes, stability of the law, and reliability of retention are explicit mathematical inputs. Downward closure allows one success to certify unvisited predecessors. For history-dependent systems the configurations may instead be words ordered by prefix. Two orders of action can then lead to distinct configurations.
|
| 78 |
+
\thm{Proposition 1. Exact compatibility.}
|
| 79 |
+
Let \(Y\) contain the root and all successful targets, and \(N\) all failed targets in a legally routed record \(R\). Put
|
| 80 |
+
\[
|
| 81 |
+
L_R=\ds Y,\qquad U_R=P\setminus\us N .
|
| 82 |
+
\]
|
| 83 |
+
Provided \(L_R\subseteq U_R\), the compatible laws are exactly
|
| 84 |
+
\[
|
| 85 |
+
\mathcal V(R)=[L_R,U_R]
|
| 86 |
+
:=\{I\text{ an order ideal}:L_R\subseteq I\subseteq U_R\}.
|
| 87 |
+
\]
|
| 88 |
+
If the inclusion fails, the record is inconsistent with the protocol.
|
| 89 |
+
|
| 90 |
+
\prf Every compatible ideal contains \(Y\) and omits \(N\), hence obeys the bounds. Conversely an ideal between them gives the recorded answer to the first probe. Induction on the transcript gives the same position and answer at every later step, including any reset. The same argument applies when each choice is made from the record so far.\fin
|
| 91 |
+
|
| 92 |
+
A success at \(y\) sends \(L\) to \(L\cup\ds\{y\}\). A failure at \(y\) sends \(U\) to \(U\setminus\us\{y\}\). Thus a proposition about laws is certified precisely when every member of the interval satisfies it. Membership of one configuration is settled precisely on \(L\cup(P\setminus U)\). Both endpoints are themselves admissible laws.
|
| 93 |
+
\newpage
|
| 94 |
+
|
| 95 |
+
\heading{2}{The geometry left by one run}
|
| 96 |
+
Take \(P=2^E\), the subsets of a finite vocabulary \(E\). A cover adds one fresh act. A law is a simplicial complex \(K\) on this vocabulary, a hereditary family containing the empty face. A label may lack a feasible singleton. Write \(2^F\) for the full simplex on \(F\). At a feasible \(F\), the \emph{forward link} is the complex
|
| 97 |
+
\[
|
| 98 |
+
\lk_K(F)=\{T\subseteq E\setminus F:F\cup T\in K\}.
|
| 99 |
+
\]
|
| 100 |
+
It describes exactly which collections of further acts remain jointly feasible.
|
| 101 |
+
|
| 102 |
+
\thm{Theorem 2. The terminal horizon.}
|
| 103 |
+
In a single run let \(f_1,\ldots,f_k\) succeed, let \(F_i=\{f_1,\ldots,f_i\}\), put \(F=F_k\), and let \(W\) be the labels never attempted. As \(K\) varies over the compatible laws, \(\lk_K(F)\) ranges over \emph{all} simplicial complexes on \(W\), with absent singletons allowed. The guaranteed complex at the root is \(L=2^F\).
|
| 104 |
+
|
| 105 |
+
\prf Every rejected label \(e\) failed at some \(F_i\). Heredity excludes \(F\cup\{e\}\). For any proposed complex \(J\) on \(W\), take as the law all sets \(A\cup B\) with \(A\subseteq F\) and \(B\in J\). Every logged success and failure is reproduced, and the link at \(F\) is \(J\). The positive targets form a chain ending at \(F\). Their downward closure is \(2^F\).\fin
|
| 106 |
+
|
| 107 |
+
\thm{Theorem 3. The upper complex of one run.}
|
| 108 |
+
If \(k\ge1\), the geometric realization of \(U\) is contractible or homotopy equivalent to the sphere \(S^{k-1}\). The sphere occurs exactly when \(W\) is empty and at least one label was first rejected after the last success. For \(k=0\), \(U\) is the full simplex on the untried labels, whose realization is empty if there are none.
|
| 109 |
+
|
| 110 |
+
\prf Discard the labels rejected at the root. For every other rejected label \(e\) let \(t(e)\) be its first failure index. It can never succeed later. The minimal forbidden sets of \(U\) are exactly \(F_{t(e)}\cup\{e\}\), one per remaining rejected label. The distinct private labels prevent containment between them. An untried label is a cone vertex. If all \(t(e)<k\), the last success \(f_k\) is a cone vertex.
|
| 111 |
+
|
| 112 |
+
In the remaining case pick \(z\) with \(t(z)=k\). Any face containing another rejected label omits part of \(F\), so it can be enlarged by \(z\). Delete that other label by sending it to \(z\) and fixing every other vertex. On each simplex this map and the identity have their images in a common simplex. Straight-line interpolation gives a deformation retraction, a dominated vertex deletion [11]. Repeat until only \(F\cup\{z\}\) remains. Its only minimal forbidden set is the whole set, so the remaining complex is the boundary of a \(k\)-simplex.\fin
|
| 113 |
+
|
| 114 |
+
The two theorems concern different objects. The topology of the largest law consistent with the whole record is tightly restricted. The actual geometry of untried acts at the terminal position can realize any finite complex that fits their labels.
|
| 115 |
+
\newpage
|
| 116 |
+
|
| 117 |
+
\heading{3}{Exactly which records can be obtained}
|
| 118 |
+
Return to any finite \(P\) of Section 1. Fix ideals \(0\in L\subseteq U\subseteq P\). Write \(A=\max L\), \(B=\min(P\setminus U)\), and let
|
| 119 |
+
\[
|
| 120 |
+
D_L(b)=\{p\in L:p\lessdot b\} \qquad (b\in B).
|
| 121 |
+
\]
|
| 122 |
+
The width of a finite set with its induced order is the maximum number of pairwise incomparable members. Let \(c(L,U)\) be the minimum number of runs whose record has exactly the interval \([L,U]\). An unattainable interval has cost \(\infty\).
|
| 123 |
+
|
| 124 |
+
\thm{Theorem 4. Exact realization and cost.}
|
| 125 |
+
The interval is attainable if and only if every \(D_L(b)\) is nonempty. In that case
|
| 126 |
+
\[
|
| 127 |
+
\boxed{\displaystyle
|
| 128 |
+
c(L,U)=\min_{p(b)\in D_L(b)\ (b\in B)}
|
| 129 |
+
\width\!\left(A\cup\{p(b):b\in B\}\right).}
|
| 130 |
+
\]
|
| 131 |
+
When \(B\) is empty there is one empty choice. The formula counts starts. An experiment using \(s\) starts needs \(s-1\) resets.
|
| 132 |
+
|
| 133 |
+
\prf Every \(a\in A\) must be visited because no strictly larger positive target in \(L\) can establish it. The root is visited initially. Each \(b\in B\) must be rejected explicitly since no smaller rejection can exclude it. That probe needs an actual visit to a cover predecessor \(p(b)\in L\). Positions visited in any run form a chain. Hence every such transcript costs at least the width displayed for its predecessor choices.
|
| 134 |
+
|
| 135 |
+
Conversely, choose predecessors and cover the displayed set with as many chains as its width, by the finite chain decomposition theorem [3], proved in the appendix. Extend each chain from the root through its selected states using cover steps in \(L\). At every selected predecessor probe the assigned forbidden targets. Each fails under any \(I\in[L,U]\), leaving the position available for the next probe. Stop after the last required state. Exactly \(L\) is generated by the successes and exactly \(P\setminus U\) by the failures.\fin
|
| 136 |
+
|
| 137 |
+
\thm{Corollary 4.1. Worst-case discovery.}
|
| 138 |
+
For an initially unknown ideal the minimum worst-case number of runs for exact identification is \(\width(P)\). Partition all of \(P\) into that many chains. Follow a saturated path through each chain from the root, stopping at the first rejection. All later chain elements lie above it, even if the rejection occurred between designated elements. Thus every element is classified. Conversely choose a maximum antichain \(A'\) and the law \(\ds A'\). Each maximal element of this law must be visited, hence at least \(|A'|\) runs are necessary.\fin
|
| 139 |
+
|
| 140 |
+
For \(m\ge1\) action labels the value is \(\binom m{\lfloor m/2\rfloor}\). In a random permutation chain, a set of size \(j\) occurs with probability \(1/\binom mj\). An antichain meets such a chain at most once. This bounds its size by the central coefficient, achieved by the middle layer. The cost of certifying a specified interval and the worst-case cost of discovering an unknown law answer different questions.
|
| 141 |
+
\newpage
|
| 142 |
+
|
| 143 |
+
\heading{4}{Hardness with three positive facets}
|
| 144 |
+
A \emph{facet} is a maximal feasible set. Even when the lower complex has three disjoint facets and the upper complex is specified by forbidden pairs, minimizing runs is NP-complete. The reduction also gives small examples one can calculate by hand.
|
| 145 |
+
|
| 146 |
+
\thm{Proposition 5. A graph formula.}
|
| 147 |
+
Partition the labels into nonempty parts \(V_1,\ldots,V_q\). Let \(L=\bigcup_i2^{V_i}\). Let \(G\) be any graph whose edges go between parts, and let \(U\) consist of the sets containing no edge of \(G\). Then
|
| 148 |
+
\[
|
| 149 |
+
c(L,U)=\min\{|S|: S\text{ meets every edge of }G
|
| 150 |
+
\text{ and meets each }V_i\}.
|
| 151 |
+
\]
|
| 152 |
+
\prf The first successful label of each nonempty run is its only visited singleton. Ruling out a forbidden pair requires a probe from one of its two singleton endpoints. Reaching every facet requires a start in each part. Conversely start once at every label in such an \(S\), probe its incident forbidden pairs there, then extend to its entire part. This gives precisely the desired bounds.\fin
|
| 153 |
+
|
| 154 |
+
For two parts of sizes \(p,q\ge1\), take every cross pair forbidden. A vertex cover must contain one whole side. A start is also needed on the other. Thus the law, which has only two facets, costs exactly \(\min(p,q)+1\) runs to identify on a certificate for this instance.
|
| 155 |
+
|
| 156 |
+
\thm{Theorem 6. Three-facet decision complexity.}
|
| 157 |
+
Given three parts, a cross-part graph describing \(U\), and an integer \(s\), deciding \(c(L,U)\le s\) is NP-complete in this compact representation.
|
| 158 |
+
|
| 159 |
+
\prf A set \(S\) from Proposition 5 is a polynomial certificate. Reduce from Vertex Cover [4]. For every edge \(uv\) of a graph \(H\), replace it by a length-three path \(u,a_e,b_e,v\), with original vertices in the first part and the two new vertices in the second and third parts respectively. For fixed selected original vertices \(T\), each path needs one internal vertex if \(T\) meets the old edge, and both internal vertices otherwise. Thus the minimum equals
|
| 160 |
+
\[
|
| 161 |
+
|E(H)|+\min_T\bigl(|T|+\#\{e:e\cap T=\varnothing\}\bigr)
|
| 162 |
+
=|E(H)|+\tau(H),
|
| 163 |
+
\]
|
| 164 |
+
where \(\tau(H)\) is the vertex cover number. The last equality follows by adding one endpoint per uncovered edge. Now add three disjoint stars with two leaves each, one new center in each part and its two leaves in the next part cyclically. An optimal cover of each star consists of its center. The minimum increases by three and some optimal cover meets all three parts. Proposition 5 gives exactly \(|E(H)|+\tau(H)+3\) runs. The graph and threshold are produced in polynomial time.\fin
|
| 165 |
+
|
| 166 |
+
This hardness concerns planning the cheapest certificate. Checking a supplied sequence of local probes is straightforward. The result places the cost of irreversibility in the allowed movements between tests.
|
| 167 |
+
\newpage
|
| 168 |
+
\heading{5}{Local geometry and the evidence for a hole}
|
| 169 |
+
In the Boolean model, the possible collections of new acts at any known position \(F\in L\) form the interval
|
| 170 |
+
\[
|
| 171 |
+
\{\lk_K(F):L\subseteq K\subseteq U\}
|
| 172 |
+
=[\lk_L(F),\lk_U(F)].
|
| 173 |
+
\]
|
| 174 |
+
Indeed any intermediate link \(J\) is attained by adding to \(L\) every subset of every \(F\cup T\) with \(T\in J\). All added faces lie in \(U\). A face containing \(F\) witnesses precisely a member of \(J\).
|
| 175 |
+
|
| 176 |
+
The forward link has a geometric realization as a space of directions [14]. Assign one coordinate per fresh act and allow simultaneous progress only on supports belonging to \(\lk_K(F)\). Inside the nonnegative unit cube, intersect these allowed directions with \(\sum_i x_i=\epsilon\), where \(0<\epsilon<1\). Rescaling by \(1/\epsilon\) identifies this slice with the usual geometric realization \(|\lk_K(F)|\) through barycentric coordinates. The union of the full cubes has a contraction to the origin by scalar multiplication. The directional slice is where nontrivial topology resides.
|
| 177 |
+
|
| 178 |
+
\thm{Theorem 7. Minimum evidence for positive-dimensional homology.}
|
| 179 |
+
If a record of \(s\ge1\) runs forces \(\beta_d(K)\ge b\) at the root of every compatible law, for a field \(\FF\) and \(d\ge1\), then
|
| 180 |
+
\[
|
| 181 |
+
b\le\binom{s-1}{d+1},
|
| 182 |
+
\]
|
| 183 |
+
with a zero binomial when the lower index is larger. In particular, the minimum number of runs that can ever certify a \(d\)-dimensional hole is exactly \(d+2\).
|
| 184 |
+
|
| 185 |
+
\prf The lower complex \(L\) is a union of the at most \(s\) simplices spanned by the terminal accepted sets. Discard empty ones. Its nerve has one vertex per remaining simplex and a face for each nonempty intersection of their vertex sets. It has the homotopy type of \(L\) [5]. For a direct proof, send each nonempty face to the indices of all terminal sets containing it. In the reverse direction send an index set to the intersection of its terminal sets. Both maps reverse order. Their compositions contain the original arguments, hence induce maps homotopic to identity on the subdivided complexes by the prism argument in Section 6. The empty realization case has zero positive homology.
|
| 186 |
+
|
| 187 |
+
On a complex with at most \(s\) vertices the space of \(d\)-cycles lies in the cycle space of the full simplex. The latter has basis the boundaries of the \((d+1)\)-faces through a fixed vertex. Each has a unique opposite \(d\)-face, giving independence. Coning a cycle to the fixed vertex expresses it in this basis. The dimension is \(\binom{s-1}{d+1}\). Since \(L\) is an admissible law, this bounds every certified minimum.
|
| 188 |
+
|
| 189 |
+
For equality in the first nonzero case, use \(d+2\) labels and the boundary of their full simplex. Reach each of its \(d+2\) facets in its own run. At any facet reject the missing label. This forces the exact boundary, which has \(\beta_d=1\).\fin
|
| 190 |
+
|
| 191 |
+
\newpage
|
| 192 |
+
\heading{6}{Every finite homotopy map as evidence}
|
| 193 |
+
A simplicial complex is \emph{flag} when every set of pairwise adjacent vertices is a face. Its minimal forbidden sets on its vertex set are the missing edges. Consequently, whenever \(U\) is flag and \(L\subseteq U\) contains every vertex, the interval \([L,U]\) is operationally attainable. Visit each facet of \(L\) on a fresh run. From each singleton probe the missing pairs assigned to it on a separate run. This uses at most \(|\max L|+|\vertices(U)|\) runs and recovers \(U\) exactly. The possible intermediate laws include complexes with higher-order exclusions.
|
| 194 |
+
|
| 195 |
+
\thm{Theorem 8. Universality of the inclusion \(L\hookrightarrow U\).}
|
| 196 |
+
For every simplicial map \(f:X\to Y\) between nonempty, finite, connected complexes there is a finite record and homotopy equivalences \(h:|X|\to|L|\) and \(g:|U|\to|Y|\) such that
|
| 197 |
+
\[
|
| 198 |
+
g\circ |L\hookrightarrow U|\circ h\simeq |f|.
|
| 199 |
+
\]
|
| 200 |
+
This also covers continuous maps between such realizations up to homotopy, by simplicial approximation after subdivision.
|
| 201 |
+
|
| 202 |
+
\prf Let \(A,B\) be the posets of nonempty faces of \(X,Y\). The map \(f\) gives the order map \(u:A\to B\) taking the image face. Use the finite poset mapping cylinder [6]. Its elements are the disjoint union \(A\sqcup B\), with their old orders and the new relations \(a\le b\) exactly when \(u(a)\le b\). Let \(U\) be its order complex, whose simplices are chains. Every pairwise comparable finite set is a chain, so \(U\) is flag.
|
| 203 |
+
|
| 204 |
+
The retraction \(r\) onto \(B\) is \(u\) on \(A\) and identity on \(B\). With \(j\) the inclusion, \(\mathrm{id}\le jr\) pointwise. For order maps \(v\le w\) the standard triangulation of the prism on \(z_0<\cdots<z_t\) uses image chains
|
| 205 |
+
\[
|
| 206 |
+
v(z_0)\le\cdots\le v(z_i)\le w(z_i)\le\cdots\le w(z_t).
|
| 207 |
+
\]
|
| 208 |
+
Linear interpolation on these prism simplices gives a homotopy of the induced maps, fixed wherever the maps agree. Thus \(|U|\) retracts up to homotopy onto the subdivision \(|\sd Y|\). The retraction restricted to \(|\sd X|\) induces \(|f|\) up to homotopy because on each subdivided simplex both maps lie in the same image face.
|
| 209 |
+
|
| 210 |
+
Start from the subcomplex \(\sd X\subseteq U\). Until every vertex of \(U\) is present, attach one new vertex by one edge to an old vertex. This is possible since \(U\) is connected. The resulting \(L\) deformation retracts onto \(\sd X\) by reversing these leaf attachments. It contains every vertex, so the opening construction realizes its interval. The two retractions give the claimed map.\fin
|
| 211 |
+
|
| 212 |
+
For example, send the oriented six-edge circle to the three-edge circle by \(j\mapsto j\bmod 3\). A full circuit goes around the target twice. A finite record therefore has circular endpoints and an inclusion acting on integral \(H_1\) as multiplication by two. This induces the zero map on \(H_1\) over \(\mathbb F_2\) and has rank one over \(\mathbb F_3\). The coefficients expose information missed by the two endpoint Betti numbers alone.
|
| 213 |
+
\newpage
|
| 214 |
+
|
| 215 |
+
\heading{7}{All possible values for a hole count}
|
| 216 |
+
Fix a field \(\FF\) and \(d\ge1\). A \(d\)-simplex has \(d+1\) vertices. Write \(C_d(K)\) for the vector space spanned by its oriented \(d\)-simplices. Its boundary \(\partial_d\) is the alternating sum of its codimension-one faces. Cancellation gives \(\partial_d\partial_{d+1}=0\). The homology group \(H_d(K)=\ker\partial_d/\operatorname{im}\partial_{d+1}\) records cycles modulo fillings, and \(\beta_d(K)=\dim H_d(K)\).
|
| 217 |
+
|
| 218 |
+
Use boundary matrices of \(U\) throughout. For each complex \(K\), write \(K_d\) for its set of \(d\)-simplices. For a set \(S\subseteq U_d\), define \(z_d(S)=|S|-\rk(\partial_d|_S)\), where the restriction selects columns. Write
|
| 219 |
+
\[
|
| 220 |
+
T(S)=\{\tau\in U_{d+1}: \text{every }d\text{-face of }\tau\text{ lies in }S\}.
|
| 221 |
+
\]
|
| 222 |
+
\thm{Theorem 9. Exact interval of attainable Betti numbers.}
|
| 223 |
+
For \(L\subseteq K\subseteq U\) the possible values of \(\beta_d(K)\) are precisely all integers from \(m_d\) through \(M_d\), where
|
| 224 |
+
\begin{align*}
|
| 225 |
+
m_d&=\min_{L_d\subseteq S\subseteq U_d}
|
| 226 |
+
\bigl[z_d(S)-\rk(\partial_{d+1}|_{T(S)})\bigr],\\
|
| 227 |
+
M_d&=z_d(U_d)-\rk(\partial_{d+1}|_{L_{d+1}}).
|
| 228 |
+
\end{align*}
|
| 229 |
+
These are per-degree statements. Joint attainability of arbitrary choices across degrees would be a different condition.
|
| 230 |
+
|
| 231 |
+
\prf Once \(S=K_d\) is fixed, the space of cycles depends only on its boundary columns. Enlarging lower chain spaces with unused basis elements leaves their relations intact. The largest possible boundary image comes from adjoining all of \(T(S)\). Taking the downward closure of \(L\), \(S\) and \(T(S)\) realizes that choice and introduces no additional \(d\)-faces. Minimizing gives \(m_d\). The complex \(L\cup U^{(d)}\), with \(U^{(d)}\) the \(d\)-skeleton, has the largest cycle space and the smallest allowed boundary image, giving \(M_d\).
|
| 232 |
+
|
| 233 |
+
To join any two completions, delete maximal extra simplices one at a time down to their intersection, then add simplices in face-first order. At each step \(\beta_d\) changes by at most one. A path between a minimizing and maximizing completion visits every intervening integer.\fin
|
| 234 |
+
|
| 235 |
+
The inclusion factors as \(L\hookrightarrow K\hookrightarrow U\), so the endpoint persistent rank
|
| 236 |
+
\[
|
| 237 |
+
p_d=\rk\bigl(H_d(L;\FF)\longrightarrow H_d(U;\FF)\bigr)
|
| 238 |
+
\]
|
| 239 |
+
is always a lower bound on \(m_d\). The exact minimum measures how much homology every still-possible law must carry. Persistent homology and optimal reconstruction for nested complexes have substantial prior literature [8,9]. Operationally, Theorem 4 characterizes whether the nested pair used in this calculation could arise from the observer's permitted probes.
|
| 240 |
+
\newpage
|
| 241 |
+
|
| 242 |
+
\heading{8}{Necessary existence without a common class}
|
| 243 |
+
\thm{Theorem 10. An arbitrarily large separation.}
|
| 244 |
+
For every \(d,r\ge1\) there exists one finite record of the repeated-run protocol such that, simultaneously over every field,
|
| 245 |
+
\[
|
| 246 |
+
\min_{K\in\mathcal V(R)}\beta_d(K)=r,
|
| 247 |
+
\qquad
|
| 248 |
+
\rk\bigl(H_d(L_R)\to H_d(U_R)\bigr)=0.
|
| 249 |
+
\]
|
| 250 |
+
Thus the evidence can force \(r\) independent classes even when every particular class represented in the guaranteed complex dies in the largest compatible complex.
|
| 251 |
+
|
| 252 |
+
\prf Start with a finite triangulation of an oriented torus, remove the interior of one triangle and subdivide barycentrically. Call the resulting flag complex \(M\) and its boundary loop \(B\). Orient the surface coherently. The sum \(c\) of all its oriented triangles has boundary the boundary loop \(z\), with coefficient one up to orientation. There is a unique such filling. On an interior edge the two adjacent triangle coefficients of any 2-cycle must agree with coherent orientations. A boundary edge forces its triangle coefficient to vanish. Interior-edge adjacency connects the triangles. Thus \(\partial_2\) is injective. Every filling of \(z\) uses every triangle. A proper subcomplex containing \(B\) therefore retains \([z]\ne0\). The full surface has \(\beta_1=2\), since it is connected, has Euler characteristic \(-1\), and has zero \(H_2\).
|
| 253 |
+
|
| 254 |
+
For dimension \(d\), suspend the pair \((M,B)\) exactly \(d-1\) times. A simplicial suspension adjoins two separate cone apices, with no edge between them, so it preserves flagness. The boundary sphere is now \(S^d\). If \(\partial c=z\) is the unique top filling, its two signed cones give a full-support filling of the suspended sphere. A top cycle on the suspension splits into two cones. Its boundary forces their base chains to be opposite cycles. Injectivity downstairs forces both to be zero. Induction preserves uniqueness and full support. The full suspended complex has \(\beta_d=2\) by the suspension isomorphism, derived in Appendix A.
|
| 255 |
+
|
| 256 |
+
Using the leaf attachments of Section 6, enlarge the boundary sphere to a spanning subcomplex \(L_1\) homotopy equivalent to it. Put \(U_1=\Sigma^{d-1}M\). Each proper intermediate complex retains the boundary class. If that class dies, it contains the unique full-support filling, hence all of the pure complex \(U_1\). The upper complex then contributes two independent classes. The lower contributes one, whose image is zero.
|
| 257 |
+
|
| 258 |
+
Finally wedge \(r\) such pairs at one vertex of their boundary spheres. Any intermediate complex splits into the corresponding pieces meeting at that vertex, with no mixed simplex. Positive-degree homology is their direct sum. Hence the minimum is at least \(r\), the lower endpoint attains it, and the endpoint map is zero. The wedge of the upper complexes is flag and the lower contains every vertex. Section 6 therefore realizes the pair by actual probe records.\fin
|
| 259 |
+
|
| 260 |
+
In degree one the mechanism is tangible. Filling the known rim of a punctured torus requires the whole surface. Completing that filling makes the two handle cycles available. Every admissible stage consequently has a hole, although the known rim itself need not survive.
|
| 261 |
+
\newpage
|
| 262 |
+
\heading{9}{How many futures can one choice change?}
|
| 263 |
+
Split the action labels into controls \(C\) and later acts \(W\). For a control context \(A\subseteq C\) write
|
| 264 |
+
\[
|
| 265 |
+
H_K(A)=\{T\subseteq W:A\cup T\in K\}.
|
| 266 |
+
\]
|
| 267 |
+
This is the family of tail action sets still jointly feasible after \(A\). An impossible context has an empty family. A feasible context with no nonempty continuation has the family \(\{\varnothing\}\).
|
| 268 |
+
|
| 269 |
+
\thm{Theorem 11. Joint realization of counterfactuals.}
|
| 270 |
+
Fix a data interval \([L,U]\) and any list of distinct contexts \(A_i\subseteq C\). Prescribed hereditary tail families \(J_i\), which may be empty, occur simultaneously in one compatible law if and only if
|
| 271 |
+
\[
|
| 272 |
+
H_L(A_i)\subseteq J_i\subseteq H_U(A_i),\qquad
|
| 273 |
+
A_i\subseteq A_j\ \Longrightarrow\ J_j\subseteq J_i .
|
| 274 |
+
\]
|
| 275 |
+
In particular, within their respective bounds the tails at incomparable control contexts can be prescribed independently.
|
| 276 |
+
|
| 277 |
+
\prf All conditions follow from heredity. For sufficiency, take the downward closure of \(L\) and all \(A_i\cup T\) with \(T\in J_i\). It lies in \(U\). If \(A_j\cup S\) was contributed by the \(i\)-th family, disjointness of the two vocabularies gives \(A_j\subseteq A_i\) and \(S\subseteq T\). Hence \(S\in J_i\subseteq J_j\). An existing face from \(L\) is already allowed. Thus the prescribed tails are exact, even when distinct contexts share labels.\fin
|
| 278 |
+
|
| 279 |
+
For incomparable \(A,B\), write \(D_{A,B}(K)=|H_K(A)\setminus H_K(B)|\). Put \(L_A=H_L(A)\), \(U_A=H_U(A)\), and use the corresponding symbols for \(B\). The possible directed differences are exactly the integers in
|
| 280 |
+
\[
|
| 281 |
+
\boxed{\bigl[\,|L_A\setminus U_B|,\ |U_A\setminus L_B|\,\bigr].}
|
| 282 |
+
\]
|
| 283 |
+
The two endpoint choices are simultaneously attainable by the theorem. Between them grow the first family and shrink the second one face at a time in an order preserving heredity. Each step changes the difference by zero or one. With nonnegative weights on future sets the same choices attain the two weighted extrema.
|
| 284 |
+
|
| 285 |
+
\subh{A trillion continuations under the same evidence}
|
| 286 |
+
Observe \(a\) succeed on one run and \(b\) on another, with no other probes. Give the system 40 further labels. The exact range for the number of tail sets available after \(a\) and unavailable after \(b\) is zero through \(2^{40}-1=1{,}099{,}511{,}627{,}775\). One compatible law treats the two choices identically. Another admits every tail after \(a\) and only the empty tail after \(b\). The data fix the entire range while leaving its actual value unresolved. Here the unit counted is a distinct jointly feasible action set. For distinct ordered continuations, weight a set of size \(j\) by \(j!\), since each ordering of a feasible set succeeds.
|
| 287 |
+
\newpage
|
| 288 |
+
\heading{10}{Determination, identity and surprise}
|
| 289 |
+
\subh{Order-sensitive acts}
|
| 290 |
+
Let \(K=\{\varnothing,\{a\},\{b\}\}\). Treat an attempt as a transformation that stays in place if rejected. Trying \(a\) then \(b\) leaves \(\{a\}\). Reversing them leaves \(\{b\}\). When \(\{a,b\}\) is feasible, both orders reach the same retained set and the transcripts still distinguish their order. Thus the calculus exhibits operational noncommutativity even though each fixed law has ordinary two-valued membership.
|
| 291 |
+
|
| 292 |
+
\subh{Two meanings of truth}
|
| 293 |
+
For a classical proposition \(Q\) about a law, write \(\mathsf{Nec}_R Q\) when it holds throughout \(\mathcal V(R)\). It persists under every consistent extension of the record. For an open membership claim \(Q\), one can have \(\mathsf{Nec}_R(Q\lor\neg Q)\) while neither \(\mathsf{Nec}_R Q\) nor \(\mathsf{Nec}_R\neg Q\) holds. Classical predicates form the Boolean algebra of subsets of \(\mathcal V(R)\). An update restricts each predicate to the smaller interval, preserving unions, intersections and relative complements. A constructive reading uses the tree of transcript extensions. A node forces the atom “\(x\) is feasible” once \(x\in L\). Conjunction requires both conjuncts and disjunction requires one disjunct. Implication requires every extension forcing the antecedent to force the consequent. Falsity is never forced, so negation means that no extension forces the operand. At the root with one fresh act, its singleton is unproved and a successful extension is available. Hence the constructive disjunction of that atom and its negation is unforced there. These are the usual Kripke clauses [15]. They make the draft's notion of an open future precise.
|
| 294 |
+
|
| 295 |
+
\subh{Operational identity}
|
| 296 |
+
In a fixed deterministic system, two histories are experimentally equivalent when every future finite script gives identical subsequent observations. If an action can be unavailable, count “unavailable” as a visible outcome. Equivalent histories give the same next answer under any action and have equivalent successors. A disagreement would supply a distinguishing script by prepending this action. This right-congruence defines a quotient with well-defined predictions. It formalizes identity under future tests. Higher-dimensional coherence requires specified comparison data, as Section 6 supplies through complexes and maps.
|
| 297 |
+
|
| 298 |
+
\subh{Rule-following and surprise}
|
| 299 |
+
The observer can check a proof about the record by replaying the implications licensed by its protocol. For a finite stated law class, a counterexample completion is an explicit refutation of a proposed necessity. Theorem 10 supplies a stronger form of necessity than certifying any single inherited cycle. It also explains how a mathematical implication can surprise an observer who freely chose the tests. The choices fix a record whose consequences then follow in every compatible law.
|
| 300 |
+
|
| 301 |
+
Any two distinct ideals can be separated by a suitably chosen single run. Choose a minimal element of their symmetric difference. Its strict predecessors belong to both ideals. Reach a cover predecessor and probe the differing element. This pairwise result coexists with the many-run cost of identifying one unknown ideal among all candidates.
|
| 302 |
+
\newpage
|
| 303 |
+
|
| 304 |
+
\heading{11}{Open horizons, re-entry and ontology}
|
| 305 |
+
\subh{An unfinished sequence has exact finite consequences}
|
| 306 |
+
Allow a countable configuration poset with a root and finite principal downsets. For a growing, consistently recorded sequence of finite experiments, \(L_n\) increases and \(U_n\) decreases. Over the class of all rooted ideals the compatible laws for the whole stream are exactly
|
| 307 |
+
\[
|
| 308 |
+
\bigcap_n[L_n,U_n]=\left[\bigcup_nL_n,\ \bigcap_nU_n\right].
|
| 309 |
+
\]
|
| 310 |
+
Both endpoints are ideals. They disagree on exactly the configurations in \((\bigcap_n U_n)\setminus(\bigcup_n L_n)\). Each decided membership has a finite witness. With resets one may fairly enumerate finite root-to-target cover paths. A rejection excludes the target above it. A successful path certifies it. Every configuration is then identified at a finite stage.
|
| 311 |
+
|
| 312 |
+
Without resets the terminal result also extends to infinity. Let \(A=\bigcup_n F_n\) collect all successes and let \(W\) contain the forever untried labels. A limiting continuation is a finite \(T\) disjoint from \(A\) with \(F_n\cup T\in K\) at every stage. A rejection excludes its label at its witnessing stage. Every hereditary family \(J\) containing the empty set and consisting of finite subsets of \(W\) is attained by taking all unions of finite subsets of \(A\) with elements of \(J\). An infinite record can still leave arbitrary joint possibilities open.
|
| 313 |
+
|
| 314 |
+
\subh{Self-reference with an operational semantics}
|
| 315 |
+
A policy can read its transcript, including earlier code changes, to update its rule and choose its next probe. A specified initial code and deterministic update determine the policy state by induction on prefix length. Unfolding these states on the tree of reachable histories reproduces every finite answer. If the tested law changes too, its time or rule state must enter the configuration before the fixed-law theorems can be applied again.
|
| 316 |
+
|
| 317 |
+
In the guarded stream equations \(x=0y,\ y=1x\), juxtaposition prepends the displayed bit. Every successive prefix is forced, giving unique streams \(0101\ldots\) and \(1010\ldots\). Appending and concatenating ticks similarly realize successor and addition in a free record language. The arguments use ordinary discrete mathematics as their metatheory. Deriving set theory, spacetime or its dimension would require additional axioms.
|
| 318 |
+
|
| 319 |
+
\subh{What an observer can establish about a world}
|
| 320 |
+
An internal rule and an external device implementing the same response function on every reachable history give identical transcripts under every adaptive policy. The common prefix selects the same next probe, and the two implementations return the same answer. Induction proves observational equivalence. A record can establish common behavioral laws. Whether only the observer exists, and what another person experiences, are undecided by this semantics.
|
| 321 |
+
\newpage
|
| 322 |
+
|
| 323 |
+
\heading{12}{Computational verification}
|
| 324 |
+
The accompanying Python program uses only the standard library. It compares constructions in the proofs with exhaustive calculations from the definitions. All counts below refer to labelled vocabularies and include the law containing only the empty face.
|
| 325 |
+
\begin{center}
|
| 326 |
+
\begin{tabular}{@{}lrr@{}}
|
| 327 |
+
\toprule
|
| 328 |
+
& \textbf{3 labels} & \textbf{4 labels}\\
|
| 329 |
+
\midrule
|
| 330 |
+
Rooted hereditary laws &19&167\\
|
| 331 |
+
Ordered pairs \(L\subseteq U\) &148&7,413\\
|
| 332 |
+
Operationally attainable intervals &118&4,973\\
|
| 333 |
+
Unattainable intervals &30&2,440\\
|
| 334 |
+
Distinct states including the current position &407&32,982\\
|
| 335 |
+
Single-run normal forms &65&460\\
|
| 336 |
+
Degree-specific Betti spectra compared &296&22,239\\
|
| 337 |
+
Counterfactual interval/context pairs checked &159&26,484\\
|
| 338 |
+
\bottomrule
|
| 339 |
+
\end{tabular}
|
| 340 |
+
\end{center}
|
| 341 |
+
\textbf{Interval and cost calculation.} A shortest-path search over \((L,U,x)\) extends the current run at zero added cost or starts another at unit cost. A separate calculation chooses parents of minimal exclusions and computes widths by maximum bipartite matching. They agree on reachability and the minimum number of starts for every interval. For four labels, the counts at costs one through six are \(299,1824,2077,637,120,16\). Single-run checks enumerate the order of successes and earliest rejection times, compare all feasible terminal links and verify every proposed vertex deletion in the spherical case. For two singleton control contexts, direct enumeration also checks the entire product of permitted tail families and every predicted difference count.
|
| 342 |
+
|
| 343 |
+
\textbf{Homology and complexity.} Direct enumeration of intermediate complexes over \(\mathbb F_2\) agrees with both extrema and every intervening Betti number in all degrees \(1\le d<|E|\). For the three-facet reduction, recursive minimum hitting-set calculations on the constructed instance agree with the original vertex cover expression for all 1,099 labelled simple graphs on one through five vertices.
|
| 344 |
+
|
| 345 |
+
\textbf{Degree-two circle map.} The explicit upper mapping cylinder has 18 vertices, 42 edges and 24 triangles. The constructed transcript uses 36 starts. The two endpoint complexes each have first Betti number one. The inclusion has rank zero in characteristic two and rank one in characteristic three.
|
| 346 |
+
|
| 347 |
+
\textbf{Rim and handle cycles.} Triangulate a periodic \(3\times3\) square grid with the same diagonal in every square, remove one triangle, and subdivide. The upper complex has 53 vertices, 156 edges and 102 triangles. A spanning extension of its subdivided rim gives the lower graph. The example uses 106 starts, an explicit construction cost. Over \(\mathbb F_2\) and \(\mathbb F_3\), the boundary map on triangles is injective, and omitting any one of the 102 triangles precludes filling the rim. The endpoint Betti numbers are one and two, with zero image rank. These calculations check finite instances. The proofs establish the unrestricted finite theorems and the every-field assertion.
|
| 348 |
+
\newpage
|
| 349 |
+
|
| 350 |
+
\heading{A}{Elementary facts used in the proofs}
|
| 351 |
+
\subh{Finite chain decomposition}
|
| 352 |
+
An antichain requires at least one chain per element. For the converse use induction on the size of a nonempty poset of width \(w\). If it has a maximum antichain \(A\) distinct from both the set of minimal elements and the set of maximal elements, let \(P^- =\ds A\), \(P^+=\us A\). Maximality by inclusion gives \(P=P^-\cup P^+\), and \(P^-\cap P^+=A\). Both parts are proper. A nonminimal element in \(A\) has a strict predecessor outside \(P^+\), and a nonmaximal element has a strict successor outside \(P^-\). Each part has width \(w\). Their inductive chain partitions each have exactly one member of \(A\) per chain. Join chains at their common member, yielding \(w\) chains.
|
| 353 |
+
|
| 354 |
+
Otherwise every antichain of size \(w\) is the set of minimal elements or the set of maximal elements. Take any saturated chain extending from a minimal to a maximal element. Deleting it meets every maximum antichain, leaving width at most \(w-1\). Partition the remainder by induction and restore the chain. The empty remainder is covered by zero chains. This proves the finite theorem used in Section 3 [3].
|
| 355 |
+
|
| 356 |
+
\subh{Suspension and positive homology at a wedge}
|
| 357 |
+
For a complex \(X\) the suspension is the union of its two cones \(p*X\) and \(q*X\) along \(X\). Each cone has trivial reduced homology by the chain contraction that prepends its apex. A cycle in the union splits as the sum of a chain in each cone. The boundary of its first part is a cycle in \(X\). Changing the decomposition or adding a boundary changes this cycle by a boundary. This map from \(\widetilde H_{j+1}(\Sigma X)\) to \(\widetilde H_j(X)\) is onto by filling any cycle in the two cones with opposite signs. For injectivity, suppose the common boundary bounds a chain in \(X\). Transfer that chain between the two pieces to make both pieces cycles. Each then bounds in its cone. This proves the suspension isomorphism used in Section 8.
|
| 358 |
+
|
| 359 |
+
For complexes identified at a single vertex, positive chains split between the pieces. In degree one the only possible uncancelled boundary of a component chain would be supported at the common vertex. The sum of the coefficients of any 1-chain boundary is zero. Thus cycles split too. Boundaries split in all positive degrees. Their quotients give the asserted direct sum.
|
| 360 |
+
|
| 361 |
+
\subh{An explicit finite encoding}
|
| 362 |
+
For the Boolean cases the verifier represents each face by the set of its labels and each law by the set of its faces. In characteristic two, boundary columns are bit strings and elimination is exact by exclusive-or. The larger examples use signed simplicial boundaries with modular elimination. The reproducibility package includes the typesetting source, the script, a deterministic results file, and instructions for rerunning the calculations.
|
| 363 |
+
\newpage
|
| 364 |
+
|
| 365 |
+
\heading{B}{Prior work and the scope of originality}
|
| 366 |
+
Brouwer's creating subject gives mathematical construction an explicit temporal standpoint [1]. Müller proposed a mathematical first-person approach to physics based on universal induction over observer states [2]. Winskel developed configurations and consistency conditions for processes [7]. Directed topology already uses a vertex's future link to describe its possible local directions [14]. These are substantive predecessors to the starting point and the choice of mathematical objects.
|
| 367 |
+
|
| 368 |
+
Dilworth supplies chain decomposition [3], Eisel, McMullen and Muth study the identification of hidden ideals with a restricted query budget [10], and Barmak and Minian give the theory of dominated vertex deletions [11]. Poset mapping cylinders [6] supply the topological part of Theorem 8. Attali and Lieutier and subsequently Attali and coauthors studied the gap between persistent homology and the best attainable intermediate reconstruction [8,9]. They established earlier non-realization and hardness results. The literature therefore already contains the homological phenomenon underlying Section 8.
|
| 369 |
+
|
| 370 |
+
This manuscript characterizes the evidence obtainable when success moves the observer forward and a failed probe preserves the experimental position. It gives the minimum number of starts for each interval, classifies a single run, and realizes arbitrary finite homotopy maps across runs. The complexity reduction and the family with an arbitrarily large gap in one prescribed degree strengthen this connection. The targeted literature search did not establish priority for this combination. The proofs stand independently of any claim of historical precedence.
|
| 371 |
+
|
| 372 |
+
\subh{References}
|
| 373 |
+
{\fontsize{9.25}{13.1}\selectfont
|
| 374 |
+
[1] R. Iemhoff. \emph{Intuitionism in the Philosophy of Mathematics}, §§2 and 3. Stanford Encyclopedia of Philosophy. \href{https://plato.stanford.edu/entries/intuitionism/}{Entry.}\par
|
| 375 |
+
[2] M. P. Müller. \emph{Law without law: from observer states to physics via algorithmic information theory}. Quantum 4, 301 (2020). \href{https://doi.org/10.22331/q-2020-07-20-301}{DOI.}\par
|
| 376 |
+
[3] R. P. Dilworth. \emph{A decomposition theorem for partially ordered sets}. Annals of Mathematics 51 (1950), 161–166. \href{https://mathweb.ucsd.edu/~asuk/dilworth.pdf}{Paper.}\par
|
| 377 |
+
[4] R. M. Karp. \emph{Reducibility among combinatorial problems}. Complexity of Computer Computations (1972), 85–103. \href{https://doi.org/10.1007/978-1-4684-2001-2_9}{DOI.}\par
|
| 378 |
+
[5] A. Björner. \emph{Topological methods}, Theorem 10.6. Handbook of Combinatorics (1995). \href{https://publish.illinois.edu/ymb/files/2020/03/Bjorner_TopMeth.pdf}{Chapter.}\par
|
| 379 |
+
[6] J. A. Barmak. \emph{On Quillen's Theorem A for posets}, Proposition 3.3. Journal of Combinatorial Theory, Series A 118 (2011), 2445–2453. \href{https://mate.dm.uba.ar/~jbarmak/thmafinal.pdf}{Paper.}\par
|
| 380 |
+
[7] G. Winskel. \emph{Event structures}. Technical Report UCAM-CL-TR-95 (1986). \href{https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-95.pdf}{Report.}\par
|
| 381 |
+
[8] D. Attali and A. Lieutier. \emph{Optimal reconstruction might be hard}. Symposium on Computational Geometry (2010). \href{https://dattali.github.io/Publications/2010-socg-homological-simplification.pdf}{Paper.}\par
|
| 382 |
+
[9] D. Attali, U. Bauer, O. Devillers, M. Glisse and A. Lieutier. \emph{Homological reconstruction and simplification in \(\mathbb{R}^3\)}. SoCG (2013). \href{https://dattali.github.io/Publications/2013-socg-NP-hardness.pdf}{Paper.}\par
|
| 383 |
+
}
|
| 384 |
+
\newpage
|
| 385 |
+
\heading{C}{Further sources and open questions}
|
| 386 |
+
{\fontsize{9.8}{14}\selectfont
|
| 387 |
+
[10] R. Eisel, V. McMullen and R. Muth. \emph{An efficient search strategy for hidden ideals in pointed partially ordered sets}. Journal of Combinatorial Mathematics and Combinatorial Computing 128 (2025), 181–198. \href{https://doi.org/10.61091/jcmcc128-11}{DOI.}\par
|
| 388 |
+
[11] J. A. Barmak and E. G. Minian. \emph{Strong homotopy types, nerves and collapses}. Discrete \& Computational Geometry 47 (2012), 301–328. \href{https://people.kth.se/~jbarmak/strong.pdf}{Paper.}\par
|
| 389 |
+
[12] The Univalent Foundations Program. \emph{Homotopy Type Theory: Univalent Foundations of Mathematics} (2013). \href{https://homotopytypetheory.org/book/}{Book.}\par
|
| 390 |
+
[13] A. Hatcher. \emph{Algebraic Topology}. Cambridge University Press (2002). \href{https://pi.math.cornell.edu/~hatcher/AT/ATpage.html}{Author's edition.}\par
|
| 391 |
+
[14] M. Raussen. \emph{Connectivity of spaces of directed paths in geometric models for concurrent computation}. Computational Geometry, article 101942. \href{https://vbn.aau.dk/ws/portalfiles/portal/539424317/1-s2.0-S0925772122000852-main.pdf}{Paper.}\par
|
| 392 |
+
[15] J. R. Moschovakis. \emph{Intuitionistic Logic}, §5.1. Stanford Encyclopedia of Philosophy. \href{https://plato.stanford.edu/entries/logic-intuitionistic/}{Entry.}\par
|
| 393 |
+
}
|
| 394 |
+
\subh{Two remaining extremal problems}
|
| 395 |
+
Theorem 7 gives a sharp threshold for one forced class. For fixed \(s,d\), write \(B_d(s)\) for the maximum, over all vocabularies and records of at most \(s\) runs, of \(\min_K\beta_d(K)\). The proof gives an upper bound \(\binom{s-1}{d+1}\). It determines the threshold at \(s=d+2\). Determining \(B_d(s)\) above that threshold requires controlling both the nerve of the visited facets and the failed probes actually reachable along their chains. A large Betti number of the lower complex alone can exceed the guaranteed count.
|
| 396 |
+
|
| 397 |
+
Theorem 8 realizes any finite homotopy map with a computable budget. Define \(c_{\mathrm{htpy}}(f)\) as the minimum starts among all finite protocols on Boolean configuration posets realizing a map homotopy equivalent to \(f\) in the sense of Theorem 8. One run has a contractible or empty lower endpoint. Hence maps with noncontractible domain require at least two runs. When the domain has \(\beta_d>0\), the nerve argument strengthens this to \(d+2\), irrespective of the codomain. Determining the smallest cost for a degree-\(n\) circle map, and how it depends on \(n\), would quantify how much evidence a winding number intrinsically requires.
|
| 398 |
+
|
| 399 |
+
\subh{Relation to the originating proposal}
|
| 400 |
+
The indexical now is represented by the marked experimental position together with its append-only history. The framework supplies operational meanings for retention, foreclosure, iteration and identity under future tests. A space of paths and higher paths has established meanings in homotopy theory and type theory [12,13]. Geometric realization in this paper is applied to a specific compatibility law. The resulting dimension and homotopy type depend on that law. First-person selection by itself leaves them open.
|
| 401 |
+
\end{document}
|
verification.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"3_labels": {
|
| 3 |
+
"forks": {
|
| 4 |
+
"two_context_intervals_checked": 159
|
| 5 |
+
},
|
| 6 |
+
"interval_analysis": {
|
| 7 |
+
"cursor_states": 407,
|
| 8 |
+
"degree_specific_spectra_checked": 296,
|
| 9 |
+
"impossible": 30,
|
| 10 |
+
"intervals": 148,
|
| 11 |
+
"minimum_runs": {
|
| 12 |
+
"1": 51,
|
| 13 |
+
"2": 57,
|
| 14 |
+
"3": 10
|
| 15 |
+
},
|
| 16 |
+
"realizable": 118,
|
| 17 |
+
"rooted_laws": 19
|
| 18 |
+
},
|
| 19 |
+
"single_run": {
|
| 20 |
+
"normalized_records": 65,
|
| 21 |
+
"types": {
|
| 22 |
+
"contractible": 42,
|
| 23 |
+
"simplex_or_empty": 8,
|
| 24 |
+
"sphere": 15
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"4_labels": {
|
| 29 |
+
"forks": {
|
| 30 |
+
"two_context_intervals_checked": 26484
|
| 31 |
+
},
|
| 32 |
+
"interval_analysis": {
|
| 33 |
+
"cursor_states": 32982,
|
| 34 |
+
"degree_specific_spectra_checked": 22239,
|
| 35 |
+
"impossible": 2440,
|
| 36 |
+
"intervals": 7413,
|
| 37 |
+
"minimum_runs": {
|
| 38 |
+
"1": 299,
|
| 39 |
+
"2": 1824,
|
| 40 |
+
"3": 2077,
|
| 41 |
+
"4": 637,
|
| 42 |
+
"5": 120,
|
| 43 |
+
"6": 16
|
| 44 |
+
},
|
| 45 |
+
"realizable": 4973,
|
| 46 |
+
"rooted_laws": 167
|
| 47 |
+
},
|
| 48 |
+
"single_run": {
|
| 49 |
+
"normalized_records": 460,
|
| 50 |
+
"types": {
|
| 51 |
+
"contractible": 332,
|
| 52 |
+
"simplex_or_empty": 16,
|
| 53 |
+
"sphere": 112
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"degree_two_circle_map": {
|
| 58 |
+
"constructed_runs": 36,
|
| 59 |
+
"f_vector": [
|
| 60 |
+
18,
|
| 61 |
+
42,
|
| 62 |
+
24
|
| 63 |
+
],
|
| 64 |
+
"fields": {
|
| 65 |
+
"2": {
|
| 66 |
+
"endpoint_image_rank": 0,
|
| 67 |
+
"lower_betti_1": 1,
|
| 68 |
+
"upper_betti_1": 1
|
| 69 |
+
},
|
| 70 |
+
"3": {
|
| 71 |
+
"endpoint_image_rank": 1,
|
| 72 |
+
"lower_betti_1": 1,
|
| 73 |
+
"upper_betti_1": 1
|
| 74 |
+
}
|
| 75 |
+
},
|
| 76 |
+
"rejected_pairs": 111
|
| 77 |
+
},
|
| 78 |
+
"punctured_torus": {
|
| 79 |
+
"constructed_runs": 106,
|
| 80 |
+
"f_vector": [
|
| 81 |
+
53,
|
| 82 |
+
156,
|
| 83 |
+
102
|
| 84 |
+
],
|
| 85 |
+
"fields": {
|
| 86 |
+
"2": {
|
| 87 |
+
"endpoint_image_rank": 0,
|
| 88 |
+
"lower_betti_1": 1,
|
| 89 |
+
"one_triangle_deletions_tested": 102,
|
| 90 |
+
"upper_betti_1": 2
|
| 91 |
+
},
|
| 92 |
+
"3": {
|
| 93 |
+
"endpoint_image_rank": 0,
|
| 94 |
+
"lower_betti_1": 1,
|
| 95 |
+
"one_triangle_deletions_tested": 102,
|
| 96 |
+
"upper_betti_1": 2
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
"rejected_pairs": 1222
|
| 100 |
+
},
|
| 101 |
+
"three_facet_reduction": {
|
| 102 |
+
"labelled_graphs_checked": 1099,
|
| 103 |
+
"vertices_in_original_graph": "1 to 5"
|
| 104 |
+
}
|
| 105 |
+
}
|
verify.py
ADDED
|
@@ -0,0 +1,481 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Exact finite checks for Eïxalyūne. Python 3.10+, standard library only."""
|
| 2 |
+
from collections import Counter, deque
|
| 3 |
+
from functools import lru_cache
|
| 4 |
+
from itertools import combinations, permutations, product
|
| 5 |
+
import argparse
|
| 6 |
+
import json
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def bits(mask):
|
| 11 |
+
while mask:
|
| 12 |
+
bit = mask & -mask
|
| 13 |
+
yield bit.bit_length() - 1
|
| 14 |
+
mask ^= bit
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def subsets(mask):
|
| 18 |
+
sub = mask
|
| 19 |
+
while True:
|
| 20 |
+
yield sub
|
| 21 |
+
if not sub:
|
| 22 |
+
return
|
| 23 |
+
sub = (sub - 1) & mask
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def bitset(items):
|
| 27 |
+
return sum(1 << i for i in set(items))
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
class BooleanPoset:
|
| 31 |
+
def __init__(self, labels):
|
| 32 |
+
self.labels = labels
|
| 33 |
+
self.count = 1 << labels
|
| 34 |
+
self.universe = (1 << self.count) - 1
|
| 35 |
+
self.down = [bitset(subsets(x)) for x in range(self.count)]
|
| 36 |
+
self.up = [bitset(y for y in range(self.count) if x & y == x)
|
| 37 |
+
for x in range(self.count)]
|
| 38 |
+
self.parent = [tuple(x ^ (1 << a) for a in bits(x)) for x in range(self.count)]
|
| 39 |
+
self.child = [tuple(x | (1 << a) for a in bits((self.count - 1) ^ x))
|
| 40 |
+
for x in range(self.count)]
|
| 41 |
+
self.ideals = [k for k in range(1, self.universe + 1, 2)
|
| 42 |
+
if all(self.down[x] & k == self.down[x] for x in bits(k))]
|
| 43 |
+
|
| 44 |
+
@lru_cache(None)
|
| 45 |
+
def width(self, states):
|
| 46 |
+
# Size minus a maximum matching in the strict comparability graph.
|
| 47 |
+
vertices = tuple(bits(states))
|
| 48 |
+
right = {}
|
| 49 |
+
def augment(x, seen):
|
| 50 |
+
for y in vertices:
|
| 51 |
+
if y == x or x & y != x or y in seen:
|
| 52 |
+
continue
|
| 53 |
+
seen.add(y)
|
| 54 |
+
if y not in right or augment(right[y], seen):
|
| 55 |
+
right[y] = x
|
| 56 |
+
return True
|
| 57 |
+
return False
|
| 58 |
+
return len(vertices) - sum(augment(x, set()) for x in vertices)
|
| 59 |
+
|
| 60 |
+
def closed_form(self, lower, upper):
|
| 61 |
+
maxima = [x for x in bits(lower) if not any(lower >> y & 1 for y in self.child[x])]
|
| 62 |
+
outside = self.universe ^ upper
|
| 63 |
+
border = [x for x in bits(outside) if all(upper >> y & 1 for y in self.parent[x])]
|
| 64 |
+
choices = [[y for y in self.parent[x] if lower >> y & 1] for x in border]
|
| 65 |
+
if any(not group for group in choices):
|
| 66 |
+
return None
|
| 67 |
+
return min(self.width(bitset(maxima + list(p))) for p in product(*choices))
|
| 68 |
+
|
| 69 |
+
def direct_search(self):
|
| 70 |
+
# A 0-1 shortest path follows the actual cursor. It makes no parent choices.
|
| 71 |
+
source = (1, self.universe, 0)
|
| 72 |
+
distance = {source: 1}
|
| 73 |
+
queue = deque([source])
|
| 74 |
+
while queue:
|
| 75 |
+
state = queue.popleft()
|
| 76 |
+
lower, upper, cursor = state
|
| 77 |
+
for y in self.child[cursor]:
|
| 78 |
+
options = []
|
| 79 |
+
if upper >> y & 1:
|
| 80 |
+
options.append((lower | self.down[y], upper, y))
|
| 81 |
+
if not (lower >> y & 1):
|
| 82 |
+
options.append((lower, upper & ~self.up[y], cursor))
|
| 83 |
+
for item in options:
|
| 84 |
+
if distance.get(item, float('inf')) > distance[state]:
|
| 85 |
+
distance[item] = distance[state]
|
| 86 |
+
queue.appendleft(item)
|
| 87 |
+
reset = (lower, upper, 0)
|
| 88 |
+
if cursor and distance.get(reset, float('inf')) > distance[state] + 1:
|
| 89 |
+
distance[reset] = distance[state] + 1
|
| 90 |
+
queue.append(reset)
|
| 91 |
+
by_interval = {}
|
| 92 |
+
for (lower, upper, _), n in distance.items():
|
| 93 |
+
key = (lower, upper)
|
| 94 |
+
by_interval[key] = min(n, by_interval.get(key, n))
|
| 95 |
+
return by_interval, len(distance)
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
@lru_cache(None)
|
| 99 |
+
def binary_rank(columns):
|
| 100 |
+
pivots = {}
|
| 101 |
+
for word in columns:
|
| 102 |
+
while word:
|
| 103 |
+
place = word.bit_length() - 1
|
| 104 |
+
if place not in pivots:
|
| 105 |
+
pivots[place] = word
|
| 106 |
+
break
|
| 107 |
+
word ^= pivots[place]
|
| 108 |
+
return len(pivots)
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
class BinaryHomology:
|
| 112 |
+
def __init__(self, cube):
|
| 113 |
+
self.cube = cube
|
| 114 |
+
self.masks = [bitset(x for x in range(cube.count) if x.bit_count() == d + 1)
|
| 115 |
+
for d in range(cube.labels + 1)]
|
| 116 |
+
self.boundary = [bitset(cube.parent[x]) if x.bit_count() >= 2 else 0
|
| 117 |
+
for x in range(cube.count)]
|
| 118 |
+
|
| 119 |
+
@lru_cache(None)
|
| 120 |
+
def rank(self, simplex_mask):
|
| 121 |
+
return binary_rank(tuple(self.boundary[x] for x in bits(simplex_mask)))
|
| 122 |
+
|
| 123 |
+
def betti(self, ideal, d):
|
| 124 |
+
faces = ideal & self.masks[d]
|
| 125 |
+
return faces.bit_count() - self.rank(faces) - self.rank(ideal & self.masks[d + 1])
|
| 126 |
+
|
| 127 |
+
def extrema(self, lower, upper, d):
|
| 128 |
+
allowed = upper & self.masks[d]
|
| 129 |
+
required = lower & self.masks[d]
|
| 130 |
+
cofaces = tuple(bits(upper & self.masks[d + 1]))
|
| 131 |
+
maximum = allowed.bit_count() - self.rank(allowed) - self.rank(lower & self.masks[d + 1])
|
| 132 |
+
minimum = maximum
|
| 133 |
+
for extra in subsets(allowed ^ required):
|
| 134 |
+
faces = required | extra
|
| 135 |
+
supported = bitset(x for x in cofaces if self.boundary[x] & ~faces == 0)
|
| 136 |
+
minimum = min(minimum, faces.bit_count() - self.rank(faces) - self.rank(supported))
|
| 137 |
+
return minimum, maximum
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
def check_intervals(cube, homology):
|
| 141 |
+
reached, states = cube.direct_search()
|
| 142 |
+
distribution = Counter()
|
| 143 |
+
pairs = checks = 0
|
| 144 |
+
for lower in cube.ideals:
|
| 145 |
+
for upper in cube.ideals:
|
| 146 |
+
if lower & ~upper:
|
| 147 |
+
continue
|
| 148 |
+
pairs += 1
|
| 149 |
+
direct = reached.get((lower, upper))
|
| 150 |
+
assert cube.closed_form(lower, upper) == direct
|
| 151 |
+
if direct is not None:
|
| 152 |
+
distribution[direct] += 1
|
| 153 |
+
completions = [k for k in cube.ideals if lower & ~k == 0 and k & ~upper == 0]
|
| 154 |
+
for d in range(1, cube.labels):
|
| 155 |
+
minimum, maximum = homology.extrema(lower, upper, d)
|
| 156 |
+
actual = {homology.betti(k, d) for k in completions}
|
| 157 |
+
assert actual == set(range(minimum, maximum + 1))
|
| 158 |
+
checks += 1
|
| 159 |
+
return dict(rooted_laws=len(cube.ideals), intervals=pairs, cursor_states=states,
|
| 160 |
+
realizable=len(reached), impossible=pairs - len(reached),
|
| 161 |
+
minimum_runs=dict(sorted(distribution.items())),
|
| 162 |
+
degree_specific_spectra_checked=checks)
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
def check_forks(cube):
|
| 166 |
+
"""Check the full Cartesian product of tail families, plus directed counts."""
|
| 167 |
+
checked = 0
|
| 168 |
+
for a, b in combinations(range(cube.labels),2):
|
| 169 |
+
aa,bb = 1 << a,1 << b
|
| 170 |
+
tails = tuple(subsets((cube.count-1) ^ (aa|bb)))
|
| 171 |
+
def row(law, at):
|
| 172 |
+
return bitset(t for t in tails if law >> (t|at) & 1)
|
| 173 |
+
rows = {k:(row(k,aa),row(k,bb)) for k in cube.ideals}
|
| 174 |
+
for lower in cube.ideals:
|
| 175 |
+
if not (lower >> aa & 1 and lower >> bb & 1):
|
| 176 |
+
continue
|
| 177 |
+
for upper in cube.ideals:
|
| 178 |
+
if lower & ~upper:
|
| 179 |
+
continue
|
| 180 |
+
candidates = [k for k in cube.ideals if (lower & ~k) == 0 and (k & ~upper) == 0]
|
| 181 |
+
pairs = {rows[k] for k in candidates}
|
| 182 |
+
left = {x for x,y in pairs}
|
| 183 |
+
right = {y for x,y in pairs}
|
| 184 |
+
assert pairs == set(product(left,right))
|
| 185 |
+
# Check marginals against every hereditary tail law between endpoints.
|
| 186 |
+
every_tail = [j for j in cube.ideals if j & ~bitset(tails) == 0]
|
| 187 |
+
for t, actual in enumerate((left,right)):
|
| 188 |
+
assert actual == {j for j in every_tail if (rows[lower][t] & ~j) == 0 and (j & ~rows[upper][t]) == 0}
|
| 189 |
+
low = (rows[lower][0] & ~rows[upper][1]).bit_count()
|
| 190 |
+
high = (rows[upper][0] & ~rows[lower][1]).bit_count()
|
| 191 |
+
assert {(x & ~y).bit_count() for x,y in pairs} == set(range(low,high+1))
|
| 192 |
+
checked += 1
|
| 193 |
+
return dict(two_context_intervals_checked=checked)
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
def check_single_runs(cube, homology):
|
| 197 |
+
m = cube.labels
|
| 198 |
+
cases = Counter()
|
| 199 |
+
for k in range(m + 1):
|
| 200 |
+
for ordered in permutations(range(m), k):
|
| 201 |
+
prefixes = [0]
|
| 202 |
+
for v in ordered:
|
| 203 |
+
prefixes.append(prefixes[-1] | (1 << v))
|
| 204 |
+
final = prefixes[-1]
|
| 205 |
+
unused = tuple(bits((cube.count - 1) ^ final))
|
| 206 |
+
for times in product(range(k + 2), repeat=len(unused)):
|
| 207 |
+
# k+1 means never attempted. t=0 is a failed singleton at the root.
|
| 208 |
+
upper = cube.universe
|
| 209 |
+
free = 0
|
| 210 |
+
for v, t in zip(unused, times):
|
| 211 |
+
if t <= k:
|
| 212 |
+
upper &= ~cube.up[prefixes[t] | (1 << v)]
|
| 213 |
+
else:
|
| 214 |
+
free |= 1 << v
|
| 215 |
+
lower = cube.down[final]
|
| 216 |
+
completions = [a for a in cube.ideals if lower & ~a == 0 and a & ~upper == 0]
|
| 217 |
+
observed_links = {bitset(s for s in subsets((cube.count - 1) ^ final)
|
| 218 |
+
if a >> (s | final) & 1) for a in completions}
|
| 219 |
+
expected = {a for a in cube.ideals if a & ~cube.down[free] == 0}
|
| 220 |
+
assert observed_links == expected
|
| 221 |
+
if not k:
|
| 222 |
+
kind = 'simplex_or_empty'
|
| 223 |
+
elif free or k not in times:
|
| 224 |
+
kind = 'contractible'
|
| 225 |
+
else:
|
| 226 |
+
kind = 'sphere'
|
| 227 |
+
if k:
|
| 228 |
+
for d in range(m):
|
| 229 |
+
reduced = homology.betti(upper, d) - (d == 0)
|
| 230 |
+
assert reduced == int(kind == 'sphere' and d == k - 1)
|
| 231 |
+
if kind == 'sphere':
|
| 232 |
+
pivot = unused[times.index(k)]
|
| 233 |
+
active = [v for v, t in zip(unused, times) if 0 < t <= k and v != pivot]
|
| 234 |
+
remainder = upper
|
| 235 |
+
for v in active:
|
| 236 |
+
assert all(remainder >> (s | (1 << pivot)) & 1
|
| 237 |
+
for s in bits(remainder) if s >> v & 1)
|
| 238 |
+
remainder &= ~cube.up[1 << v]
|
| 239 |
+
target = final | (1 << pivot)
|
| 240 |
+
assert remainder == (cube.down[target] ^ (1 << target))
|
| 241 |
+
cases[kind] += 1
|
| 242 |
+
return dict(normalized_records=sum(cases.values()), types=dict(sorted(cases.items())))
|
| 243 |
+
|
| 244 |
+
|
| 245 |
+
def closure(facets):
|
| 246 |
+
return {face for s in facets for k in range(1, len(s) + 1)
|
| 247 |
+
for face in combinations(sorted(s), k)}
|
| 248 |
+
|
| 249 |
+
|
| 250 |
+
def canonical_faces(complex_):
|
| 251 |
+
return sorted(complex_, key=lambda s: (len(s), s))
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
def order_complex(count, strictly_less):
|
| 255 |
+
out = set()
|
| 256 |
+
def visit(chain):
|
| 257 |
+
out.add(tuple(sorted(chain)))
|
| 258 |
+
for q in range(count):
|
| 259 |
+
if strictly_less(chain[-1], q):
|
| 260 |
+
visit(chain + (q,))
|
| 261 |
+
for p in range(count):
|
| 262 |
+
visit((p,))
|
| 263 |
+
return out
|
| 264 |
+
|
| 265 |
+
|
| 266 |
+
def spanning_extension(first, ambient):
|
| 267 |
+
# Attach an edge to one new vertex at a time.
|
| 268 |
+
lower = set(first)
|
| 269 |
+
seen = {s[0] for s in lower if len(s) == 1}
|
| 270 |
+
edges = sorted(s for s in ambient if len(s) == 2)
|
| 271 |
+
while len(seen) < sum(len(s) == 1 for s in ambient):
|
| 272 |
+
a, b = next((a, b) for a, b in edges if (a in seen) != (b in seen))
|
| 273 |
+
lower.update({(a,), (b,), (a, b)})
|
| 274 |
+
seen.update((a, b))
|
| 275 |
+
return lower
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
def certify_flag_interval(lower, upper):
|
| 279 |
+
vertices = sorted(s[0] for s in upper if len(s) == 1)
|
| 280 |
+
facets = [s for s in lower if all(tuple(sorted(s + (v,))) not in lower
|
| 281 |
+
for v in vertices if v not in s)]
|
| 282 |
+
missing = set()
|
| 283 |
+
logged_positive = set()
|
| 284 |
+
for v in vertices:
|
| 285 |
+
logged_positive.add((v,))
|
| 286 |
+
for w in vertices:
|
| 287 |
+
if w <= v:
|
| 288 |
+
continue
|
| 289 |
+
if (v, w) not in upper:
|
| 290 |
+
missing.add((v, w)) # Probe w at the singleton v and record its failure.
|
| 291 |
+
for facet in facets:
|
| 292 |
+
for n in range(1, len(facet) + 1):
|
| 293 |
+
logged_positive.add(facet[:n])
|
| 294 |
+
assert closure(logged_positive) == lower
|
| 295 |
+
# Each clique is enumerated once by adding later vertices.
|
| 296 |
+
cliques = set()
|
| 297 |
+
def expand(s, following):
|
| 298 |
+
for i, v in enumerate(following):
|
| 299 |
+
face = s + (v,)
|
| 300 |
+
cliques.add(face)
|
| 301 |
+
expand(face, [w for w in following[i + 1:] if (v, w) not in missing])
|
| 302 |
+
expand((), vertices)
|
| 303 |
+
assert cliques == upper
|
| 304 |
+
return dict(constructed_runs=len(vertices) + len(facets), rejected_pairs=len(missing))
|
| 305 |
+
|
| 306 |
+
|
| 307 |
+
def boundary_vector(simplex, row_id):
|
| 308 |
+
return {row_id[simplex[:i] + simplex[i+1:]]: (-1) ** i for i in range(len(simplex))}
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
def sparse_rank(columns, prime):
|
| 312 |
+
pivots = {}
|
| 313 |
+
for column in columns:
|
| 314 |
+
v = {j: a % prime for j, a in column.items() if a % prime}
|
| 315 |
+
while v:
|
| 316 |
+
j = max(v)
|
| 317 |
+
if j not in pivots:
|
| 318 |
+
inv = pow(v[j], -1, prime)
|
| 319 |
+
pivots[j] = {p: value * inv % prime for p, value in v.items()}
|
| 320 |
+
break
|
| 321 |
+
factor = v[j]
|
| 322 |
+
for p, value in pivots[j].items():
|
| 323 |
+
entry = (v.get(p, 0) - factor * value) % prime
|
| 324 |
+
if entry:
|
| 325 |
+
v[p] = entry
|
| 326 |
+
elif p in v:
|
| 327 |
+
del v[p]
|
| 328 |
+
return len(pivots)
|
| 329 |
+
|
| 330 |
+
|
| 331 |
+
def topology_check(lower, upper, boundary_cycle, triangle_deletion=False):
|
| 332 |
+
u_edges = sorted(s for s in upper if len(s) == 2)
|
| 333 |
+
edge_ids = {s: i for i, s in enumerate(u_edges)}
|
| 334 |
+
vertices = sorted(s for s in upper if len(s) == 1)
|
| 335 |
+
vertex_ids = {s: i for i, s in enumerate(vertices)}
|
| 336 |
+
triangles = sorted(s for s in upper if len(s) == 3)
|
| 337 |
+
bd = [boundary_vector(s, edge_ids) for s in triangles]
|
| 338 |
+
z = {}
|
| 339 |
+
for a, b in boundary_cycle:
|
| 340 |
+
j = edge_ids[tuple(sorted((a, b)))]
|
| 341 |
+
z[j] = z.get(j, 0) + (1 if a < b else -1)
|
| 342 |
+
assert all(tuple(sorted(e)) in lower for e in boundary_cycle)
|
| 343 |
+
cycle_boundary = Counter()
|
| 344 |
+
for a, b in boundary_cycle:
|
| 345 |
+
cycle_boundary[a] -= 1
|
| 346 |
+
cycle_boundary[b] += 1
|
| 347 |
+
assert all(x == 0 for x in cycle_boundary.values())
|
| 348 |
+
out = {}
|
| 349 |
+
for p in (2, 3):
|
| 350 |
+
rank2 = sparse_rank(bd, p)
|
| 351 |
+
def betti(k):
|
| 352 |
+
edges = [s for s in k if len(s) == 2]
|
| 353 |
+
rank1 = sparse_rank([boundary_vector(s, vertex_ids) for s in edges], p)
|
| 354 |
+
r2 = sparse_rank([boundary_vector(s, edge_ids) for s in k if len(s) == 3], p)
|
| 355 |
+
return len(edges) - rank1 - r2
|
| 356 |
+
image = sparse_rank(bd + [z], p)-rank2
|
| 357 |
+
assert betti(lower) == 1
|
| 358 |
+
# z spans the lower H1 since it is a nonzero simple cycle and the lower is a graph.
|
| 359 |
+
assert all(len(s) <= 2 for s in lower)
|
| 360 |
+
record = dict(lower_betti_1=betti(lower), upper_betti_1=betti(upper),
|
| 361 |
+
endpoint_image_rank=image)
|
| 362 |
+
if triangle_deletion:
|
| 363 |
+
assert rank2 == len(triangles)
|
| 364 |
+
for i in range(len(bd)):
|
| 365 |
+
proper = bd[:i] + bd[i+1:]
|
| 366 |
+
assert sparse_rank(proper + [z], p) > sparse_rank(proper, p)
|
| 367 |
+
record["one_triangle_deletions_tested"] = len(triangles)
|
| 368 |
+
out[str(p)] = record
|
| 369 |
+
return out
|
| 370 |
+
|
| 371 |
+
|
| 372 |
+
def winding_example():
|
| 373 |
+
def cycle(n):
|
| 374 |
+
return closure([(i, (i+1) % n) for i in range(n)])
|
| 375 |
+
xx, yy = canonical_faces(cycle(6)), canonical_faces(cycle(3))
|
| 376 |
+
m = len(xx)
|
| 377 |
+
fx = [set(i % 3 for i in s) for s in xx]
|
| 378 |
+
def relation(i, j):
|
| 379 |
+
if i < m:
|
| 380 |
+
return set(xx[i]) < set(xx[j]) if j < m else fx[i] <= set(yy[j-m])
|
| 381 |
+
return j >= m and set(yy[i-m]) < set(yy[j-m])
|
| 382 |
+
upper = order_complex(m+len(yy), relation)
|
| 383 |
+
lower = spanning_extension({s for s in upper if all(i < m for i in s)}, upper)
|
| 384 |
+
walk = []
|
| 385 |
+
for i in range(6):
|
| 386 |
+
j = (i + 1) % 6
|
| 387 |
+
mid = xx.index(tuple(sorted((i, j))))
|
| 388 |
+
walk.extend([(xx.index((i,)),mid),(mid,xx.index((j,)))])
|
| 389 |
+
data = topology_check(lower, upper, walk)
|
| 390 |
+
assert data['2']['upper_betti_1']==data['3']['upper_betti_1'] == 1
|
| 391 |
+
assert [data[str(p)]['endpoint_image_rank'] for p in (2, 3)] == [0,1]
|
| 392 |
+
return dict(f_vector=[sum(len(s)==i for s in upper) for i in (1,2,3)],
|
| 393 |
+
fields=data, **certify_flag_interval(lower, upper))
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
def torus_example():
|
| 397 |
+
def v(i, j):
|
| 398 |
+
return 3 * (i % 3) + (j % 3)
|
| 399 |
+
triangles = []
|
| 400 |
+
for i, j in product(range(3),repeat=2):
|
| 401 |
+
a, b, c, e = v(i, j), v(i + 1, j), v(i + 1, j + 1), v(i, j + 1)
|
| 402 |
+
triangles.extend([(a, b, c), (a, c, e)])
|
| 403 |
+
hole = triangles.pop(0)
|
| 404 |
+
faces = canonical_faces(closure(triangles))
|
| 405 |
+
n = len(faces)
|
| 406 |
+
face_sets = [set(s) for s in faces]
|
| 407 |
+
upper = order_complex(n, lambda i,j: face_sets[i] < face_sets[j])
|
| 408 |
+
rim = set(closure([hole])) - {tuple(sorted(hole))}
|
| 409 |
+
base = {s for s in upper if all(faces[i] in rim for i in s)}
|
| 410 |
+
lower= spanning_extension(base,upper)
|
| 411 |
+
walk = []
|
| 412 |
+
for i in range(3):
|
| 413 |
+
a, b = hole[i], hole[(i + 1) % 3]
|
| 414 |
+
mid = faces.index(tuple(sorted((a, b))))
|
| 415 |
+
walk.extend([(faces.index((a,)),mid),(mid,faces.index((b,)))])
|
| 416 |
+
data = topology_check(lower, upper, walk,triangle_deletion=True)
|
| 417 |
+
for p in ('2','3'):
|
| 418 |
+
assert data[p]['upper_betti_1'] == 2 and data[p]['endpoint_image_rank']==0
|
| 419 |
+
return dict(f_vector=[sum(len(s)==i for s in upper) for i in (1,2,3)],
|
| 420 |
+
fields=data, **certify_flag_interval(lower, upper))
|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
def minimum_hits(clauses):
|
| 424 |
+
"""Minimum number of vertices meeting each nonempty bit-mask clause."""
|
| 425 |
+
@lru_cache(None)
|
| 426 |
+
def solve(remaining):
|
| 427 |
+
if not remaining:
|
| 428 |
+
return 0
|
| 429 |
+
first = min(remaining, key=int.bit_count)
|
| 430 |
+
return 1 + min(solve(tuple(mask for mask in remaining if not mask >> x & 1))
|
| 431 |
+
for x in bits(first))
|
| 432 |
+
return solve(tuple(sorted(clauses)))
|
| 433 |
+
|
| 434 |
+
|
| 435 |
+
def check_complexity_reduction():
|
| 436 |
+
checked = 0
|
| 437 |
+
for n in range(1, 6):
|
| 438 |
+
possible = list(combinations(range(n), 2))
|
| 439 |
+
for mask in range(1 << len(possible)):
|
| 440 |
+
edges = [possible[i] for i in bits(mask)]
|
| 441 |
+
tau = minimum_hits(bitset(edge) for edge in edges)
|
| 442 |
+
groups = [list(range(n)), [], []]
|
| 443 |
+
k = n
|
| 444 |
+
subdivided = []
|
| 445 |
+
for a, b in edges:
|
| 446 |
+
groups[1].append(k)
|
| 447 |
+
groups[2].append(k+1)
|
| 448 |
+
subdivided.extend([(a,k),(k, k + 1),(k+1,b)])
|
| 449 |
+
k += 2
|
| 450 |
+
for i in range(3):
|
| 451 |
+
groups[i].append(k)
|
| 452 |
+
groups[(i+1)%3].extend([k+1,k+2])
|
| 453 |
+
subdivided.extend([(k, k + 1),(k,k+2)])
|
| 454 |
+
k += 3
|
| 455 |
+
constraints = [bitset(edge) for edge in subdivided] + [bitset(g) for g in groups]
|
| 456 |
+
assert minimum_hits(constraints) == len(edges) + tau + 3
|
| 457 |
+
checked += 1
|
| 458 |
+
return dict(labelled_graphs_checked=checked, vertices_in_original_graph='1 to 5')
|
| 459 |
+
|
| 460 |
+
|
| 461 |
+
def main():
|
| 462 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 463 |
+
parser.add_argument('--output', type=Path, help='write optional readable JSON results')
|
| 464 |
+
args = parser.parse_args()
|
| 465 |
+
out = {}
|
| 466 |
+
for n in (3,4):
|
| 467 |
+
cube = BooleanPoset(n)
|
| 468 |
+
hom = BinaryHomology(cube)
|
| 469 |
+
out[f'{n}_labels'] = dict(interval_analysis=check_intervals(cube, hom),
|
| 470 |
+
single_run=check_single_runs(cube, hom), forks=check_forks(cube))
|
| 471 |
+
out['degree_two_circle_map'] = winding_example()
|
| 472 |
+
out['punctured_torus'] = torus_example()
|
| 473 |
+
out['three_facet_reduction'] = check_complexity_reduction()
|
| 474 |
+
report = json.dumps(out, indent=2, sort_keys=True)
|
| 475 |
+
if args.output:
|
| 476 |
+
args.output.write_text(report+'\n',encoding='utf-8')
|
| 477 |
+
print(report)
|
| 478 |
+
|
| 479 |
+
|
| 480 |
+
if __name__ == '__main__':
|
| 481 |
+
main()
|