8000 GitHub - Mnehmos/MathOS at fix/v1-release-semantics · GitHub
[go: up one dir, main page]

Skip to content
MnehmosPublic

About

A mathematical operating system that takes a claim from informal statement through formalization, proof or counterexample, verification, pedagogy, provenance, and RL export.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

MathOS

MnehmosAI builds MathOS, a verifier-gated operating system for mathematical research and learning.

MathOS takes a mathematical claim from informal statement through formalization, proof or counterexample, independent verification, pedagogy, provenance, and reinforcement-learning export.

Product identity

Name Role
MnehmosAI Company and umbrella brand
MathOS Flagship mathematical operating system
MathCorpus Verified knowledge, provenance, and training layer
Proof Search Research and verification engine
Mathematical Claim Engine Core claim-lifecycle subsystem inside MathOS

MathOS is the product. MCP is one interface into MathOS alongside future application, API, command-line, and research interfaces.

Current vertical slice

MathOS v1.0 establishes the trusted claim lifecycle in a finite formal domain:

  1. Submit an informal statement and versioned formal specification.
  2. Produce an untrusted enumeration proof, counterexample, or unknown result.
  3. Recompute the proof obligation or witness in an independent verifier.
  4. Apply an explicit verified or unresolved claim state.
  5. Record every step in a hash-chained SQLite provenance ledger.
  6. Generate certainty-preserving pedagogy and a validated RL trajectory.
  7. Access the same Claim Engine through the CLI or MCP stdio interface.

The initial verifier handles universal claims over finite Boolean, integer, string, or null domains. Unsupported and unbounded claims remain unresolved. A Lean subprocess adapter is present and fails closed when Lean is unavailable.

Quick start

MathOS requires Python 3.12 and has no runtime dependencies outside the standard library.

make install
make check
make demo

The demo produces exactly one proved claim, one disproved claim, and one unresolved claim. It also writes validated RL trajectories under .mathos-demo/exports/.

Individual CLI operations:

mathos init --db .mathos/mathos.db
mathos submit --db .mathos/mathos.db \
  --statement "For every Boolean p, p or not p." \
  --formal-file examples/finite/excluded_middle.json
mathos replay --db .mathos/mathos.db
mathos validate-export --input trajectory.json

MCP stdio

{
  "mcpServers": {
    "mathos": {
      "command": ".venv/bin/mathos-mcp",
      "args": ["--db", ".mathos/mathos.db"]
    }
  }
}

The server implements initialization, tools/list, and tools/call over newline-delimited JSON-RPC stdio. Protocol output is isolated on stdout.

Administrative controls

Development is governed by:

License

MathOS is source-available under the PolyForm Noncommercial License 1.0.0. Commercial use requires a separate license from MnehmosAI.

About

A mathematical operating system that takes a claim from informal statement through formalization, proof or counterexample, verification, pedagogy, provenance, and RL export.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0