VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Edge Technology for Vocabulary | The Typed Interval Engine: Can AI Calculate With Unknown Values Without Inventing Precision?

Three students reviewing open textbooks, notes and stationery together at a classroom table.

Edge Technology for Vocabulary must preserve what is known about a number without manufacturing precision. The Typed Interval Engine calculates bounded linear expressions while distinguishing a repeated variable from two different variables that merely share the same range. The technology makes the meaning of at least, at most, same and unknown part of the arithmetic.

This original eduKate demonstrator was executed on sixteen synthetic cases. It implements a narrow integer-linear interval calculation, not a general uncertainty engine, deployed tutoring service, independent benchmark or evidence of student learning gains.

  • Preserve closed bounds rather than invent a point estimate.
  • Bind repeated variables to reviewed identities.
  • Combine signed coefficients before computing bounds.
  • Hold missing or incompatible quantity information.
  • Inspect the actual executable test results.

Contents

1. A range is not a guessed exact value

A fictional geometry exercise gives x between 4 and 7 centimetres and y between 2 and 3 centimetres. Their sum is bounded by 6 and 10 cm. Choosing the midpoint does not establish an actual sum. If the expression instead uses x minus x, the answer is exactly zero, because both occurrences refer to the same variable. If it uses x minus y and both happen to have the same interval, zero is not guaranteed. Identity changes the meaning of the calculation.

This is a vocabulary problem as much as a mathematical one: bound, estimate, exactly, same and possible describe different relationships. A learner needs to preserve the distinction, and a machine needs a contract that prevents a range from silently becoming a point estimate.

Back to contents

2. Established interval arithmetic and the bounded extension

For closed numerical intervals [a,b] and [c,d], ordinary interval addition gives [a+c,b+d], while subtraction gives [a-d,b-c]. These formulas enclose all combinations of values from the two ranges. Reusing the same uncertain variable in several places can make naive interval arithmetic unnecessarily wide: x minus x would be evaluated as if its occurrences could take different values. The local design solves that narrow problem for linear expressions by combining coefficients attached to the same reviewed variable ID before bounding the result.

For each variable the combined coefficient is k. Its contribution lies between the smaller and larger of k times its endpoints. Sum those lower and upper contributions. This is a valid enclosing interval for every assignment inside the declared box. It is sharp over the full independent box of allowed assignments, but not necessarily sharp when additional dependencies constrain different variables. No statistical independence or probability distribution is assumed. These are deterministic bounds, not a confidence interval or a prediction.

Back to contents

3. The meaning contract

FieldRole
idExact reviewed variable identity, not just its spelling.
lo, hiInteger-string endpoints of a closed interval, or null for unresolved bound.
unit, kindShared unit and quantity kind for the supplied expression.
context, versionDeclared exercise and definition release.
termsPairs of variable ID and signed integer coefficient.
{
  "contract": {
    "unit": "cm",
    "kind": "length",
    "context": "synthetic geometry exercise",
    "version": "v1"
  },
  "vars": [
    {
      "id": "x",
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1",
      "lo": "4",
      "hi": "7"
    },
    {
      "id": "y",
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1",
      "lo": "2",
      "hi": "3"
    },
    {
      "id": "z",
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1",
      "lo": "-2",
      "hi": "5"
    }
  ],
  "terms": [
    [
      "x",
      "1"
    ],
    [
      "x",
      "-1"
    ]
  ]
}

Every used variable must have the same declared unit, kind, context and version. The prototype has no unit conversion, multiplication of variables, division, rounding policy, source authentication or automatic derivation of valid expressions. Even addition of two quantities requires a separately reviewed mathematical interpretation. Shared labels alone do not establish that their sum answers a meaningful question.

Back to contents

4. Fencing uncertainty for Secondary learners

MoveMeaning-preserving explanation
Basex is not an exact measured value; 4 ≤ x ≤ 7.
Addy is between 2 and 3.
RelateThe difference x−y lies between 1 and 5.
Check identityx−x is exactly zero; identical bounds on x and y do not imply x=y.
TransferExplain a fresh bounded expression without inventing an exact value.

A student can use a number line or select endpoint examples before formalising the expression. In Science, a measured uncertainty has a particular definition and reporting convention; do not confuse this deterministic teaching interval with an instrument uncertainty model. The teacher’s actual syllabus and task determine which mathematical and scientific definitions apply.

Back to contents

5. Executable local typed-interval evaluator

function bounds(vars,terms,contract){
 const str=x=>typeof x==="string"&&x.length>0;
 const keys=["unit","kind","context","version"];
 const int=x=>typeof x==="string"&&/^-?\d{1,12}$/.test(x);
 if(!contract||!keys.every(k=>str(contract[k]))||!Array.isArray(vars)||vars.length>100||!Array.isArray(terms)||!terms.length||terms.length>100)return {status:"HOLD_INPUT"};
 const reg=new Map(),coef=new Map();
 for(const v of vars){
  if(!v||!str(v.id)||reg.has(v.id)||!keys.every(k=>str(v[k])))return {status:"HOLD_REGISTER"};
  reg.set(v.id,v);
 }
 for(const t of terms){
  if(!Array.isArray(t)||t.length!==2||!reg.has(t[0])||!int(t[1]))return {status:"HOLD_TERM"};
  const v=reg.get(t[0]);
  if(!keys.every(k=>v[k]===contract[k]))return {status:"HOLD_MEANING"};
  if(v.lo===null||v.hi===null)return {status:"HOLD_UNKNOWN"};
  if(!int(v.lo)||!int(v.hi)||BigInt(v.lo)>BigInt(v.hi))return {status:"HOLD_BOUND"};
  coef.set(t[0],(coef.get(t[0])??0n)+BigInt(t[1]));
 }
 let lo=0n,hi=0n;
 for(const [id,k] of coef){
  const v=reg.get(id),x=k*BigInt(v.lo),y=k*BigInt(v.hi);
  lo+=x<y?x:y;hi+=x<y?y:x;
 }
 return {status:"BOUNDED",lo:String(lo),hi:String(hi)};
}

BigInt provides exact integer arithmetic for the declared input form. The function checks used variables, rejects missing or inverted bounds, and aggregates their coefficients before calculating each contribution. Even a zero term is validated before simplification; this conservative choice does not claim that an unknown variable times zero is mathematically indeterminate. BOUNDED establishes an enclosure under the supplied model only. HOLD indicates that this particular component cannot complete a supported calculation.

Back to contents

6. Sixteen actual synthetic cases

On 2 December 2026, 16 of 16 authored status-and-bound outputs matched their expected results in a local JavaScript run. The suite includes exact cancellation, distinct variables sharing bounds, negative coefficients, invalid inputs and a large exact integer product. No real measurements or learner records were used.

IDExpectedObservedTest purpose
I01BOUNDED:6:10BOUNDED:6:10Addition of two bounded values.
I02BOUNDED:1:5BOUNDED:1:5Subtraction preserves the opposite endpoint.
I03BOUNDED:0:0BOUNDED:0:0The same variable cancels exactly.
I04BOUNDED:4:7BOUNDED:4:7Combine repeated coefficients first.
I05BOUNDED:-10:4BOUNDED:-10:4Negative multiplier reverses endpoints.
I06BOUNDED:-3:3BOUNDED:-3:3Identical intervals do not prove identical variables.
I07BOUNDED:0:0BOUNDED:0:0Known zero coefficient.
I08HOLD_TERMHOLD_TERMUnregistered variable.
I09HOLD_UNKNOWNHOLD_UNKNOWNMissing bound cannot become zero.
I10HOLD_BOUNDHOLD_BOUNDReversed endpoints.
I11HOLD_BOUNDHOLD_BOUNDDecimals outside integer contract.
I12HOLD_MEANINGHOLD_MEANINGNo implicit unit conversion.
I13HOLD_MEANINGHOLD_MEANINGDifferent contextual reference.
I14HOLD_MEANINGHOLD_MEANINGDifferent definition release.
I15HOLD_REGISTERHOLD_REGISTERDuplicate identity.
I16BOUNDED:999999999998000000000001:999999999998000000000001BOUNDED:999999999998000000000001:999999999998000000000001BigInt preserves exact integer arithmetic.
const tests = [
  {
    "id": "I01",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ],
      [
        "y",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:6:10"
  },
  {
    "id": "I02",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ],
      [
        "y",
        "-1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:1:5"
  },
  {
    "id": "I03",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ],
      [
        "x",
        "-1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:0:0"
  },
  {
    "id": "I04",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "x",
        "2"
      ],
      [
        "x",
        "-1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:4:7"
  },
  {
    "id": "I05",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "z",
        "-2"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:-10:4"
  },
  {
    "id": "I06",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ],
      [
        "y",
        "-1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:-3:3"
  },
  {
    "id": "I07",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "x",
        "0"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:0:0"
  },
  {
    "id": "I08",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      }
    ],
    "terms": [
      [
        "missing",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_TERM"
  },
  {
    "id": "I09",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": null,
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_UNKNOWN"
  },
  {
    "id": "I10",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "7",
        "hi": "4"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_BOUND"
  },
  {
    "id": "I11",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4.5",
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_BOUND"
  },
  {
    "id": "I12",
    "vars": [
      {
        "id": "x",
        "unit": "m",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_MEANING"
  },
  {
    "id": "I13",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "other",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_MEANING"
  },
  {
    "id": "I14",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v2",
        "lo": "4",
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_MEANING"
  },
  {
    "id": "I15",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      },
      {
        "id": "y",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "2",
        "hi": "3"
      },
      {
        "id": "z",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "-2",
        "hi": "5"
      },
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "4",
        "hi": "7"
      }
    ],
    "terms": [
      [
        "x",
        "1"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "HOLD_REGISTER"
  },
  {
    "id": "I16",
    "vars": [
      {
        "id": "x",
        "unit": "cm",
        "kind": "length",
        "context": "synthetic geometry exercise",
        "version": "v1",
        "lo": "999999999999",
        "hi": "999999999999"
      }
    ],
    "terms": [
      [
        "x",
        "999999999999"
      ]
    ],
    "contract": {
      "unit": "cm",
      "kind": "length",
      "context": "synthetic geometry exercise",
      "version": "v1"
    },
    "want": "BOUNDED:999999999998000000000001:999999999998000000000001"
  }
];
for(const x of tests) console.log(x.id,bounds(x.vars,x.terms,x.contract),x.want);

These regression cases were authored for the prototype and are not an independent benchmark. The published code is reproducible in a compatible JavaScript runtime but is not deployed on the website. A future validation should compare small integer boxes exhaustively, test cancellation, and check the soundness of the source-to-variable identity mapping. A bound derived from a false source is still misleading.

Back to contents

7. VocabularyOS and bounded decisions

The Executable Quantity Type protects unit and reference meaning before arithmetic. The Reference Binding distinguishes two entities with similar labels. The interval component uses the same principle for variable identity: two occurrences of the same ID share one value within an expression. A separate decision rule may establish that every value in a bound meets a stated threshold, but it cannot convert a bounded result into permission to act.

A future engine could handle explicitly reviewed linear constraints between different variables or exact rational arithmetic. Do not silently apply such features here. Unknown dependencies may make the present enclosure wider than necessary. The source registry, derivation record and return route must preserve the assumptions used by each calculation.

Back to contents

8. Centre-to-edge vocabulary learning operations

RungObservable task
L0Attend to the quantity
L1Identify bounds
L2Name the interval
L3Explain the limit
L4Recall the distinction
L5Read and encode the expression
L6Relate identities and coefficients
L7Combine a faithful statement
L8Disambiguate same value and same range
L9Transfer to a fresh problem
L10Interpret the meaning of the bound
L11Apply the formal calculation rule
L12Trace definition changes
L13Critique invented precision
L14Maintain a reviewed quantity register
L15Propose and test a needed new distinction

The ladder is an original teaching framework, not an official grade or validated diagnostic scale. A correct computed result is not evidence of independent student reasoning.

Back to contents

9. Four-week validation laboratory

WeekActivityEvidence
1Create and review synthetic bounded variables and expressions.Accurate identity and quantity contracts.
2Reproduce the sixteen cases and add independent corner cases.Actual bounds and hold reasons.
3Compare with exhaustive enumeration on small integer ranges.Enclosure validity and avoidable width.
4Use fresh authorised Mathematics examples with a plain worked-example baseline.Independent explanations, delay and review effort.

Formal research with students requires appropriate permissions, consent or assent, privacy protection and suitable access arrangements. No learner experiment or production integration was performed.

Back to contents

10. Connected research

Back to contents