package lambdapi

  1. Overview
  2. Docs

Calling a prover using Why3.

val default_prover : string Timed.ref

default_prover contains the name of the current prover. Note that it can be changed by using the "set prover <string>" command.

val timeout : int Timed.ref

timeout is the current time limit (in seconds) for a Why3 prover to find a proof. It can be changed with "set prover <int>".

val handle : Core.Sig_state.t -> Common.Pos.popt -> string option -> Proof.goal_typ -> Core.Term.term

handle ss pos ps prover_name g runs the Why3 prover corresponding to the name prover_name (if given or a default one otherwise) on the goal g. If the prover succeeded to prove the goal, then this is reflected by a new axiom that is added to signature ss.