docs(claims): name the real items the stricter gate caught
The traceability gate now resolves a name exactly, so five citations that were only approximately right are corrected to the code they mean: - `form1099::Vendor1099Report::untagged_payments` is the free `form1099::untagged_payments`, not a method. - `JournalFormat::declared` is the free `format::declared`, not an associated function. - the Deductible and Apportion Lean theorems were cited bare; they live in those namespaces (`Deductible.tie_away_pos`, `Apportion.allocW_sum`, ...). - `control_agrees` is `Documents.control_agrees`. - `Step.discard` is a Step constructor, not an audited theorem; the claim keeps the two audited theorems that prove it. Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
1 parent
0a90290160
commit
6b20946ae7
6 files changed
+8
-8
No files matched your search
@@ -73,7 +73,7 @@ and no one owes), leaving out payroll runs, entries marked as having no
|
||||
counterparty, entries naming only parties with no 1099 role, and entries
|
||||
reversed in the year: one count, the entries when ten or fewer, and the
|
||||
tool to tag them.
|
||||
*Enforced:* `form1099::Vendor1099Report::untagged_payments`, `books.vendor_1099`,
|
||||
*Enforced:* `form1099::untagged_payments`, `books.vendor_1099`,
|
||||
`books.set_entry_vendor`; the digest and Needs attention.
|
||||
*Checked:* `the_untagged_note_counts_only_money_out`,
|
||||
`the_other_receipts_note_says_what_each_entry_did` (ledger-package).
|
||||
|
||||
@@ -65,7 +65,7 @@ Lean `Documents.control_agrees`, `Documents.Step.document_unattached`,
|
||||
(through role assignments and releases),
|
||||
`Documents.Reachable.control_is_documents`. The model's limits: it
|
||||
starts from empty books (legacy lines are covered by the identity
|
||||
`control_agrees` alone), it names documents by one id space (an injective
|
||||
`Documents.control_agrees` alone), it names documents by one id space (an injective
|
||||
coding of `DocRef`), and an account becoming a control account by its
|
||||
first document, holding lines from before, is outside it (those lines are
|
||||
listed as unattached).
|
||||
|
||||
@@ -203,7 +203,7 @@ pinned; every tool over every old book).
|
||||
`Ledger::{set_draft_state, discard_draft, posted_seq}`,
|
||||
`Store::{set_draft_state, discard_draft, post_entry_checked}` (the gate the server posts a hand draft by; `Store::post_entry` stays the primitive commands and fixtures post through); events
|
||||
`entry.draft_state_set`, `entry.draft_discarded` (feature `drafts_v2`).
|
||||
**Checked:** Lean `Step.discard`, `Step.discard_keeps_books`,
|
||||
**Checked:** Lean `Step.discard_keeps_books`,
|
||||
`Step.discard_unblocks_close`; `ledger-core` `tests/invariants.rs`
|
||||
(`discard_unblocks_close`); `ledger-store` `tests/store.rs`
|
||||
(`draft_states_replay_and_project`, `drafts_v2_waits_for_the_upgrade`,
|
||||
|
||||
@@ -161,7 +161,7 @@ the W-9 when the vendor's W-9 flag follows it. A value in a line of a known
|
||||
type that only a newer version writes (a 1099 decision or reason kind, a
|
||||
payment method's kind) is newer, never corrupt.
|
||||
|
||||
*Enforced:* `ledger_store::format` (`JournalFormat::declared`, `require_format`, `require_feature`), `Store::ensure_feature`, `Store::declare_journal_format`, `StoreError::FormatUpgradePending`, `format::setting_feature`, `format::tax_category_feature`.
|
||||
*Enforced:* `ledger_store::format` (`format::declared`, `require_format`, `require_feature`), `Store::ensure_feature`, `Store::declare_journal_format`, `StoreError::FormatUpgradePending`, `format::setting_feature`, `format::tax_category_feature`.
|
||||
*Checked:* `ledger-store` `tests/settings.rs` (`a_change_needs_journal_format_2`), `tests/format_upgrade.rs` (`a_write_waiting_for_the_upgrade_journals_nothing`, a newer feature still refused); `tests/p2_compat.rs` (every P3 setting key and tax category needs a feature); the unit tests in `format.rs`.
|
||||
|
||||
**WB-format-3 The other way round: the format upgrade, with the owner's
|
||||
|
||||
@@ -310,8 +310,8 @@ rounding). **Checked:** `ledger-core`
|
||||
`a_category_rounds_once_across_different_percents`); Kani
|
||||
`deductible_amount_rounds_once`, `deductible_amount_refuses_overflow`;
|
||||
bridge `deductible_amount_agrees`; Lean `bookspec/lean/Bookspec/Deductible.lean`
|
||||
(`Deductible.near`, `tie_away_pos`, `tie_away_neg`, `sign`, `neg`, `of_sum`,
|
||||
`per_account_differs`, `scale_books`, `scale_percents`: the one rounding, at any
|
||||
(`Deductible.near`, `Deductible.tie_away_pos`, `Deductible.tie_away_neg`, `Deductible.sign`, `Deductible.neg`, `Deductible.of_sum`,
|
||||
`Deductible.per_account_differs`, `Deductible.scale_books`, `Deductible.scale_percents`: the one rounding, at any
|
||||
number of accounts and any sizes); bookspec `examples/tax-category-required.toml`.
|
||||
|
||||
### Product rules
|
||||
|
||||
@@ -36,8 +36,8 @@ Rules: B-13, B-26, B-35, B-36.
|
||||
`closePart_total`, `trueUp_total`, `trueUp_running`,
|
||||
`closePart_eq_trueUp`, `cumulative_drift`, `statement_after_close`,
|
||||
`statement_unmoved_by_close`, `Apportion.rem_pos_of_rank_lt`,
|
||||
`apportion_drift`, `allocW_sum`, `allocW_drift`,
|
||||
`allocW_cumulative_drift`, `allocW_cumulative_total`; properties
|
||||
`Apportion.apportion_drift`, `Apportion.allocW_sum`, `Apportion.allocW_drift`,
|
||||
`Apportion.allocW_cumulative_drift`, `Apportion.allocW_cumulative_total`; properties
|
||||
`prop_split_*`, `each_members_capital_chains_across_statements`,
|
||||
`each_member_stays_within_a_cent_of_their_share`,
|
||||
`members_capital_never_drifts_a_cent_from_their_share`,
|
||||
|
||||
Reference in new issue
Block a user