Edge Technology for Vocabulary needs to preserve quantifier order, not just the words every and some. The Nested Quantifier Engine tests whether every member has a related item or one particular item relates to every member, two claims that can differ sharply.
This original eduKate bounded prototype was locally executed on twelve authored cases and 682 systematic matrix checks. It does not parse English, establish source truth or demonstrate learning gains. It is a reproducible research component, not a deployed service.
- Separate row-wise and column-wise quantification.
- Keep unknown cells distinct from false.
- Generate hypothetical witnesses for unresolved claims.
- Reproduce the actual bounded tests.
- Connect the mechanism to Fencing and the L0–L15 ladder.
Contents
- 1. Every learner has some book is not the same as one book belongs to every learner
- 2. A bounded relational model
- 3. Fencing the meaning
- 4. Executable nested quantifier demonstrator
- 5. Actual local execution
- 6. VocabularyOS integration
- 7. Centre-to-edge vocabulary learning operations
- 8. Four-week evaluation plan
- 9. Connected research
1. Every learner has some book is not the same as one book belongs to every learner
Suppose two pupils each select a book. The first chooses A and the second chooses B. Each pupil has selected at least one book, but there is no single book chosen by both. The word some is inside the scope of every in the first interpretation and outside it in the second. The difference changes the claim even when the same vocabulary and participants appear. The earlier finite-world and two-predicate engines compare properties of a fixed group. This extension models a relation between two groups: learners and books.
The Stanford Encyclopedia of Philosophy discussion of generalized quantifiers supplies broader background on formal quantifier semantics. The present model is a narrow Boolean matrix interpretation, not a complete natural-language semantics or a novel logic.
2. A bounded relational model
| Form | Declared interpretation |
|---|---|
| every_some | Every row has at least one true cell. |
| some_every | There is at least one column true in every row. |
| some_some | At least one cell is true. |
| every_every | Every cell is true. |
Rows represent members of one specified nonempty group; columns represent members of another. The cell records the same reviewed relation, such as selected, at the same observation time. Null means unknown, not false. Empty domains and matrices beyond four by four are held. At most twelve unknown cells are enumerated. Identities, time, source validity and relation meaning must be checked before calling the function.
3. Fencing the meaning
Begin with a two-by-two paper table. Place a tick in the first diagonal cell and another in the second. Read the table by rows: each learner selected something. Read it by columns: no book was selected by everyone. Add one unknown cell and ask which conclusion survives regardless of its value. This makes a scope distinction visible rather than requiring a learner to memorise a formal phrase. In a fresh task replace books with projects, preserving the relation and its context. Do not treat a paper counterexample as a report about real children.
| Learner | Book A | Book B |
|---|---|---|
| L1 | True | False |
| L2 | False | True |
4. Executable nested quantifier demonstrator
function nested(matrix,form){
const forms=["every_some","some_every","some_some","every_every"];
if(!Array.isArray(matrix)||matrix.length<1||matrix.length>4||!Array.isArray(matrix[0])||matrix[0].length<1||matrix[0].length>4||!forms.includes(form))return {status:"HOLD_INPUT"};
const m=matrix[0].length;
if(!matrix.every(r=>Array.isArray(r)&&r.length===m&&r.every(x=>x===true||x===false||x===null)))return {status:"HOLD_INPUT"};
const unknown=[];matrix.forEach((r,i)=>r.forEach((x,j)=>{if(x===null)unknown.push([i,j])}));
if(unknown.length>12)return {status:"HOLD_BOUND"};
let yes=null,no=null;
function holds(w){switch(form){case "every_some":return w.every(r=>r.some(Boolean));case "some_every":return w[0].some((_,j)=>w.every(r=>r[j]));case "some_some":return w.some(r=>r.some(Boolean));case "every_every":return w.every(r=>r.every(Boolean))}}
for(let mask=0;mask<2**unknown.length;mask++){
const w=matrix.map(r=>r.slice());unknown.forEach(([i,j],k)=>w[i][j]=Boolean(mask&(1<<k)));
if(holds(w))yes??=w;else no??=w;
}
return {status:yes&&!no?"ENTAILED":no&&!yes?"CONTRADICTED":"UNDETERMINED",support:yes,counter:no};
}
The function enumerates all Boolean completions of the unknown cells. ENTAILED means every completion satisfies the selected formula; CONTRADICTED means none does; UNDETERMINED means both supporting and refuting completions exist. Returned matrices are hypothetical witnesses, not observations. This operation assumes the cells may vary independently; correlated uncertainties or additional constraints require a richer model. The code cannot determine which reading of an ambiguous English sentence is intended.
5. Actual local execution
12 of 12 authored synthetic cases passed on 3 December 2026. A further 682 complete matrices of dimensions one to three were checked for the implication that a shared selection by every learner entails each learner selected at least one item. All passed. This is one systematic invariant, not exhaustive validation of the four formula implementations.
| Case | Form | Expected | Observed |
|---|---|---|---|
| N01 | every_some | ENTAILED | ENTAILED |
| N02 | some_every | CONTRADICTED | CONTRADICTED |
| N03 | every_some | ENTAILED | ENTAILED |
| N04 | some_every | UNDETERMINED | UNDETERMINED |
| N05 | every_some | CONTRADICTED | CONTRADICTED |
| N06 | some_every | ENTAILED | ENTAILED |
| N07 | some_some | UNDETERMINED | UNDETERMINED |
| N08 | some_some | CONTRADICTED | CONTRADICTED |
| N09 | every_every | UNDETERMINED | UNDETERMINED |
| N10 | every_every | ENTAILED | ENTAILED |
| N11 | every_some | HOLD_INPUT | HOLD_INPUT |
| N12 | every_some | HOLD_BOUND | HOLD_BOUND |
const cases = [
[
"N01",
[
[
true,
false
],
[
false,
true
]
],
"every_some",
"ENTAILED"
],
[
"N02",
[
[
true,
false
],
[
false,
true
]
],
"some_every",
"CONTRADICTED"
],
[
"N03",
[
[
true,
null
],
[
null,
true
]
],
"every_some",
"ENTAILED"
],
[
"N04",
[
[
true,
null
],
[
null,
true
]
],
"some_every",
"UNDETERMINED"
],
[
"N05",
[
[
false,
false
],
[
true,
true
]
],
"every_some",
"CONTRADICTED"
],
[
"N06",
[
[
true,
false
],
[
true,
false
]
],
"some_every",
"ENTAILED"
],
[
"N07",
[
[
null,
null
],
[
false,
false
]
],
"some_some",
"UNDETERMINED"
],
[
"N08",
[
[
false,
false
],
[
false,
false
]
],
"some_some",
"CONTRADICTED"
],
[
"N09",
[
[
true,
null
],
[
true,
true
]
],
"every_every",
"UNDETERMINED"
],
[
"N10",
[
[
true,
true
],
[
true,
true
]
],
"every_every",
"ENTAILED"
],
[
"N11",
[],
"every_some",
"HOLD_INPUT"
],
[
"N12",
[
[
null,
null,
null,
null
],
[
null,
null,
null,
null
],
[
null,
null,
null,
null
],
[
null,
null,
null,
null
]
],
"every_some",
"HOLD_BOUND"
]
];
for(const [id,matrix,form,want] of cases) console.log(id,nested(matrix,form).status,want);
let count=0;
for(let n=1;n<=3;n++)for(let m=1;m<=3;m++)for(let mask=0;mask<2**(n*m);mask++){
const w=Array.from({length:n},(_,i)=>Array.from({length:m},(_,j)=>Boolean(mask&(1<<(i*m+j)))));
if(nested(w,'some_every').status==='ENTAILED'&&nested(w,'every_some').status!=='ENTAILED')throw Error('scope invariant');count++;
}
console.log(count);
The tests and implementation were authored together. No independent team, human learning trial or live deployment was involved. The website publishes code for reproduction; it does not execute it.
6. VocabularyOS integration
The reference binder selects the intended groups. The typed relation guard identifies the relation. A source-grounded annotation records its scope, and the nested quantifier engine tests the chosen reading. The clarification selector is used if the sentence permits multiple relevant readings. A possible witness may help the teacher explain the distinction; it never proves which real-world event happened. The result belongs in the conformance capsule as a bounded formal check, separate from extraction and permission.
7. Centre-to-edge vocabulary learning operations
| Rung | Observable operation |
|---|---|
| L0 | Attend to the sentence |
| L1 | Identify the two groups |
| L2 | Name the relation |
| L3 | Explain quantifier order |
| L4 | Recall later |
| L5 | Read and encode the matrix |
| L6 | Relate rows and columns |
| L7 | Combine a faithful sentence |
| L8 | Disambiguate scope |
| L9 | Transfer to a fresh example |
| L10 | Interpret a counterexample |
| L11 | Formalise the selected reading |
| L12 | Trace changed evidence |
| L13 | Critique an invalid inference |
| L14 | Maintain a reviewed relation register |
| L15 | Propose and test a new distinction |
Use only the relevant operations. The eduKate ladder is not a validated grading or diagnostic scale. For Secondary 1–4, the paper matrix is often sufficient; advanced learners can inspect the code.
8. Four-week evaluation plan
| Week | Activity | Evidence |
|---|---|---|
| 1 | Review synthetic sentences and their alternative scopes. | Reviewed annotations. |
| 2 | Reproduce the tests and create independent cases. | Verdicts, witness validity, errors. |
| 3 | Test correlated unknowns and ambiguous source readings separately. | Extraction limits and holds. |
| 4 | Compare an ordinary explanation with a matrix-supported lesson on fresh tasks. | Independent transfer and effort. |
Any study involving students requires appropriate school permissions, consent or assent, privacy and accessibility arrangements. No such study was performed. A technical verdict is not a learner assessment.
