package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.1.tar.gz
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42

doc/coq-core.kernel/Univ/Universe/index.html

Module Univ.UniverseSource

Sourcetype t

Type of universes. A universe is defined as a set of level expressions. A level expression is built from levels and successors of level expressions, i.e.: le ::= l + n, n \in N.

A universe is said atomic if it consists of a single level expression with no increment, and algebraic otherwise (think the least upper bound of a set of level expressions).

Sourceval compare : t -> t -> int

Comparison function

Sourceval equal : t -> t -> bool

Equality function on formal universes

Sourceval hash : t -> int

Hash function

Sourceval make : Level.t -> t

Create a universe representing the given level.

Sourceval pr : (Level.t -> Pp.t) -> t -> Pp.t

Pretty-printing

Sourceval raw_pr : t -> Pp.t
Sourceval is_level : t -> bool

Test if the universe is a level or an algebraic universe.

Sourceval is_levels : t -> bool

Test if the universe is a lub of levels or contains +n's.

Sourceval level : t -> Level.t option

Try to get a level out of a universe, returns None if it is an algebraic universe.

Sourceval levels : t -> Level.Set.t

Get the levels inside the universe, forgetting about increments

Sourceval super : t -> t

The universe strictly above

Sourceval sup : t -> t -> t

The l.u.b. of 2 universes

Sourceval type0 : t

image of Set in the universes hierarchy

Sourceval type1 : t

the universe of the type of Prop/Set

Sourceval is_type0 : t -> bool
Sourceval exists : ((Level.t * int) -> bool) -> t -> bool
Sourceval for_all : ((Level.t * int) -> bool) -> t -> bool
Sourceval repr : t -> (Level.t * int) list
Sourceval unrepr : (Level.t * int) list -> t
module Set : CSet.S with type elt = t
module Map : CMap.ExtS with type key = t and module Set := Set
OCaml

Innovation. Community. Security.