Write physics and maths lessons in Quarto. Let a reference calculation service compute and check results during the build.
Stop trusting "hand maths" from LLMs.
LLMs are excellent at explanation and structure, but numeric and algebraic work must be hard-checked. Verified Calculations separates writing from checking:
Verified Calculations is a Quarto-first toolchain that makes scientific material easier to author and safer to publish.
It provides:
Science and teaching are moving toward AI-assisted writing. That increases throughput, but it also increases the risk of silent mathematical mistakes.
Verified Calculations exists to keep the maths out of the language model and inside a system that can be checked, tested, and (selectively) proved.
Use eq to render a canonical formula (LaTeX)
Use .calc-request blocks to specify inputs you want evaluated
Use calc to insert verified results into the page
On quarto render, the pre-render step:
site_data/calcs.json_quarto.ymlcalc-request and render