package universo

  1. Overview
  2. Docs
A tool for Dedukti to play with universes

Install

Dune Dependency

Authors

Maintainers

Sources

v2.7.tar.gz
sha512=97171b48dd96043d84587581d72edb442f63e7b5ac1695771aa1c3c9074739e15bc7d17678fedb7062acbf403a0bf323d97485c31b92376b80c63b5c2300ee3c
sha256=5e1b6a859dfa1eb2098947a99c7d11ee450f750d96da1720f4834e1505d1096c

doc/universo.common/Common/Oracle/index.html

Module Common.OracleSource

Sourcemodule M = Api.Meta
Sourcemodule U = Universes
Sourcetype theory = (U.pred * bool) list
Sourcetype theory_maker = int -> theory
Sourceval enumerate : int -> U.univ list
Sourceval is_true : M.cfg -> U.pred -> bool

is_true meta p check if the predicate p is true in the original theory.

Sourceval is_true_axiom : M.cfg -> U.univ -> U.univ -> U.pred * bool

is_true_axiom meta s s' check if the predicate Axiom s s' is true in the original theory.

Sourceval is_true_cumul : M.cfg -> U.univ -> U.univ -> U.pred * bool

is_true_cumul meta s s' check if the predicate Cumul s s' is true in the original theory.

Sourceval is_true_rule : M.cfg -> U.univ -> U.univ -> U.univ -> U.pred * bool

is_true_rule meta s s' s'' check if the predicate Rule s s' s'' is true in the original theory.

Sourcemodule Util : sig ... end
Sourceval mk_theory : M.cfg -> int -> theory

mk_theory meta i computes a theory for the universes up to i. A theory is an array for each predicate that tells if the predicate holds. The array is index by universes and its dimension is the arity of the predicate.

OCaml

Innovation. Community. Security.