-1
我在序言中證明(元解釋器)既成事實的數量:元解釋Prolog的,算
solvept(true,true):- !.
solvept((A,B),(ProofA,ProofB)):-
!, solvept(A,ProofA), solvept(B,ProofB).
solvept(A,(A:-Proof)):-
clause(A,B), solvept(B,Proof).
與此KB:
son(aa,bb).
son(bb,cc).
son(rr,tt).
好了,現在我想算基本事實的數量。 誰能幫幫我?