Skip to content

Commit fbf4c7a

Browse files
committed
docs: env-machine WHNF design is implemented (Phases A+B)
1 parent ff35306 commit fbf4c7a

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/env_machine_whnf.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22

33
Port of the IxVM environment machine (`~/ix-aiur` commits `d0d3375`
44
Phase A, `b4c4ea3` Phase B; `Ix/IxVM/Kernel/Whnf.lean:209-460`,
5-
`Subst.lean:352-400`) to `crates/kernel/src/whnf.rs`. Status: design —
6-
not implemented.
5+
`Subst.lean:352-400`) to `crates/kernel/src/whnf.rs`. Status:
6+
IMPLEMENTED — Phase A in `7825e0b` (machine loop in `whnf.rs`,
7+
`Clo`/`MEnv`/`clo_subst` in `subst.rs`), Phase B closure-iota in
8+
`acd0780` (`try_iota_clo`); guest cycle benchmarks pending. One
9+
deviation from §7: machine-native delta (the IxVM Phase C1.5 win)
10+
does not port at this layer — our machine lives inside `whnf_core`,
11+
which must stay delta-free for def-eq's lazy-delta unfold ordering,
12+
whereas the IxVM machine sits in a whnf that includes delta. Spanning
13+
`whnf`'s delta loop with closures is a separate, larger design.
714

815
## 1. Problem and evidence
916

0 commit comments

Comments
 (0)