package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.1.0.tar.gz
sha256=b236dc44f92e1eeca6877c7ee188a90c2303497fe7beb99df711ed5a7ce0d824

doc/rocq-runtime.engine/Nameops/Subscript/index.html

Module Nameops.SubscriptSource

Sourcetype t

Abstract datatype of subscripts. Isomorphic to a string of digits.

Sourceval zero : t

Empty subscript

Sourceval succ : t -> t

Guarantees that x < succ x, but succ x might not be the smallest element strictly above x, generally it does not exist. Example mappings: "" ↦ "0" "0" ↦ "1" "00" ↦ "01" "1" ↦ "2" "01" ↦ "02" "9" ↦ "10" "09" ↦ "10" "99" ↦ "100"

Sourceval compare : t -> t -> int

Well-founded order.

Sourceval equal : t -> t -> bool