aidanjbailey / PropositionalLogic.jl

A Julia implementation of Propositional Logic (WIP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PropositionalLogic.jl

A Julia implementation of Propositional Logic (see PropositionalLogic.md).

Motivation

Julia is an open-source, high-performance, dynamically typed, jit-compiled programming language initially introduced by MIT. While an imperative language at its core, functional techniques are complimented by its multimethods and pattern matching. If Julia's inheritance is viewed as a tree, inner-nodes are abstract while leaves are abstract or concrete - functionality is shared through composition rather than inheritance.

Propositional logic is well accomodated by Julia. First we will look at types.

Types

Propositional Formula

The concept of a propositional formula is abstract - it applies to everything from a single atom to a string of atoms, constant symbols and connectives. Julia allows us to capture this with an abstract type declaration, with formula now representing the root of our inheritance tree.

(WIP)

About

A Julia implementation of Propositional Logic (WIP)

License:GNU General Public License v3.0


Languages

Language:Julia 100.0%