package rocq-runtime

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module DeclareUnivSource

Sourceexception AlreadyDeclared of string option * Names.Id.t

Also used by Declare for constants, DeclareInd for inductives, etc. Containts object_kind , id.

Sourceval declare_univ_binders : Names.GlobRef.t -> UState.named_universes_entry -> unit

Internally used to declare names of universes from monomorphic constants/inductives. Noop on polymorphic references.

Sourceval name_mono_section_univs : Univ.Level.Set.t -> unit

Internally used to name universes associated with no particular constant in a section.

Sourceval do_universe : poly:bool -> Names.lident list -> unit

Command Universes.

Sourceval do_constraint : poly:bool -> Constrexpr.univ_constraint_expr list -> unit

Command Constraint.

Sourceval add_constraint_source : Names.GlobRef.t -> Univ.ContextSet.t -> unit
Sourceval constraint_sources : unit -> (Names.GlobRef.t * Univ.Constraints.t) list

Returns constraints associated to globrefs, newest first.

OCaml

Innovation. Community. Security.