commonground-engine
First-order verdicts with checked evidence: a parser, two decision engines, Lean kernel certificates, conflict analysis, and a benchmark. Given reviewed statements of one or more camps, it reports sets of formulas that are verified sufficient to generate a camp's claims, ranks them by a declared cost, and shows where two camps' systems agree and clash. It certifies deductions, not truth and not belief.
Every verdict carries a badge: SUFFICIENT (kernel-checked, needs a Lean 4
executable via LEAN_BIN and --lean), SOLVER-CHECKED (Z3 refutation / finite
model), or PENDING (no verdict — never silently picked).
Install
pip install commonground-engine
Requires Python >= 3.10. Dependencies (z3-solver, python-sat) install automatically.
Quickstart
python -m commonground check --premise "∀x (Human(x) → Mortal(x))" --premise "Human(socrates)" --conclusion "Mortal(socrates)"
python -m commonground --help
Add --lean to check for a kernel-checked certificate (set LEAN_BIN to a Lean 4.35.0
lean executable); without it the same argument is answered SOLVER-CHECKED.
Commands: check (one argument), analyze (conflicts, concessions, justifications
for a debate file), camp / crosscamp (per-camp axiom systems and cross-camp
common ground / fault lines from reviewed records), co2 (the golden CO2 example,
end to end; from a pip install pass --dir <repo>/examples/co2-2021, the default corpus path only resolves in a source checkout), extract (statements from text, with verbatim spans, via a
configured LLM endpoint), folio / compare / report (benchmarks and run reports).
Documentation
Full documentation, the worked CO2 example with a screenshot, the research behind the definitions, and the recorded benchmark runs: https://github.com/ysmouhib/common-ground
License
MIT.
Metadata
Release files for commonground-engine 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commonground_engine-0.2.0.tar.gz | 111.7 kB | Without provenance | Details for commonground_engine-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commonground_engine-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for commonground_engine-0.2.0-py3-none-any.whl |
Total release size: 188.8 kB
Release files / commonground_engine-0.2.0.tar.gz
| Download URL | commonground_engine-0.2.0.tar.gz |
|---|---|
| Size | 111.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42a665195220e767bb2635bfb894e0afe170f29092f8e01fb07783a977aad403
|
|
BLAKE2b-256 checksum How to use checksums |
f0f086cec4c71872a71c6066d5eea5673afb4800586cd83473bf535eab00758f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / commonground_engine-0.2.0-py3-none-any.whl
| Download URL | commonground_engine-0.2.0-py3-none-any.whl |
|---|---|
| Size | 77.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2358a2d72ede44b76469a425431c3ed20303aa4e0781236e398e084aa87370c9
|
|
BLAKE2b-256 checksum How to use checksums |
a5d0f11933e3e4cd88856d73d1edc3b426376c10ee400f6b418c400aea08ecb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for commonground-engine 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.