Open and answer this issue on GitHub.
blocked, solver · opened 2026-11-15 · updated 2026-11-22 · 0 comments
Split from #1629 „sv_simplex: pub list fields withhold D22 bounds, SvRow cols/ks relation not found“ (supervisor, 2026-11-15), item 1. The builder made SvSimplex’s tableau fields private (pushed). That proves none of the 11 sites, because each one reads an element of a list field of a list’s element (rows[*].cols).
ADR-369 D4 may find a rule over a type’s private fields. The rule these sites need is about every element of a list inside every element of another list: all r in rows: all c in r.cols: 0 <= c < width, plus values.len() == width. A found rule over the elements of a list is a claim of the all form that #798 „Facts about data, steps 2-3: a rule over every element the prover reads (xs.all(|x| ...)), and std’s sorted contracts (decision)“ decided, and its build is deferred (owner, 2026-11-15). So this waits for that build.
struct Row {
cols: Vec[i64],
}
pub struct Table {
width: i64,
rows: Vec[Row],
values: Vec[i64],
}
pub fn table(width: i64) -> Table {
let mut values: Vec[i64] = []
let mut i = 0
while i < width { values.push(0); i += 1 }
return Table { width: width, rows: [], values: values }
}
impl Table {
pub fn add(mut self, col: i64) {
if col < 0 || col >= self.width { return }
self.rows.push(Row { cols: [col] })
}
pub fn sum(self) -> i64 {
let mut s = 0
for r in self.rows {
for c in r.cols { s = s + self.values[c] }
}
return s
}
}
fn main() {}
nikaia check --bounds gives today: self.values[c] checked: a value read out of a list, of which the walk knows no fact (#797, #798).
Specified result: self.values[c] is proved. Every construction and method keeps the cols elements of every row in 0..<width, and values.len() == width (ADR-369 D3/D4).
all is built: the D4 finder searches for all claims over a private list field’s elements, nested one level (a list field of a list’s element type), with the ADR-361 strategies under the counted budget.for over both lists (D3).tests/compiler/: the probe is proved; a method that pushes an unchecked col keeps it checked.sv_simplex sites #1629 names.The probe’s index is proved and the 11 sites are measured in the report.
Blocked by #798 „Facts about data, steps 2-3: a rule over every element the prover reads (xs.all(|x| ...)), and std’s sorted contracts (decision)“.
Generated by Claude Code