package coq-core

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

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
OCaml

Innovation. Community. Security.