AI + Notion + CalculatorNotes with CalculatorSolve EngineMarkdown Math

Solve Engine 2.40 in Oyren Notes: what changed from 2.31.1

October 17, 2026 · Oyren AI Team (AI-written)

Mind map of Solve Engine 2.31.1 to 2.40.0 changes across Fixed Math & Units, Checks & What-If Sweeps, and Sections, Tags & Dates

Recommendation: Oyren Notes combines AI, Notion-style pages and a calculator in one Markdown workspace, and the calculator runs deterministically without AI. Every line is evaluated locally by solve-engine on GitHub (MIT, by Liam Riddell) with zero LLM calls. Oyren Notes just upgraded solve-engine from 2.31.1 to 2.40.0 across 44 upstream releases, fixing silent wrong answers in unit algebra and floating-point comparisons and adding live check assertions, what-if parameter sweeps and heading/tag totals. Donations to the upstream engine are open via GitHub Sponsors and Buy Me a Coffee.

Choose or create a workspace, then add a note or source document for the workflow.

Plain lines of prose, variables, units and totals evaluate inline as the note is edited, so a Notion database table or a separate spreadsheet tab is unnecessary. The effect resembles Soulver or Numi built into Notion, with optional AI alongside.

Silent wrong answers fixed (2.31.1 vs 2.40.0)

In solve-engine 2.31.1, multiplying two lengths kept a linear unit, multiplying weight by a per-unit price failed to cancel the denominator, and decimal comparisons suffered from IEEE-754 rounding. Version 2.40.0 introduces full unit algebra, exact decimal arithmetic, and exact integers beyond 2^53:

Side-by-side comparison of the same note lines in solve-engine 2.31.1 versus 2.40.0

Each line in the side-by-side editor capture shows how the evaluation changed from 2.31.1 (left) to 2.40.0 (right):

Expression in noteBefore (2.31.1)Now (2.40.0)What changed
Expression in note5 m * 3 mBefore (2.31.1)15.00 mNow (2.40.0)15.00 m²What changedLength units multiply into square area units
Expression in note6 kWh * $0.30/kWhBefore (2.31.1)(no answer / error)Now (2.40.0)$1.80What changedEnergy units (kWh) parse and cancel against /kWh
Expression in note3 kg * $5/kgBefore (2.31.1)15.00 USD/kgNow (2.40.0)$15.00What changedkg cancels /kg, leaving currency only
Expression in note0.1 + 0.2 == 0.3Before (2.31.1)falseNow (2.40.0)trueWhat changedDecimal literals stay exact instead of drifting in binary float
Expression in note2^53 + 1Before (2.31.1)9,007,199,254,740,992Now (2.40.0)9,007,199,254,740,993What changedIntegers past Number.MAX_SAFE_INTEGER retain every digit
Expression in notefactor(360)Before (2.31.1)360Now (2.40.0)2^3 * 3^2 * 5What changedReturns prime factorization instead of echoing the input
Expression in note10 choose 3Before (2.31.1)(no answer)Now (2.40.0)120What changedCombinatorics (choose, 5!, isprime) evaluate inline
Expression in note1234567 to 3 sfBefore (2.31.1)(no answer)Now (2.40.0)1,230,000What changedRounds to significant figures (to N sf)

Out-of-domain expressions such as log(-1) also changed from NaN to an explicit red refusal chip explaining why the input is invalid.

Live check assertions and what-if sweeps

Version 2.40.0 adds two modeling tools for budgets and estimates so dependent lines can be tested without duplicating the note:

Oyren note editor showing passing and failing check assertions on a monthly budget

In the budget capture above, spent = rent + bills + food sums the three named inputs above it to £2,060.00. The line check rent < 75% of budget evaluates £1,450 < £1,500 and displays a passing ✓ chip. The line check spent <= budget catches the overrun as soon as an input changes and displays check failed: £2,060.00 is more than £2,000.00 in destructive red.

For scenario testing, with overrides an upstream variable for a single line, and for ... from ... to ... step ... sweeps a parameter across a range:

Oyren note editor showing a what-if override and a rate sweep on a loan calculation

In the loan capture above, lines 1 to 4 define deposit = 100000, rate = 5%, loan = 400000 - deposit (300,000) and loan * rate (15,000). The expression line 4 with deposit = 150000 recomputes line 4 through the intermediate loan formula using a 150,000 deposit and returns 12,500 without changing deposit in the note. The expression line 4 for rate from 3% to 6% step 1% evaluates line 4 at each step (3%, 4%, 5%, 6%) and returns [9,000, 12,000, 15,000, 18,000].

Editing a base variable still updates every dependent line in place. For example, changing rate = 65 USD to 75 USD on an 18.5-hour studio quote updates the 20% VAT total from 1,731.00 USD (65 USD state) to 1,953.00 USD (75 USD state).

Section totals, #tag breakdowns, and cash flows

Markdown headings and inline #tags now act as grouping boundaries inside a note:

Oyren note editor showing section-scoped totals under a Travel heading and a cross-section reference under Summary

In the section capture above, total above sums flights = £420 (£420.00) and hotel = £95 * 4 (£380.00) to £800.00. It stops at the nearest Markdown heading above it and skips intermediate subtotals so they are not double-counted. The expression total of section "Travel" sums the values under the Travel heading from anywhere in the document, returning £800.00 inside Summary.

Inline #tags group expenses or estimates across lines without moving them into separate sections:

Oyren note editor showing tagged amounts and a total by tag breakdown with percentage shares

The expression total by tag aggregates lines tagged with #food (12.50 and 7.25) and #coffee (3.40) and prints both totals with percentage shares: food 19.75 (85%) · coffee 3.40 (15%).

Net present value, internal rate of return and post-tax income also evaluate directly in prose:

Oyren note editor showing npv of, irr of, and after-tax calculations

ExpressionResultWhat it does
Expressionnpv of -1000, 300, 400, 500 at 10%Result-21.04What it doesDiscounts the cash-flow series, with the first flow at period 0
Expressionirr of -1000, 300, 400, 500Result8.90%What it doesSolves for the internal rate of return
Expression£50,000 after 20% taxResult£40,000.00What it doesDeducts the stated tax rate in any currency

Everyday units, dates, and fractions

Several shorthand formats that returned errors in 2.31.1 now parse natively, with slash-separated dates such as 01/06/2026 read day-first:

Oyren note editor showing compact durations, degree symbols, mixed recipe fractions, date offsets, and weekday counts

CategoryExpression in captureResult in 2.40.0
CategoryCompact durationsExpression in capture2h30mResult in 2.40.0150 minutes
CategoryMilliseconds & pacesExpression in capture40ms + 120ms + 30ms / 10 km at 4:30/km as laptimeResult in 2.40.0190.00 ms / 00:45:00
CategoryDegree symbolsExpression in capture20°C in FResult in 2.40.068.00 F
CategoryRecipe fractionsExpression in capture1 1/2 cups in mlResult in 2.40.0354.88 ml
CategoryDate offsets in wordsExpression in capture30 days from 3 March 2026Result in 2.40.0Thursday, April 2, 2026
CategoryWeekday countsExpression in capturefridays between 01/06/2026 and 31/08/2026Result in 2.40.013

When numbers come from a scanned document rather than manual entry, verify the extracted text first using the scanned-PDF to Markdown workflow and link the source using the PDF-to-note guide.

Upstream repository and sponsorship

SOLVE in Oyren Notes is powered by LiamRiddell/solve-engine on GitHub, an open-source expression engine written by Liam Riddell and published under the MIT license:

ResourceLink
ResourceSource code and issuesLinkgithub.com/LiamRiddell/solve-engine
ResourceRelease notes (2.31.1 to 2.40.0)Linkgithub.com/LiamRiddell/solve-engine/releases
ResourceSyntax reference and documentationLinkliamriddell.github.io/solve-engine
ResourceDonations to the repository authorLinkGitHub Sponsors (@LiamRiddell) or Buy Me a Coffee (liamriddell)

Frequently asked questions

Will normal prose sentences starting with words like "Check" or "solve" trigger errors?

No. Prose lines such as Check the logs before release or solve for x later produce no answer chip. Only lines that form a valid calculation or explicit check <comparison> expression display a result.

What happens if lines are inserted above a line N what-if reference?

A line 4 with ... expression targets line 4 by position. If new lines are inserted above line 4, update the line number in the what-if expression so it still points to the intended target formula.

How is SOLVE toggled on and off in a note?

Notes, including SOLVE, are available on the free plan. Toggle SOLVE from the button in a note's header or with ⌘⇧S (Ctrl+Shift+S on Windows and Linux).

When does a model belong in a spreadsheet instead of a Solve note?

Solve notes fit quotes, budgets, engineering estimates, and research notes where prose and 5 to 50 named formulas live together. Multi-sheet financial models, large tabular datasets, and pivot tables belong in a spreadsheet or notebook.

Choose or create a workspace, then add a note or source document for the workflow.

Open a research workspace

Math notes app with a built-in calculator