Skip to content

Instantly share code, notes, and snippets.

View AndrewKralovec's full-sized avatar

Andrew Kralovec AndrewKralovec

View GitHub Profile
@AndrewKralovec
AndrewKralovec / Logic.php
Created December 18, 2013 00:40
PHP code to help solve AXIOMATIC PROOF'S. an axiomatic system is any set of axioms from which some or all axioms can be used in conjunction to logically derive theorems.You use three proposition to construct Aristotle's basic frame of argument: 'Syllogism ' . Every Syllogism consist of three and only three terms. In my logic class, none of my fe…
<html>
<?php
if (isset($_POST["a"]) && isset($_POST["b"])) {
$a = $_POST["a"];
$b = $_POST["b"];
$Fproof ;
if ($a[0] == "A" && $b[0] == "A") {
$Fproof = "A";
} elseif ($a[0] == "A" && $b[0] == "E") {
$Fproof ="E";