Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/example1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of naholyr  >  First Order Logic Prop  >  examples/example1.php  >  Download  
File: examples/example1.php
Role: Example script
Content type: text/plain
Description: basic operations on propositions
Class: First Order Logic Prop
Manipulate, analyze, and prove logic propositions
Author: By
Last change:
Date: 2003-10-07 10:52
Size: 238 bytes
 

Contents

Class file image Download
<?php


require '../FirstOrderLogicProp.inc.php';


$a = &new FirstOrderLogicProp('a <!> b');
$b = &new FirstOrderLogicProp('a <-> b');

$b->not_();
$a->iff($b);

$a->writeLn();
$a->clean();
$a->writeLn();
$a->clean();
$a->writeLn();


?>