/LogiCal

Logic calculator

Primary LanguageC#Apache License 2.0Apache-2.0

LogiCal

Predicate logic calculator

image

Parser

Input validation (input characters, white-space strip, missing brackets validation, check bounding, check predicate mismatch, check if proposition), extract proposition and object variables

UI

  • Show whether an input expression is a proposition or predicate logic, show whether the expression is a tautology, easy comparing of hex values
  • Parse any infix expression by right clicking in a text box and using the Parse option in the context menu

Propositions

Parsed in prefix notation, shown in infix notation, generate binary tree, truth tables, generate semantic tableau, simplify, DNF prefix and infix, NAND prefix and infix, binary/hex hash values, show if it is a tautology, nandifying

Predicate logic

Parsed in prefix notation, shown in infix notation, generate binary tree, generate semantic tableau, show if it is a tautology

Other useful features

  • Exporting graphs and binary trees to PNG
  • Right-click quick parsing
  • Input validation
  • Parser input shortcuts

Use

Supported Input ASCII
¬A ~(A), NOT(A)
A ⇒ B >(A,B), =>(A,B)
A ⇔ B =(A,B), <=>(A,B)
A ⋀ B &(A,B)
A ⋁ B |(A,B)
False 0
True 1
A A
%(A,B)
∀x.(F) @x.(F)
∃x.(F) !x.(F)
P(x,y) P(x,y)