Example #1
0
  private VCProver setUpOldProver(VerificationCondition vc) {
    BlindIterativeRuleChooser baseChooser =
        // new BlindIterativeRuleChooser(myTyper);
        new UpfrontFitnessSortRuleChooser(myTyper, new SimpleFitnessFunction(), 0);
    baseChooser.addRules(myTheoremNames, myTheorems);
    baseChooser.lock(vc);

    vc.simplify();

    MultiStrategyProver p = new MultiStrategyProver();

    SingleStrategyProver slaveProver =
        new SingleStrategyProver(
            new LengthLimitedProvider(baseChooser, 2),
            false,
            0,
            myImplications,
            myTyper,
            myInstanceEnvironment);
    p.addStrategy(slaveProver);

    slaveProver =
        new SingleStrategyProver(
            new LengthLimitedProvider(baseChooser, 3),
            false,
            3,
            myImplications,
            myTyper,
            myInstanceEnvironment);
    p.addStrategy(slaveProver);

    return p;
  }
Example #2
0
  private VCProver setUpOldProverDebug(VerificationCondition vc) {
    vc.simplify();

    GuidedRuleChooser chooser = new GuidedRuleChooser(myTyper);
    chooser.addRules(myTheoremNames, myTheorems);
    SingleStrategyProver slaveProver =
        new SingleStrategyProver(chooser, false, 0, myImplications, myTyper, myInstanceEnvironment);

    return slaveProver;
  }