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 Two-Predicate Constraint Engine: Can AI Distinguish Only If, If and If and Only If?

Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.

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

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.

Back to contents

2. The four-cell representation

CellAB
a: bothtruetrue
b: A onlytruefalse
c: B onlyfalsetrue
d: neitherfalsefalse

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.

Back to contents

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.

Back to contents

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.

Back to contents

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.

TestExpectedObservedSupporting cellsCounterexample cells
only-AUNDETERMINEDUNDETERMINED0,0,0,40,0,1,3
ifENTAILEDENTAILED1,0,0,3—
no-existenceUNDETERMINEDUNDETERMINED1,0,0,30,0,0,4
converseCONTRADICTEDCONTRADICTED—0,0,0,4
equivalenceENTAILEDENTAILED0,0,0,4—
not-overlapCONTRADICTEDCONTRADICTED—0,0,0,4
contradictionINCONSISTENTINCONSISTENT——
necessary-not-sufficientCONTRADICTEDCONTRADICTED—0,0,1,3
both-existsENTAILEDENTAILED1,0,0,3—
nonempty-universeUNDETERMINEDUNDETERMINED1,0,0,30,0,0,4
empty-domainHOLD_INPUTHOLD_INPUT——
unsupportedHOLD_INPUTHOLD_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.

Back to contents

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.

Back to contents

7. Learning operations at the centre and edge

RungTask
L0Attend to the statement
L1Identify A and B
L2Name the condition
L3Explain its direction
L4Recall the distinction
L5Encode the symbols
L6Relate the sets
L7Combine premises
L8Disambiguate only if
L9Transfer to a new group
L10Interpret the witness
L11Apply formal constraints
L12Trace changed premises
L13Critique the converse
L14Govern the reviewed rule
L15Propose 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.

Back to contents

8. Four-week laboratory and evaluation

WeekActivityEvidence
1Review synthetic two-property statements with a teacher.Faithful annotation and unresolved interpretations.
2Reproduce the cases and the bit-mask cross-check.Actual outputs and disagreement log.
3Commission independently derived multi-premise examples, including vacuous truths.Held-out errors, witness validity and extraction checks.
4Compare 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.

Back to contents

9. Connected research and references

Back to contents