0.1.4 • Published 4 years ago

propositional_logic-js v0.1.4

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

#PropLogic-js #####To install the package:

npm i propositional_logic-js

#####To import the package:

const logic=require('propositional_logic-js')

#####To evaluate the validity of an argument. (Can hold more than two premises)

const logic=require('propositional_logic-js')
console.log(logic.evaluateLogic(['premise1','premise2'],conclusion));

##Symbols #####Disjunction: ∨ or | #####Conjunction: & #####Implication: ⇒ or > or --> #####Exclusive Disjunction: ⊻ or |!| #####Logical Equivalence: ⇔ or <-> #####Negation: ¬ or - or !

##Note #####If you include multiple atoms in a given premise, please separate them accordingly. This library will not accept things like: (p&q&r). You will need to split those up into things like this: (p&q)&r

0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago