docs: record deep nested loop probe under Q-061 and Q-063
This commit is contained in:
1 parent
ac17e84aeb
commit
17cbe3eb4e
2 files changed
+16
-6
No files matched your search
@@ -530,8 +530,8 @@ The [2026-10-11 per-step observation](runtime-value-depth-audit.md#per-step-vali
|
|||||||
final probe battery and the preceding traversal repairs. The
|
final probe battery and the preceding traversal repairs. The
|
||||||
[closing observation](source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13)
|
[closing observation](source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13)
|
||||||
records the tested constructions, timings and limits of that evidence. Deep
|
records the tested constructions, timings and limits of that evidence. Deep
|
||||||
`loop` remains untested because the attempted fixture rejected unreachable
|
`loop` was probed later (2026-10-14, see Q-063): no native-stack failure.
|
||||||
code after `break` with E7006. Closure is not a proof of arbitrary-depth
|
Closure is not a proof of arbitrary-depth
|
||||||
acceptance or linear compilation time. Superlinear lowering is separately
|
acceptance or linear compilation time. Superlinear lowering is separately
|
||||||
tracked in Q-063; Q-060's full per-step GC validation is closed separately.
|
tracked in Q-063; Q-060's full per-step GC validation is closed separately.
|
||||||
|
|
||||||
@@ -644,10 +644,13 @@ changing acceptance. This does not add a semantic rule or close Q-061.
|
|||||||
**Open; known implementation performance limitation (2026-10-13).** The
|
**Open; known implementation performance limitation (2026-10-13).** The
|
||||||
[final source-depth probes](source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13)
|
[final source-depth probes](source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13)
|
||||||
report superlinear elapsed time for nested `match`, `while` and especially
|
report superlinear elapsed time for nested `match`, `while` and especially
|
||||||
`shield`, without native-stack aborts or observed correctness defects. This
|
`shield`; nested `loop` (probed 2026-10-14) behaves the same: 7.2 s at 1,024
|
||||||
|
levels, 108 s at 4,096 (then the ordinary E5101), and no result after more than
|
||||||
|
ten minutes and about 480 MB at 16,384, where the agent stopped it. No
|
||||||
|
native-stack aborts or observed correctness defects. This
|
||||||
tracks resilience to adversarial source input separately from Q-061's repaired
|
tracks resilience to adversarial source input separately from Q-061's repaired
|
||||||
stack-exhaustion defect. Repeated scans of the remaining AST for live variables
|
stack-exhaustion defect. Repeated scans of the remaining AST for live variables
|
||||||
are a suspected cause, not a profiled explanation of all three results.
|
are a suspected cause, not a profiled explanation of all four results.
|
||||||
|
|
||||||
Defer liveness caching or a broader `lower.zig` refactor until after Q-060's
|
Defer liveness caching or a broader `lower.zig` refactor until after Q-060's
|
||||||
full per-step GC validation. A later optimization needs profiling and exact
|
full per-step GC validation. A later optimization needs profiling and exact
|
||||||
|
|||||||
@@ -1323,8 +1323,15 @@ they are generated by the construction patterns in the table. The compiler uses
|
|||||||
|
|
||||||
The 65,536-level match probe was stopped by the agent after more than ten
|
The 65,536-level match probe was stopped by the agent after more than ten
|
||||||
minutes and about 1.7 GB; it has no terminal result and is not a pass or a
|
minutes and about 1.7 GB; it has no terminal result and is not a pass or a
|
||||||
native-stack failure. Attempted deep `loop` fixtures contained unreachable
|
native-stack failure. Early deep `loop` fixtures contained unreachable
|
||||||
code after `break` and returned E7006, so they establish no deep-loop coverage.
|
code after `break` and returned E7006, so they established no coverage.
|
||||||
|
|
||||||
|
Deep `loop` (2026-10-14, agent-run, `loop { k = k + 1; if k > 3 { break; } ... }`
|
||||||
|
nested n times, `aji check`): n=64, 256 accepted; n=1,024 accepted in 7.2 s;
|
||||||
|
n=4,096 reached the ordinary E5101 after 108 s; n=16,384 had no result after
|
||||||
|
more than ten minutes and about 480 MB and was stopped by the agent (neither a
|
||||||
|
pass nor a native-stack failure). Nested `loop` shows the same superlinear
|
||||||
|
time as `match`, `while` and `shield` (Q-063); no crash.
|
||||||
Timings characterize this battery only; no controlled cross-machine
|
Timings characterize this battery only; no controlled cross-machine
|
||||||
benchmark or exact asymptotic bound is claimed.
|
benchmark or exact asymptotic bound is claimed.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user