ModalK.hs revision c036906ce2ec707ecb0e39ef043e683dc6f31e16
module ModalK where
import GMPAS
import ModalLogic
import GMPSAT
instance ModalLogic ModalK where
parseIndex = return (ModalK ())
matchRO ro = if (rkn ro) then [(length ro)-1] else []
-- the RKn rule ok the K modal logic -------------------------------------------
rkn l =
case l of
[] -> False
(TVandMA (x,t):[]) -> if t then True else False
(TVandMA (x,t):tl) -> if t then False else (rkn tl)