Insert `(idx, k)` into the var list at `path`, taking the max of offsets when `idx` is already present. Mirrors Lean4Lean's `NormLevel.addNode v k path'` (`refs/lean4lean/Lean4Lean/Level.lean:92`); `k` must be the current succ-accumulator from `normalize_aux`. An earlier port of this function dropped `k` and always inserted `(idx, 0)`, which silently mis-normalized `Succ^n(imax(u, Param v))` shap
(s: &mut NormLevel, idx: u64, k: u64, path: &[u64])
| 339 | } |
| 340 | |
| 341 | /// Insert `(idx, k)` into the var list at `path`, taking the max of offsets |
| 342 | /// when `idx` is already present. Mirrors Lean4Lean's |
| 343 | /// `NormLevel.addNode v k path'` (`refs/lean4lean/Lean4Lean/Level.lean:92`); |
| 344 | /// `k` must be the current succ-accumulator from `normalize_aux`. |
| 345 | /// |
| 346 | /// An earlier port of this function dropped `k` and always inserted |
no test coverage detected