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.proofs/Proof_bullet/index.html

Module Proof_bulletSource

Sourcetype t =
  1. | Dash of int
  2. | Star of int
  3. | Plus of int
Sourcetype behavior = {
  1. name : string;
  2. put : Proof.t -> t -> Proof.t;
  3. suggest : Proof.t -> Pp.t;
}

A behavior is the data of a put function which is called when a bullet prefixes a tactic, a suggest function suggesting the right bullet to use on a given proof, together with a name to identify the behavior.

Sourceval register_behavior : behavior -> unit

A registered behavior can then be accessed in Coq through the command Set Bullet Behavior "name".

Two modes are registered originally: * "Strict Subproofs":

  • If this bullet follows another one of its kind, defocuses then focuses (which fails if the focused subproof is not complete).
  • If it is the first bullet of its kind, then focuses a new subproof. * "None": bullets don't do anything
Sourceval put : Proof.t -> t -> Proof.t

Handles focusing/defocusing with bullets:

Sourceval suggest : Proof.t -> Pp.t
OCaml

Innovation. Community. Security.