public TheoryDevelopingStep( Antecedent theoremAntecedent, Consequent theoremConsequent, Iterable<PExp> globalFacts) { myDerivedTransformer = new AccumulatingAntecedentExtender( new ConditionalAntecedentExtender(theoremAntecedent, theoremConsequent, globalFacts)); myAntecedent = theoremAntecedent; myConsequent = theoremConsequent; myIntroducesQuantifiedVariablesFlag = myConsequent.containsQuantifiedVariableNotIn(myAntecedent); }
private VCTransformer buildBatchTheoryDeveloper(int iterations) { BatchTheoryDevelopmentStep developer = new BatchTheoryDevelopmentStep(myPExpTheorems, iterations); Antecedent an; Consequent co; for (Implication i : myImplications) { an = new Antecedent(i.getAntecedent(), myTyper); co = new Consequent(i.getConsequent(), myTyper); if (!co.containsQuantifiedVariableNotIn(an)) { developer.addImplicationTheorem(an, co); } } return developer; }