package rocq-runtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

doc/rocq-runtime.engine/Proofview/Goal/index.html

Module Proofview.GoalSource

Sourcetype t

Type of goals.

Sourceval concl : t -> EConstr.constr

concl, hyps, env and sigma given a goal gl return respectively the conclusion of gl, the hypotheses of gl, the environment of gl (i.e. the global environment and the hypotheses) and the current evar map.

Sourceval env : t -> Environ.env
Sourceval sigma : t -> Evd.evar_map
Sourceval enter : (t -> unit tactic) -> unit tactic

enter t applies the goal-dependent tactic t in each goal independently, in the manner of tclINDEPENDENT except that the current goal is also given as an argument to t.

Sourceval enter_one : ?__LOC__:string -> (t -> 'a tactic) -> 'a tactic

Like enter, but assumes exactly one goal under focus, raising a fatal error otherwise.

Sourceval goals : t tactic list tactic

Recover the list of current goals under focus, without evar-normalization. FIXME: encapsulate the level in an existential type.

Sourceval unsolved : t -> bool tactic

unsolved g is true if g is still unsolved in the current proof state.

Sourceval goal : t -> Evar.t

Compatibility: avoid if possible

OCaml

Innovation. Community. Security.