package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=920de48ec6c2c3223b6b93879bb65d07ea24aa27f7f7176b3de16e5e467b9939
sha512=135f132730825adeb084669222e68bc999de97b12378fae6abcd9f91ae13093eab29fa49c854adb28d064d52c9890c0f5c8ff9d47a9916f66fe5e0fba3479759
doc/lambdapi.handle/Handle/Proof/index.html
Module Handle.ProofSource
Proofs and tactics.
type goal_typ = {goal_meta : Core.Term.meta;goal_hyps : Core.Env.t;goal_type : Core.Term.term;
}Type of goals.
add_goals_of_problem p gs extends the list of goals gs with the metavariables and constraints of p.
type proof_state = {proof_name : Common.Pos.strloc;(*Name of the theorem.
*)proof_term : Core.Term.meta option;(*Optional metavariable holding the goal associated to a symbol used as a theorem/definition and not just a simple declaration
*)proof_goals : goal list;(*Open goals (focused goal is first).
*)
}Representation of the proof state of a theorem.
finished ps tells whether there are unsolved goals in ps.
goals ppf gl prints the goal list gl to channel ppf.
remove_solved_goals ps removes from the proof state ps the typing goals that are solved.
meta_of_key ps i returns Some m where m is a meta of ps whose key is i, or else it returns None.
focus_env ps returns the scoping environment of the focused goal or the empty environment if there is none.