← All engines

RUST ENGINE / certify_nonlinear

Certified interval arithmetic for nonlinear bounds, global optimization and all-roots

Certify universal nonlinear inequalities across continuous domains, enclose global minima/maxima on non-convex functions, or isolate all roots of 1D–3D nonlinear systems using outward-rounded IEEE-754 intervals and Newton/Krawczyk contractors.

In short. certify_nonlinear is a ScoreCompute MCP tool computed in Rust (Interval nonlinear certification). Provide spec (5 to 16,384 characters): mode verify|minimize|maximize|roots, 1–6 continuous variables (1–3 for square root systems) with lo..hi bounds, expr or eq statements (+,-,*,/,^,sin,cos,exp,ln,sqrt,abs,atan,sinh,cosh,pi,e), bound <=|>=|<|> num (for verify), 0–8 optional where inequality constraints, and optional tol in [1e-12, 1]. Transcendental enclosures widen platform libm endpoints conservatively by 2 ULPs outward rather than using a formally verified MPFR library. It is callable at https://scorecompute.com/mcp over MCP Streamable HTTP, without an API key for bounded public access.

Open the certify_nonlinear demonstration ↗Try the live calculation ↗Connect an AI assistant →

What does a real call return?

For the non-convex 2D surface x² + y² − 2 cos(3x) − 2 cos(3y) + 4 on [−3, 3]² (tolerance 0.0001), Rust returned certified with certified global minimum enclosed in [-0.000000, 0.000000] (gap 4.88e-15), re-verified incumbent at (x=0.0000, y=0.0000), evaluating 1 interval boxes.

Recorded on 27 November 2026 through a local MCP endpoint on a build of this release, before its publication, service release 0.22.0. Inputs and full responses, response SHA-256 7c830fe554b2…. Verdict values are the literal values the tool returns. Run the same inputs yourself to compare; elapsed times vary, and a new release may change the figures.

Checked against

Recorded on release 0.22.0. These checks cover the listed cases, not every input. Evidence cards.

How it works

Expressions are evaluated in outward-rounded IEEE-754 interval arithmetic (next_down/next_up for elementary operations, conservative 2-ULP outward widening with exact interior critical-point checks for transcendentals). Forward-mode interval automatic differentiation computes gradient and Jacobian enclosures for centered forms, monotonicity reductions, smear-guided Branch-and-Prune, 1D Interval Newton and 2D–3D Interval Krawczyk existence-and-uniqueness certificates.

Inputs and units

Provide spec (5 to 16,384 characters): mode verify|minimize|maximize|roots, 1–6 continuous variables (1–3 for square root systems) with lo..hi bounds, expr or eq statements (+,-,*,/,^,sin,cos,exp,ln,sqrt,abs,atan,sinh,cosh,pi,e), bound <=|>=|<|> num (for verify), 0–8 optional where inequality constraints, and optional tol in [1e-12, 1]. Optional detail selects summary or full.

What the result contains

status (certified, violated, vacuous, infeasible or inconclusive), range_enclosure, re-verified continuous counterexample (verify mode), certified global optimum value_enclosure and incumbent point (minimize/maximize), isolated root boxes with uniqueness_certified flags (roots mode), work_report, canonical SHA-256 digest and explicit limitations.

Example MCP call

{
  "name": "certify_nonlinear",
  "arguments": {
    "spec": "mode minimize; var x -3..3; var y -3..3; expr x^2 + y^2 - 2*cos(3*x) - 2*cos(3*y) + 4; tol 1e-4;"
  }
}

Send this tool name and arguments through a connected MCP client. Discover the authoritative input schema with tools/list.

Call this engine in one command

Node.js 20+ and npm. This downloads a small remote MCP client; it does not install the engine locally.

npx --yes --package https://scorecompute.com/downloads/scorecompute-call-0.14.2.tgz scorecompute-call certify_nonlinear --arguments '{"spec":"mode minimize; var x -3..3; var y -3..3; expr x^2 + y^2 - 2*cos(3*x) - 2*cos(3*y) + 4; tol 1e-4;"}'

Client download, PowerShell input and verification →

Direct MCP access

certify_nonlinear is independently callable. It is deliberately not connected to the automatic planner, so nothing passes its results to another engine for you. Two tools returning similar JSON fields does not mean their results are compatible.

Cite this engine

Version 0.1.0, source SHA-256 07049f32555d…. Evidence recorded on release 0.22.0; the public service currently runs 0.22.0. Replace the access date when you cite it.

ScoreCompute. Certified interval arithmetic for nonlinear bounds, global optimization and all-roots (certify_nonlinear), version 0.1.0, source SHA-256 07049f32555d7a13bd03ebc96863382815e017e983b916338f138065c1649130. Evidence release 0.22.0, service release 0.22.0. https://scorecompute.com/engines/certify-nonlinear/ (accessed YYYY-MM-DD).

All engine citations · Evidence card

Execution and availability

ScoreCompute exposes this tool through MCP Streamable HTTP. Rust computation runs on a connected worker; the public website and MCP gateway run separately. Among these 28 scientific tools, CUDA is implemented for simulate_pi; the other scientific engines run on CPU. The separate contributor network runs two compiled public workloads: a π estimate and fixed synthetic schedule probes. Requests are bounded and concurrent work may be refused when capacity is occupied.

Record inputs, assumptions and returned provenance when sharing a result. The public observatory displays software client names and tool activity, without publishing calculation arguments or results.

Explore another engine →Agent-readable overview ↗

Sources

These publications describe the method or a reference used in its tests. Citing them does not certify this implementation.

First published 27 November 2026 · Last updated 27 November 2026