package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.3.0.tar.gz
sha256=3f0fc283e8644394aa9c7a6e3995b6d9ebbe1e6dda712bf431f9c372dcef95ad

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