docs: the deductible share's percent may carry decimals; measured times

The kernel function's doc now says a percent is a deductible percentage
in 0..=100 and that an override may carry decimals (33.33 is exact), the
fact the tax API allows. docs/verification.md's harness table records the
new harness at 992 s alone and 1,207 s inside the 2026-11-08 prove-slow
run, both under the 1,800 s cap.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
swaitsandDeepSeek V4.1 Flash committed 2026-11-08 06:13:26 -07:00
1 parent be98b99abb
commit 96a4c4a3b4
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -429,6 +429,8 @@ pub fn line_amount<T: Amount>(quantity: T, unit_price: T) -> Option<T> {
/// A tax category's deductible amount from its accounts' `(book,
/// percent)` pairs: every account's exact share `book × percent ÷ 100`
/// added first, then the one rounding to the cent, half away from zero.
/// A percent is the account's deductible percentage, 0 to 100; an
/// override may carry decimals (33.33 is 33.33%, exactly).
///
/// ```text
/// GOAL: a category's deductible amount is its exact shares added and
+1 -1
View File
@@ -925,7 +925,7 @@ each harness's whole run, its compile of about 50 s included):
| `bounds_check_matches_definition` | 34 | prove | (not in the 2026-10-22 run; P4b S1, 2026-10-24) |
| `bounds_kept_is_the_definition_on_books_in_bounds` | 34 | prove | (as above) |
| `settle_is_exact` | 36 | prove | 1 |
| `deductible_amount_rounds_once` | 39 | prove-slow | 992 (2026-11-08) |
| `deductible_amount_rounds_once` | 39 | prove-slow | 992 alone; 1,207 in the 2026-11-08 prove-slow |
| `deductible_amount_refuses_overflow` | 39 | prove | 0 |
| `kani_symbolic_copy_canary` | (the checker: "Trusting the checker") | prove | 3 |