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.engine/Proofview_monad/Trace/index.html

Module Proofview_monad.TraceSource

Sourcetype 'a forest = 'a tree list

The intent is that an 'a forest is a list of messages of type 'a. But messages can stand for a list of more precise messages, hence the structure is organised as a tree.

Sourceand 'a tree =
  1. | Seq of 'a * 'a forest
Sourcetype 'a incr

To build a trace incrementally, we use an intermediary data structure on which we can define an S-expression like language (like a simplified xml except the closing tags do not carry a name).

Sourceval to_tree : 'a incr -> 'a forest
Sourceval opn : 'a -> 'a incr -> 'a incr

open a opens a tag with name a.

Sourceval close : 'a incr -> 'a incr

close closes the last open tag. It is the responsibility of the user to close all the tags.

Sourceval leaf : 'a -> 'a incr -> 'a incr

leaf creates an empty tag with name a.

OCaml

Innovation. Community. Security.