FACTUM

Worked examples · Government

A bill, checked against the Code it amends.

A bill changes the law by instructions: strike these words from that section, insert those. Factum reads a bill against a stated release of the U.S. Code, and against itself, and states what it found where. It never judges what a provision means.

The problem

A bill amends existing law by instructions that name a section of the United States Code and quote the words to strike, or the words after which new text is inserted. An instruction whose quotation is not in the section it names, or which names a section that does not exist, cannot be carried out as written.

A bill also refers to itself: to its own sections, its own defined terms, its own table of contents. A reference to a section the bill does not have is a fault in the text, whatever the provision means.

Between versions of a bill, a reader needs to know which sections changed, and to know it without reading both versions line by line.

Recorded outputTwo calls to the engine on a constructed bill: a fictitious short title, no number and no sponsor, citing real sections of title 44. The Code was read from the stated release, 2024 Main Edition, laws enacted through 20250106. No AI engine was configured. Signed by a development key minted for this recording, published beside the certificates.

Three catches, and one quotation that holds

POST /api/tenants/{tenant}/certify-bill

A quotation of existing law that is not in the section it names

… 44, United States Code, is amended in the first sentence by striking against the removal or theft of records and inserting against the removal, loss, or unaut …

Sec. 3 strikes these words from 44 U.S.C. 3105.

existing_text_not_found

the quotation agrees with the held text for 23 of 39 characters (its characters 1 to 23, found at character 60 of the cited section) and first departs at its character 24; that opening is too short to count as the same passage. Either the release is out of date for this provision or the bill misquotes it; this certificate cannot say which.

A section of the Code that does not exist

… cluding agency compliance with the electronic records requirements of section 3199 of title 44, United States Code. (b) Contents The report required by subsection ( …
section_not_in_release

section 3199 of title 44 is not in uscode-2024-main-edition-20250106-4952280c45c3.

A reference to a section the bill does not have

… subsection (a) shall include the agency-by-agency review described in section 7 of this Act. …
section_reference_unresolvedIC-3

"section 7 of this Act" names section 7, and the bill has no section 7.

A quotation that holds

… title 44, United States Code, is amended in paragraph (2) by striking in a publicly accessible electronic format and inserting in a publicly accessible, machine-r …

Sec. 2 strikes these words from 44 U.S.C. 3102, and they are there.

existing_text_located

What the certificate states

The text read is Introduced-in-House H. R. ____: 5 sections, 9 units, 5 table-of-contents entries.
Internal consistency: 1 finding(s) across 6 rule populations (IC-1 toc entries: 5; IC-2 sibling sequences: 3; IC-3 references: 3; IC-4 defined terms: 1; IC-5 amount sentences: 0; IC-6 date/year spans: 0).
2 citation(s) to the U.S. Code were read in the bill’s text (2 distinct places); 1 resolved to an in-force section of uscode-2024-main-edition-20250106-4952280c45c3.
1 citation(s) read section_not_in_release.
2 quoted span(s) of existing text were checked against the section each amending instruction names.
1 span(s) read existing_text_located (strike_quote).
1 span(s) read existing_text_not_found (strike_quote).
0 amending instruction(s) were read whose target section the reader could not state; those are counted and not judged.
The Code was read from uscode-2024-main-edition-20250106-4952280c45c3 (2024 Main Edition, laws enacted through 20250106); 53 of 54 titles are held; 1 title is not held (title 53).

The same facts, from the signed fields:

Release
2024 Main Edition, laws enacted through 20250106
Titles held
53, with 60,795 sections
Not held
title 53 (title_not_published)
Rules
BILL-IC-RULES-1, BILL-LAW-RULES-1

Boundary

For the bill text whose sha256 is named here: that each internal-consistency rule listed was run over the stated population and either fired on the units named or did not; and that every citation to the U.S. Code and every span of existing text the bill says it strikes or follows was looked up in the stated release of the Code and was found there or was not.

NOT ATTESTED

That the bill is correct, coherent, lawful or wise; what any provision means or does; that a citation or quotation not located in the release is absent from the law today (the release is dated and is named on this certificate); that a rule which found nothing means nothing is wrong (a rule reads only the shape it states, and its population is stated); or that the Code’s own text is accurate. It makes no judgment on policy.

Two versions, compared section by section

POST /api/tenants/{tenant}/certify-bill-versions

The same bill as introduced and as reported, with one stated edit. The comparison pairs each section by its number and heading, and states each one unchanged, changed, removed or added.

unchanged4changed1
SectionVerdictPaired by
Sec. 1 Short title; table of contentsunchangednumber_and_heading
Sec. 2 Public posting in machine-readable formunchangednumber_and_heading
Sec. 3 Safeguards against loss of recordsunchangednumber_and_heading
Sec. 4 Definitionunchangednumber_and_heading
Sec. 5 Report to Congresschangednumber_and_heading
"Sec. 5 Report to Congress" (Report to Congress): CHANGED - the clause located in the baseline "records-modernization-act.introduced.xml" in the section marked "5." and the clause located in the candidate "records-modernization-act.reported.xml" in the section marked "5." differ under clause-span-text-whitespace-folded@1; this certificate does not carry either section text: it names each bill version by its sha256 (baseline.source and candidate.source) and the section paired on each side (baselineSection, candidateSection)

The two versions are published below, by the sha256 each certificate names.

Equality rule
clause-span-text-whitespace-folded@1
Earlier
Introduced-in-House, sha256 8a250f6d1a168864…
Later
Reported-in-House, sha256 be940163492df17f…

Boundary

For the two bill texts whose sha256 values are named here: which sections of the later version are unchanged, changed, removed or added relative to the earlier, under the stated pairing rule and the stated text-equality rule.

NOT ATTESTED

That a section paired by heading is the same provision in intent; that a section reported removed and one reported added are not one section reworded and renumbered; what any change means or does; or that either version is the text that was passed. It makes no judgment on policy.

Check it without Factum

The certificate is published as it was returned. Download it with the key and the Factum Verifier, and run the command. It needs Node 18 or later and nothing else.

Verifiedexit 0

The files: certify-bill.json, public-key.txt, the bill as introduced, the bill as reported.

The key is a development key minted for this recording, not the production issuer key, and not the key the other worked examples are signed by. It is published beside these two certificates.

Recorded outputThe verifier's output on this certificate (exit code 0).
node factum-verify.mjs certify-bill.json public-key.txt
VERIFIED
  keyId            vd-6db8d2e7c2180a73
  canonical bytes  4530
  surface          FULL - the body carries no surface block, so every claim the run captured is on it

  CERTIFIED BY THIS CHECK: this document was signed by the holder of the private half of the
  key you supplied, over the canonical form named in its signature block, and has not been
  altered by one byte since.
  NOT CERTIFIED BY THIS CHECK: that the key you supplied is the operator's. That comes from
  WHERE YOU OBTAINED THE KEY and from nothing in this file - a valid signature under the wrong
  key is exactly what a forgery looks like.

The certificate is published as it was returned. Download it with the key and the Factum Verifier, and run the command. It needs Node 18 or later and nothing else.

Verifiedexit 0

The files: certify-bill-versions.json, public-key.txt.

Recorded outputThe verifier's output on this certificate (exit code 0).
node factum-verify.mjs certify-bill-versions.json public-key.txt
VERIFIED
  keyId            vd-6db8d2e7c2180a73
  canonical bytes  4922
  surface          FULL - the body carries no surface block, so every claim the run captured is on it

  CERTIFIED BY THIS CHECK: this document was signed by the holder of the private half of the
  key you supplied, over the canonical form named in its signature block, and has not been
  altered by one byte since.
  NOT CERTIFIED BY THIS CHECK: that the key you supplied is the operator's. That comes from
  WHERE YOU OBTAINED THE KEY and from nothing in this file - a valid signature under the wrong
  key is exactly what a forgery looks like.