package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.1.1.tar.gz
sha256=35cd03fc4193969b1cce01190340e5c129c1ba8f02242a9e6dff4b83be118759

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