The single coherent story is PROOF-NARRATIVE.adoc. The assumption registry is ASSUMPTIONS.adoc. This file is the per-obligation checklist with status, prover, priority.
Tier: T2 — High. KRL’s assurance must come from its actual parser, transformation implementations and resolution witnesses. QuandleDB implements the current fragment. Tangle is a separate language and supplies no inherited KRL proof guarantee.
| Code | Meaning | Applies? |
|---|---|---|
TP |
Typing proofs (port-arity, lowering totality) |
Yes |
INV |
Invariant proofs (round-trip, grammar refinement) |
Yes |
SEC |
Security proofs |
No |
CONC |
Concurrency proofs |
No |
ALG |
Algorithm proofs (simplification correctness) |
Yes |
ABI |
ABI/FFI proofs (Zig FFI boundary, Idris2 layout) |
Yes (low priority) |
DOM |
Domain proofs (quandle equivalence soundness) |
Yes |
| # | Statement | Category | Prover | Priority | Effort | Status |
|---|---|---|---|---|---|---|
KR-1 |
Accepted fragment operations execute with defined semantics or explicit refusal |
TP |
Idris2 + Julia property test |
P1 |
1d |
PARTIAL (retrieval and assurance-refusal assertions run in the Julia fragment workflow; general proof open) |
KR-2 |
Construction/composition preserve checked port arity |
TP |
Idris2 + typechecker impl |
P1 |
3d |
NOT STARTED (typechecker not implemented) |
KR-3 |
|
ALG |
Lean4 or property test against quandle iso |
P1 |
5d |
OPEN (no KRL transformation implementation claimed) |
KR-4 |
Pretty/parse round-trip: |
INV |
Julia property test (cheap) |
P1 |
4h |
NOT STARTED |
KR-5 |
Idris2 |
ABI |
Decision + wiring |
P3 |
2h |
DECISION PENDING |
KR-6 |
Declared fragment agrees with |
INV |
Acceptance/rejection corpus |
P1 |
— |
PARTIAL (syntax, AST and execution/refusal checks; full conformance open) |
KR-7 |
|
INV |
Grammar smoke test extension |
P2 |
1h |
DRAFT (example lexical checks only) |
KR-8 |
|
DOM |
Lean4 (factored through QuandleDB’s QD-3) |
P1 |
5d |
NOT STARTED |
For full statements, why valuable, and the assumptions each obligation rests on, see PROOF-NARRATIVE.adoc. For the assumptions themselves, see ASSUMPTIONS.adoc.
CI rejects any PR introducing any of these:
| Pattern | Language | Meaning |
|---|---|---|
|
Idris2 |
Unsafe cast |
|
Idris2 |
Skip totality check |
|
Idris2 / Agda |
Unproven axiom |
|
Lean4 |
Incomplete proof |
|
Coq |
Incomplete proof |
|
Haskell |
Unsafe cast |
|
OCaml / ReScript |
Unsafe cast |
|
Rust |
Unsafe block without safety comment |
Enforced by panic-attack assail --proofs-only.
verification/proofs/ ├── idris2/ — ABI / type-level invariants (KR-1, KR-2, KR-5) ├── lean4/ — Semantic claims (KR-3, KR-8) └── julia/ — Property tests against the declared QuandleDB fragment (KR-4, KR-6, KR-7)
-
hyperpolymath/quandledb/PROOF-NARRATIVE.md— database semantic obligations. -
Implementation under test:
quandledb/server/krl/.