Ejemplo n.º 1
0
            public Hashtable env;             // substitutions of goal-level variables

            public Proof ToProof()
            {
                ProofStep[] steps = new ProofStep[body.Count];
                for (int i = 0; i < body.Count; i++)
                {
                    steps[i] = ((Ground)body[i]).ToProofStep();
                }
                return(new Proof(head, steps));
            }
Ejemplo n.º 2
0
		public Proof(Statement[] proved, ProofStep[] steps) {
			Proved = proved;
			Steps = steps;
		}
Ejemplo n.º 3
0
 public Proof ToProof()
 {
     ProofStep[] steps = new ProofStep[body.Count];
     for (int i = 0; i < body.Count; i++)
         steps[i] = ((Ground)body[i]).ToProofStep();
     return new Proof(head, steps);
 }