`skyscraper/bn254-multiplier/src/utils`: tighter bounds
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- cryptography, testing-qa
Research direction
Start in skyscraper/bn254-multiplier/src/utils.rs around line 223 and read the div_p_6b_underapprox Kani proof, including the existing assertions and U64_P_MULTIPLES data. Run the proof to establish its current bounds, then determine and encode tighter bounds so the proof passes without the TODO. Done means the underapproximation has stronger verified bounds.
Written by the indexing model from the issue text.
Description
On 2026-03-17 in ba92f89 “Merge pull request #320 from worldfnd/xr/subred”:
tighter bounds
assert!(x >= r);
assert!(le256([0, 0, 0, x - r], U64_2P));
}
#[kani::proof]
// TODO tighter bounds
fn div_p_6b_underapprox() {
let x: u64 = kani::any();
let q = div_p_6b(x);
let r = U64_P_MULTIPLES[q as usize][3];
- Dominant language
- Noir
- Stars
- 138
- Forks
- 47
- Avg merge
- 1d 34m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from worldfnd/provekit
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in worldfnd/provekit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aegis-aead/libaegis#35 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
snapshot-labs/snapshot.js#1247 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ietf-plants-wg/merkle-tree-certs#323 · 1 reaction ·
-
DataRowRecord JSON key order differs from canonical output (breaks raw-string ciphertext detection) Openbug documentation rust
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
godaddy/asherah-ffi#392 ·