package logtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Dtree.MakeSource

Parameters

module E : Index.EQUATION

Signature

Sourcetype t
module E = E

Module that describes indexed equations

Sourcetype rhs = E.rhs

Right hand side of equation

Sourceval empty : unit -> t
Sourceval is_empty : t -> bool
Sourceval add : t -> E.t -> t

Index the given (in)equation

Sourceval add_seq : t -> E.t Iter.t -> t
Sourceval add_list : t -> E.t list -> t
Sourceval remove : t -> E.t -> t
Sourceval remove_seq : t -> E.t Iter.t -> t
Sourceval size : t -> int

Number of indexed (in)equations

Sourceval iter : t -> (Index_intf.term -> E.t -> unit) -> unit

Iterate on indexed equations

retrieve ~sign (idx,si) (t,st) acc iterates on (in)equations l ?= r of given sign and substitutions subst, such that subst(l, si) = t. It therefore finds generalizations of the query term.

print the index in the DOT format

OCaml

Innovation. Community. Security.