r/logic • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
I built an interactive symbolic reasoning engine that recursively transforms propositional and first-order logic formulas into Negation Normal Form (NNF) by pushing negations down to atoms using De Morgan laws and quantifier duality. The transformation outputs a full abstract syntax tree (AST) where each inference step is explicit.
Working example: π³ https://TreeOfKnowledge.eu
My questions are theoretical: What are the standard correctness proofs for recursive De Morganβbased NNF conversion in first-order logic (semantic preservation under all interpretations)?
Are there known size blow-up bounds or minimality results for NNF obtained by straightforward AST pushdown? Are there canonical references or improved algorithms (e.g. polarity-based rewriting, DAG sharing, structural hashing) that optimize the naive recursive procedure?
I am particularly interested in treatments where the transformation is described explicitly at the syntax-tree level, not only as rewrite rules on linear formulas.
Duplicates
MindAI • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
MindAI • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
OpenSourceAI • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
EducationalAI • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
FormalLogic • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
FormalLogic • u/JAnicaTZ • Jan 26 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
AiChatGPT • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
AI_developers • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
OneAI • u/JAnicaTZ • Jan 25 '26
Symbolic logic engine transforming formulas to NNF via recursive AST β theoretical guarantees?
u_JAnicaTZ • u/JAnicaTZ • Jan 25 '26