Edge Technology for Vocabulary needs to preserve the direction of a condition. Only registered members submitted does not establish that all registered members submitted. The Two-Predicate Constraint Engine makes this difference executable by testing possible combinations of two properties in a fixed group.
This original eduKate extension of the finite-world engine was locally executed on twelve authored cases and 324 systematic cross-checks against a second bit-mask representation. It is a bounded demonstrator, not a general English parser, deployed product, independently validated benchmark or evidence of student learning improvement.
- Distinguish a condition and its converse.
- Retain the four possible property combinations.
- Generate supporting and refuting witnesses.
- Preserve unresolved or inconsistent premises.
- Reproduce actual local tests without claiming general validation.
Contents
- 1. The language operation before the inference
- 2. The four-cell representation
- 3. Fencing a claim into a counterexample
- 4. Executable finite constraint model
- 5. Executed synthetic tests and a second representation
- 6. From Secondary 1 to Secondary 4
- 7. Learning operations at the centre and edge
- 8. Four-week laboratory and evaluation
- 9. Connected research and references
1. The language operation before the inference
Only registered members submitted a form is not the same as all registered members submitted a form. In the first statement, submitting implies registration. In the second, registration implies submitting. Neither by itself establishes that any person submitted. A learner may know every word and still reverse the implication. The earlier finite-world engine counts one property; this extension represents two properties in the same finite group.
The Stanford Encyclopedia of Philosophy discussion of necessary and sufficient conditions describes the standard truth-functional relationship between implication and necessary conditions, while noting complications in ordinary language. The local model assumes a reviewed universal interpretation over two Boolean properties. Permission, actual attendance, causation and counterfactual conditionals are not interchangeable with that interpretation.
2. The four-cell representation
| Cell | A | B |
|---|---|---|
| a: both | true | true |
| b: A only | true | false |
| c: B only | false | true |
| d: neither | false | false |
All A are B requires b=0. All B are A requires c=0. Both implications together require b=c=0. Some A are B requires a>0; disjointness requires a=0. An empty A is allowed even in a nonempty group, so a universal claim need not entail existence. Every row of the model describes the same group, time and two reviewed properties. It is not a description of individual identities.
3. Fencing a claim into a counterexample
Start: only registered members submitted. Add the property labels A=submitted and B=registered. Add the direction A implies B. Construct four hypothetical members: one submitted and registered, one registered without submitting, and two neither. This satisfies the first statement but refutes its converse. Ask the learner to construct a different valid witness before giving the model’s answer. A witness describes a possible world, not an observed pupil or attendance record.
4. Executable finite constraint model
function solve(n,premises,claim){
const ops=["A_implies_B","B_implies_A","equivalent","disjoint","some_both","some_A","some_B","some_A_not_B","some_B_not_A"];
const ok=p=>ops.includes(p);
if(!Number.isInteger(n)||n<1||n>12||!Array.isArray(premises)||!premises.every(ok)||!ok(claim))return {status:"HOLD_INPUT"};
const test=(p,[a,b,c,d])=>({"A_implies_B":b===0,"B_implies_A":c===0,"equivalent":b===0&&c===0,"disjoint":a===0,"some_both":a>0,"some_A":a+b>0,"some_B":a+c>0,"some_A_not_B":b>0,"some_B_not_A":c>0}[p]);
let support=null,counter=null,count=0;
for(let a=0;a<=n;a++)for(let b=0;b<=n-a;b++)for(let c=0;c<=n-a-b;c++){
const w=[a,b,c,n-a-b-c];if(!premises.every(p=>test(p,w)))continue;
count++;if(test(claim,w)){support??=w}else{counter??=w}
}
return {status:!count?"INCONSISTENT":!counter?"ENTAILED":!support?"CONTRADICTED":"UNDETERMINED",count,support,counter};
}
The function enumerates the four-cell counts for groups of one to twelve. It separates support, counterexample, inconsistency and uncertainty. UNDETERMINED is not false. INCONSISTENT is a request to inspect the supplied premises. HOLD_INPUT marks unsupported syntax or a size outside the demonstration. Source-to-constraint translation is not implemented. A successful verdict does not establish real permission or source truth.
5. Executed synthetic tests and a second representation
On 2 December 2026, all 12 authored regression cases matched their expected verdicts. In addition, 324 systematic single-premise/claim combinations across groups of size one to four matched a separate bit-mask enumerator. The second oracle was written by the same author, not an independent research team. The witness columns below use the cell order both, A only, B only, neither.
| Test | Expected | Observed | Supporting cells | Counterexample cells |
|---|---|---|---|---|
| only-A | UNDETERMINED | UNDETERMINED | 0,0,0,4 | 0,0,1,3 |
| if | ENTAILED | ENTAILED | 1,0,0,3 | — |
| no-existence | UNDETERMINED | UNDETERMINED | 1,0,0,3 | 0,0,0,4 |
| converse | CONTRADICTED | CONTRADICTED | — | 0,0,0,4 |
| equivalence | ENTAILED | ENTAILED | 0,0,0,4 | — |
| not-overlap | CONTRADICTED | CONTRADICTED | — | 0,0,0,4 |
| contradiction | INCONSISTENT | INCONSISTENT | — | — |
| necessary-not-sufficient | CONTRADICTED | CONTRADICTED | — | 0,0,1,3 |
| both-exists | ENTAILED | ENTAILED | 1,0,0,3 | — |
| nonempty-universe | UNDETERMINED | UNDETERMINED | 1,0,0,3 | 0,0,0,4 |
| empty-domain | HOLD_INPUT | HOLD_INPUT | — | — |
| unsupported | HOLD_INPUT | HOLD_INPUT | — | — |
const fixtures = [
[
"only-A",
4,
[
"A_implies_B"
],
"B_implies_A",
"UNDETERMINED"
],
[
"if",
4,
[
"A_implies_B",
"some_A"
],
"some_B",
"ENTAILED"
],
[
"no-existence",
4,
[
"A_implies_B"
],
"some_A",
"UNDETERMINED"
],
[
"converse",
4,
[
"A_implies_B"
],
"some_A_not_B",
"CONTRADICTED"
],
[
"equivalence",
4,
[
"A_implies_B",
"B_implies_A"
],
"equivalent",
"ENTAILED"
],
[
"not-overlap",
4,
[
"disjoint"
],
"some_both",
"CONTRADICTED"
],
[
"contradiction",
4,
[
"disjoint",
"some_both"
],
"some_A",
"INCONSISTENT"
],
[
"necessary-not-sufficient",
4,
[
"A_implies_B",
"some_B_not_A"
],
"B_implies_A",
"CONTRADICTED"
],
[
"both-exists",
4,
[
"some_both"
],
"some_A",
"ENTAILED"
],
[
"nonempty-universe",
4,
[
"equivalent"
],
"some_both",
"UNDETERMINED"
],
[
"empty-domain",
0,
[],
"some_A",
"HOLD_INPUT"
],
[
"unsupported",
4,
[
"probably"
],
"some_A",
"HOLD_INPUT"
]
];
for (const [id,n,p,c,want] of fixtures) console.log(id,solve(n,p,c),want);
function crosscheck(){
const ops=["A_implies_B","B_implies_A","equivalent","disjoint","some_both","some_A","some_B","some_A_not_B","some_B_not_A"];
let checks=0;
function truth(p,A,B,M){
switch(p){case "A_implies_B":return (A&(~B)&M)===0;case "B_implies_A":return (B&(~A)&M)===0;case "equivalent":return A===B;case "disjoint":return (A&B)===0;case "some_both":return (A&B)!==0;case "some_A":return A!==0;case "some_B":return B!==0;case "some_A_not_B":return (A&(~B)&M)!==0;case "some_B_not_A":return (B&(~A)&M)!==0}
}
for(let n=1;n<=4;n++){let M=(1<<n)-1;for(const p of ops)for(const q of ops){
let yes=false,no=false;
for(let A=0;A<=M;A++)for(let B=0;B<=M;B++)if(truth(p,A,B,M)){if(truth(q,A,B,M))yes=true;else no=true}
const expected=!yes&&!no?"INCONSISTENT":yes&&!no?"ENTAILED":no&&!yes?"CONTRADICTED":"UNDETERMINED";
if(solve(n,[p],q).status!==expected)throw Error("cross-check disagreement");checks++;
}}return checks;
}
console.log(crosscheck());
The cross-check compares verdicts for single-premise pairs, not every multi-premise input or every witness field. It cannot verify whether a free-language phrase was encoded correctly. Published code is reproducible in a compatible JavaScript runtime; it is not executed by the website.
6. From Secondary 1 to Secondary 4
A younger learner can draw two overlapping sets and test whether one lies inside the other. Secondary Mathematics can distinguish a theorem from its converse. Science can examine a necessary condition without asserting it guarantees an outcome. Humanities can test whether a universal statement survives an exception. In each case the actual subject definition and task determine whether the abstract model applies. The learning evidence is an independent explanation in an unfamiliar context, not the computer’s verdict.
7. Learning operations at the centre and edge
| Rung | Task |
|---|---|
| L0 | Attend to the statement |
| L1 | Identify A and B |
| L2 | Name the condition |
| L3 | Explain its direction |
| L4 | Recall the distinction |
| L5 | Encode the symbols |
| L6 | Relate the sets |
| L7 | Combine premises |
| L8 | Disambiguate only if |
| L9 | Transfer to a new group |
| L10 | Interpret the witness |
| L11 | Apply formal constraints |
| L12 | Trace changed premises |
| L13 | Critique the converse |
| L14 | Govern the reviewed rule |
| L15 | Propose a new tested distinction |
The L0–L15 framework is a proposed pedagogical architecture, not an official school scale. The Fencing Method develops a short accurate explanation before adding a boundary or formal representation. Neither requires every student to learn programming.
8. Four-week laboratory and evaluation
| Week | Activity | Evidence |
|---|---|---|
| 1 | Review synthetic two-property statements with a teacher. | Faithful annotation and unresolved interpretations. |
| 2 | Reproduce the cases and the bit-mask cross-check. | Actual outputs and disagreement log. |
| 3 | Commission independently derived multi-premise examples, including vacuous truths. | Held-out errors, witness validity and extraction checks. |
| 4 | Compare a plain set-diagram lesson with an authorised supported task. | Delayed independent transfer, time and teacher effort. |
No student study was conducted. Any human pilot requires applicable permission, consent or assent, appropriate access support and privacy safeguards. The prototype has no access to real learners, sources or action systems. A review must test source meaning separately from formal computation.
