prolog-defaulty Questions

1

Solved

I have a predicate that relates a modal logic formula to its negative normal form. All connectives except the modal operators, conjunction, and disjunction are eliminated, and negation is pushed as...
Chipboard asked 15/12, 2018 at 7:22

2

Solved

so I just got started with Prolog this semester, and got the homework to implement a pretty basic d(function, variable, derivative) which I did like this: d(X,X,1) :- !. d(C,X,0) :- atomic(C). %, ...
Elah asked 13/5, 2015 at 20:26

1

Solved

Say I want to have a number of rules that all follow the same pattern. I have ran into this situation when I want to avoid non-deterministic behavior by explicitly listing all possible first argume...
Pneumograph asked 8/8, 2014 at 12:8

1

Solved

I am trying to make a predicate in order to validate if a given input represents a formula. I am allowed to use only to propositional atoms like p, q, r, s, t, etc. The formulas which I have to te...
Cozart asked 16/10, 2010 at 7:46
1

© 2022 - 2024 — McMap. All rights reserved.