Skip to content

Commit 31c48ca

Browse files
docs: correct Idris2 region-linearity theorem names (#115)
The recent README/ROADMAP/EXPLAINME rewrite used `regionSafetyTheorem`/`noGCTheorem` for two theorems in `src/formal/`, but the actual names are `regionSafetyExtract`/`noGCExtract` (in `Ephapax/Formal/RegionLinear.idr` at lines 139 and 151 respectively). EXPLAINME also cited non-existent paths (`NoEscape.idr`, `RegionSafety.idr`, `NoGC.idr`, `Orthogonality.idr`) — all four theorems actually live in `RegionLinear.idr`. Fixed in README.adoc, ROADMAP.adoc, EXPLAINME.adoc. Companion wiki fix (Home.md, Region-calculus.md, Proof-status.md) pushed separately to the wiki repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e3b4883 commit 31c48ca

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

EXPLAINME.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,16 +245,16 @@ properties of the region-linear calculus:
245245
| Theorem | Where
246246

247247
| `noEscapeTheorem`
248-
| `src/formal/Ephapax/Formal/NoEscape.idr`
248+
| `src/formal/Ephapax/Formal/RegionLinear.idr:129`
249249

250-
| `regionSafetyTheorem`
251-
| `src/formal/Ephapax/Formal/RegionSafety.idr`
250+
| `regionSafetyExtract`
251+
| `src/formal/Ephapax/Formal/RegionLinear.idr:139`
252252

253-
| `noGCTheorem`
254-
| `src/formal/Ephapax/Formal/NoGC.idr`
253+
| `noGCExtract`
254+
| `src/formal/Ephapax/Formal/RegionLinear.idr:151`
255255

256256
| `orthogonalityLemma`
257-
| `src/formal/Ephapax/Formal/Orthogonality.idr`
257+
| `src/formal/Ephapax/Formal/RegionLinear.idr:164`
258258

259259
| `splitLinearCoverage`
260260
| `src/formal/Ephapax/Formal/Qualifier.idr` (PR #85, 2026-05-19) —

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Two Idris2 developments:
239239
markers retained for documented Idris2 0.8.0 SCT limits.
240240

241241
* **`src/formal/`** — region-linearity theorems on the type side:
242-
`noEscapeTheorem`, `regionSafetyTheorem`, `noGCTheorem`,
242+
`noEscapeTheorem`, `regionSafetyExtract`, `noGCExtract`,
243243
`orthogonalityLemma`, plus `splitLinearCoverage` generalising
244244
the non-diminishment property (PR #85). All four headline theorems
245245
complete with **zero unsafe patterns**.

ROADMAP.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ Separate Idris2 development proving structural properties of the
123123
region-linear calculus:
124124

125125
* `noEscapeTheorem` — region references cannot leak past their scope
126-
* `regionSafetyTheorem` — typed expressions don't dereference freed regions
127-
* `noGCTheorem` — bulk deallocation at region exit is sound
126+
* `regionSafetyExtract` — typed expressions don't dereference freed regions
127+
* `noGCExtract` — bulk deallocation at region exit is sound
128128
* `orthogonalityLemma` — the linear / region disciplines compose
129129
* `splitLinearCoverage` (PR #85, 2026-05-19) — generalises
130130
`nonDiminishment` from head-position to all linear bindings

0 commit comments

Comments
 (0)