1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.qedeq.kernel.bo.service.logic; |
17 |
|
|
18 |
|
import org.qedeq.kernel.se.common.ErrorCodes; |
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
@author |
24 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
25 |
|
public interface LogicErrors extends ErrorCodes { |
26 |
|
|
27 |
|
|
28 |
|
public static final int IDENTITY_OPERATOR_ALREADY_EXISTS_CODE = 123476; |
29 |
|
|
30 |
|
|
31 |
|
public static final String IDENTITY_OPERATOR_ALREADY_EXISTS_TEXT |
32 |
|
= "identity operator already defined with"; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
public static final int PREDICATE_DEFINITION_NEEDS_EQUIVALENCE_OPERATOR_CODE = 30810; |
37 |
|
|
38 |
|
|
39 |
|
public static final String PREDICATE_DEFINITION_NEEDS_EQUIVALENCE_OPERATOR_TEXT |
40 |
|
= "a predicate definition needs an equivalence relation (with two parameters)"; |
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
public static final int PREDICATE_DEFINITION_NEEDS_PREDICATE_CONSTANT_CODE = 30810; |
45 |
|
|
46 |
|
|
47 |
|
public static final String PREDICATE_DEFINITION_NEEDS_PREDICATE_CONSTANT_TEXT |
48 |
|
= "a predicate definition needs an predicate constant as the first parameter"; |
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
public static final int MUST_HAVE_NAME_OF_PREDICATE_CODE = 40720; |
53 |
|
|
54 |
|
|
55 |
|
public static final String MUST_HAVE_NAME_OF_PREDICATE_TEXT |
56 |
|
= "predicate name found is not as expected: "; |
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
public static final int FUNCTION_ALREADY_DEFINED_CODE = 40400; |
61 |
|
|
62 |
|
|
63 |
|
public static final String FUNCTION_ALREADY_DEFINED_TEXT |
64 |
|
= "function was already defined for this argument number: "; |
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
public static final int NO_DEFINITION_FORMULA_FOR_FUNCTION_CODE = 40730; |
69 |
|
|
70 |
|
|
71 |
|
public static final String NO_DEFINITION_FORMULA_FOR_FUNCTION_TEXT |
72 |
|
= "no definition formula for new function found"; |
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
public static final int DEFINITION_FORMULA_FOR_FUNCTION_MUST_START_WITH_EQUAL_RELATION_CODE = 40740; |
77 |
|
|
78 |
|
|
79 |
|
public static final String DEFINITION_FORMULA_FOR_FUNCTION_MUST_START_WITH_EQUAL_RELATION_TEXT |
80 |
|
= "definition formula for new function must start with an equal relation"; |
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
public static final int PREDICATE_ALREADY_DEFINED_CODE = 40400; |
85 |
|
|
86 |
|
|
87 |
|
public static final String PREDICATE_ALREADY_DEFINED_TEXT |
88 |
|
= "predicate was already defined for this argument number: "; |
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
public static final int MUST_BE_A_SUBJECT_VARIABLE_CODE = 40500; |
93 |
|
|
94 |
|
|
95 |
|
public static final String MUST_BE_A_SUBJECT_VARIABLE_TEXT |
96 |
|
= "a subject variable was expected here, but we found: "; |
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
public static final int SUBJECT_VARIABLE_OCCURS_NOT_FREE_CODE = 40510; |
101 |
|
|
102 |
|
|
103 |
|
public static final String SUBJECT_VARIABLE_OCCURS_NOT_FREE_TEXT |
104 |
|
= "subject variable doesn't occur free in formula or term: "; |
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
public static final int NUMBER_OF_FREE_SUBJECT_VARIABLES_NOT_EQUAL_CODE = 40520; |
109 |
|
|
110 |
|
|
111 |
|
public static final String NUMBER_OF_FREE_SUBJECT_VARIABLES_NOT_EQUAL_TEXT |
112 |
|
= "number of subject variables in definition not equal to number of free subject variables of formula or term"; |
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
public static final int IDENTITY_OPERATOR_MUST_BE_DEFINED_FIRST_CODE = 40530; |
117 |
|
|
118 |
|
|
119 |
|
public static final String IDENTITY_OPERATOR_MUST_BE_DEFINED_FIRST_TEXT |
120 |
|
= "the identity operator must be defined firstly before you can define a function constant"; |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
public static final int DEFINITION_FORMULA_FOR_FUNCTION_MUST_BE_AN_EQUAL_RELATION_CODE = 40540; |
125 |
|
|
126 |
|
|
127 |
|
public static final String DEFINITION_FORMULA_FOR_FUNCTION_MUST_BE_AN_EQUAL_RELATION_TEXT |
128 |
|
= "a function definition must be an equal relation"; |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
public static final int FIRST_OPERAND_MUST_BE_A_NEW_FUNCTION_CONSTANT_CODE = 40550; |
133 |
|
|
134 |
|
|
135 |
|
public static final String FIRST_OPERAND_MUST_BE_A_NEW_FUNCTION_CONSTANT_TEXT |
136 |
|
= "first operand of equal relation must be the new function constant"; |
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
public static final int SECOND_OPERAND_MUST_BE_A_TERM_CODE = 40560; |
141 |
|
|
142 |
|
|
143 |
|
public static final String SECOND_OPERAND_MUST_BE_A_TERM_TEXT |
144 |
|
= "first operand of equal relation must be the new function constant"; |
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
public static final int MODULE_IMPORT_CHECK_FAILED_CODE = 11231; |
149 |
|
|
150 |
|
|
151 |
|
public static final String MODULE_IMPORT_CHECK_FAILED_TEXT |
152 |
|
= "import check failed: "; |
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
public static final int PROPOSITION_FORMULA_MUST_NOT_BE_NULL_CODE = 37230; |
157 |
|
|
158 |
|
|
159 |
|
public static final String PROPOSITION_FORMULA_MUST_NOT_BE_NULL_TEXT |
160 |
|
= "proposition formula must not be null"; |
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
public static final int NODE_FORMULAS_MUST_BE_WELL_FORMED_CODE = 37250; |
165 |
|
|
166 |
|
|
167 |
|
public static final String NODE_FORMULAS_MUST_BE_WELL_FORMED_TEXT |
168 |
|
= "only nodes with well formed formulas can be checked"; |
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
public static final int NO_FORMAL_PROOF_FOUND_CODE = 37240; |
173 |
|
|
174 |
|
|
175 |
|
public static final String NO_FORMAL_PROOF_FOUND_TEXT |
176 |
|
= "no correct formal proof found"; |
177 |
|
|
178 |
|
|
179 |
|
|
180 |
|
public static final int RULE_VERSION_HAS_STILL_NO_PROOF_CHECKER_CODE = 37250; |
181 |
|
|
182 |
|
|
183 |
|
public static final String RULE_VERSION_HAS_STILL_NO_PROOF_CHECKER_TEXT |
184 |
|
= "this rule version has still no proof checker implementation: "; |
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
public static final int RULE_ALREADY_DEFINED_CODE = 37260; |
189 |
|
|
190 |
|
|
191 |
|
public static final String RULE_ALREADY_DEFINED_TEXT |
192 |
|
= "rule was already defined for this version: "; |
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
public static final int RULE_DEFINITIONS_DONT_MIX_CODE = 37270; |
197 |
|
|
198 |
|
|
199 |
|
public static final String RULE_DEFINITIONS_DONT_MIX_TEXT |
200 |
|
= "rule version was defined in different modules: "; |
201 |
|
|
202 |
|
|
203 |
|
|
204 |
|
public static final int CLASS_OPERATOR_ALREADY_DEFINED_CODE = 123478; |
205 |
|
|
206 |
|
|
207 |
|
public static final String CLASS_OPERATOR_ALREADY_DEFINED_TEXT |
208 |
|
= "class operator already defined within this module: "; |
209 |
|
|
210 |
|
|
211 |
|
|
212 |
|
public static final int THIS_IS_NOT_VALID_VERSION_FORMAT_CODE = 37300; |
213 |
|
|
214 |
|
|
215 |
|
public static final String THIS_IS_NOT_VALID_VERSION_FORMAT_TEXT |
216 |
|
= "a version must be formed like a.b.c with nonegative integers a, b, c; out problem is: "; |
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
public static final int MODULE_HAS_NO_HEADER_CODE = 37310; |
221 |
|
|
222 |
|
|
223 |
|
public static final String MODULE_HAS_NO_HEADER_TEXT |
224 |
|
= "module has no header"; |
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
public static final int MODULE_HAS_NO_HEADER_SPECIFICATION_CODE = 37320; |
229 |
|
|
230 |
|
|
231 |
|
public static final String MODULE_HAS_NO_HEADER_SPECIFICATION_TEXT |
232 |
|
= "module has no header specification"; |
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
public static final int RULE_WAS_NOT_DECLARED_BEFORE_CODE = 37330; |
237 |
|
|
238 |
|
|
239 |
|
public static final String RULE_WAS_NOT_DECLARED_BEFORE_TEXT |
240 |
|
= "a rule with this name was not declared yet: "; |
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
public static final int RULE_HAS_BEEN_DECLARED_BEFORE_CODE = 37340; |
245 |
|
|
246 |
|
|
247 |
|
public static final String RULE_HAS_BEEN_DECLARED_BEFORE_TEXT |
248 |
|
= "a rule with this version was already declared: "; |
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
public static final int OTHER_RULE_VERSION_EXPECTED_CODE = 37350; |
253 |
|
|
254 |
|
|
255 |
|
public static final String OTHER_RULE_VERSION_EXPECTED_TEXT1 |
256 |
|
= "we expected this rule verson: "; |
257 |
|
|
258 |
|
|
259 |
|
public static final String OTHER_RULE_VERSION_EXPECTED_TEXT2 |
260 |
|
= " but we got: "; |
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
public static final int NEW_RULE_HAS_LOWER_VERSION_NUMBER_CODE = 37360; |
265 |
|
|
266 |
|
|
267 |
|
public static final String NEW_RULE_HAS_LOWER_VERSION_NUMBER_TEXT |
268 |
|
= "the new declared rule version must be higher than the old one: "; |
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
public static final int OLD_OR_NEW_RULE_HAS_INVALID_VERSION_NUMBER_PATTERN_CODE = 37370; |
273 |
|
|
274 |
|
|
275 |
|
public static final String OLD_OR_NEW_RULE_HAS_INVALID_VERSION_NUMBER_PATTERN_TEXT |
276 |
|
= "the version numbers have not the allowed pattern (old or new rule version): "; |
277 |
|
|
278 |
|
|
279 |
|
|
280 |
|
public static final int RULE_HAS_NO_NAME_OR_VERSION_CODE = 37380; |
281 |
|
|
282 |
|
|
283 |
|
public static final String RULE_HAS_NO_NAME_OR_VERSION_TEXT |
284 |
|
= "this rule has no name or version: "; |
285 |
|
|
286 |
|
|
287 |
|
|
288 |
|
public static final int RULE_DECLARED_IN_DIFFERENT_IMPORT_MODULES_CODE = 37390; |
289 |
|
|
290 |
|
|
291 |
|
public static final String RULE_DECLARED_IN_DIFFERENT_IMPORT_MODULES_TEXT |
292 |
|
= "this rule is defined in two different modules: "; |
293 |
|
|
294 |
|
|
295 |
|
|
296 |
|
public static final int FUNCTION_NAME_IN_FORMULA_MUST_SAME_CODE = 37395; |
297 |
|
|
298 |
|
|
299 |
|
public static final String FUNCTION_NAME_IN_FORMULA_MUST_SAME_TEXT |
300 |
|
= "function name in formula must be same as in definition, expected: "; |
301 |
|
|
302 |
|
|
303 |
|
} |