occam-verify-cli 1.0.984 → 1.0.985
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action/verify.js +22 -27
- package/lib/constants.js +1 -41
- package/lib/index.js +1 -2
- package/lib/utilities/fileContext.js +3 -8
- package/lib/utilities/releaseContext.js +2 -2
- package/package.json +5 -6
- package/src/action/verify.js +8 -18
- package/src/constants.js +0 -10
- package/src/index.js +0 -2
- package/src/utilities/fileContext.js +1 -2
- package/src/utilities/releaseContext.js +1 -1
- package/lib/context/aphasic.js +0 -27
- package/lib/context/bounded.js +0 -244
- package/lib/context/branching.js +0 -61
- package/lib/context/file/nominal.js +0 -586
- package/lib/context/illative.js +0 -28
- package/lib/context/liminal.js +0 -200
- package/lib/context/literal.js +0 -44
- package/lib/context/mnemic.js +0 -454
- package/lib/context/nested.js +0 -31
- package/lib/context/nominal.js +0 -57
- package/lib/context/phaneric.js +0 -44
- package/lib/context/thetic.js +0 -28
- package/lib/context.js +0 -445
- package/lib/element/assertion/contained.js +0 -218
- package/lib/element/assertion/defined.js +0 -213
- package/lib/element/assertion/property.js +0 -176
- package/lib/element/assertion/signature.js +0 -170
- package/lib/element/assertion/subproof.js +0 -220
- package/lib/element/assertion/type.js +0 -227
- package/lib/element/assertion.js +0 -49
- package/lib/element/assumption/metaLevel.js +0 -244
- package/lib/element/assumption.js +0 -252
- package/lib/element/combinator/bracketed.js +0 -36
- package/lib/element/combinator.js +0 -104
- package/lib/element/conclusion.js +0 -131
- package/lib/element/constructor/bracketed.js +0 -57
- package/lib/element/constructor.js +0 -129
- package/lib/element/declaration/combinator.js +0 -58
- package/lib/element/declaration/complexType.js +0 -180
- package/lib/element/declaration/constructor.js +0 -93
- package/lib/element/declaration/metavariable.js +0 -77
- package/lib/element/declaration/property.js +0 -88
- package/lib/element/declaration/simpleType.js +0 -148
- package/lib/element/declaration/typePrefix.js +0 -53
- package/lib/element/declaration/variable.js +0 -99
- package/lib/element/declaration.js +0 -15
- package/lib/element/deduction.js +0 -131
- package/lib/element/derivation.js +0 -46
- package/lib/element/equality.js +0 -211
- package/lib/element/equivalence.js +0 -200
- package/lib/element/error.js +0 -27
- package/lib/element/frame.js +0 -238
- package/lib/element/hypothesis.js +0 -135
- package/lib/element/judgement.js +0 -212
- package/lib/element/label.js +0 -135
- package/lib/element/metaType.js +0 -57
- package/lib/element/metavariable.js +0 -452
- package/lib/element/parameter.js +0 -69
- package/lib/element/procedureCall.js +0 -116
- package/lib/element/procedureReference.js +0 -56
- package/lib/element/proof.js +0 -52
- package/lib/element/proofAssertion/premise.js +0 -238
- package/lib/element/proofAssertion/step.js +0 -235
- package/lib/element/proofAssertion/supposition.js +0 -249
- package/lib/element/proofAssertion.js +0 -56
- package/lib/element/property.js +0 -176
- package/lib/element/propertyRelation.js +0 -132
- package/lib/element/reference.js +0 -227
- package/lib/element/rule.js +0 -242
- package/lib/element/section.js +0 -64
- package/lib/element/signature.js +0 -195
- package/lib/element/statement.js +0 -228
- package/lib/element/subDerivation.js +0 -46
- package/lib/element/subproof.js +0 -91
- package/lib/element/substitution/frame.js +0 -256
- package/lib/element/substitution/reference.js +0 -192
- package/lib/element/substitution/statement.js +0 -294
- package/lib/element/substitution/term.js +0 -266
- package/lib/element/substitution.js +0 -183
- package/lib/element/term.js +0 -217
- package/lib/element/topLevelAssertion/axiom.js +0 -158
- package/lib/element/topLevelAssertion/conjecture.js +0 -42
- package/lib/element/topLevelAssertion/lemma.js +0 -39
- package/lib/element/topLevelAssertion/theorem.js +0 -42
- package/lib/element/topLevelAssertion.js +0 -286
- package/lib/element/topLevelMetaAssertion/metaLemma.js +0 -42
- package/lib/element/topLevelMetaAssertion/metatheorem.js +0 -42
- package/lib/element/topLevelMetaAssertion.js +0 -179
- package/lib/element/type.js +0 -240
- package/lib/element/typePrefix.js +0 -85
- package/lib/element/variable.js +0 -206
- package/lib/elements.js +0 -27
- package/lib/metaTypeNames.js +0 -26
- package/lib/metaTypes.js +0 -66
- package/lib/node/argument.js +0 -31
- package/lib/node/assertion/contained.js +0 -51
- package/lib/node/assertion/defined.js +0 -47
- package/lib/node/assertion/property.js +0 -36
- package/lib/node/assertion/signature.js +0 -32
- package/lib/node/assertion/subproof.js +0 -28
- package/lib/node/assertion/type.js +0 -32
- package/lib/node/assertion.js +0 -18
- package/lib/node/assumption/metaLevel.js +0 -27
- package/lib/node/assumption.js +0 -27
- package/lib/node/body/axiom.js +0 -23
- package/lib/node/body/conjecture.js +0 -23
- package/lib/node/body/lemma.js +0 -23
- package/lib/node/body/metaLemma.js +0 -23
- package/lib/node/body/metatheorem.js +0 -23
- package/lib/node/body/rule.js +0 -44
- package/lib/node/body/theorem.js +0 -23
- package/lib/node/body.js +0 -31
- package/lib/node/combinator.js +0 -23
- package/lib/node/conclusion.js +0 -27
- package/lib/node/constructor.js +0 -23
- package/lib/node/declaration/combinator.js +0 -28
- package/lib/node/declaration/complexType.js +0 -72
- package/lib/node/declaration/constructor.js +0 -47
- package/lib/node/declaration/metavariable.js +0 -36
- package/lib/node/declaration/property.js +0 -44
- package/lib/node/declaration/simpleType.js +0 -72
- package/lib/node/declaration/typePrefix.js +0 -32
- package/lib/node/declaration/variable.js +0 -51
- package/lib/node/declaration.js +0 -18
- package/lib/node/deduction.js +0 -27
- package/lib/node/derivation.js +0 -26
- package/lib/node/document.js +0 -18
- package/lib/node/equality.js +0 -33
- package/lib/node/equivalence.js +0 -23
- package/lib/node/equivalences.js +0 -18
- package/lib/node/error.js +0 -18
- package/lib/node/frame.js +0 -38
- package/lib/node/header/axiom.js +0 -28
- package/lib/node/header/conjecture.js +0 -23
- package/lib/node/header/lemma.js +0 -23
- package/lib/node/header/metaLemma.js +0 -23
- package/lib/node/header/metatheorem.js +0 -23
- package/lib/node/header/rule.js +0 -23
- package/lib/node/header/theorem.js +0 -23
- package/lib/node/header.js +0 -47
- package/lib/node/hypothesis.js +0 -27
- package/lib/node/judgement.js +0 -31
- package/lib/node/label.js +0 -23
- package/lib/node/labels.js +0 -23
- package/lib/node/metaArgument.js +0 -23
- package/lib/node/metaType.js +0 -30
- package/lib/node/metavariable.js +0 -39
- package/lib/node/parameter.js +0 -47
- package/lib/node/parenthesisedLabel.js +0 -23
- package/lib/node/parenthesisedLabels.js +0 -27
- package/lib/node/placeholder.js +0 -18
- package/lib/node/procedureCall.js +0 -31
- package/lib/node/procedureReference.js +0 -30
- package/lib/node/proof.js +0 -23
- package/lib/node/proofAssertion/premise.js +0 -28
- package/lib/node/proofAssertion/step.js +0 -52
- package/lib/node/proofAssertion/supposition.js +0 -28
- package/lib/node/proofAssertion.js +0 -27
- package/lib/node/property.js +0 -30
- package/lib/node/propertyRelation.js +0 -31
- package/lib/node/qualification.js +0 -27
- package/lib/node/reference.js +0 -23
- package/lib/node/rule.js +0 -43
- package/lib/node/section.js +0 -39
- package/lib/node/signature.js +0 -23
- package/lib/node/statement.js +0 -103
- package/lib/node/subDerivation.js +0 -26
- package/lib/node/subproof.js +0 -35
- package/lib/node/substitution/frame.js +0 -40
- package/lib/node/substitution/reference.js +0 -40
- package/lib/node/substitution/statement.js +0 -60
- package/lib/node/substitution/term.js +0 -40
- package/lib/node/substitution.js +0 -18
- package/lib/node/term.js +0 -60
- package/lib/node/topLevelAssertion/axiom.js +0 -26
- package/lib/node/topLevelAssertion/conjecture.js +0 -26
- package/lib/node/topLevelAssertion/lemma.js +0 -26
- package/lib/node/topLevelAssertion/theorem.js +0 -26
- package/lib/node/topLevelAssertion.js +0 -46
- package/lib/node/topLevelMetaAssertion/metaLemma.js +0 -26
- package/lib/node/topLevelMetaAssertion/metatheorem.js +0 -26
- package/lib/node/topLevelMetaAssertion.js +0 -42
- package/lib/node/type.js +0 -60
- package/lib/node/typePrefix.js +0 -30
- package/lib/node/types.js +0 -23
- package/lib/node/variable.js +0 -30
- package/lib/nominal/lexer.js +0 -15
- package/lib/nominal/parser.js +0 -24
- package/lib/nonTerminalNodeMap.js +0 -189
- package/lib/pass/zip.js +0 -23
- package/lib/preamble.js +0 -73
- package/lib/process/assign.js +0 -62
- package/lib/process/discharge.js +0 -38
- package/lib/process/equate.js +0 -73
- package/lib/process/instantiate.js +0 -261
- package/lib/process/unification.js +0 -228
- package/lib/process/unify.js +0 -336
- package/lib/process/validate.js +0 -135
- package/lib/process/validation.js +0 -291
- package/lib/process/verify.js +0 -205
- package/lib/ruleNames.js +0 -350
- package/lib/tokenTypes.js +0 -22
- package/lib/utilities/assignment.js +0 -47
- package/lib/utilities/bnf.js +0 -21
- package/lib/utilities/brackets.js +0 -77
- package/lib/utilities/breakPoint.js +0 -38
- package/lib/utilities/context.js +0 -220
- package/lib/utilities/element.js +0 -1851
- package/lib/utilities/equivalence.js +0 -27
- package/lib/utilities/equivalences.js +0 -134
- package/lib/utilities/instance.js +0 -44
- package/lib/utilities/json.js +0 -1109
- package/lib/utilities/string.js +0 -231
- package/lib/utilities/substitutions.js +0 -86
- package/lib/utilities/synoptic.js +0 -159
- package/lib/utilities/type.js +0 -27
- package/src/context/aphasic.js +0 -15
- package/src/context/bounded.js +0 -362
- package/src/context/branching.js +0 -69
- package/src/context/file/nominal.js +0 -955
- package/src/context/illative.js +0 -17
- package/src/context/liminal.js +0 -280
- package/src/context/literal.js +0 -42
- package/src/context/mnemic.js +0 -778
- package/src/context/nested.js +0 -21
- package/src/context/nominal.js +0 -62
- package/src/context/phaneric.js +0 -43
- package/src/context/thetic.js +0 -17
- package/src/context.js +0 -722
- package/src/element/assertion/contained.js +0 -313
- package/src/element/assertion/defined.js +0 -310
- package/src/element/assertion/property.js +0 -252
- package/src/element/assertion/signature.js +0 -239
- package/src/element/assertion/subproof.js +0 -335
- package/src/element/assertion/type.js +0 -328
- package/src/element/assertion.js +0 -65
- package/src/element/assumption/metaLevel.js +0 -373
- package/src/element/assumption.js +0 -374
- package/src/element/combinator/bracketed.js +0 -32
- package/src/element/combinator.js +0 -145
- package/src/element/conclusion.js +0 -185
- package/src/element/constructor/bracketed.js +0 -68
- package/src/element/constructor.js +0 -188
- package/src/element/declaration/combinator.js +0 -66
- package/src/element/declaration/complexType.js +0 -257
- package/src/element/declaration/constructor.js +0 -122
- package/src/element/declaration/metavariable.js +0 -93
- package/src/element/declaration/property.js +0 -108
- package/src/element/declaration/simpleType.js +0 -208
- package/src/element/declaration/typePrefix.js +0 -58
- package/src/element/declaration/variable.js +0 -130
- package/src/element/declaration.js +0 -7
- package/src/element/deduction.js +0 -185
- package/src/element/derivation.js +0 -57
- package/src/element/equality.js +0 -325
- package/src/element/equivalence.js +0 -276
- package/src/element/error.js +0 -26
- package/src/element/frame.js +0 -356
- package/src/element/hypothesis.js +0 -186
- package/src/element/judgement.js +0 -303
- package/src/element/label.js +0 -186
- package/src/element/metaType.js +0 -75
- package/src/element/metavariable.js +0 -662
- package/src/element/parameter.js +0 -90
- package/src/element/procedureCall.js +0 -159
- package/src/element/procedureReference.js +0 -71
- package/src/element/proof.js +0 -61
- package/src/element/proofAssertion/premise.js +0 -354
- package/src/element/proofAssertion/step.js +0 -271
- package/src/element/proofAssertion/supposition.js +0 -377
- package/src/element/proofAssertion.js +0 -74
- package/src/element/property.js +0 -258
- package/src/element/propertyRelation.js +0 -193
- package/src/element/reference.js +0 -345
- package/src/element/rule.js +0 -358
- package/src/element/section.js +0 -78
- package/src/element/signature.js +0 -292
- package/src/element/statement.js +0 -358
- package/src/element/subDerivation.js +0 -56
- package/src/element/subproof.js +0 -116
- package/src/element/substitution/frame.js +0 -392
- package/src/element/substitution/reference.js +0 -274
- package/src/element/substitution/statement.js +0 -452
- package/src/element/substitution/term.js +0 -407
- package/src/element/substitution.js +0 -261
- package/src/element/term.js +0 -339
- package/src/element/topLevelAssertion/axiom.js +0 -244
- package/src/element/topLevelAssertion/conjecture.js +0 -40
- package/src/element/topLevelAssertion/lemma.js +0 -42
- package/src/element/topLevelAssertion/theorem.js +0 -40
- package/src/element/topLevelAssertion.js +0 -436
- package/src/element/topLevelMetaAssertion/metaLemma.js +0 -40
- package/src/element/topLevelMetaAssertion/metatheorem.js +0 -40
- package/src/element/topLevelMetaAssertion.js +0 -276
- package/src/element/type.js +0 -374
- package/src/element/typePrefix.js +0 -113
- package/src/element/variable.js +0 -259
- package/src/elements.js +0 -13
- package/src/metaTypeNames.js +0 -5
- package/src/metaTypes.js +0 -71
- package/src/node/argument.js +0 -30
- package/src/node/assertion/contained.js +0 -53
- package/src/node/assertion/defined.js +0 -46
- package/src/node/assertion/property.js +0 -30
- package/src/node/assertion/signature.js +0 -23
- package/src/node/assertion/subproof.js +0 -16
- package/src/node/assertion/type.js +0 -23
- package/src/node/assertion.js +0 -7
- package/src/node/assumption/metaLevel.js +0 -23
- package/src/node/assumption.js +0 -23
- package/src/node/body/axiom.js +0 -7
- package/src/node/body/conjecture.js +0 -7
- package/src/node/body/lemma.js +0 -7
- package/src/node/body/metaLemma.js +0 -7
- package/src/node/body/metatheorem.js +0 -7
- package/src/node/body/rule.js +0 -42
- package/src/node/body/theorem.js +0 -7
- package/src/node/body.js +0 -30
- package/src/node/combinator.js +0 -16
- package/src/node/conclusion.js +0 -23
- package/src/node/constructor.js +0 -16
- package/src/node/declaration/combinator.js +0 -16
- package/src/node/declaration/complexType.js +0 -88
- package/src/node/declaration/constructor.js +0 -46
- package/src/node/declaration/metavariable.js +0 -30
- package/src/node/declaration/property.js +0 -42
- package/src/node/declaration/simpleType.js +0 -87
- package/src/node/declaration/typePrefix.js +0 -24
- package/src/node/declaration/variable.js +0 -53
- package/src/node/declaration.js +0 -7
- package/src/node/deduction.js +0 -23
- package/src/node/derivation.js +0 -19
- package/src/node/document.js +0 -7
- package/src/node/equality.js +0 -35
- package/src/node/equivalence.js +0 -16
- package/src/node/equivalences.js +0 -7
- package/src/node/error.js +0 -7
- package/src/node/frame.js +0 -40
- package/src/node/header/axiom.js +0 -16
- package/src/node/header/conjecture.js +0 -7
- package/src/node/header/lemma.js +0 -7
- package/src/node/header/metaLemma.js +0 -7
- package/src/node/header/metatheorem.js +0 -7
- package/src/node/header/rule.js +0 -7
- package/src/node/header/theorem.js +0 -7
- package/src/node/header.js +0 -54
- package/src/node/hypothesis.js +0 -23
- package/src/node/judgement.js +0 -30
- package/src/node/label.js +0 -16
- package/src/node/labels.js +0 -16
- package/src/node/metaArgument.js +0 -16
- package/src/node/metaType.js +0 -26
- package/src/node/metavariable.js +0 -42
- package/src/node/parameter.js +0 -51
- package/src/node/parenthesisedLabel.js +0 -16
- package/src/node/parenthesisedLabels.js +0 -23
- package/src/node/placeholder.js +0 -7
- package/src/node/procedureCall.js +0 -30
- package/src/node/procedureReference.js +0 -26
- package/src/node/proof.js +0 -16
- package/src/node/proofAssertion/premise.js +0 -16
- package/src/node/proofAssertion/step.js +0 -52
- package/src/node/proofAssertion/supposition.js +0 -16
- package/src/node/proofAssertion.js +0 -23
- package/src/node/property.js +0 -28
- package/src/node/propertyRelation.js +0 -30
- package/src/node/qualification.js +0 -23
- package/src/node/reference.js +0 -16
- package/src/node/rule.js +0 -51
- package/src/node/section.js +0 -44
- package/src/node/signature.js +0 -16
- package/src/node/statement.js +0 -167
- package/src/node/subDerivation.js +0 -19
- package/src/node/subproof.js +0 -35
- package/src/node/substitution/frame.js +0 -37
- package/src/node/substitution/reference.js +0 -38
- package/src/node/substitution/statement.js +0 -70
- package/src/node/substitution/term.js +0 -38
- package/src/node/substitution.js +0 -7
- package/src/node/term.js +0 -75
- package/src/node/topLevelAssertion/axiom.js +0 -13
- package/src/node/topLevelAssertion/conjecture.js +0 -13
- package/src/node/topLevelAssertion/lemma.js +0 -13
- package/src/node/topLevelAssertion/theorem.js +0 -13
- package/src/node/topLevelAssertion.js +0 -58
- package/src/node/topLevelMetaAssertion/metaLemma.js +0 -13
- package/src/node/topLevelMetaAssertion/metatheorem.js +0 -13
- package/src/node/topLevelMetaAssertion.js +0 -51
- package/src/node/type.js +0 -74
- package/src/node/typePrefix.js +0 -26
- package/src/node/types.js +0 -16
- package/src/node/variable.js +0 -26
- package/src/nominal/lexer.js +0 -5
- package/src/nominal/parser.js +0 -12
- package/src/nonTerminalNodeMap.js +0 -261
- package/src/pass/zip.js +0 -19
- package/src/preamble.js +0 -64
- package/src/process/assign.js +0 -53
- package/src/process/discharge.js +0 -33
- package/src/process/equate.js +0 -94
- package/src/process/instantiate.js +0 -198
- package/src/process/unification.js +0 -332
- package/src/process/unify.js +0 -504
- package/src/process/validate.js +0 -174
- package/src/process/validation.js +0 -410
- package/src/process/verify.js +0 -299
- package/src/ruleNames.js +0 -86
- package/src/tokenTypes.js +0 -4
- package/src/utilities/assignment.js +0 -57
- package/src/utilities/bnf.js +0 -20
- package/src/utilities/brackets.js +0 -87
- package/src/utilities/breakPoint.js +0 -29
- package/src/utilities/context.js +0 -223
- package/src/utilities/element.js +0 -2293
- package/src/utilities/equivalence.js +0 -25
- package/src/utilities/equivalences.js +0 -158
- package/src/utilities/instance.js +0 -40
- package/src/utilities/json.js +0 -1273
- package/src/utilities/string.js +0 -282
- package/src/utilities/substitutions.js +0 -93
- package/src/utilities/synoptic.js +0 -135
- package/src/utilities/type.js +0 -19
package/src/context.js
DELETED
|
@@ -1,722 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { Context as ContextBase } from "occam-languages";
|
|
4
|
-
|
|
5
|
-
export default class Context extends ContextBase {
|
|
6
|
-
getLexer() {
|
|
7
|
-
const context = this.getContext(),
|
|
8
|
-
lexer = context.getLexer();
|
|
9
|
-
|
|
10
|
-
return lexer;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
getParser() {
|
|
14
|
-
const context = this.getContext(),
|
|
15
|
-
parser = context.getParser();
|
|
16
|
-
|
|
17
|
-
return parser;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
getFilePath() {
|
|
21
|
-
const context = this.getContext(),
|
|
22
|
-
filePath = context.getFilePath();
|
|
23
|
-
|
|
24
|
-
return filePath;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
getTokens() {
|
|
28
|
-
const context = this.getContext(),
|
|
29
|
-
tokens = context.getTokens();
|
|
30
|
-
|
|
31
|
-
return tokens;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
setTokens(tokens) {
|
|
35
|
-
const context = this.getContext();
|
|
36
|
-
|
|
37
|
-
context.setTokens(tokens);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
getTerms(terms = []) {
|
|
41
|
-
const context = this.getContext();
|
|
42
|
-
|
|
43
|
-
context.getTerms(terms);
|
|
44
|
-
|
|
45
|
-
return terms;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
getFrames(frames = []) {
|
|
49
|
-
const context = this.getContext();
|
|
50
|
-
|
|
51
|
-
context.getFrames(frames);
|
|
52
|
-
|
|
53
|
-
return frames;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
getProperties(properties = []) {
|
|
57
|
-
const context = this.getContext();
|
|
58
|
-
|
|
59
|
-
context.getProperties(properties);
|
|
60
|
-
|
|
61
|
-
return properties;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
getEqualities(equalities = []) {
|
|
65
|
-
const context = this.getContext();
|
|
66
|
-
|
|
67
|
-
context.getEqualities(equalities);
|
|
68
|
-
|
|
69
|
-
return equalities;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
getJudgements(judgements = []) {
|
|
73
|
-
const context = this.getContext();
|
|
74
|
-
|
|
75
|
-
context.getJudgements(judgements);
|
|
76
|
-
|
|
77
|
-
return judgements;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
getAssertions(assertions = []) {
|
|
81
|
-
const context = this.getContext();
|
|
82
|
-
|
|
83
|
-
context.getAssertions(assertions);
|
|
84
|
-
|
|
85
|
-
return assertions;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
getStatements(statements = []) {
|
|
89
|
-
const context = this.getContext();
|
|
90
|
-
|
|
91
|
-
context.getStatements(statements);
|
|
92
|
-
|
|
93
|
-
return statements;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
getSignatures(signatures = []) {
|
|
97
|
-
const context = this.getContext();
|
|
98
|
-
|
|
99
|
-
context.getSignatures(signatures);
|
|
100
|
-
|
|
101
|
-
return signatures;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
getReferences(references = []) {
|
|
105
|
-
const context = this.getContext();
|
|
106
|
-
|
|
107
|
-
context.getReferences(references);
|
|
108
|
-
|
|
109
|
-
return references;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
getAssumptions(assumptions = []) {
|
|
113
|
-
const context = this.getContext();
|
|
114
|
-
|
|
115
|
-
context.getAssumptions(assumptions);
|
|
116
|
-
|
|
117
|
-
return assumptions;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
getMetavariables(metavariables = []) {
|
|
121
|
-
const context = this.getContext();
|
|
122
|
-
|
|
123
|
-
context.getMetavariables(metavariables);
|
|
124
|
-
|
|
125
|
-
return metavariables;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
getSubstitutions(substitutions = []) {
|
|
129
|
-
const context = this.getContext();
|
|
130
|
-
|
|
131
|
-
context.getSubstitutions(substitutions);
|
|
132
|
-
|
|
133
|
-
return substitutions;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
getPropertyRelations(propertyRelations = []) {
|
|
137
|
-
const context = this.getContext();
|
|
138
|
-
|
|
139
|
-
context.getPropertyRelations(propertyRelations);
|
|
140
|
-
|
|
141
|
-
return propertyRelations;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
getDerivedSubstitutions(derivedSubstitutions = []) {
|
|
145
|
-
const context = this.getContext();
|
|
146
|
-
|
|
147
|
-
context.getDerivedSubstitutions(derivedSubstitutions);
|
|
148
|
-
|
|
149
|
-
return derivedSubstitutions;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
getEquivalences() {
|
|
153
|
-
const context = this.getContext(),
|
|
154
|
-
equivalences = context.getEquivalences();
|
|
155
|
-
|
|
156
|
-
return equivalences;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
getCombinators(includeRelease) {
|
|
160
|
-
const context = this.getContext(),
|
|
161
|
-
combinators = context.getCombinators(includeRelease);
|
|
162
|
-
|
|
163
|
-
return combinators;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
getConstructors(includeRelease) {
|
|
167
|
-
const context = this.getContext(),
|
|
168
|
-
constructors = context.getConstructors(includeRelease);
|
|
169
|
-
|
|
170
|
-
return constructors;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
getDeclaredVariables() {
|
|
174
|
-
const context = this.getContext(),
|
|
175
|
-
declaredVariables = context.getDeclaredVariables();
|
|
176
|
-
|
|
177
|
-
return declaredVariables;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
getDeclaredMetavariables() {
|
|
181
|
-
const context = this.getContext(),
|
|
182
|
-
declaredMetavariables = context.getDeclaredMetavariables();
|
|
183
|
-
|
|
184
|
-
return declaredMetavariables;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
getDeclaredJudgements() {
|
|
188
|
-
const context = this.getContext(),
|
|
189
|
-
declaredJudgements = context.getDeclaredJudgements();
|
|
190
|
-
|
|
191
|
-
return declaredJudgements;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
getSubproofOrProofAssertions() {
|
|
195
|
-
const context = this.getContext(),
|
|
196
|
-
subproofOrProofAssertions = context.getSubproofOrProofAssertions();
|
|
197
|
-
|
|
198
|
-
return subproofOrProofAssertions;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
findMetavariable(metavariable, context) {
|
|
202
|
-
const childContext = context; ///
|
|
203
|
-
|
|
204
|
-
context = this.getContext();
|
|
205
|
-
|
|
206
|
-
const parentContext = context; ///
|
|
207
|
-
|
|
208
|
-
context = childContext; ///
|
|
209
|
-
|
|
210
|
-
metavariable = parentContext.findMetavariable(metavariable, context);
|
|
211
|
-
|
|
212
|
-
return metavariable;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
findRuleByReference(reference) {
|
|
216
|
-
const context = this.getContext(),
|
|
217
|
-
rule = context.findRuleByReference(reference);
|
|
218
|
-
|
|
219
|
-
return rule;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
findAxiomByReference(reference) {
|
|
223
|
-
const context = this.getContext(),
|
|
224
|
-
axiom = context.findAxiomByReference(reference);
|
|
225
|
-
|
|
226
|
-
return axiom;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
findTopLevelAssertionByReference(reference) {
|
|
230
|
-
const context = this.getContext(),
|
|
231
|
-
topLevelAssertion = context.findTopLevelAssertionByReference(reference);
|
|
232
|
-
|
|
233
|
-
return topLevelAssertion;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
findTopLevelMetaAssertionsByReference(reference) {
|
|
237
|
-
const context = this.getContext(),
|
|
238
|
-
topLevelMetaAssertion = context.findTopLevelMetaAssertionsByReference(reference);
|
|
239
|
-
|
|
240
|
-
return topLevelMetaAssertion;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
findTermByTermNode(termNode) {
|
|
244
|
-
const context = this.getContext(),
|
|
245
|
-
term = context.findTermByTermNode(termNode);
|
|
246
|
-
|
|
247
|
-
return term;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
findFrameByFrameNode(frameNode) {
|
|
251
|
-
const context = this.getContext(),
|
|
252
|
-
frame = context.findFrameByFrameNode(frameNode);
|
|
253
|
-
|
|
254
|
-
return frame;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
findVariableByVariableNode(variableNode) {
|
|
258
|
-
const context = this.getContext(),
|
|
259
|
-
variable = context.findVariableByVariableNode(variableNode);
|
|
260
|
-
|
|
261
|
-
return variable;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
findEqualityByEqualityNode(equalityNode) {
|
|
265
|
-
const context = this.getContext(),
|
|
266
|
-
equality = context.findEqualityByEqualityNode(equalityNode);
|
|
267
|
-
|
|
268
|
-
return equality;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
findPropertyByPropertyNode(propertyNode) {
|
|
272
|
-
const context = this.getContext(),
|
|
273
|
-
property = context.findPropertyByPropertyNode(propertyNode);
|
|
274
|
-
|
|
275
|
-
return property;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
findJudgementByJudgementNode(judgementNode) {
|
|
279
|
-
const context = this.getContext(),
|
|
280
|
-
judgement = context.findJudgementByJudgementNode(judgementNode);
|
|
281
|
-
|
|
282
|
-
return judgement;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
findAssertionByAssertionNode(assertionNode) {
|
|
286
|
-
const context = this.getContext(),
|
|
287
|
-
assertion = context.findAssertionByAssertionNode(assertionNode);
|
|
288
|
-
|
|
289
|
-
return assertion;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
findStatementByStatementNode(statementNode) {
|
|
293
|
-
const context = this.getContext(),
|
|
294
|
-
statement = context.findStatementByStatementNode(statementNode);
|
|
295
|
-
|
|
296
|
-
return statement;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
findSignatureBySignatureNode(signatureNode) {
|
|
300
|
-
const context = this.getContext(),
|
|
301
|
-
signature = context.findSignatureBySignatureNode(signatureNode);
|
|
302
|
-
|
|
303
|
-
return signature;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
findReferenceByReferenceNode(referenceNode) {
|
|
307
|
-
const context = this.getContext(),
|
|
308
|
-
reference = context.findReferenceByReferenceNode(referenceNode);
|
|
309
|
-
|
|
310
|
-
return reference;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
findAssumptionByAssumptionNode(assumptionNode) {
|
|
314
|
-
const context = this.getContext(),
|
|
315
|
-
assumption = context.findAssumptionByAssumptionNode(assumptionNode);
|
|
316
|
-
|
|
317
|
-
return assumption;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
findReferenceByMetavariableNode(metavariableNode) {
|
|
321
|
-
const context = this.getContext(),
|
|
322
|
-
reference = context.findReferenceByMetavariableNode(metavariableNode);
|
|
323
|
-
|
|
324
|
-
return reference;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
findJudgementsByMetavariableNode(metavariableNode) {
|
|
328
|
-
const context = this.getContext(),
|
|
329
|
-
judgement = context.findJudgementsByMetavariableNode(metavariableNode);
|
|
330
|
-
|
|
331
|
-
return judgement;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
findMetavariableByMetavariableNode(metavariableNode) {
|
|
335
|
-
const context = this.getContext(),
|
|
336
|
-
metavariable = context.findMetavariableByMetavariableNode(metavariableNode);
|
|
337
|
-
|
|
338
|
-
return metavariable;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
findSubstitutionBySubstitutionNode(substitutionNode) {
|
|
342
|
-
const context = this.getContext(),
|
|
343
|
-
substitution = context.findSubstitutionBySubstitutionNode(substitutionNode);
|
|
344
|
-
|
|
345
|
-
return substitution;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
findPropertyRelationByPropertyRelationNode(propertyRelationNode) {
|
|
349
|
-
const context = this.getContext(),
|
|
350
|
-
propertyRelation = context.findPropertyRelationByPropertyRelationNode(propertyRelationNode);
|
|
351
|
-
|
|
352
|
-
return propertyRelation;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
findDerivedSubstitutionByVariableNode(variableNode) {
|
|
356
|
-
const context = this.getContext(),
|
|
357
|
-
derivedSubstitution = context.findDerivedSubstitutionByVariableNode(variableNode);
|
|
358
|
-
|
|
359
|
-
return derivedSubstitution;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
findDeclaredJudgementsByMetavariableNode(metavariableNode) {
|
|
363
|
-
const context = this.getContext(),
|
|
364
|
-
declaredJudgements = context.findDeclaredJudgementsByMetavariableNode(metavariableNode);
|
|
365
|
-
|
|
366
|
-
return declaredJudgements;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
findMetaLevelAssumptionByMetaLevelAssumptionNode(metaLevelAssumptionNode) {
|
|
370
|
-
const context = this.getContext(),
|
|
371
|
-
metaLevelAssumption = context.findMetaLevelAssumptionByMetaLevelAssumptionNode(metaLevelAssumptionNode);
|
|
372
|
-
|
|
373
|
-
return metaLevelAssumption;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
findTypeByTypeName(typeName) {
|
|
377
|
-
const context = this.getContext(),
|
|
378
|
-
type = context.findTypeByTypeName(typeName);
|
|
379
|
-
|
|
380
|
-
return type;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
findTypeByNominalTypeName(nominalTypeName) {
|
|
384
|
-
const context = this.getContext(),
|
|
385
|
-
type = context.findTypeByNominalTypeName(nominalTypeName);
|
|
386
|
-
|
|
387
|
-
return type;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
findMetaTypeByMetaTypeName(metaTypeName) {
|
|
391
|
-
const context = this.getContext(),
|
|
392
|
-
metaType = context.findMetaTypeByMetaTypeName(metaTypeName);
|
|
393
|
-
|
|
394
|
-
return metaType;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
findProcedureByProcedureName(procedureName) {
|
|
398
|
-
const context = this.getContext(),
|
|
399
|
-
procedure = context.findProcedureByProcedureName(procedureName);
|
|
400
|
-
|
|
401
|
-
return procedure;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
findDeclaredVariableByVariableIdentifier(variableIdentifier) {
|
|
405
|
-
const context = this.getContext(),
|
|
406
|
-
declaredVariable = context.findDeclaredVariableByVariableIdentifier(variableIdentifier);
|
|
407
|
-
|
|
408
|
-
return declaredVariable;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
findDeclaredMetavariableByMetavariableName(metavariableName) {
|
|
412
|
-
const context = this.getContext(),
|
|
413
|
-
declaredMetavariable = context.findDeclaredMetavariableByMetavariableName(metavariableName);
|
|
414
|
-
|
|
415
|
-
return declaredMetavariable;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
isMetavariablePresent(metavariable, context) {
|
|
419
|
-
const childContext = context; ///
|
|
420
|
-
|
|
421
|
-
context = this.getContext();
|
|
422
|
-
|
|
423
|
-
const parentContext = context; ///
|
|
424
|
-
|
|
425
|
-
context = childContext; ///
|
|
426
|
-
|
|
427
|
-
const metavariablePresent = parentContext.isMetavariablePresent(metavariable, context);
|
|
428
|
-
|
|
429
|
-
return metavariablePresent;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
isLabelPresentByReference(reference, context = null) {
|
|
433
|
-
const childContext = context; ///
|
|
434
|
-
|
|
435
|
-
context = this.getContext();
|
|
436
|
-
|
|
437
|
-
const parentContext = context; ///
|
|
438
|
-
|
|
439
|
-
context = childContext; ///
|
|
440
|
-
|
|
441
|
-
const labelPresent = parentContext.isLabelPresentByReference(reference, context);
|
|
442
|
-
|
|
443
|
-
return labelPresent;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
isTopLevelMetaAssertionPresentByReference(reference) {
|
|
447
|
-
const context = this.getContext(),
|
|
448
|
-
topLevelMetaAssertionPresent = context.isTopLevelMetaAssertionPresentByReference(reference);
|
|
449
|
-
|
|
450
|
-
return topLevelMetaAssertionPresent;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
isTermPresentByTermNode(termNode) {
|
|
454
|
-
const context = this.getContext(),
|
|
455
|
-
termPresent = context.isTermPresentByTermNode(termNode);
|
|
456
|
-
|
|
457
|
-
return termPresent;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
isLabelPresentByLabelNode(labelNode) {
|
|
461
|
-
const context = this.getContext(),
|
|
462
|
-
labelPresent = context.isLabelPresentByLabelNode(labelNode);
|
|
463
|
-
|
|
464
|
-
return labelPresent;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
isFramePresentByFrameNode(frameNode) {
|
|
468
|
-
const context = this.getContext(),
|
|
469
|
-
framePresent = context.isFramePresentByFrameNode(frameNode);
|
|
470
|
-
|
|
471
|
-
return framePresent;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
isEqualityPresentByEqualityNode(equalityNode) {
|
|
475
|
-
const context = this.getContext(),
|
|
476
|
-
equalityPresent = context.isEqualityPresentByEqualityNode(equalityNode);
|
|
477
|
-
|
|
478
|
-
return equalityPresent;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
isJudgementPresentByJudgementNode(judgementNode) {
|
|
482
|
-
const context = this.getContext(),
|
|
483
|
-
judgementPresent = context.isJudgementPresentByJudgementNode(judgementNode);
|
|
484
|
-
|
|
485
|
-
return judgementPresent;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
isAssertionPresentByAssertionNode(assertionNode) {
|
|
489
|
-
const context = this.getContext(),
|
|
490
|
-
assertionPresent = context.isAssertionPresentByAssertionNode(assertionNode);
|
|
491
|
-
|
|
492
|
-
return assertionPresent;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
isStatementPresentByStatementNode(statementNode) {
|
|
496
|
-
const context = this.getContext(),
|
|
497
|
-
statementPresent = context.isStatementPresentByStatementNode(statementNode);
|
|
498
|
-
|
|
499
|
-
return statementPresent;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
isSignaturePresentBySignatureNode(signatureNode) {
|
|
503
|
-
const context = this.getContext(),
|
|
504
|
-
signaturePresent = context.isSignaturePresentBySignatureNode(signatureNode);
|
|
505
|
-
|
|
506
|
-
return signaturePresent;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
isMetavariablePresentByMetavariableNode(metavariableNode) {
|
|
510
|
-
const context = this.getContext(),
|
|
511
|
-
metavariablePresent = context.isMetavariablePresentByMetavariableNode(metavariableNode);
|
|
512
|
-
|
|
513
|
-
return metavariablePresent;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
isTypePresentByNominalTypeName(nominalTypeName) {
|
|
517
|
-
const context = this.getContext(),
|
|
518
|
-
typePresent = context.isTypePresentByNominalTypeName(nominalTypeName);
|
|
519
|
-
|
|
520
|
-
return typePresent;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
isProcedurePresentByProcedureName(procedureName) {
|
|
524
|
-
const context = this.getContext(),
|
|
525
|
-
procedurePresent = context.isProcedurePresentByProcedureName(procedureName);
|
|
526
|
-
|
|
527
|
-
return procedurePresent;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
isDeclaredMetavariablePresentByMetavariableName(metavariableName) {
|
|
531
|
-
const context = this.getContext(),
|
|
532
|
-
metavariablePresent = context.isDeclaredMetavariablePresentByMetavariableName(metavariableName);
|
|
533
|
-
|
|
534
|
-
return metavariablePresent;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
isReferencePresentByMetavariableNode(metvvariableNode) {
|
|
538
|
-
const context = this.getContext(),
|
|
539
|
-
referencePresent = context.isReferencePresentByMetavariableNode(metvvariableNode);
|
|
540
|
-
|
|
541
|
-
return referencePresent;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
isDerivedSubstitutionPresentByMetavariableNode(metavariableNode) {
|
|
545
|
-
const context = this.getContext(),
|
|
546
|
-
derivedSubstitutionPresent = context.isDerivedSubstitutionPresentByMetavariableNode(metavariableNode);
|
|
547
|
-
|
|
548
|
-
return derivedSubstitutionPresent;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
isDeclaredJudgementPresentByMetavariableNode(metavariableNode) {
|
|
552
|
-
const context = this.getContext(),
|
|
553
|
-
declaredJudgementPresent = context.isDeclaredJudgementPresentByMetavariableNode(metavariableNode);
|
|
554
|
-
|
|
555
|
-
return declaredJudgementPresent;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
isDerivedSubstitutionPresentByMetavariableNodeAndSubstitution(metavariableNode, substitution) {
|
|
559
|
-
const context = this.getContext(),
|
|
560
|
-
derivedSubstitutionPresent = context.isDerivedSubstitutionPresentByMetavariableNodeAndSubstitution(metavariableNode, substitution);
|
|
561
|
-
|
|
562
|
-
return derivedSubstitutionPresent;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
isStated() {
|
|
566
|
-
const context = this.getContext(),
|
|
567
|
-
stated = context.isStated();
|
|
568
|
-
|
|
569
|
-
return stated;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
isMetaLevel() {
|
|
573
|
-
const context = this.getContext(),
|
|
574
|
-
metaLevel = context.isMetaLevel();
|
|
575
|
-
|
|
576
|
-
return metaLevel;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
addTerms(terms) {
|
|
580
|
-
const context = this.getContext();
|
|
581
|
-
|
|
582
|
-
context.addTerms(terms);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
addDerivedSubstitutions(derivedSubstitutions) {
|
|
586
|
-
const context = this.getContext();
|
|
587
|
-
|
|
588
|
-
context.addDerivedSubstitutions(derivedSubstitutions);
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
addAxiom(axiom) {
|
|
592
|
-
const context = this.getContext();
|
|
593
|
-
|
|
594
|
-
context.addAxiom(axiom);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
addLemma(lemma) {
|
|
598
|
-
const context = this.getContext();
|
|
599
|
-
|
|
600
|
-
context.addLemma(lemma);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
addTheorem(theorem) {
|
|
604
|
-
const context = this.getContext();
|
|
605
|
-
|
|
606
|
-
context.addTheorem(theorem);
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
addConjecture(conjecture) {
|
|
610
|
-
const context = this.getContext();
|
|
611
|
-
|
|
612
|
-
context.addConjecture(conjecture);
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
addTerm(term) {
|
|
616
|
-
const context = this.getContext();
|
|
617
|
-
|
|
618
|
-
context.addTerm(term);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
addFrame(frame) {
|
|
622
|
-
const context = this.getContext();
|
|
623
|
-
|
|
624
|
-
context.addFrame(frame);
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
addEquality(equality) {
|
|
628
|
-
const context = this.getContext();
|
|
629
|
-
|
|
630
|
-
context.addEquality(equality);
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
addProperty(property) {
|
|
634
|
-
const context = this.getContext();
|
|
635
|
-
|
|
636
|
-
context.addProperty(property);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
addJudgement(judgement) {
|
|
640
|
-
const context = this.getContext();
|
|
641
|
-
|
|
642
|
-
context.addJudgement(judgement);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
addAssertion(assertion) {
|
|
646
|
-
const context = this.getContext();
|
|
647
|
-
|
|
648
|
-
context.addAssertion(assertion);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
addStatement(statement) {
|
|
652
|
-
const context = this.getContext();
|
|
653
|
-
|
|
654
|
-
context.addStatement(statement);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
addSignature(signature) {
|
|
658
|
-
const context = this.getContext();
|
|
659
|
-
|
|
660
|
-
context.addSignature(signature);
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
addReference(reference) {
|
|
664
|
-
const context = this.getContext();
|
|
665
|
-
|
|
666
|
-
context.addReference(reference);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
addAssumption(assumption) {
|
|
670
|
-
const context = this.getContext();
|
|
671
|
-
|
|
672
|
-
context.addAssumption(assumption);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
addAssignment(assignment) {
|
|
676
|
-
const context = this.getContext();
|
|
677
|
-
|
|
678
|
-
context.addAssignment(assignment);
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
addMetavariable(metavariable) {
|
|
682
|
-
const context = this.getContext();
|
|
683
|
-
|
|
684
|
-
context.addMetavariable(metavariable);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
addSubstitution(substitution) {
|
|
688
|
-
const context = this.getContext();
|
|
689
|
-
|
|
690
|
-
context.addSubstitution(substitution);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
addPropertyRelation(propertyRelation) {
|
|
694
|
-
const context = this.getContext();
|
|
695
|
-
|
|
696
|
-
context.addPropertyRelation(propertyRelation);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
addDeclaredVariable(declaredVariable) {
|
|
700
|
-
const context = this.getContext();
|
|
701
|
-
|
|
702
|
-
context.addDeclaredVariable(declaredVariable);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
addMetaLevelAssumption(metaLevelAssumption) {
|
|
706
|
-
const context = this.getContext();
|
|
707
|
-
|
|
708
|
-
context.addMetaLevelAssumption(metaLevelAssumption);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
addDeclaredMetavariable(declaredMetavariable) {
|
|
712
|
-
const context = this.getContext();
|
|
713
|
-
|
|
714
|
-
context.addDeclaredMetavariable(declaredMetavariable);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
addSubproofOrProofAssertion(subproofOrProofAssertion) {
|
|
718
|
-
const context = this.getContext();
|
|
719
|
-
|
|
720
|
-
context.addSubproofOrProofAssertion(subproofOrProofAssertion);
|
|
721
|
-
}
|
|
722
|
-
}
|