package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.1.tar.gz
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b

doc/coq-core.proofs/Logic/index.html

Module LogicSource

Legacy proof engine. Do not use in newly written code.

check respectively means:\\ Intro: check that the name does not exist\\ Intro_after: check that the name does not exist and that variables in its type does not escape their scope\\ Intro_replacing: check that the name does not exist and that variables in its type does not escape their scope\\ Convert_hyp: check that the name exist and that its type is convertible\\

Refiner errors.
Sourcetype refiner_error =
  1. | BadType of Constr.constr * Constr.constr * EConstr.t
  2. | UnresolvedBindings of Names.Name.t list
  3. | CannotApply of Constr.constr * Constr.constr
  4. | NonLinearProof of Constr.constr
  5. | MetaInType of EConstr.constr
  6. | IntroNeedsProduct
  7. | NoSuchHyp of Names.Id.t
Sourceexception RefinerError of Environ.env * Evd.evar_map * refiner_error
Sourceval error_no_such_hypothesis : Environ.env -> Evd.evar_map -> Names.Id.t -> 'a

Move destination for hypothesis

Sourcetype 'id move_location =
  1. | MoveAfter of 'id
  2. | MoveBefore of 'id
  3. | MoveFirst
  4. | MoveLast
    (*

    can be seen as "no move" when doing intro

    *)
Sourceval pr_move_location : ('a -> Pp.t) -> 'a move_location -> Pp.t
Sourceval convert_hyp : check:bool -> reorder:bool -> Environ.env -> Evd.evar_map -> EConstr.named_declaration -> Environ.named_context_val
Sourcetype cannot_move_hyp
Sourceexception CannotMoveHyp of cannot_move_hyp
OCaml

Innovation. Community. Security.

On This Page
  1. Refiner errors.