package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.0.1.tar.gz
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4

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