# verifiable-math-kernel

Deterministic symbolic computation, integer factorization with Baillie-PSW probable-prime testing, elliptic curve invariants, and formal Lean 4 proof auditing for Ulpi.

- Type: Plugin
- Version: 1.0.6
- Updated: 22 Nov 2026
- Publisher: pCwOrM
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Deterministic symbolic computation, integer factorization with Baillie-PSW probable-prime testing, elliptic curve invariants, and formal Lean 4 proof auditing for Ulpi. When Lean 4 is installed on PATH and enable_lean_cli is enabled, lean4_proof_audit can verify proofs via isolated execution.

Lean can execute code while it elaborates, with the user's privileges, a minimal environment (PATH, HOME, LANG, LEAN_PATH) and a scratch working directory under the plugin's data dir. No network calls.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `verify_math_claim`
- `certified_factorization`
- `elliptic_curve_analyzer`
- `lean4_proof_audit`

## How to set it up

Disclosure — With on (default off), runs the user's local on model-written Lean code after a Ulpi approval prompt.

```
enable_lean_cli
```

```
lean4_proof_audit
```

```
lean --stdin
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [verifier](https://www.ulpi.io/en/marketplace/plugins/verifier): Attach an independent verifier (advisor) model to your Ulpi session: it reviews each primary-agent turn delta, raises findings (note / caution / blocker).
- [verify](https://www.ulpi.io/en/marketplace/plugins/verify): Configurable tool-risk flags, bounded local receipt metadata and held unverified-prose labels.
- [Verifyum](https://www.ulpi.io/en/marketplace/plugins/verifyum): Privacy-preserving file proofs on Solana Mainnet through Verifyum (no account, no key): the agent hashes a file on the user's machine.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
