package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.2.0.tar.gz
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20

doc/rocq-runtime.kernel/Relevanceops/index.html

Module RelevanceopsSource

We can take advantage of non-cumulativity of SProp to avoid fully retyping terms when we just want to know if they inhabit some proof-irrelevant type.

Sourceval relevance_of_term : Environ.env -> Constr.constr -> Sorts.relevance

Helpers

Sourceval relevance_of_rel : Environ.env -> int -> Sorts.relevance
Sourceval relevance_of_var : Environ.env -> Names.Id.t -> Sorts.relevance
Sourceval relevance_of_constant : Environ.env -> Constr.pconstant -> Sorts.relevance
Sourceval relevance_of_constructor : Environ.env -> Constr.pconstructor -> Sorts.relevance