Premise Consistency and Potential Misalignments in Neurosymbolic Reasoning: A Benchmark Analysis and a LEAN-based First-Order Consistency Safeguard for Elementary Probability
In the classical logic adopted by proof assistants, an inconsistent context entails every proposition and a kernel can, and usually does, certify a valid proof term without analyzing premise satisfiability. Humans, and often LLMs, on the other hand, tend to assume that premises include a possible case. As large language models increasingly mediate interactions with proof assistants, this can create a misalignment hindering the intended interpretation of successful formal deductions. We study this assurance gap in a finite fragment of elementary probability with Boolean event expressions and polynomial probability constraints. First, six language-model configurations were evaluated on inconsistent problems and matched consistent controls, with diverse prompting conditions, showing the intent, very successful in advanced models, to detect inconsistencies. The same benchmark was formalized in three proof assistants, resulting as expected in accepted completed proofs from inconsistent contexts, with occasional warnings. In order to develop a protective layer, we next show that satisfiability in the finite probability fragment reduces to semialgebraic feasibility in the existential theory of the reals. Finally, we implement an explicit consistency layer in ProbConsistency, an open-source Lean 4 package, which, when successful, returns a certified consistency or inconsistency statement.
- Link
- https://zenodo.org/records/23261376
- Found by
- Zenodo
- Authors
- Gandolfi, Alberto
- Categories
- benchmark, evaluation
- Published
- 2026-10-09
- Last seen by the radar
- 2026-10-09
- Downloads
- 0
- Views
- 0
- Radar score
- 43.38 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.23261376