Skip to content

Instantly share code, notes, and snippets.

View Johnicholas's full-sized avatar
💭
I may be slow to respond.

Johnicholas Hines Johnicholas

💭
I may be slow to respond.
View GitHub Profile
#lang racket
(require rackunit
"prover.rkt")
(check-equal? (resolve '(or P) '(or Q)) 'no-resolvent)
(check-equal? (resolve '(or P) '(or (not P))) '(or))
(check-equal? (resolve '(or P (not Q)) '(or Q (not R))) '(or P (not R)))
(test-case