-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
94 additions
and
4 deletions.
There are no files selected for viewing
92 changes: 92 additions & 0 deletions
92
ArrayList/proofs/ArrayList(List__add(int)).JML normal_behavior operation contract.0.proof
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
\profile "Java Profile"; | ||
|
||
\settings // Proof-Settings-Config-File | ||
{ | ||
"Choice" : { | ||
"JavaCard" : "JavaCard:off", | ||
"Strings" : "Strings:on", | ||
"assertions" : "assertions:safe", | ||
"bigint" : "bigint:on", | ||
"floatRules" : "floatRules:strictfpOnly", | ||
"initialisation" : "initialisation:disableStaticInitialisation", | ||
"intRules" : "intRules:arithmeticSemanticsIgnoringOF", | ||
"integerSimplificationRules" : "integerSimplificationRules:full", | ||
"javaLoopTreatment" : "javaLoopTreatment:efficient", | ||
"mergeGenerateIsWeakeningGoal" : "mergeGenerateIsWeakeningGoal:off", | ||
"methodExpansion" : "methodExpansion:modularOnly", | ||
"modelFields" : "modelFields:treatAsAxiom", | ||
"moreSeqRules" : "moreSeqRules:on", | ||
"permissions" : "permissions:off", | ||
"programRules" : "programRules:Java", | ||
"reach" : "reach:on", | ||
"runtimeExceptions" : "runtimeExceptions:ban", | ||
"sequences" : "sequences:on", | ||
"wdChecks" : "wdChecks:off", | ||
"wdOperator" : "wdOperator:L" | ||
}, | ||
"Labels" : { | ||
"UseOriginLabels" : true | ||
}, | ||
"NewSMT" : { | ||
|
||
}, | ||
"SMTSettings" : { | ||
"SelectedTaclets" : [ | ||
|
||
], | ||
"UseBuiltUniqueness" : false, | ||
"explicitTypeHierarchy" : false, | ||
"instantiateHierarchyAssumptions" : true, | ||
"integersMaximum" : 2147483645, | ||
"integersMinimum" : -2147483645, | ||
"invariantForall" : false, | ||
"maxGenericSorts" : 2, | ||
"useConstantsForBigOrSmallIntegers" : true, | ||
"useUninterpretedMultiplication" : true | ||
}, | ||
"Strategy" : { | ||
"ActiveStrategy" : "JavaCardDLStrategy", | ||
"MaximumNumberOfAutomaticApplications" : 10000, | ||
"Timeout" : -1, | ||
"options" : { | ||
"AUTO_INDUCTION_OPTIONS_KEY" : "AUTO_INDUCTION_OFF", | ||
"BLOCK_OPTIONS_KEY" : "BLOCK_CONTRACT_INTERNAL", | ||
"CLASS_AXIOM_OPTIONS_KEY" : "CLASS_AXIOM_FREE", | ||
"DEP_OPTIONS_KEY" : "DEP_ON", | ||
"INF_FLOW_CHECK_PROPERTY" : "INF_FLOW_CHECK_FALSE", | ||
"LOOP_OPTIONS_KEY" : "LOOP_INVARIANT", | ||
"METHOD_OPTIONS_KEY" : "METHOD_CONTRACT", | ||
"MPS_OPTIONS_KEY" : "MPS_MERGE", | ||
"NON_LIN_ARITH_OPTIONS_KEY" : "NON_LIN_ARITH_DEF_OPS", | ||
"OSS_OPTIONS_KEY" : "OSS_ON", | ||
"QUANTIFIERS_OPTIONS_KEY" : "QUANTIFIERS_NON_SPLITTING_WITH_PROGS", | ||
"QUERYAXIOM_OPTIONS_KEY" : "QUERYAXIOM_OFF", | ||
"QUERY_NEW_OPTIONS_KEY" : "QUERY_OFF", | ||
"SPLITTING_OPTIONS_KEY" : "SPLITTING_DELAYED", | ||
"STOPMODE_OPTIONS_KEY" : "STOPMODE_DEFAULT", | ||
"SYMBOLIC_EXECUTION_ALIAS_CHECK_OPTIONS_KEY" : "SYMBOLIC_EXECUTION_ALIAS_CHECK_NEVER", | ||
"SYMBOLIC_EXECUTION_NON_EXECUTION_BRANCH_HIDING_OPTIONS_KEY" : "SYMBOLIC_EXECUTION_NON_EXECUTION_BRANCH_HIDING_OFF", | ||
"USER_TACLETS_OPTIONS_KEY1" : "USER_TACLETS_OFF", | ||
"USER_TACLETS_OPTIONS_KEY2" : "USER_TACLETS_OFF", | ||
"USER_TACLETS_OPTIONS_KEY3" : "USER_TACLETS_OFF", | ||
"VBT_PHASE" : "VBT_SYM_EX" | ||
} | ||
} | ||
} | ||
|
||
\javaSource "../src"; | ||
|
||
\proofObligation | ||
// Proof-Obligation settings | ||
{ | ||
"class" : "de.uka.ilkd.key.proof.init.FunctionalOperationContractPO", | ||
"contract" : "ArrayList[List::add(int)].JML normal_behavior operation contract.0", | ||
"name" : "ArrayList[List::add(int)].JML normal_behavior operation contract.0" | ||
} | ||
|
||
|
||
\proofScript " | ||
macro autopilot; | ||
rule Class_invariant_axiom_for_ArrayList; | ||
macro split-prop; | ||
auto all=true steps=10000;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters