Proof automation in a language
Web page · https://imperialviolet.org/2026/11/15/proofauto2.html
First seen by Oriel on .
AI summary
The post explores an experimental language design combining proof automation, Mutable Value Semantics, contracts, refinement types, and literate programming to make mutable software safer and easier to understand.
- Mutable Value Semantics forbids references in the type system, preserving mutation while reducing aliasing, borrow-checker complexity, and the need for separation logic.
- Functions accept immutable, mutable, or owned arguments; unlike Hylo, the experiment omits scoped coroutines because verification already consumes its complexity budget.
- Contracts, invariants, and refinement types would make evolving program facts explicit, with proof automation replacing many runtime checks and difficult manual proofs.
- Ordinary + operations, narrowing casts, and vector indexing require static safety proofs, while explicit wrapping operations such as +% and u32::wrap_from remain available.
- The DER example specifies format_tag and parse_tag behavior through ghost encodings and contracts, letting readers understand exact behavior without inspecting implementation details.
#formal verification #language design #mutable value semantics #design by contract
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 5, latest observation ; +4 over observed period since
Comments
Comment count reported by the source.
- Lobsters: 0, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | ohmjfv | https://www.imperialviolet.org/2026/11/15/proofauto2.html Read discussion |