1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/LOGIC/Track/defs".
20 include "datatypes/Proof.ma".
21 include "Insert/defs.ma".
23 inductive Track: Context \to Proof \to Sequent \to Prop \def
24 | track_proj: \forall P,Q,S,i. Insert S i P Q \to Track Q (lref i) S
25 | track_posr: \forall P,h.
26 Track P (parx h) (pair (posr h) (posr h))
27 | track_impw: \forall P,r,D,a,b. Track P r (pair lleaf D) \to
28 Track P (impw r) (pair (impl a b) D)
29 | track_impr: \forall P,r. \forall a,b:Formula.
30 Track P r (pair a b) \to
31 Track P (impr r) (pair lleaf (impl a b))
32 | track_impi: \forall P,Q,p,q,r,A,B,D,i. \forall a,b:Formula.
33 Track P p (pair A a) \to
34 Track P q (pair b B) \to
35 Track Q r (pair lleaf D) \to
36 Insert (pair A B) i P Q \to
37 Track P (impi p q r) (pair (impl a b) D)