|
1 | 1 | # λSAT · the moving frame |
2 | 2 |
|
3 | | - |
4 | | -> *The path has chosen you, now you honour the springtime in the pathwalk.* |
5 | | -> **CANARY REPOSITORY:** This is the experimental, formalized structure of the solver. |
6 | | -
|
7 | 3 | > *A solver that carries its own proof, and knows which shape of hardness it's looking at.* |
8 | 4 |
|
9 | 5 | [](https://github.com/jesusvilela/lambda-sat-solver/actions/workflows/tests.yml) |
@@ -85,30 +81,43 @@ where game theory flips: on the island a *pure* strategy dominates; on the tunne |
85 | 81 |
|
86 | 82 | --- |
87 | 83 |
|
88 | | -## 構造 · the Canary stack (Adiabatic Geodesic Flow) |
89 | | - |
90 | | -The Canary architecture wholly abandons heuristic python string-matching and scalar Euclidean approximations (like simplistic `m/n` clause-ratio checks). Instead, it physicalizes the solver as a Hamiltonian system operating under hyper-dimensional Riemannian logic. Every layer is mapped directly to a structural C++ topology extractor, bridging discrete logic into a continuous Riemannian manifold. |
| 84 | +## 構造 · the stack |
91 | 85 |
|
92 | | -> **Read the full philosophical and mathematical integration:** [The Ultimate Synthesis](ultimate_synthesis.md) |
| 86 | +Every layer is the same operator seen at a different scale. Fractal, self-similar, and |
| 87 | +each verdict certified all the way down. |
93 | 88 |
|
94 | 89 | ```mermaid |
95 | | -graph TD |
96 | | - A[CNF Hyper-Manifold] --> B(C++ Tensor-Native Flavor Analyzer) |
97 | | - B -- O(L) Dense SIMD Vectorization --> C{Cython Topological Bridge} |
98 | | - C -- Z2 x Z2 Parity Matrix --> D[Bridge Annealer: Parity Oracle] |
99 | | - C -- A4 High-Density Topology --> E[Bridge Annealer: CMS Gauss-Jordan] |
100 | | - C -- Trivial/Unstructured Geometry --> F[CDCL Fallback / Bare Kissat] |
101 | | - D --> G(Diamond Holonomy Verification in Lean 4) |
102 | | - E --> G |
103 | | - F --> G |
| 90 | +flowchart TD |
| 91 | + ACAF["<b>ACAF</b> · adaptive actor-critic-ambigator-fuzzer"] --> META["<b>metasolver</b> · description-driven dispatch"] |
| 92 | + ACAF --> MM["<b>meta-metasolver</b> · fractal seed-portfolio"] |
| 93 | + META --> FR["<b>frame router</b> · 3 sound frames + Nelson-Oppen coupling"] |
| 94 | + MM --> FR |
| 95 | + META --> K["certified CDCL · Kissat / CaDiCaL"] |
| 96 | + MM --> K |
| 97 | + FR --> OBS(["<b>observer</b> — certify every verdict"]) |
| 98 | + K --> OBS |
| 99 | +
|
| 100 | + DESC["<b>the view from outside</b><br/>dynamics · fabric · hyperbolic model"] -.reads.-> ACAF |
104 | 101 | ``` |
105 | 102 |
|
106 | | -- **Flavor Analyzer** (`backend/cpp/flavor_analyzer.hpp`) — C++ structural extractor. Reads the exact hyper-dimensional geometry of the CNF to map dispersion groups ($Z_2 \times Z_2$, $A_4$, Trivial). |
107 | | -- **Cython Bridge** (`backend/cython/tribridge.pyx`) — Lifts the C++ `vector[vector[int]]` geometry into the Python space seamlessly. |
108 | | -- **BBD Router** (`backend/cpp/router.hpp`) — Breathing Bridge Descent. Selects the geodesic path instantly based on the Flavor group, acting as a Hamiltonian state transition rather than a heuristic choice. It rejects Euclidean scalars in favor of topological shape-matching (e.g., verifying exact variable overlap for XOR expansion). |
109 | | -- **Parity Oracle** — Handles highly structured cryptographic chains with zero search. |
110 | | -- **CDCL Fallback** (`Kissat/CaDiCaL`) — The unstructured heavy-tail engine. |
111 | | -- **Diamond Holonomy Benchmarking** — Evaluates paths using rigorous TFLOPS-bounded physics instead of scalar time. |
| 103 | +- **frame router** (`frame_solver.py`) — the three frames + their coupling, refute-first. |
| 104 | +- **metasolver** (`metasolver.py`) — reverts the dynamical description into a dispatch. On a |
| 105 | + *counting-and-parity-inclusive mix* (not the competition set) it wins on PAR-2 over Kissat, |
| 106 | + CaDiCaL and CryptoMiniSat — because it is instant where they blow up on counting, and |
| 107 | + comparable elsewhere. A structural result on a specific mix, not a generally faster solver. |
| 108 | +- **meta-metasolver** (`metametasolver.py`) — the minimax mixed strategy; on the heavy-tailed |
| 109 | + random-3SAT band it *out-searches CMS in wall-clock* (parallel, at a `k×` CPU cost, no CMS |
| 110 | + in the pool). Single-thread on few cores, this advantage shrinks — see the honest scope. |
| 111 | +- **metasolver** (`metasolver.py`) — description-driven dispatch. On the included |
| 112 | + competition-style mix, its aggregate win comes from routing structured islands before |
| 113 | + CDCL, not from a claim of general CDCL dominance. |
| 114 | +- **meta-metasolver** (`metametasolver.py`) — seed-diversified CDCL portfolio for the |
| 115 | + heavy-tailed random-3SAT band; measured in the repo's scoped benchmark, with CPU cost |
| 116 | + reported. |
| 117 | +- **ACAF** (`acaf.py`) — sizes the mixed strategy to the cores; wins the structured tier by |
| 118 | + a constructive certificate, the hard tier by an adaptive portfolio. |
| 119 | +- **the view from outside** — `dynamics.py` (laws/relations/motions), `fabric.py` + |
| 120 | + `fabric_model.py` (the hyperbolic instance-manifold), `observer.py` (the adjudicator). |
112 | 121 |
|
113 | 122 | > Every number here is a *measured* claim on a small, fixed, synthetic mix — regenerate it |
114 | 123 | > with one command and read the scope in [`REPRODUCIBILITY.md`](REPRODUCIBILITY.md). This is |
@@ -145,13 +154,6 @@ python -m backend.cli examples/simple_sat.cnf --heuristic aggressive |
145 | 154 | python -m pytest backend/tests/ -q |
146 | 155 | ``` |
147 | 156 |
|
148 | | -### Benchmarking against SAT Competition |
149 | | -To operationalize the solver and squeeze performance on standard competition instances (`.cnf`, `.xz`, `.lzma`): |
150 | | - |
151 | | -```bash |
152 | | -python -m backend.benchmark_cli ./cache/zenodo_full/ --pattern "*.xz" --timeout 5000 --parallel |
153 | | -``` |
154 | | - |
155 | 157 | Strict certification smoke tests: |
156 | 158 |
|
157 | 159 | ```bash |
|
0 commit comments