(* Copyright (C) 2004, HELM Team. * * This file is part of HELM, an Hypertextual, Electronic * Library of Mathematics, developed at the Computer Science * Department, University of Bologna, Italy. * * HELM is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * HELM is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HELM; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. * * For details, see the HELM World-Wide-Web page, * http://helm.cs.unibo.it/ *) class proofStatus: uri:UriManager.uri -> typ:Cic.term -> object inherit MatitaTypes.subject (** {3 properties} *) method proof: ProofEngineTypes.proof method setProof: ProofEngineTypes.proof -> unit method goal: ProofEngineTypes.goal option method setGoal: ProofEngineTypes.goal option -> unit (** @raise MatitaTypes.No_proof *) method status: ProofEngineTypes.status (* proof, goal *) method setStatus: ProofEngineTypes.status -> unit (** {3 actions} *) (** return a pair of "xml" (as defined in Xml module) representing the * * current proof type and body, respectively *) method to_xml: Xml.token Stream.t * Xml.token Stream.t end class proof: uri:UriManager.uri -> typ:Cic.term -> object (** {3 status} *) method status: proofStatus method setStatus: proofStatus -> unit end (** {2 tactic commands builders} *) (* TODO Zack: these are just some examples, a lot of other tactics/tacticals * must be added here *) val intros: ?namer:MatitaTypes.namer -> proofStatus -> MatitaTypes.command val reflexivity: proofStatus -> MatitaTypes.command val symmetry: proofStatus -> MatitaTypes.command val transitivity: Cic.term -> proofStatus -> MatitaTypes.command val exists: proofStatus -> MatitaTypes.command val split: proofStatus -> MatitaTypes.command val left: proofStatus -> MatitaTypes.command val right: proofStatus -> MatitaTypes.command val assumption: proofStatus -> MatitaTypes.command