Recognition: unknown
Efficient Decision Procedures for RNmatrix Semantics
Pith reviewed 2026-05-09 16:30 UTC · model grok-4.3
The pith
Encoding RNmatrices as SMT problems produces practical decision procedures for paraconsistent, intuitionistic and modal logics.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
By representing the truth tables of an RNmatrix together with its elimination criteria as formulas in an SMT theory, the validity of a formula in the corresponding logic reduces to an SMT satisfiability query; unsatisfiability of the query establishes validity while a satisfying assignment directly yields a countermodel in the original RNmatrix.
What carries the argument
RNmatrix semantics together with their row-elimination criteria, encoded as SMT constraints whose satisfiability decides formula validity.
If this is right
- Validity checking for formulas in the target logics reduces to an SMT satisfiability query.
- Countermodels are extracted automatically from any satisfying assignment returned by the solver.
- The procedure supplies the first implementation for the entire Cn hierarchy of paraconsistent logics.
- The same encoding yields competitive performance on intuitionistic propositional logic and all fifteen normal modal logics of the modal cube.
Where Pith is reading between the lines
- The same encoding pattern could be reused for any other logic already known to possess an RNmatrix semantics.
- Hybridizing the SMT encoding with additional theories supported by the same solvers may extend the method to quantified or first-order versions of these logics.
- Performance advantages observed on paraconsistent logics suggest that SMT solvers can serve as a generic computational backend for many non-classical logics that previously lacked efficient implementations.
Load-bearing premise
The known sound and complete RNmatrix semantics for the target logics can be translated into SMT constraints without introducing incompleteness or prohibitive overhead.
What would settle it
A formula that the SMT prover declares valid but that possesses a countermodel under the original RNmatrix semantics, or a formula the prover declares invalid but that is valid according to the RNmatrix.
Figures
read the original abstract
Restricted non-deterministic matrices (RNmatrices) impose constraints on the rows of non-deterministic matrices (Nmatrices), filtering out "unsound" rows and retaining only "valid" ones. This yields a more expressive framework than standard Nmatrices. Although this approach enables sound and complete semantics for a broad class of logics, \eg, paraconsistent logics, propositional intuitionistic logic, and the fifteen normal modal logics of the modal cube, no {\em efficient} decision procedures based on these semantics have been proposed. In this paper, we implement the RNmatrix framework to develop a new suite of automated theorem provers for these logics. By encoding RNmatrices and their elimination criteria as Satisfiability Modulo Theories (SMT) problems, we leverage SMT solvers to decide formula validity and construct countermodels. We illustrate the method for paraconsistent logics, where our prover outperforms the current state-of-the-art and provides the first implementation for the entire $C_n$ hierarchy, as well as for intuitionistic and modal logics, where our general-purpose prover achieves competitive performance.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper claims that by encoding Restricted Non-deterministic Matrices (RNmatrices) together with their row-elimination criteria as Satisfiability Modulo Theories (SMT) problems, off-the-shelf SMT solvers can be used to decide formula validity and generate countermodels for a range of non-classical logics. The approach is illustrated on paraconsistent logics (including the full Cn hierarchy, for which it supplies the first implementation and outperforms prior provers), intuitionistic propositional logic, and the fifteen normal modal logics of the modal cube, where the resulting general-purpose prover is reported to be competitive.
Significance. If the SMT encoding is shown to be faithful and the performance claims are backed by reproducible benchmarks, the work would supply the first practical, uniform decision procedure for the broad class of logics known to possess RNmatrix semantics. This fills a documented gap, since prior literature established soundness and completeness of RNmatrices but offered no efficient implementations. The use of an external, mature SMT solver is a pragmatic strength that could be extended to other semantic frameworks.
major comments (1)
- [SMT Encoding Section] The section presenting the SMT encoding (approximately §4) does not contain a formal theorem, reduction, or bisimulation argument establishing that unsatisfiability of the generated SMT instance is equivalent to non-validity under the original RNmatrix semantics. Because the row-filtering elimination criteria are translated into constraints on non-deterministic operations, an explicit equivalence proof is required to guarantee that the procedure inherits the known soundness and completeness of RNmatrices rather than introducing new sources of incompleteness or spurious countermodels.
minor comments (2)
- [Abstract] The abstract states that the prover 'outperforms the current state-of-the-art' for paraconsistent logics yet supplies no reference to the specific benchmark tables, instance sets, or timeout values used; these metrics should be cited already in the abstract for immediate assessment.
- [Preliminaries] Notation for the RNmatrix elimination criteria (e.g., the precise definition of 'valid rows') is introduced without a running example that shows both the original matrix and its SMT encoding side-by-side; adding such an example would improve readability.
Simulated Author's Rebuttal
We thank the referee for the careful review and for identifying the need for an explicit equivalence result between the SMT encoding and the original RNmatrix semantics. We agree this strengthens the presentation and will revise the manuscript to include it.
read point-by-point responses
-
Referee: [SMT Encoding Section] The section presenting the SMT encoding (approximately §4) does not contain a formal theorem, reduction, or bisimulation argument establishing that unsatisfiability of the generated SMT instance is equivalent to non-validity under the original RNmatrix semantics. Because the row-filtering elimination criteria are translated into constraints on non-deterministic operations, an explicit equivalence proof is required to guarantee that the procedure inherits the known soundness and completeness of RNmatrices rather than introducing new sources of incompleteness or spurious countermodels.
Authors: We agree that an explicit theorem is desirable. In the revised version we will add Theorem 4.1 in §4: for any RNmatrix M and formula φ, φ is valid in M if and only if the SMT instance generated by the encoding is unsatisfiable. The proof proceeds by structural induction on φ, showing that each SMT constraint directly mirrors the definition of RNmatrix evaluation (including the row-elimination filter translated as additional clauses on the non-deterministic choice variables). Because the translation is a faithful syntactic rendering of the semantic clauses, no new restrictions are introduced and the known soundness/completeness of RNmatrices is inherited. A short reduction argument will also be supplied to make the correspondence transparent. revision: yes
Circularity Check
No circularity: SMT encoding applies external solver to independently defined RNmatrix semantics
full rationale
The paper encodes pre-existing RNmatrix semantics (with their row-elimination criteria) as SMT constraints to decide validity. Soundness and completeness of the semantics are taken from prior literature on RNmatrices for paraconsistent, intuitionistic and modal logics; the encoding step is presented as a faithful translation that leverages an off-the-shelf SMT solver rather than deriving any result from fitted parameters or self-referential definitions. No equation or claim in the abstract or described method reduces a performance result or validity decision to a construction that is tautological with its inputs. The reported outperformance is empirical benchmarking against external tools, not a self-derived prediction.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption RNmatrix semantics are sound and complete for the target logics
- standard math SMT solvers correctly decide the satisfiability of the generated constraints
Reference graph
Works this paper leans on
-
[1]
In Werner Horn, editor:ECAI 2000, Proceedings of the 14th European Conference on Artificial Intelligence, Berlin, Germany, August 20-25, 2000, IOS Press, pp
Carlos Areces, Rosella Gennari, Juan Heguiabehere & Maarten de Rijke (2000):Tree-based Heuristics in Modal Theorem Proving. In Werner Horn, editor:ECAI 2000, Proceedings of the 14th European Conference on Artificial Intelligence, Berlin, Germany, August 20-25, 2000, IOS Press, pp. 199–203
2000
-
[2]
Arnon Avron (2007):Non-deterministic semantics for logics with a consistency operator.Int. J. Approx. Reason.45(2), pp. 271–287, doi:10.1016/J.IJAR.2006.06.011
-
[3]
Arnon Avron & Iddo Lev (2005):Non-deterministic Multiple-valued Structures.J. Log. Comput.15(3), pp. 241–261, doi:10.1093/logcom/exi001
-
[4]
Arnon Avron & Anna Zamansky (2011):Non-Deterministic Semantics for Logical Systems, pp. 227–304. Springer Netherlands, Dordrecht, doi:10.1007/978-94-007-0479-4_4
-
[5]
Arnon Avron & Yoni Zohar (2019):Rexpansions of Nondeterministic matrices and their Applications in nonclassical Logics.Rev. Symb. Log.12(1), pp. 173–200, doi:10.1017/S1755020318000321
-
[6]
Coniglio (2016):Some Extensions of mbC
Walter Carnielli & Marcelo E. Coniglio (2016):Some Extensions of mbC. In:Paraconsistent Logic: Con- sistency, Contradiction and Negation,Logic, Epistemology, and the Unity of Science40, Springer, Cham, doi:10.1007/978-3-319-33205-5_3
-
[7]
Agata Ciabattoni, Ori Lahav, Lara Spendier & Anna Zamansky (2014):Taming Paraconsistent (and Other) Logics: An Algorithmic Approach.ACM Trans. Comput. Log.16(1), pp. 5:1–5:23, doi:10.1145/2661636
-
[8]
In:Logic for Programming, Artificial Intelligence, and Reasoning, Lecture Notes in Computer Science, Springer, Berlin, Heidelberg, pp
Koen Claessen & Dan Rosén (2015):SAT Modulo Intuitionistic Implications. In:Logic for Programming, Artificial Intelligence, and Reasoning, Lecture Notes in Computer Science, Springer, Berlin, Heidelberg, pp. 622–637
2015
-
[9]
601–642, doi:10.1007/S11225-021-09972-Z
Marcelo E Coniglio & Guilherme V Toledo (2022):Two Decision Procedures for da Costa’s Cn Logics Based on Restricted Nmatrix Semantics.Studia Logica110(3), pp. 601–642, doi:10.1007/S11225-021-09972-Z
-
[10]
Newton C. A. da Costa (1974):On the theory of inconsistent formal systems.Notre Dame J. Formal Log. 15(4), pp. 497–510, doi:10.1305/NDJFL/1093891487. Renato R. Leme & Carlos Olarte & Elaine Pimentel17
-
[11]
Inconsistent formal systems
Newton C. A. da Costa (1993):Sistemas formais inconsistentes. Ph.D. thesis, Universidade Federal do Paraná, Curitiba, Brazil. Habilitation thesis (1963). Republished by Editora UFPR, 1993. Portuguese title; English: “Inconsistent formal systems”
1993
-
[12]
Newton CA Da Costa & Elias H Alves (1977):A semantical analysis of the calculi Cn.Notre Dame Journal of Formal Logic18(4), pp. 621–630
1977
-
[13]
Itala M Loffredo D’Ottaviano & Milton Augustinis De Castro (2006):Analytical tableaux for da costa’s hierarchy of paraconsistent logics.Electronic Notes in Theoretical Computer Science143, pp. 27–44
2006
-
[14]
James Dugundji (1940):Note on a Property of Matrices for Lewis and Langford’s Calculi of Propositions.J. Symb. Log.5(4), pp. 150–151, doi:10.2307/2268175
-
[15]
Dawson, Stephen C
Solomon Feferman, John W. Dawson, Stephen C. Kleene, Gregory H. Moore, Robert M. Solovay & Jean van Heijenoort (1986):Kurt Gödel: Collected Works. Vol. 1: Publications 1929-1936. Oxford University Press
1986
-
[16]
In:Interna- tional Conference on Automated Deduction, Springer, pp
Camillo Fiorentini (2021):Efficient SAT-based proof search in intuitionistic propositional logic. In:Interna- tional Conference on Automated Deduction, Springer, pp. 217–233
2021
-
[17]
Kurt Gödel (1932):Zum intuitionistischen aussagenkalkül.Anzeiger der Akademie der Wissenschaften in Wien69, pp. 65–66. English translation as ‘On the intuitionistic propositional calculus’. In [15], pp. 223, 225
1932
-
[18]
Lukas Grätz (2022):Truth tables for modal logics T and S4, by using three-valued non-deterministic level semantics.J. Log. Comput.32(1), pp. 129–157, doi:10.1093/logcom/exab068
-
[19]
Kearns (1981):Modal Semantics without Possible Worlds.J
John T. Kearns (1981):Modal Semantics without Possible Worlds.J. Symb. Log.46(1), pp. 77–86, doi:10.2307/2273259
-
[20]
Ori Lahav & Yoni Zohar (2022):Effective Semantics for the Modal Logics K and KT via Non-deterministic Matrices. In Jasmin Blanchette, Laura Kovács & Dirk Pattinson, editors:Automated Reasoning - 11th International Joint Conference, IJCAR 2022, Haifa, Israel, August 8-10, 2022, Proceedings,Lecture Notes in Computer Science13385, Springer, pp. 468–485, doi:...
-
[21]
Renato Leme, Carlos Olarte, Elaine Pimentel & Marcelo Esteban Coniglio (2025):The Modal Cube Re- visited: Semantics Without Worlds. In Gian Luca Pozzato & Tarmo Uustalu, editors:Automated Reasoning with Analytic Tableaux and Related Methods - 34th International Conference, TABLEAUX 2025, Reykjavik, Iceland, September 27-29, 2025, Proceedings, Lecture Note...
-
[22]
Renato R. Leme, Marcelo E. Coniglio & Bruno Lopes (2025):A New Decision Method for Intuition- istic Logic by 3-Valued Non-Deterministic Truth-Tables.The Journal of Symbolic Logic, pp. 1–36, doi:10.1017/jsl.2025.10174
-
[23]
Leme & Carlos Olarte (2026):TRiNity: A Matrix-Based Theorem Prover
Renato R. Leme & Carlos Olarte (2026):TRiNity: A Matrix-Based Theorem Prover. Available at https: //depot.lipn.univ-paris13.fr/provers/trinity
2026
-
[24]
In:Proceedings of the 3rd Brazilian Conference on Mathematical Logic, Sociedade Brasileira de Lógica, pp
Andréa Loparic & Elias Alves (1980):The semantics of the systems Cn of da Costa. In:Proceedings of the 3rd Brazilian Conference on Mathematical Logic, Sociedade Brasileira de Lógica, pp. 161–172
1980
-
[25]
Cláudia Nalon, Ullrich Hustadt, Fabio Papacchini & Clare Dixon (2022):Local Reductions for the Modal Cube. In Jasmin Christian Blanchette, Laura Kovács & Dirk Pattinson, editors:Proceedings of the Interna- tional Joint Conference on Automated Reasoning (IJCAR 2022),Lecture Notes in Computer Science13385, Springer, Cham, doi:10.1007/978-3-031-10769-6_29
-
[26]
Cláudia Nalon, Ullrich Hustadt & Clare Dixon (2017):KSP: A Resolution-based Prover for Multimodal K, Abridged Report. In:Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelli- gence, IJCAI-17, pp. 4919–4923, doi:10.24963/ijcai.2017/694. Available at https://doi.org/10.24963/ijcai. 2017/694
-
[27]
Adolfo Neto, Celso AA Kaestner & Marcelo Finger (2009):Towards an Efficient Prover for the C1 Paracon- sistent Logic.Electronic Notes in Theoretical Computer Science256, pp. 87–102. 18Efficient Decision Procedures for RNmatrix Semantics
2009
-
[28]
In:IFIP International Conference on Artificial Intelligence in Theory and Practice, Springer, pp
Adolfo Gustavo Serra Seca Neto & Marcelo Finger (2006):Effective Prover for Minimal Inconsistency Logic. In:IFIP International Conference on Artificial Intelligence in Theory and Practice, Springer, pp. 465–474
2006
-
[29]
Brunetto Piochi (1978):Matrici adequate per calcoli generali predicativi.Bolletino della Unione Matemat- ica Italiana A15, pp. 66–76
1978
-
[30]
Brunetto Piochi (1983):Logical matrices and non-structural consequence operators.Studia Logica42(1), pp. 33–42
1983
-
[31]
In:European Workshop on Logics in Artificial Intelligence, Springer, pp
Dmitry Tishkovsky, Renate A Schmidt & Mohammad Khodadadi (2012):The tableau prover generator MetTeL2. In:European Workshop on Logics in Artificial Intelligence, Springer, pp. 492–495
2012
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.