package coq

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

Module Univ.InstanceSource

Sourcetype t

A universe instance represents a vector of argument universes to a polymorphic definition (constant, inductive or constructor).

Sourceval empty : t
Sourceval is_empty : t -> bool
Sourceval of_array : Level.t array -> t
Sourceval to_array : t -> Level.t array
Sourceval append : t -> t -> t

To concatenate two instances, used for discharge

Sourceval equal : t -> t -> bool

Equality

Sourceval length : t -> int

Instance length

Sourceval hcons : t -> t

Hash-consing.

Sourceval hash : t -> int

Hash value

Sourceval share : t -> t * int

Simultaneous hash-consing and hash-value computation

Sourceval subst_fn : universe_level_subst_fn -> t -> t

Substitution by a level-to-level function.

Sourceval pr : (Level.t -> Pp.t) -> ?variance:Variance.t array -> t -> Pp.t

Pretty-printing, no comments

Sourceval levels : t -> LSet.t

The set of levels in the instance

OCaml

Innovation. Community. Security.