Commit 9988d8b
feat(abi): T5-proper kernel — decidable access-typing spec (extractable checker)
`SiteWellTyped` is decidable (a Bool equality + a Nat equality + an LTE), so
`AccessTypingClean` is too: `decAccessTypingClean` is a correct-by-construction
access-typing checker derivable from the spec itself — its `Yes` carries the
acceptance proof, its `No` a refutation of one conjunct.
This is the verified KERNEL of T5: the typing decision is now COMPUTABLE inside
the spec ("the checker moved inside the spec's sight"), collapsing all
typing-LOGIC trust. The residual trust reduces to decode-faithfulness ALONE
(producing the SpecSite data from wasm bytes) — the WasmCert-scale tail. Full
extraction-to-Rust and the wasm operational-semantics tie-back remain the open,
multi-week T5 frontier; this is its verified core.
idris2 --build: exit 0, 24 modules; no believe_me/postulate/sorry/assert_total;
%default total; no new warnings.
Stacked on #173 (T5a access-typing spec); to be rebased onto main and PR'd once
#173 lands.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6249995 commit 9988d8b
1 file changed
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
0 commit comments