We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the basis of the Metis' size method:
(* ------------------------------------------------------------------------- *) (* The size of a formula in symbols. *) (* ------------------------------------------------------------------------- *) local fun sz n [] = n | sz n (True :: fms) = sz (n + 1) fms | sz n (False :: fms) = sz (n + 1) fms | sz n (Atom atm :: fms) = sz (n + Atom.symbols atm) fms | sz n (Not p :: fms) = sz (n + 1) (p :: fms) | sz n (And (p,q) :: fms) = sz (n + 1) (p :: q :: fms) | sz n (Or (p,q) :: fms) = sz (n + 1) (p :: q :: fms) | sz n (Imp (p,q) :: fms) = sz (n + 1) (p :: q :: fms) | sz n (Iff (p,q) :: fms) = sz (n + 1) (p :: q :: fms) | sz n (Forall (_,p) :: fms) = sz (n + 1) (p :: fms) | sz n (Exists (_,p) :: fms) = sz (n + 1) (p :: fms); in fun symbols fm = sz 0 [fm]; end;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On the basis of the Metis' size method:
The text was updated successfully, but these errors were encountered: