diff options
Diffstat (limited to 'Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java')
-rw-r--r-- | Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java index dd549c29..7daf1b2f 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java | |||
@@ -15,6 +15,7 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | |||
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; | 15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; |
16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
18 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
18 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; | 19 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; |
19 | import com.google.common.base.Objects; | 20 | import com.google.common.base.Objects; |
20 | import com.google.common.collect.Iterables; | 21 | import com.google.common.collect.Iterables; |
@@ -37,7 +38,6 @@ import org.eclipse.emf.common.util.EList; | |||
37 | import org.eclipse.xtext.xbase.lib.CollectionLiterals; | 38 | import org.eclipse.xtext.xbase.lib.CollectionLiterals; |
38 | import org.eclipse.xtext.xbase.lib.Conversions; | 39 | import org.eclipse.xtext.xbase.lib.Conversions; |
39 | import org.eclipse.xtext.xbase.lib.Extension; | 40 | import org.eclipse.xtext.xbase.lib.Extension; |
40 | import org.eclipse.xtext.xbase.lib.InputOutput; | ||
41 | import org.eclipse.xtext.xbase.lib.ObjectExtensions; | 41 | import org.eclipse.xtext.xbase.lib.ObjectExtensions; |
42 | import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; | 42 | import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; |
43 | 43 | ||
@@ -123,7 +123,7 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
123 | it.setFofRole("axiom"); | 123 | it.setFofRole("axiom"); |
124 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 124 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
125 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it_1) -> { | 125 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it_1) -> { |
126 | EList<VLSVariable> _variables = it_1.getVariables(); | 126 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); |
127 | VLSVariable _duplicate = this.support.duplicate(this.variable); | 127 | VLSVariable _duplicate = this.support.duplicate(this.variable); |
128 | _variables.add(_duplicate); | 128 | _variables.add(_duplicate); |
129 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); | 129 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); |
@@ -193,10 +193,10 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
193 | it.setFofRole("axiom"); | 193 | it.setFofRole("axiom"); |
194 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 194 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
195 | final Procedure1<VLSExistentialQuantifier> _function_5 = (VLSExistentialQuantifier it_1) -> { | 195 | final Procedure1<VLSExistentialQuantifier> _function_5 = (VLSExistentialQuantifier it_1) -> { |
196 | EList<VLSVariable> _variables = it_1.getVariables(); | 196 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); |
197 | VLSVariable _duplicate = this.support.duplicate(varA); | 197 | VLSVariable _duplicate = this.support.duplicate(varA); |
198 | _variables.add(_duplicate); | 198 | _variables.add(_duplicate); |
199 | EList<VLSVariable> _variables_1 = it_1.getVariables(); | 199 | EList<VLSVariableDeclaration> _variables_1 = it_1.getVariables(); |
200 | VLSVariable _duplicate_1 = this.support.duplicate(varB); | 200 | VLSVariable _duplicate_1 = this.support.duplicate(varB); |
201 | _variables_1.add(_duplicate_1); | 201 | _variables_1.add(_duplicate_1); |
202 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); | 202 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); |
@@ -206,10 +206,10 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
206 | final Procedure1<VLSUnaryNegation> _function_7 = (VLSUnaryNegation it_3) -> { | 206 | final Procedure1<VLSUnaryNegation> _function_7 = (VLSUnaryNegation it_3) -> { |
207 | VLSExistentialQuantifier _createVLSExistentialQuantifier_1 = this.factory.createVLSExistentialQuantifier(); | 207 | VLSExistentialQuantifier _createVLSExistentialQuantifier_1 = this.factory.createVLSExistentialQuantifier(); |
208 | final Procedure1<VLSExistentialQuantifier> _function_8 = (VLSExistentialQuantifier it_4) -> { | 208 | final Procedure1<VLSExistentialQuantifier> _function_8 = (VLSExistentialQuantifier it_4) -> { |
209 | EList<VLSVariable> _variables_2 = it_4.getVariables(); | 209 | EList<VLSVariableDeclaration> _variables_2 = it_4.getVariables(); |
210 | VLSVariable _duplicate_2 = this.support.duplicate(varC); | 210 | VLSVariable _duplicate_2 = this.support.duplicate(varC); |
211 | _variables_2.add(_duplicate_2); | 211 | _variables_2.add(_duplicate_2); |
212 | EList<VLSVariable> _variables_3 = it_4.getVariables(); | 212 | EList<VLSVariableDeclaration> _variables_3 = it_4.getVariables(); |
213 | VLSVariable _duplicate_3 = this.support.duplicate(varB); | 213 | VLSVariable _duplicate_3 = this.support.duplicate(varB); |
214 | _variables_3.add(_duplicate_3); | 214 | _variables_3.add(_duplicate_3); |
215 | it_4.setOperand(this.support.duplicate(rel, CollectionLiterals.<VLSVariable>newArrayList(varC, varB))); | 215 | it_4.setOperand(this.support.duplicate(rel, CollectionLiterals.<VLSVariable>newArrayList(varC, varB))); |
@@ -234,18 +234,13 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
234 | Set<Map.Entry<VLSFunction, List<VLSFunction>>> _entrySet = type2cont.entrySet(); | 234 | Set<Map.Entry<VLSFunction, List<VLSFunction>>> _entrySet = type2cont.entrySet(); |
235 | for (final Map.Entry<VLSFunction, List<VLSFunction>> e : _entrySet) { | 235 | for (final Map.Entry<VLSFunction, List<VLSFunction>> e : _entrySet) { |
236 | { | 236 | { |
237 | VLSFunction _key = e.getKey(); | ||
238 | String _plus = (_key + " "); | ||
239 | List<VLSFunction> _value = e.getValue(); | ||
240 | String _plus_1 = (_plus + _value); | ||
241 | InputOutput.<String>println(_plus_1); | ||
242 | VLSFofFormula _createVLSFofFormula_1 = this.factory.createVLSFofFormula(); | 237 | VLSFofFormula _createVLSFofFormula_1 = this.factory.createVLSFofFormula(); |
243 | final Procedure1<VLSFofFormula> _function_4 = (VLSFofFormula it) -> { | 238 | final Procedure1<VLSFofFormula> _function_4 = (VLSFofFormula it) -> { |
244 | it.setName(this.support.toIDMultiple("containment_contained", e.getKey().getConstant().toString())); | 239 | it.setName(this.support.toIDMultiple("containment_contained", e.getKey().getConstant().toString())); |
245 | it.setFofRole("axiom"); | 240 | it.setFofRole("axiom"); |
246 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 241 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
247 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { | 242 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { |
248 | EList<VLSVariable> _variables = it_1.getVariables(); | 243 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); |
249 | VLSVariable _duplicate = this.support.duplicate(varA); | 244 | VLSVariable _duplicate = this.support.duplicate(varA); |
250 | _variables.add(_duplicate); | 245 | _variables.add(_duplicate); |
251 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); | 246 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); |
@@ -253,7 +248,7 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
253 | it_2.setLeft(this.support.duplicate(e.getKey(), varA)); | 248 | it_2.setLeft(this.support.duplicate(e.getKey(), varA)); |
254 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 249 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
255 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_3) -> { | 250 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_3) -> { |
256 | EList<VLSVariable> _variables_1 = it_3.getVariables(); | 251 | EList<VLSVariableDeclaration> _variables_1 = it_3.getVariables(); |
257 | VLSVariable _duplicate_1 = this.support.duplicate(varB); | 252 | VLSVariable _duplicate_1 = this.support.duplicate(varB); |
258 | _variables_1.add(_duplicate_1); | 253 | _variables_1.add(_duplicate_1); |
259 | int _length_1 = ((Object[])Conversions.unwrapArray(e.getValue(), Object.class)).length; | 254 | int _length_1 = ((Object[])Conversions.unwrapArray(e.getValue(), Object.class)).length; |
@@ -313,9 +308,9 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
313 | final Procedure1<VLSUnaryNegation> _function_6 = (VLSUnaryNegation it_1) -> { | 308 | final Procedure1<VLSUnaryNegation> _function_6 = (VLSUnaryNegation it_1) -> { |
314 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 309 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
315 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_2) -> { | 310 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_2) -> { |
316 | EList<VLSVariable> _variables = it_2.getVariables(); | 311 | EList<VLSVariableDeclaration> _variables = it_2.getVariables(); |
317 | List<VLSVariable> _duplicate = this.support.duplicate(variables); | 312 | List<VLSVariable> _duplicate = this.support.duplicate(variables); |
318 | Iterables.<VLSVariable>addAll(_variables, _duplicate); | 313 | Iterables.<VLSVariableDeclaration>addAll(_variables, _duplicate); |
319 | it_2.setOperand(this.support.unfoldAnd(conjunctionList)); | 314 | it_2.setOperand(this.support.unfoldAnd(conjunctionList)); |
320 | }; | 315 | }; |
321 | VLSExistentialQuantifier _doubleArrow_1 = ObjectExtensions.<VLSExistentialQuantifier>operator_doubleArrow(_createVLSExistentialQuantifier, _function_7); | 316 | VLSExistentialQuantifier _doubleArrow_1 = ObjectExtensions.<VLSExistentialQuantifier>operator_doubleArrow(_createVLSExistentialQuantifier, _function_7); |