Example #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));
            }
Example #2
0
		public Proof(Statement[] proved, ProofStep[] steps) {
			Proved = proved;
			Steps = steps;
		}
Example #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);
 }