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
- 2. Established interval arithmetic and the bounded extension
- 3. The meaning contract
- 4. Fencing uncertainty for Secondary learners
- 5. Executable local typed-interval evaluator
- 6. Sixteen actual synthetic cases
- 7. VocabularyOS and bounded decisions
- 8. Centre-to-edge vocabulary learning operations
- 9. Four-week validation laboratory
- 10. Connected research
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.
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.
3. The meaning contract
| Field | Role |
|---|---|
| id | Exact reviewed variable identity, not just its spelling. |
| lo, hi | Integer-string endpoints of a closed interval, or null for unresolved bound. |
| unit, kind | Shared unit and quantity kind for the supplied expression. |
| context, version | Declared exercise and definition release. |
| terms | Pairs 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.
4. Fencing uncertainty for Secondary learners
| Move | Meaning-preserving explanation |
|---|---|
| Base | x is not an exact measured value; 4 ≤ x ≤ 7. |
| Add | y is between 2 and 3. |
| Relate | The difference x−y lies between 1 and 5. |
| Check identity | x−x is exactly zero; identical bounds on x and y do not imply x=y. |
| Transfer | Explain 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.
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.
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.
| ID | Expected | Observed | Test purpose |
|---|---|---|---|
| I01 | BOUNDED:6:10 | BOUNDED:6:10 | Addition of two bounded values. |
| I02 | BOUNDED:1:5 | BOUNDED:1:5 | Subtraction preserves the opposite endpoint. |
| I03 | BOUNDED:0:0 | BOUNDED:0:0 | The same variable cancels exactly. |
| I04 | BOUNDED:4:7 | BOUNDED:4:7 | Combine repeated coefficients first. |
| I05 | BOUNDED:-10:4 | BOUNDED:-10:4 | Negative multiplier reverses endpoints. |
| I06 | BOUNDED:-3:3 | BOUNDED:-3:3 | Identical intervals do not prove identical variables. |
| I07 | BOUNDED:0:0 | BOUNDED:0:0 | Known zero coefficient. |
| I08 | HOLD_TERM | HOLD_TERM | Unregistered variable. |
| I09 | HOLD_UNKNOWN | HOLD_UNKNOWN | Missing bound cannot become zero. |
| I10 | HOLD_BOUND | HOLD_BOUND | Reversed endpoints. |
| I11 | HOLD_BOUND | HOLD_BOUND | Decimals outside integer contract. |
| I12 | HOLD_MEANING | HOLD_MEANING | No implicit unit conversion. |
| I13 | HOLD_MEANING | HOLD_MEANING | Different contextual reference. |
| I14 | HOLD_MEANING | HOLD_MEANING | Different definition release. |
| I15 | HOLD_REGISTER | HOLD_REGISTER | Duplicate identity. |
| I16 | BOUNDED:999999999998000000000001:999999999998000000000001 | BOUNDED:999999999998000000000001:999999999998000000000001 | BigInt 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.
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.
8. Centre-to-edge vocabulary learning operations
| Rung | Observable task |
|---|---|
| L0 | Attend to the quantity |
| L1 | Identify bounds |
| L2 | Name the interval |
| L3 | Explain the limit |
| L4 | Recall the distinction |
| L5 | Read and encode the expression |
| L6 | Relate identities and coefficients |
| L7 | Combine a faithful statement |
| L8 | Disambiguate same value and same range |
| L9 | Transfer to a fresh problem |
| L10 | Interpret the meaning of the bound |
| L11 | Apply the formal calculation rule |
| L12 | Trace definition changes |
| L13 | Critique invented precision |
| L14 | Maintain a reviewed quantity register |
| L15 | Propose 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.
9. Four-week validation laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Create and review synthetic bounded variables and expressions. | Accurate identity and quantity contracts. |
| 2 | Reproduce the sixteen cases and add independent corner cases. | Actual bounds and hold reasons. |
| 3 | Compare with exhaustive enumeration on small integer ranges. | Enclosure validity and avoidable width. |
| 4 | Use 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.
