occam-verify-cli 1.0.935 → 1.0.937

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.
Files changed (121) hide show
  1. package/lib/action/verify.js +2 -2
  2. package/lib/element/assertion/contained.js +5 -5
  3. package/lib/element/assertion/defined.js +5 -5
  4. package/lib/element/assertion/property.js +5 -5
  5. package/lib/element/assertion/signature.js +5 -5
  6. package/lib/element/assertion/subproof.js +5 -5
  7. package/lib/element/assertion/type.js +12 -7
  8. package/lib/element/assertion.js +8 -3
  9. package/lib/element/assumption/metaLevel.js +12 -7
  10. package/lib/element/assumption.js +11 -6
  11. package/lib/element/combinator.js +12 -7
  12. package/lib/element/conclusion.js +12 -7
  13. package/lib/element/constructor.js +12 -7
  14. package/lib/element/declaration/combinator.js +3 -3
  15. package/lib/element/declaration/complexType.js +3 -3
  16. package/lib/element/declaration/constructor.js +3 -3
  17. package/lib/element/declaration/metavariable.js +3 -3
  18. package/lib/element/declaration/property.js +3 -3
  19. package/lib/element/declaration/simpleType.js +3 -3
  20. package/lib/element/declaration/typePrefix.js +3 -3
  21. package/lib/element/declaration/variable.js +3 -3
  22. package/lib/element/deduction.js +12 -7
  23. package/lib/element/derivation.js +3 -3
  24. package/lib/element/equality.js +12 -7
  25. package/lib/element/equivalence.js +3 -3
  26. package/lib/element/frame.js +12 -7
  27. package/lib/element/hypothesis.js +12 -7
  28. package/lib/element/judgement.js +12 -7
  29. package/lib/element/label.js +12 -7
  30. package/lib/element/metaType.js +11 -6
  31. package/lib/element/metavariable.js +11 -6
  32. package/lib/element/parameter.js +12 -7
  33. package/lib/element/procedureCall.js +12 -7
  34. package/lib/element/procedureReference.js +12 -7
  35. package/lib/element/proof.js +3 -3
  36. package/lib/element/proofAssertion/premise.js +12 -7
  37. package/lib/element/proofAssertion/step.js +3 -3
  38. package/lib/element/proofAssertion/supposition.js +12 -7
  39. package/lib/element/proofAssertion.js +3 -3
  40. package/lib/element/property.js +12 -7
  41. package/lib/element/propertyRelation.js +12 -7
  42. package/lib/element/reference.js +12 -7
  43. package/lib/element/rule.js +11 -6
  44. package/lib/element/section.js +3 -3
  45. package/lib/element/signature.js +12 -7
  46. package/lib/element/statement.js +10 -5
  47. package/lib/element/subDerivation.js +3 -3
  48. package/lib/element/subproof.js +3 -3
  49. package/lib/element/substitution/frame.js +5 -5
  50. package/lib/element/substitution/reference.js +5 -5
  51. package/lib/element/substitution/statement.js +5 -5
  52. package/lib/element/substitution/term.js +5 -5
  53. package/lib/element/substitution.js +15 -10
  54. package/lib/element/term.js +12 -7
  55. package/lib/element/topLevelAssertion.js +11 -6
  56. package/lib/element/topLevelMetaAssertion.js +11 -6
  57. package/lib/element/type.js +9 -9
  58. package/lib/element/typePrefix.js +12 -7
  59. package/lib/element/variable.js +12 -7
  60. package/lib/utilities/element.js +109 -109
  61. package/package.json +4 -4
  62. package/src/action/verify.js +1 -1
  63. package/src/element/assertion/contained.js +4 -4
  64. package/src/element/assertion/defined.js +4 -4
  65. package/src/element/assertion/property.js +4 -4
  66. package/src/element/assertion/signature.js +4 -4
  67. package/src/element/assertion/subproof.js +4 -4
  68. package/src/element/assertion/type.js +16 -8
  69. package/src/element/assertion.js +15 -7
  70. package/src/element/assumption/metaLevel.js +19 -11
  71. package/src/element/assumption.js +18 -10
  72. package/src/element/combinator.js +19 -11
  73. package/src/element/conclusion.js +19 -11
  74. package/src/element/constructor.js +16 -8
  75. package/src/element/declaration/combinator.js +2 -2
  76. package/src/element/declaration/complexType.js +2 -2
  77. package/src/element/declaration/constructor.js +2 -2
  78. package/src/element/declaration/metavariable.js +2 -2
  79. package/src/element/declaration/property.js +2 -2
  80. package/src/element/declaration/simpleType.js +2 -2
  81. package/src/element/declaration/typePrefix.js +2 -2
  82. package/src/element/declaration/variable.js +2 -2
  83. package/src/element/deduction.js +19 -11
  84. package/src/element/derivation.js +2 -2
  85. package/src/element/equality.js +18 -10
  86. package/src/element/equivalence.js +2 -2
  87. package/src/element/frame.js +18 -10
  88. package/src/element/hypothesis.js +19 -11
  89. package/src/element/judgement.js +18 -10
  90. package/src/element/label.js +19 -11
  91. package/src/element/metaType.js +18 -10
  92. package/src/element/metavariable.js +19 -11
  93. package/src/element/parameter.js +18 -10
  94. package/src/element/procedureCall.js +18 -10
  95. package/src/element/procedureReference.js +18 -10
  96. package/src/element/proof.js +2 -2
  97. package/src/element/proofAssertion/premise.js +19 -11
  98. package/src/element/proofAssertion/step.js +2 -2
  99. package/src/element/proofAssertion/supposition.js +19 -11
  100. package/src/element/proofAssertion.js +2 -2
  101. package/src/element/property.js +16 -8
  102. package/src/element/propertyRelation.js +18 -10
  103. package/src/element/reference.js +19 -11
  104. package/src/element/rule.js +16 -8
  105. package/src/element/section.js +2 -2
  106. package/src/element/signature.js +19 -11
  107. package/src/element/statement.js +16 -8
  108. package/src/element/subDerivation.js +2 -2
  109. package/src/element/subproof.js +2 -2
  110. package/src/element/substitution/frame.js +4 -4
  111. package/src/element/substitution/reference.js +4 -4
  112. package/src/element/substitution/statement.js +4 -4
  113. package/src/element/substitution/term.js +4 -4
  114. package/src/element/substitution.js +23 -15
  115. package/src/element/term.js +16 -8
  116. package/src/element/topLevelAssertion.js +16 -8
  117. package/src/element/topLevelMetaAssertion.js +16 -8
  118. package/src/element/type.js +8 -8
  119. package/src/element/typePrefix.js +18 -10
  120. package/src/element/variable.js +16 -8
  121. package/src/utilities/element.js +122 -122
@@ -8,8 +8,8 @@ import { procedureCallFromPremiseNode } from "../../utilities/element";
8
8
  import { join, declare, attempt, reconcile, serialise, unserialise, instantiate } from "../../utilities/context";
9
9
 
10
10
  export default define(class Premise extends ProofAssertion {
11
- constructor(context, string, node, lineIndex, statement, procedureCall) {
12
- super(context, string, node, lineIndex, statement);
11
+ constructor(context, string, node, breakPoint, statement, procedureCall) {
12
+ super(context, string, node, breakPoint, statement);
13
13
 
14
14
  this.procedureCall = procedureCall;
15
15
  }
@@ -287,13 +287,21 @@ export default define(class Premise extends ProofAssertion {
287
287
  const context = this.getContext();
288
288
 
289
289
  return serialise((context) => {
290
- const string = this.getString(),
291
- lineIndex = this.getLineIndex(),
292
- json = {
293
- context,
294
- string,
295
- lineIndex
296
- };
290
+ const string = this.getString();
291
+
292
+ let breakPoint;
293
+
294
+ breakPoint = this.getBreakPoint();
295
+
296
+ const breakPointJSON = breakPoint.toJSON();
297
+
298
+ breakPoint = breakPointJSON; ///
299
+
300
+ const json = {
301
+ context,
302
+ string,
303
+ breakPoint
304
+ };
297
305
 
298
306
  return json;
299
307
  }, context);
@@ -306,13 +314,13 @@ export default define(class Premise extends ProofAssertion {
306
314
 
307
315
  unserialise((json, context) => {
308
316
  instantiate((context) => {
309
- const { string, lineIndex } = json,
317
+ const { string, breakPoint } = json,
310
318
  premiseNode = instantiatePremise(string, context),
311
319
  node = premiseNode, ///
312
320
  statement = statementFromPremiseNode(premiseNode, context),
313
321
  procedureCall = procedureCallFromPremiseNode(premiseNode, context);
314
322
 
315
- premise = new Premise(context, string, node, lineIndex, statement, procedureCall);
323
+ premise = new Premise(context, string, node, breakPoint, statement, procedureCall);
316
324
  }, context);
317
325
  }, json, context);
318
326
 
@@ -14,8 +14,8 @@ const { asyncSome } = asynchronousUtilities,
14
14
  { backwardsSome } = arrayUtilities;
15
15
 
16
16
  export default define(class Step extends ProofAssertion {
17
- constructor(context, string, node, lineIndex, statement, reference, signatureAssertion) {
18
- super(context, string, node, lineIndex, statement);
17
+ constructor(context, string, node, breakPoint, statement, reference, signatureAssertion) {
18
+ super(context, string, node, breakPoint, statement);
19
19
 
20
20
  this.reference = reference;
21
21
  this.signatureAssertion = signatureAssertion;
@@ -8,8 +8,8 @@ import { procedureCallFromSuppositionNode } from "../../utilities/element";
8
8
  import { join, declare, attempt, reconcile, serialise, unserialise, instantiate } from "../../utilities/context";
9
9
 
10
10
  export default define(class Supposition extends ProofAssertion {
11
- constructor(context, string, node, lineIndex, statement, procedureCall) {
12
- super(context, string, node, lineIndex, statement);
11
+ constructor(context, string, node, breakPoint, statement, procedureCall) {
12
+ super(context, string, node, breakPoint, statement);
13
13
 
14
14
  this.procedureCall = procedureCall;
15
15
  }
@@ -310,13 +310,21 @@ export default define(class Supposition extends ProofAssertion {
310
310
  const context = this.getContext();
311
311
 
312
312
  return serialise((context) => {
313
- const string = this.getString(),
314
- lineIndex = this.getLineIndex(),
315
- json = {
316
- context,
317
- string,
318
- lineIndex
319
- };
313
+ const string = this.getString();
314
+
315
+ let breakPoint;
316
+
317
+ breakPoint = this.getBreakPoint();
318
+
319
+ const breakPointJSON = breakPoint.toJSON();
320
+
321
+ breakPoint = breakPointJSON; ///
322
+
323
+ const json = {
324
+ context,
325
+ string,
326
+ breakPoint
327
+ };
320
328
 
321
329
  return json;
322
330
  }, context);
@@ -329,13 +337,13 @@ export default define(class Supposition extends ProofAssertion {
329
337
 
330
338
  unserialise((json, context) => {
331
339
  instantiate((context) => {
332
- const { string, lineIndex } = json,
340
+ const { string, breakPoint } = json,
333
341
  suppositionNode = instantiateSupposition(string, context),
334
342
  node = suppositionNode, ///
335
343
  statement = statementFromSuppositionNode(suppositionNode, context),
336
344
  procedureCall = procedureCallFromSuppositionNode(suppositionNode, context);
337
345
 
338
- supposition = new Supposition(context, string, node, lineIndex, statement, procedureCall);
346
+ supposition = new Supposition(context, string, node, breakPoint, statement, procedureCall);
339
347
  }, context);
340
348
  }, json, context);
341
349
 
@@ -5,8 +5,8 @@ import { Element } from "occam-languages";
5
5
  import { equateStatements } from "../process/equate";
6
6
 
7
7
  export default class ProofAssertion extends Element {
8
- constructor(context, string, node, lineIndex, statement) {
9
- super(context, string, node, lineIndex);
8
+ constructor(context, string, node, breakPoint, statement) {
9
+ super(context, string, node, breakPoint);
10
10
 
11
11
  this.statement = statement;
12
12
  }
@@ -9,8 +9,8 @@ import { nameFromPropertyNode } from "../utilities/element";
9
9
  import { typeFromJSON, typeToTypeJSON } from "../utilities/json";
10
10
 
11
11
  export default define(class Property extends Element {
12
- constructor(context, string, node, lineIndex, name, type) {
13
- super(context, string, node, lineIndex);
12
+ constructor(context, string, node, breakPoint, name, type) {
13
+ super(context, string, node, breakPoint);
14
14
 
15
15
  this.name = name;
16
16
  this.type = type;
@@ -217,12 +217,20 @@ export default define(class Property extends Element {
217
217
 
218
218
  toJSON() {
219
219
  const typeJSON = typeToTypeJSON(this.type),
220
- string = this.getString(),
221
- lineIndex = this.getLineIndex(),
222
- type = typeJSON, ///
220
+ string = this.getString();
221
+
222
+ let breakPoint;
223
+
224
+ breakPoint = this.getBreakPoint();
225
+
226
+ const breakPointJSON = breakPoint.toJSON();
227
+
228
+ breakPoint = breakPointJSON; ///
229
+
230
+ const type = typeJSON, ///
223
231
  json = {
224
232
  string,
225
- lineIndex,
233
+ breakPoint,
226
234
  type
227
235
  };
228
236
 
@@ -233,7 +241,7 @@ export default define(class Property extends Element {
233
241
 
234
242
  static fromJSON(json, context) {
235
243
  return instantiate((context) => {
236
- const { string, lineIndex } = json,
244
+ const { string, breakPoint } = json,
237
245
  propertyNode = instantiateProperty(string, context),
238
246
  node = propertyNode, ///
239
247
  name = nameFromPropertyNode(propertyNode, context),
@@ -241,7 +249,7 @@ export default define(class Property extends Element {
241
249
 
242
250
  context = null;
243
251
 
244
- const property = new Property(context, string, node, lineIndex, name, type);
252
+ const property = new Property(context, string, node, breakPoint, name, type);
245
253
 
246
254
  return property;
247
255
  }, context);
@@ -8,8 +8,8 @@ import { instantiatePropertyRelation } from "../process/instantiate";
8
8
  import { propertyFromPropertyRelationNode } from "../utilities/element";
9
9
 
10
10
  export default define(class PropertyRelation extends Element {
11
- constructor(context, string, node, lineIndex, term, property) {
12
- super(context, string, node, lineIndex);
11
+ constructor(context, string, node, breakPoint, term, property) {
12
+ super(context, string, node, breakPoint);
13
13
 
14
14
  this.term = term;
15
15
  this.property = property;
@@ -148,19 +148,27 @@ export default define(class PropertyRelation extends Element {
148
148
  static name = "PropertyRelation";
149
149
 
150
150
  toJSON() {
151
- const string = this.getString(),
152
- lineIndex = this.getLineIndex(),
153
- json = {
154
- string,
155
- lineIndex
156
- };
151
+ const string = this.getString();
152
+
153
+ let breakPoint;
154
+
155
+ breakPoint = this.getBreakPoint();
156
+
157
+ const breakPointJSON = breakPoint.toJSON();
158
+
159
+ breakPoint = breakPointJSON; ///
160
+
161
+ const json = {
162
+ string,
163
+ breakPoint
164
+ };
157
165
 
158
166
  return json;
159
167
  }
160
168
 
161
169
  static fromJSON(json, context) {
162
170
  return instantiate((context) => {
163
- const { string, lineIndex } = json,
171
+ const { string, breakPoint } = json,
164
172
  propertyRelationNode = instantiatePropertyRelation(string, context),
165
173
  node = propertyRelationNode, ///
166
174
  term = termFromPropertyRelationNode(propertyRelationNode, context),
@@ -168,7 +176,7 @@ export default define(class PropertyRelation extends Element {
168
176
 
169
177
  context = null;
170
178
 
171
- const propertyRelation = new PropertyRelation(context, string, node, lineIndex, term, property);
179
+ const propertyRelation = new PropertyRelation(context, string, node, breakPoint, term, property);
172
180
 
173
181
  return propertyRelation;
174
182
  }, context);
@@ -9,8 +9,8 @@ import { join, ablate, attempt, serialise, reconcile, unserialise, instantiate }
9
9
  import { referenceFromReferenceNode, metavariableFromReferenceNode, topLevelMetaAssertionFromReferenceNode } from "../utilities/element";
10
10
 
11
11
  export default define(class Reference extends Element {
12
- constructor(context, string, node, lineIndex, metavariable, topLevelMetaAssertion) {
13
- super(context, string, node, lineIndex);
12
+ constructor(context, string, node, breakPoint, metavariable, topLevelMetaAssertion) {
13
+ super(context, string, node, breakPoint);
14
14
 
15
15
  this.metavariable = metavariable;
16
16
  this.topLevelMetaAssertion = topLevelMetaAssertion;
@@ -293,13 +293,21 @@ export default define(class Reference extends Element {
293
293
  const context = this.getContext();
294
294
 
295
295
  return serialise((context) => {
296
- const string = this.getString(),
297
- lineIndex = this.getLineIndex(),
298
- json = {
299
- context,
300
- string,
301
- lineIndex
302
- };
296
+ const string = this.getString();
297
+
298
+ let breakPoint;
299
+
300
+ breakPoint = this.getBreakPoint();
301
+
302
+ const breakPointJSON = breakPoint.toJSON();
303
+
304
+ breakPoint = breakPointJSON; ///
305
+
306
+ const json = {
307
+ context,
308
+ string,
309
+ breakPoint
310
+ };
303
311
 
304
312
  return json;
305
313
  }, context);
@@ -312,13 +320,13 @@ export default define(class Reference extends Element {
312
320
 
313
321
  unserialise((json, context) => {
314
322
  instantiate((context) => {
315
- const { string, lineIndex } = json,
323
+ const { string, breakPoint } = json,
316
324
  referenceNode = instantiateReference(string, context),
317
325
  node = referenceNode, ///
318
326
  metavariable = metavariableFromReferenceNode(referenceNode, context),
319
327
  topLevelMetaAssertion = topLevelMetaAssertionFromReferenceNode(referenceNode, context);
320
328
 
321
- reference = new Reference(context, string, node, lineIndex, metavariable, topLevelMetaAssertion);
329
+ reference = new Reference(context, string, node, breakPoint, metavariable, topLevelMetaAssertion);
322
330
  }, context);
323
331
  }, json, context);
324
332
 
@@ -11,8 +11,8 @@ const { reverse } = arrayUtilities,
11
11
  { asyncExtract, asyncForwardsEvery, asyncBackwardsEvery } = asynchronousUtilities;
12
12
 
13
13
  export default define(class Rule extends Element {
14
- constructor(context, string, node, lineIndex, proof, labels, premises, conclusion) {
15
- super(context, string, node, lineIndex);
14
+ constructor(context, string, node, breakPoint, proof, labels, premises, conclusion) {
15
+ super(context, string, node, breakPoint);
16
16
 
17
17
  this.proof = proof;
18
18
  this.labels = labels;
@@ -316,14 +316,22 @@ export default define(class Rule extends Element {
316
316
  const labelsJSON = labelsToLabelsJSON(this.labels),
317
317
  premisesJSON = premisesToPremisesJSON(this.premises),
318
318
  conclusionJSON = conclusionToConclusionJSON(this.conclusion),
319
- string = this.getString(),
320
- lineIndex = this.getLineIndex(),
321
- labels = labelsJSON, ///
319
+ string = this.getString();
320
+
321
+ let breakPoint;
322
+
323
+ breakPoint = this.getBreakPoint();
324
+
325
+ const breakPointJSON = breakPoint.toJSON();
326
+
327
+ breakPoint = breakPointJSON; ///
328
+
329
+ const labels = labelsJSON, ///
322
330
  premises = premisesJSON, ///
323
331
  conclusion = conclusionJSON, ///
324
332
  json = {
325
333
  string,
326
- lineIndex,
334
+ breakPoint,
327
335
  labels,
328
336
  premises,
329
337
  conclusion
@@ -335,13 +343,13 @@ export default define(class Rule extends Element {
335
343
  static name = "Rule";
336
344
 
337
345
  static fromJSON(json, context) {
338
- const { string, lineIndex } = json,
346
+ const { string, breakPoint } = json,
339
347
  node = null,
340
348
  proof = null,
341
349
  labels = labelsFromJSON(json, context),
342
350
  premises = premisesFromJSON(json, context),
343
351
  conclusion = conclusionFromJSON(json, context),
344
- rule = new Rule(context, string, node, lineIndex, proof, labels, premises, conclusion);
352
+ rule = new Rule(context, string, node, breakPoint, proof, labels, premises, conclusion);
345
353
 
346
354
  return rule;
347
355
  }
@@ -8,8 +8,8 @@ import {enclose} from "../utilities/context";
8
8
  const { asyncEvery } = asynchronousUtilities;
9
9
 
10
10
  export default define(class Section extends Element {
11
- constructor(context, string, node, lineIndex, hypotheses, topLevelAssertion) {
12
- super(context, string, node, lineIndex);
11
+ constructor(context, string, node, breakPoint, hypotheses, topLevelAssertion) {
12
+ super(context, string, node, breakPoint);
13
13
 
14
14
  this.hypotheses = hypotheses;
15
15
  this.topLevelAssertion = topLevelAssertion;
@@ -11,8 +11,8 @@ import { join, ablate, attempt, reconcile, serialise, unserialise, instantiate }
11
11
  const { match } = arrayUtilities;
12
12
 
13
13
  export default define(class Signature extends Element {
14
- constructor(context, string, node, lineIndex, terms) {
15
- super(context, string, node, lineIndex);
14
+ constructor(context, string, node, breakPoint, terms) {
15
+ super(context, string, node, breakPoint);
16
16
 
17
17
  this.terms = terms;
18
18
  }
@@ -233,13 +233,21 @@ export default define(class Signature extends Element {
233
233
  const context = this.getContext();
234
234
 
235
235
  return serialise((context) => {
236
- const string = this.getString(),
237
- lineIndex = this.getLineIndex(),
238
- json = {
239
- context,
240
- string,
241
- lineIndex
242
- };
236
+ const string = this.getString();
237
+
238
+ let breakPoint;
239
+
240
+ breakPoint = this.getBreakPoint();
241
+
242
+ const breakPointJSON = breakPoint.toJSON();
243
+
244
+ breakPoint = breakPointJSON; ///
245
+
246
+ const json = {
247
+ context,
248
+ string,
249
+ breakPoint
250
+ };
243
251
 
244
252
  return json;
245
253
  }, context);
@@ -250,12 +258,12 @@ export default define(class Signature extends Element {
250
258
 
251
259
  unserialise((json, context) => {
252
260
  instantiate((context) => {
253
- const { string, lineIndex } = json,
261
+ const { string, breakPoint } = json,
254
262
  signatureNode = instantiateSignature(string, context),
255
263
  node = signatureNode, ///
256
264
  terms = termsFromSignatureNode(signatureNode, context);
257
265
 
258
- signature = new Signature(context, string, node, lineIndex, terms);
266
+ signature = new Signature(context, string, node, breakPoint, terms);
259
267
  }, context);
260
268
  }, json, context);
261
269
 
@@ -393,25 +393,33 @@ export default define(class Statement extends Element {
393
393
  static name = "Statement";
394
394
 
395
395
  toJSON() {
396
- const string = this.getString(),
397
- lineIndex = this.getLineIndex(),
398
- json = {
399
- string,
400
- lineIndex
401
- };
396
+ const string = this.getString();
397
+
398
+ let breakPoint;
399
+
400
+ breakPoint = this.getBreakPoint();
401
+
402
+ const breakPointJSON = breakPoint.toJSON();
403
+
404
+ breakPoint = breakPointJSON; ///
405
+
406
+ const json = {
407
+ string,
408
+ breakPoint
409
+ };
402
410
 
403
411
  return json;
404
412
  }
405
413
 
406
414
  static fromJSON(json, context) {
407
415
  return instantiate((context) => {
408
- const { string, lineIndex } = json,
416
+ const { string, breakPoint } = json,
409
417
  statementNode = instantiateStatement(string, context),
410
418
  node = statementNode; ///
411
419
 
412
420
  context = null;
413
421
 
414
- const statement = new Statement(context, string, node, lineIndex);
422
+ const statement = new Statement(context, string, node, breakPoint);
415
423
 
416
424
  return statement;
417
425
  }, context);
@@ -9,8 +9,8 @@ const { last } = arrayUtilities,
9
9
  { asyncEvery } = asynchronousUtilities;
10
10
 
11
11
  export default define(class SubDerivation extends Element {
12
- constructor(context, string, node, lineIndex, subproofOrProofAssertions) {
13
- super(context, string, node, lineIndex);
12
+ constructor(context, string, node, breakPoint, subproofOrProofAssertions) {
13
+ super(context, string, node, breakPoint);
14
14
 
15
15
  this.subproofOrProofAssertions = subproofOrProofAssertions;
16
16
  }
@@ -8,8 +8,8 @@ import { enclose } from "../utilities/context";
8
8
  const { asyncEvery } = asynchronousUtilities;
9
9
 
10
10
  export default define(class Subproof extends Element {
11
- constructor(context, string, node, lineIndex, suppositions, subDerivation) {
12
- super(context, string, node, lineIndex);
11
+ constructor(context, string, node, breakPoint, suppositions, subDerivation) {
12
+ super(context, string, node, breakPoint);
13
13
 
14
14
  this.suppositions = suppositions;
15
15
  this.subDerivation = subDerivation;
@@ -9,8 +9,8 @@ import { frameSubstitutionStringFromFrameAndMetavariable } from "../../utilities
9
9
  import { ablate, ablates, manifest, attempts, descend, instantiate, unserialises } from "../../utilities/context";
10
10
 
11
11
  export default define(class FrameSubstitution extends Substitution {
12
- constructor(contexts, string, node, lineIndex, targetFrame, replacementFrame) {
13
- super(contexts, string, node, lineIndex);
12
+ constructor(contexts, string, node, breakPoint, targetFrame, replacementFrame) {
13
+ super(contexts, string, node, breakPoint);
14
14
 
15
15
  this.targetFrame = targetFrame;
16
16
  this.replacementFrame = replacementFrame;
@@ -195,7 +195,7 @@ export default define(class FrameSubstitution extends Substitution {
195
195
  const context = specificContext; ///
196
196
 
197
197
  instantiate((context) => {
198
- const { string, lineIndex } = json,
198
+ const { string, breakPoint } = json,
199
199
  specificContext = context, ///
200
200
  contexts = [
201
201
  generalContext,
@@ -206,7 +206,7 @@ export default define(class FrameSubstitution extends Substitution {
206
206
  targetFrame = targetFrameFromFrameSubstitutionNode(frameSubstitutionNode, context),
207
207
  replacementFrame = replacementFrameFromFrameSubstitutionNode(frameSubstitutionNode, context);
208
208
 
209
- frameSubstitutionn = new FrameSubstitution(contexts, string, node, lineIndex, targetFrame, replacementFrame);
209
+ frameSubstitutionn = new FrameSubstitution(contexts, string, node, breakPoint, targetFrame, replacementFrame);
210
210
  }, context);
211
211
  }, json, context);
212
212
  }
@@ -9,8 +9,8 @@ import { referenceSubstitutionStringFromReferenceAndMetavariable } from "../../u
9
9
  import { ablates, manifest, attempts, descend, instantiate, unserialises } from "../../utilities/context";
10
10
 
11
11
  export default define(class ReferenceSubstitution extends Substitution {
12
- constructor(context, string, node, lineIndex, targetReference, replacementReference) {
13
- super(context, string, node, lineIndex);
12
+ constructor(context, string, node, breakPoint, targetReference, replacementReference) {
13
+ super(context, string, node, breakPoint);
14
14
 
15
15
  this.targetReference = targetReference;
16
16
  this.replacementReference = replacementReference;
@@ -200,7 +200,7 @@ export default define(class ReferenceSubstitution extends Substitution {
200
200
  const context = specificContext; ///
201
201
 
202
202
  instantiate((context) => {
203
- const { string, lineIndex } = json,
203
+ const { string, breakPoint } = json,
204
204
  specificContext = context, ///
205
205
  contexts = [
206
206
  generalContext,
@@ -211,7 +211,7 @@ export default define(class ReferenceSubstitution extends Substitution {
211
211
  targetReference = targetReferenceFromReferenceSubstitutionNode(referenceSubstitutionNode, context),
212
212
  replacementReference = replacementReferenceFromReferenceSubstitutionNode(referenceSubstitutionNode, context);
213
213
 
214
- referenceSubstitutionn = new ReferenceSubstitution(contexts, string, node, lineIndex, targetReference, replacementReference);
214
+ referenceSubstitutionn = new ReferenceSubstitution(contexts, string, node, breakPoint, targetReference, replacementReference);
215
215
  }, context);
216
216
  }, json, context);
217
217
  }
@@ -11,8 +11,8 @@ import { join, ablates, manifest, attempts, descend, reconcile, instantiate, uns
11
11
  import { statementSubstitutionStringFromStatementAndMetavariable, statementSubstitutionStringFromStatementMetavariableAndSubstitution } from "../../utilities/string";
12
12
 
13
13
  export default define(class StatementSubstitution extends Substitution {
14
- constructor(contexts, string, node, lineIndex, resolved, substitution, targetStatement, replacementStatement) {
15
- super(contexts, string, node, lineIndex);
14
+ constructor(contexts, string, node, breakPoint, resolved, substitution, targetStatement, replacementStatement) {
15
+ super(contexts, string, node, breakPoint);
16
16
 
17
17
  this.resolved = resolved;
18
18
  this.substitution = substitution;
@@ -360,7 +360,7 @@ export default define(class StatementSubstitution extends Substitution {
360
360
  const context = specificContext; ///
361
361
 
362
362
  instantiate((context) => {
363
- const { string, lineIndex } = json,
363
+ const { string, breakPoint } = json,
364
364
  specificContext = context, ///
365
365
  contexts = [
366
366
  generalContext,
@@ -373,7 +373,7 @@ export default define(class StatementSubstitution extends Substitution {
373
373
  targetStatement = targetStatementFromStatementSubstitutionNode(statementSubstitutionNode, context),
374
374
  replacementStatement = replacementStatementFromStatementSubstitutionNode(statementSubstitutionNode, context);
375
375
 
376
- statementSubstitutionn = new StatementSubstitution(contexts, string, node, lineIndex, resolved, substitution, targetStatement, replacementStatement);
376
+ statementSubstitutionn = new StatementSubstitution(contexts, string, node, breakPoint, resolved, substitution, targetStatement, replacementStatement);
377
377
  }, context);
378
378
  }, json, context);
379
379
  }
@@ -10,8 +10,8 @@ import { termSubstitutionStringFromTermAndVariable } from "../../utilities/strin
10
10
  import { ablate, ablates, manifest, attempts, descend, instantiate, unserialises } from "../../utilities/context";
11
11
 
12
12
  export default define(class TermSubstitution extends Substitution {
13
- constructor(context, string, node, lineIndex, targetTerm, replacementTerm) {
14
- super(context, string, node, lineIndex);
13
+ constructor(context, string, node, breakPoint, targetTerm, replacementTerm) {
14
+ super(context, string, node, breakPoint);
15
15
 
16
16
  this.targetTerm = targetTerm;
17
17
  this.replacementTerm = replacementTerm;
@@ -204,7 +204,7 @@ export default define(class TermSubstitution extends Substitution {
204
204
  const context = specificContext; ///
205
205
 
206
206
  instantiate((context) => {
207
- const { string, lineIndex } = json,
207
+ const { string, breakPoint } = json,
208
208
  specificContext = context, ///
209
209
  contexts = [
210
210
  generalContext,
@@ -215,7 +215,7 @@ export default define(class TermSubstitution extends Substitution {
215
215
  targetTerm = targetTermFromTermSubstitutionNode(termSubstitutionNode, context),
216
216
  replacementTerm = replacementTermFromTermSubstitutionNode(termSubstitutionNode, context);
217
217
 
218
- termSubstitutionn = new TermSubstitution(contexts, string, node, lineIndex, targetTerm, replacementTerm);
218
+ termSubstitutionn = new TermSubstitution(contexts, string, node, breakPoint, targetTerm, replacementTerm);
219
219
  }, context);
220
220
  }, json, context);
221
221
  }