{
  "id": 23199034,
  "title": "110,897 proof lines vs 124,617 code lines in Truss",
  "url": "https://urgent.news/2026/12/03/110-897-proof-lines-vs-124-617-code-lines-in-truss",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-03T00:31:47.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/frankchu/110897-proof-lines-vs-124617-code-lines-in-truss-44kb"
  },
  "original_language": null,
  "account": "Truss, a new programming language designed by Bret Taylor, claims to optimize for agent-written software by generating proofs alongside code. In the Truss standard library, there are 110,897 proof lines compared to 124,617 code lines, indicating that proof lines account for 89% of the total lines in the library. The README suggests that this ratio reflects the balance between authoring convenience and human verification, as agents are expected to write the code while token costs are relatively cheap compared to the value of enduring correctness.\n\nThe repository contains 5,883 files, with .truss accounting for 2,920 files, 13,388,128 bytes, and 261,284 lines. The .proof files, which contain the verification evidence, make up 429 files, 3,724,883 bytes, and 111,209 lines. Interestingly, lock files are also present, amounting to 1,433 files and 5,857,877 bytes, which is more than all the proof files combined.\n\nUpon analyzing individual packages, it appears that most have a median proof/code byte ratio of 0.151, meaning that proofs are typically about 15% the size of their corresponding code. However, a few packages stand out, such as library/encoding/hex/inline, which has a proof/code ratio of 12.82x, and library/collections/sort/inline, with a ratio of 7.00x. The latter's 1.52 MB proof file constitutes 41% of all proof bytes in the repository and 7.0x the size of its code implementation, suggesting that certain packages are heavy contributors to the proof distribution.\n\nThe actual content of the proof files is not human-readable scripts, but rather machine evidence that is designed to be replayed by verifiers without requiring human intervention. This aligns with the design goal of Truss, where evidence is optimized for verification at the contract layer, rather than being easily comprehensible by humans.\n\nWhile the proof files play a significant role in the Truss workflow, it is essential to note that the repository was counted as of 2026-12-02, and no actual verification or compilation was performed. The line counts include blank lines and comments in the source, and proof files are primarily composed of hash-heavy data, making lines a rough proxy for tokens instead of precise measurements. Therefore, further analysis would require building the compiler, running the proof checks, and verifying the actual replayability of the proofs.",
  "summary": "110,897 proof lines vs 124,617 code lines in Truss Truss's standard library ships 110,897 lines of proof files against 124,617 lines of Truss source — 89 proof lines for every 100 lines of code. Truss is Bret Taylor's new programming language \"optimized for agent-written software,\" posted to Hacker News today, and its README makes a specific claim: \"when you publish a package, you spend as many…",
  "summary_source": "publisher",
  "key_points": [
    "Truss language has 110,897 proof lines compared to 124,617 code lines",
    "Proof lines make up 89% of total lines in Truss standard library",
    "Repository counted as of 2026-12-02 without verification or compilation"
  ],
  "editors_take": "By prioritizing machine-readable evidence over human readability, this new language aims to ensure software correctness even when code is written by autonomous agents.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}