Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b00e77e
audit: add scoped five-world and 2026 hardness-assumption ledger
patrickdugan Oct 27, 2026
d7d491d
audit: implement sound Horn/contrapositive propagation and exact five…
patrickdugan Oct 27, 2026
01ce74b
audit: add exact counted SAT component-factorization baseline and con…
patrickdugan Oct 27, 2026
8c8238d
audit: adversarial regression tests for implication direction, assump…
patrickdugan Oct 27, 2026
4bfbe75
audit: preserve the decision-versus-counting one-way implication
patrickdugan Oct 27, 2026
3cf2e6d
audit: document five worlds, evidence boundaries and toy count controls
patrickdugan Oct 27, 2026
40f65c5
audit: add deterministic source-hashed assumption and toy-count verifier
patrickdugan Oct 27, 2026
1ccd95d
audit: add scoped CI with report artifacts for all three evidence sce…
patrickdugan Oct 27, 2026
8275ea0
docs: index Cryptomania assumption audit from EvalMath README
patrickdugan Oct 27, 2026
a3241e7
audit: include independent and improved October fine-grained algorith…
patrickdugan Oct 27, 2026
afe5c80
docs: track stronger and independent 2026 fine-grained counteralgorithms
patrickdugan Oct 27, 2026
9f49556
audit: test deterministic receipts, source digest coverage and all sc…
patrickdugan Oct 27, 2026
e4affc2
research: exact CNF and Boolean polynomial circuit encoding bridge
patrickdugan Oct 27, 2026
f53e17e
test: 10 exact toy controls for parsimonious CNF and sparse polynomia…
patrickdugan Oct 27, 2026
b3cd2d1
audit: reproduce 13 exact encoding checks with source SHA-256 receipt
patrickdugan Oct 27, 2026
0e9c53a
paper: scoped manuscript transfer and published AES circuit census
patrickdugan Oct 27, 2026
1365fb1
ci: verify exact cipher encoding witnesses and upload source-hashed r…
patrickdugan Oct 27, 2026
31edeb0
docs: link CA-02 encoding audit from Cryptomania overview
patrickdugan Oct 27, 2026
03816e5
audit: source-pinned NIST AES gate-minimum and AND-minimum Pareto enc…
patrickdugan Oct 27, 2026
605b1da
test: audit two NIST AES Pareto points and prevent misleading theorem…
patrickdugan Oct 27, 2026
6c06efd
audit: include source-pinned AES Pareto figures in deterministic veri…
patrickdugan Oct 27, 2026
9be6440
docs: source-pin NIST AES full-circuit Pareto alternatives and correc…
patrickdugan Oct 27, 2026
472638a
research: exact monomial histogram from NIST AES straight-line circui…
patrickdugan Oct 27, 2026
e9d47f9
Merge pull request #17 from MoralityLabAI/research/eth-crypto-encodin…
patrickdugan Oct 28, 2026
59eefe1
Integrate Cryptomania assumption audit and cipher encoding bridge
patrickdugan Oct 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/cryptomania-assumption-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: cryptomania-assumption-audit

on:
push:
paths:
- "configs/cryptomania_assumptions_v1.json"
- "src/spiral_ln/cryptomania_*.py"
- "tests/test_cryptomania_audit.py"
- "scripts/verify_cryptomania_audit.py"
- "paper/cryptomania_assumption_audit.md"
- ".github/workflows/cryptomania-assumption-audit.yml"
pull_request:
paths:
- "configs/cryptomania_assumptions_v1.json"
- "src/spiral_ln/cryptomania_*.py"
- "tests/test_cryptomania_audit.py"
- "scripts/verify_cryptomania_audit.py"
- "paper/cryptomania_assumption_audit.md"
- ".github/workflows/cryptomania-assumption-audit.yml"
workflow_dispatch:

jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install test dependencies
run: python -m pip install -e ".[test]"
- name: Adversarial logic and exact-count regression tests
run: python -m pytest -q tests/test_cryptomania_audit.py
- name: Generate independent scenario reports
run: |
mkdir -p output/cryptomania_audit
python scripts/verify_cryptomania_audit.py --scenario unadjudicated --output output/cryptomania_audit/unadjudicated.json
python scripts/verify_cryptomania_audit.py --scenario eth_only --output output/cryptomania_audit/eth_only.json
python scripts/verify_cryptomania_audit.py --scenario accept_october_2026_reports --output output/cryptomania_audit/accept_october_2026_reports.json
- uses: actions/upload-artifact@v4
if: always()
with:
name: cryptomania-assumption-audit
path: output/cryptomania_audit/*.json
if-no-files-found: warn
Comment on lines +24 to +46
42 changes: 42 additions & 0 deletions .github/workflows/eth-crypto-encoding-bridge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: eth-crypto-encoding-bridge

on:
push:
paths:
- "src/spiral_ln/crypto_encoding_bridge.py"
- "tests/test_crypto_encoding_bridge.py"
- "scripts/verify_crypto_encoding_bridge.py"
- "paper/crypto_encoding_bridge.md"
- ".github/workflows/eth-crypto-encoding-bridge.yml"
pull_request:
paths:
- "src/spiral_ln/crypto_encoding_bridge.py"
- "tests/test_crypto_encoding_bridge.py"
- "scripts/verify_crypto_encoding_bridge.py"
- "paper/crypto_encoding_bridge.md"
- ".github/workflows/eth-crypto-encoding-bridge.yml"
workflow_dispatch:

jobs:
finite-encoding-audit:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install test dependencies
run: python -m pip install -e ".[test]"
- name: Reproduce exact toy witnesses
run: python -m pytest -q tests/test_crypto_encoding_bridge.py
- name: Source-hashed crypto encoding receipt
run: |
mkdir -p output/crypto_encoding_bridge
python scripts/verify_crypto_encoding_bridge.py --output output/crypto_encoding_bridge/bridge_v1.json
- uses: actions/upload-artifact@v4
if: always()
with:
name: eth-crypto-encoding-evidence
path: output/crypto_encoding_bridge/*.json
if-no-files-found: warn
Comment on lines +22 to +42
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ revocation-sufficient: a static world needs one projective likelihood per
source, a Markov latent state the subset filters, none of which is redundant
for two sources. No Lean theorem, no acquisition-time attestation.

**New (2026-10-27):** [Cryptomania assumption audit](paper/cryptomania_assumption_audit.md)
tracks the five-world implication graph, evidence-gated ETH/3SUM/APSP hardness routes,
exact-rational Bayesian scenarios and an exact toy-#SAT control.
Reproduce with `PYTHONPATH=src python -m pytest -q tests/test_cryptomania_audit.py`
and `PYTHONPATH=src python scripts/verify_cryptomania_audit.py`.

Reviewers: see [`REVIEW.md`](REVIEW.md).

## Layout
Expand Down
241 changes: 241 additions & 0 deletions configs/cryptomania_assumptions_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
{
"schema_version": "1.0",
"as_of": "2026-10-27",
"propositions": {
"P_NE_NP": "P differs from NP (classical, uniform deterministic time).",
"AVG_HARD": "DistNP is not contained in AvgP in the chosen classical distributional-complexity convention.",
"OWF": "Classical one-way functions exist.",
"PKE": "Classically secure public-key encryption exists.",
"ETH": "Exponential Time Hypothesis for bounded-width 3SAT (variable-based subexponential time).",
"SETH": "Strong Exponential Time Hypothesis.",
"GAP_ETH": "Gap-ETH for the corresponding classical SAT promise.",
"HASH_ETH": "Exact-counting #ETH for bounded-width 3CNF.",
"THREE_SUM_HYP": "No truly subquadratic algorithm for polynomially bounded integer 3SUM.",
"APSP_HYP": "No truly subcubic algorithm for polynomially bounded integer-weight directed APSP.",
"ZWK_HYP": "Fine-grained worst-case zero-weight fixed-k clique hardness at exponent k-o(1).",
"ZWK_AVG_HYP": "Stated average-case fine-grained zero-weight fixed-k clique hardness, for distributions in the construction.",
"LWE_HARD": "Classical average-case LWE hardness in the parameter regime of a specified scheme.",
"ECDLP_HARD": "Classical ECDLP hardness for the parameter family under review."
},
"implications": [
[
"PKE",
"OWF"
],
[
"OWF",
"AVG_HARD"
],
[
"AVG_HARD",
"P_NE_NP"
],
[
"ETH",
"P_NE_NP"
],
[
"ETH",
"HASH_ETH"
],
[
"SETH",
"ETH"
],
[
"GAP_ETH",
"ETH"
]
],
"worlds": {
"Algorithmica": {
"P_NE_NP": false,
"AVG_HARD": false,
"OWF": false,
"PKE": false
},
"Heuristica": {
"P_NE_NP": true,
"AVG_HARD": false,
"OWF": false,
"PKE": false
},
"Pessiland": {
"P_NE_NP": true,
"AVG_HARD": true,
"OWF": false,
"PKE": false
},
"Minicrypt": {
"P_NE_NP": true,
"AVG_HARD": true,
"OWF": true,
"PKE": false
},
"Cryptomania": {
"P_NE_NP": true,
"AVG_HARD": true,
"OWF": true,
"PKE": true
}
},
"scenarios": {
"unadjudicated": {},
"accept_october_2026_reports": {
"ETH": false,
"HASH_ETH": false,
"THREE_SUM_HYP": false,
"APSP_HYP": false,
"ZWK_HYP": false,
"ZWK_AVG_HYP": false
},
"eth_only": {
"ETH": false
}
},
"routes": [
{
"id": "fine_grained_pke_zero_k_clique",
"summary": "Original fine-grained PKE hardness route through average-case zero-weight k-clique",
"premises": [
[
"ZWK_AVG_HYP"
]
]
},
{
"id": "fine_grained_pow_3sum",
"summary": "3SUM-based fine-grained proof-of-work hardness route",
"premises": [
[
"THREE_SUM_HYP"
]
]
},
{
"id": "fine_grained_pow_apsp",
"summary": "APSP-based fine-grained proof-of-work hardness route",
"premises": [
[
"APSP_HYP"
]
]
},
{
"id": "cvp_lower_bound_from_seth",
"summary": "Specified CVP lower bound conditional on SETH",
"premises": [
[
"SETH"
]
]
},
{
"id": "svp_lower_bound_from_gap_eth",
"summary": "Specified SVP lower bound conditional on Gap-ETH",
"premises": [
[
"GAP_ETH"
]
]
},
{
"id": "lwe_security_assumption",
"summary": "Classical LWE hardness premise for a proposed PKE parameter family",
"premises": [
[
"LWE_HARD"
]
]
},
{
"id": "ecdlp_security_assumption",
"summary": "Classical ECDLP hardness premise for a specified curve family",
"premises": [
[
"ECDLP_HARD"
]
]
}
],
"evidence": [
{
"id": "openai_eth_20261026",
"proposition": "ETH",
"proposed_value": false,
"stage": "announced_formalization_independent_replay_pending",
"source": "https://openai.com/index/building-scientific-understanding-with-academic-communities/",
"scope": "Fixed-width CNF and uniform resource accounting must match the Lean endpoint; EvalMath PRs #10/#11 audit the seam."
},
{
"id": "openai_counting_20261026",
"proposition": "HASH_ETH",
"proposed_value": false,
"stage": "announced_formalization_independent_replay_pending",
"source": "https://openai.com/index/building-scientific-understanding-with-academic-communities/",
"scope": "Exact #SAT on bounded-width 3CNF; manuscript and implemented bounds must be distinguished."
},
{
"id": "alman_vw_20261005_3sum",
"proposition": "THREE_SUM_HYP",
"proposed_value": false,
"stage": "research_preprint",
"source": "https://arxiv.org/abs/2610.06783",
"scope": "Integer 3SUM, polynomially bounded integers; O(n^1.9992) in original announcement."
},
{
"id": "alman_vw_20261005_apsp",
"proposition": "APSP_HYP",
"proposed_value": false,
"stage": "research_preprint",
"source": "https://arxiv.org/abs/2610.06783",
"scope": "Integer-weight directed APSP with polynomially bounded weights; O(n^2.9995)."
},
{
"id": "alman_vw_20261005_zwk",
"proposition": "ZWK_HYP",
"proposed_value": false,
"stage": "research_preprint",
"source": "https://arxiv.org/abs/2610.06783",
"scope": "Fixed-k zero-weight k-clique with polynomially bounded integer weights; worst-case speedup."
},
{
"id": "derived_avg_zwk_20261005",
"proposition": "ZWK_AVG_HYP",
"proposed_value": false,
"stage": "conditional_transfer_from_universal_algorithm",
"source": "https://arxiv.org/abs/2610.06783",
"scope": "Universal worst-case speedup also runs on sampled inputs in the same size and weight regime; check a construction's precise distribution and exponents."
},
{
"id": "majdoddin_20261012_3sum",
"proposition": "THREE_SUM_HYP",
"proposed_value": false,
"stage": "followup_research_preprint",
"source": "https://arxiv.org/abs/2610.17420",
"scope": "Improves deterministic 3SUM bound to n^(1.9945+o(1)) for the specified polynomially bounded integer input setting; follow-up to Alman-VW."
},
{
"id": "majdoddin_20261012_apsp",
"proposition": "APSP_HYP",
"proposed_value": false,
"stage": "followup_research_preprint",
"source": "https://arxiv.org/abs/2610.17420",
"scope": "Improves deterministic APSP/min-plus exponent to n^(2.9945+o(1)) in the paper's stated integer-weight setting."
},
{
"id": "karingula_lovett_20261011_3sum",
"proposition": "THREE_SUM_HYP",
"proposed_value": false,
"stage": "independent_simplified_preprint",
"source": "https://arxiv.org/abs/2610.15663",
"scope": "Simplified independent route to truly subquadratic 3SUM and subcubic APSP with weaker exponents; not a proof of cryptographic insecurity."
}
],
"protocol": {
"evidence_rule": "Evidence entries are inert. Scenario assumptions are explicit and optional, never silently promoted from a publication.",
"implication_rule": "A=>B propagates A=true to B=true and B=false to A=false; the reverse inferences are prohibited.",
"route_rule": "A failed premise invalidates only that listed conditional route; it is not a cryptanalytic break.",
"world_rule": "World projections contain P_NE_NP, AVG_HARD, OWF, PKE only; ETH=false imposes no five-world elimination."
}
}
Loading
Loading