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.tactics/Class_tactics/index.html

Module Class_tacticsSource

This files implements typeclasses eauto

Sourceval typeclasses_db : string
Sourceval set_typeclasses_debug : bool -> unit
Sourceval set_typeclasses_depth : int option -> unit
Sourcetype search_strategy =
  1. | Dfs
  2. | Bfs
Sourceval set_typeclasses_strategy : search_strategy -> unit
Sourceval typeclasses_eauto : ?only_classes:bool -> ?best_effort:bool -> ?st:TransparentState.t -> ?strategy:search_strategy -> depth:Int.t option -> Hints.hint_db_name list -> unit Proofview.tactic
Sourceval head_of_constr : Names.Id.t -> EConstr.constr -> unit Proofview.tactic
Sourceval not_evar : EConstr.constr -> unit Proofview.tactic
Sourceval is_ground : EConstr.constr -> unit Proofview.tactic

Tries to find a solution for the given type. Raises Not_found it it fails.

Sourceval resolve_tc : EConstr.constr -> unit Proofview.tactic
Sourcetype solver = {
  1. solver : Environ.env -> Evd.evar_map -> depth:int option -> unique:bool -> best_effort:bool -> goals:Evar.t list -> bool * Evd.evar_map;
}
Sourcetype condition = Environ.env -> Evd.evar_map -> Evar.Set.t -> bool
Sourcetype tc_solver = solver * condition

A tc_solver is made of a solver and a condition telling when the the solver should be executed instead of Rocq's one

Sourceval register_solver : name:CString.Map.key -> ?override:bool -> tc_solver -> unit
Sourceval activate_solver : name:CString.Map.key -> unit
Sourceval deactivate_solver : name:CString.Map.key -> unit
OCaml

Innovation. Community. Security.