package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.1.tar.gz
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42

doc/coq-core.kernel/Opaqueproof/index.html

Module OpaqueproofSource

This module implements the handling of opaque proof terms. Opaque proof terms are special since:

  • they can be lazily computed and substituted
  • they are stored in an optionally loaded segment of .vo files An opaque proof terms holds an index into an opaque table.
Sourcetype 'a delayed_universes =
  1. | PrivateMonomorphic of 'a
  2. | PrivatePolymorphic of Univ.ContextSet.t
    (*

    local constraints

    *)
Sourcetype opaquetab
Sourcetype opaque
Sourceval empty_opaquetab : opaquetab
Sourcetype opaque_proofterm = Constr.t * unit delayed_universes
Sourcetype opaque_handle

Opaque terms are indexed by their library dirpath and an integer index. The two functions above activate this indirect storage, by telling how to retrieve terms.

Sourceval subst_opaque : Mod_subst.substitution -> opaque -> opaque
Sourceval discharge_opaque : Cooking.cooking_info -> opaque -> opaque
Sourceval repr_handle : opaque_handle -> int
Sourceval mem_handle : opaque_handle -> opaquetab -> bool
OCaml

Innovation. Community. Security.