Checked summaries of weighted row subtrees #
Combine exact kernel-verified subtree results before applying the full certificate checker.
Equations
- One or more equations did not get rendered due to their size.
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq Esgk.FarkasPackedCheck.PackTrie.zero Esgk.FarkasPackedCheck.PackTrie.zero = isTrue ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq Esgk.FarkasPackedCheck.PackTrie.zero (Esgk.FarkasPackedCheck.PackTrie.leaf x_2) = isFalse ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq Esgk.FarkasPackedCheck.PackTrie.zero (l.node r) = isFalse ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq (Esgk.FarkasPackedCheck.PackTrie.leaf x_2) Esgk.FarkasPackedCheck.PackTrie.zero = isFalse ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq (Esgk.FarkasPackedCheck.PackTrie.leaf a) (Esgk.FarkasPackedCheck.PackTrie.leaf b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq (Esgk.FarkasPackedCheck.PackTrie.leaf x_2) (l.node r) = isFalse ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq (l.node r) Esgk.FarkasPackedCheck.PackTrie.zero = isFalse ⋯
- Esgk.FarkasPackedCheck.instDecidableEqPackTrie.decEq (l.node r) (Esgk.FarkasPackedCheck.PackTrie.leaf x_2) = isFalse ⋯
Instances For
The quantities the certificate checker computes from a weighted tree.
- cost : ℕ
The weighted cost, including penalties for missing and invalid rows.
- rhs : ℤ
The weighted right-hand side.
- positive : PackTrie
The combined positive coefficients.
- negative : PackTrie
The combined negative coefficients.
Instances For
The summary of a node combines its two child summaries.
Equations
Instances For
The four fields match the checker’s calculations for the original subtree.
The same cost that the checker computes.
The same right-hand side that the checker computes.
- positive_eq : WTree.sumTrie (leafPack width (chunkLen box.nv 4) 4 build Row.pos) rows = summary.positive
The same packed positive sum that the checker computes.
- negative_eq : WTree.sumTrie (leafPack width (chunkLen box.nv 4) 4 build Row.neg) rows = summary.negative
The same packed negative sum that the checker computes.
Instances For
Exact child quantities imply the exact quantities for a node.
The checker’s final comparisons, performed on exact summary values.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A passing exact summary certifies the original full tree.