Submission for Assignment of CS F214 - Logic in CS, 2018-19.
Start by running the Part1 , Part2 (precompiled) files in a linux terminal.
• Modularized code, separated into various files.
• Well documented
• Convert an infix expression to postfix form
• Convert a postfix expression to a Binary Parse Tree
• Convert a Binary Parse Tree to infix expression
• Check validity of a given proof in propositional logic with a limited set of rules
◦ Premise
◦ And introduction
◦ And elimination
◦ Or introduction
◦ Implication eliminiation
◦ Modus Tollens
• We assume that given formula is a well formed propositional formula.
• And the formula contains only the 26 lowercase English alphabet.
• Editors – Sublime Text
• Compiler – g++
• Documentation - Doxygen
- Code Refactoring