A method can be correct and still produce a misleading answer when used in the wrong situation. A calculation may require comparable units, a research conclusion may require a specified population, and an administrative procedure may require current authorization. Vocabulary Coding and Engineering proposes a Semantic Precondition Witness: an inspectable record of the evidence that a particular input and situation satisfy a method’s declared conditions. Instead of assuming that a capable AI can always use a capability, the system must distinguish an established precondition, an explicit assumption, a failed condition and an unresolved question.
The engineering analogy comes from Design by Contract, where preconditions describe what a caller must establish and postconditions describe promised behavior under valid conditions. The proposed eduKateSG witness extends the distinction into human language, evidence, reusable methods and AI handovers. It complements the Semantic Capability Receipt and Reproducibility Capsule: one describes a method, the other packages it for replay, and the witness examines whether this particular use is justified. This is a research proposal, not a new formal verification standard.
- A correct method is not necessarily applicable to the current input.
- Declare conditions before running or relying on a method.
- Distinguish evidence-backed satisfaction from an assumed condition.
- Preserve failed, unknown and not-yet-evaluated states separately.
- Recheck conditions that depend on time, source changes or permissions.
- Do not treat structural validation as proof of real-world truth.
- Test both mistaken acceptance and mistaken rejection of suitable cases.
Chapter index
- 1. The difference between knowing how and knowing when
- 2. A precondition is not a prediction
- 3. What Design by Contract contributes
- 4. A fictional method with a clear boundary
- 5. The same numbers can tell a different story
- 6. A witness is a record, not magic
- 7. Separate five states of satisfaction
- 8. Assumptions should be labelled
- 9. Conditions may depend on each other
- 10. Structural checks and world checks
- 11. The postcondition belongs to a different stage
- 12. A proposed witness manifest
- 13. Zoom 0: individual learning
- 14. Zoom 1: household decisions
- 15. Zoom 2: organisational methods
- 16. Zoom 3: research and institutions
- 17. Zoom 4: composition in the Second Intelligence Pool
- 18. Zoom 5: knowledge inherited across generations
- 19. Test the positive, negative and unknown cases
- 20. A simple decision table
- 21. Time-sensitive conditions must be rechecked
- 22. Authority remains independent
- 23. How to respond to a failed witness
- 24. Four-week practical programme
- 25. Questions for every reader
- 26. The next engineering step
1. The difference between knowing how and knowing when
A learner memorises the rule for finding the mean speed from a distance and elapsed time. The rule is useful when the distance and time describe the same journey. But a distance measured for the whole journey cannot be divided by the time of only one segment and interpreted as the journey’s average speed. The arithmetic may be correct and the conclusion still wrong. Vocabulary establishes the relationship between the inputs, while a precondition check establishes whether those relationships are satisfied in the actual example. Both are required for meaningful reuse.
2. A precondition is not a prediction
A precondition describes what must hold for a method’s declared contract to apply. A prediction describes what may happen. For instance, a procedure may require that a value is nonzero before dividing by it. The method’s ability to predict the output does not establish that the input actually satisfies that condition. A receiver should not treat a confident answer as evidence that the conditions were met. Record how the input was evaluated and what the method promises under those conditions. This is useful even when the underlying mathematical operation is simple.
3. What Design by Contract contributes
The Eiffel documentation distinguishes conditions imposed on callers from the guarantees offered by routines when those conditions hold. This supplies a precise analogy for separating entry requirements and expected results. The proposed semantic witness adds a different layer: evidence and interpretation for conditions expressed in human or domain language. It does not claim that every such condition can be encoded as a Boolean assertion. Some depend on a physical observation, expert judgment or institutional decision. Formal checks and independent real-world verification remain distinct.
4. A fictional method with a clear boundary
Define method S1: average speed equals total distance travelled divided by total elapsed time, where elapsed time is positive and the distance and time cover the same journey. Use compatible units. For a journey of 120 kilometres over 2 hours, the mean speed is 60 kilometres per hour. The numerical answer is an illustrative calculation. The witness should establish the journey identity, the interval and the unit definitions. A record stating only 120 and 2 does not establish any of these conditions.
5. The same numbers can tell a different story
Suppose 120 kilometres describes the entire trip, but 2 hours is the moving time with a one-hour rest excluded. If the task asks for average speed across the entire three-hour trip, the appropriate calculation is 120 divided by 3, or 40 kilometres per hour. A moving-speed statistic could legitimately use the two-hour denominator if the numerator and definition match. Neither number is inherently the wrong number. What matters is which question the method answers. Preserve the definition of elapsed time and the interval to which each observation belongs.
6. A witness is a record, not magic
In this proposal a witness is evidence supporting satisfaction of a declared condition. It might contain a direct observation, a source reference, a deterministic check, or the recorded judgment of a qualified reviewer. A bare field saying verified is not enough. The receiver needs to know what was checked, against which version of the requirement, and with what limitations. A witness may be machine-checkable in some domains and require human inspection in others. The term does not imply a mathematical proof of every real-world fact.
7. Separate five states of satisfaction
A workflow can distinguish satisfied under the declared check, failed, unknown, not evaluated and not applicable under an explicitly defined condition. For example, a time value of zero fails the positive-denominator check. A missing time is unknown. An unexecuted validation is not evaluated. A condition about currency conversion might be not applicable to a calculation entirely in metres. These distinctions help route problems correctly. Do not treat unknown as false or true merely to finish a task. If a condition is essential and unresolved, the proposed method’s applicability is not established.
8. Assumptions should be labelled
Sometimes an exploratory calculation is useful even though a required condition has not been independently established. An assistant can say: assuming these measurements cover the same interval, the average is 60 kilometres per hour. This is a conditional answer, not a verified description of the trip. The assumption and its consequences should remain visible through later handovers. If another agent receives only the answer, it might incorrectly report it as an observed fact. A witness can mark the condition as assumed for exploration rather than established for a consequential decision.
9. Conditions may depend on each other
Checking that a record contains a date does not establish that the date belongs to the event being analysed. Identifying the correct entity may be a prerequisite to validating its date or unit. A proposed witness can list dependencies among conditions, allowing a system to recognise that a downstream check cannot proceed until its prerequisite is established. A failed earlier condition should not automatically become a claim that later conditions failed. Instead, identify which checks were completed and which were blocked. This preserves the actual reasoning boundary.
10. Structural checks and world checks
A form can contain a correctly formatted date that is factually wrong. A source can identify a valid-looking location that refers to the wrong building. A machine-readable unit label may pass schema validation while the instrument actually used a different unit. Distinguish syntactic checks from checks of identity, evidence and real-world correspondence. The earlier Semantic Validation Profile provides a way to declare which constraints were checked; the precondition witness records whether the specific method’s required conditions were adequately established for this particular use.
11. The postcondition belongs to a different stage
If a method promises a result under a valid input condition, establish the precondition first and evaluate the output afterwards. For a sorting method, the input might need to be a list of comparable values. The output may be required to contain the same elements in nondecreasing order. A sorted-looking result alone does not prove that no element was lost. The output checks are separate from the entry checks. A semantic method package should specify both when possible, and distinguish expected guarantees from observations that those guarantees were met.
12. A proposed witness manifest
Include a method identifier and version, input record identity, condition identifier and version, precise condition text, evidence reference, check method, result, evaluation time, responsible evaluator, scope and limitations. Add an explicit assumption marker when appropriate. A witness may point to a source rather than copy private material. Where the check requires a current external decision, record the authority and its stated scope. The manifest should be as small as the task allows while retaining the information needed to review the result.
13. Zoom 0: individual learning
A learner studying equations can practise asking which operations are valid and why. Dividing both sides by a nonzero expression may require establishing that the expression is nonzero or handling the zero case separately. A learner who recognises the condition is less likely to lose possible solutions. This form of study connects vocabulary, symbols and reasoning. Rather than rewarding only the final answer, a teacher can ask for an explanation of the step’s applicability and a check on the resulting solution.
14. Zoom 1: household decisions
A family comparing prices may use a unit-price calculation. The method needs a comparable quantity, currency and relevant product description. A price per kilogram cannot be directly compared with a price per item without knowing the item’s weight. Delivery charges or other terms may matter to the household’s question. An assistant can calculate a conditional comparison or request the missing information. It should not declare the cheapest choice merely because two numbers appear in a table with the same heading.
15. Zoom 2: organisational methods
A business may reuse a report template across teams. The template’s denominator could be active customers, all registered accounts or transactions during a defined period. A report can be syntactically valid while using the wrong denominator. A precondition witness can record the applicable population definition, extraction scope and evidence that the input matches it. This helps analysts distinguish a method defect from an inappropriate application. It also gives colleagues a way to review an apparently successful calculation before it supports an important business decision.
16. Zoom 3: research and institutions
A research method may assume a study population, sampling process or measurement design. A public procedure may have requirements derived from an applicable policy. Those conditions should not be reduced to a generic pass flag without supporting evidence. Researchers and responsible officials must use the relevant domain standards and procedures; a proposed witness does not grant legal authority or replace expert review. It can make the distinction between a verified requirement, an exploratory assumption and an unresolved issue easier to communicate across teams.
17. Zoom 4: composition in the Second Intelligence Pool
When one specialist agent passes an output to another, the next method may require a stronger condition than the first method guarantees. A classification service might supply an estimated category while a downstream workflow requires a confirmed category. The label alone is insufficient. Compare the upstream output contract with the downstream input contract, then establish any remaining condition with appropriate evidence. The proposed witness can help expose these gaps. It does not guarantee interoperability merely because both agents use the same schema or vocabulary.
18. Zoom 5: knowledge inherited across generations
An inherited method may depend on a definition, institutional structure or physical condition that no longer applies. Future readers can understand its historical success without assuming present applicability. A portable method package that includes original conditions and evidence helps distinguish reconstruction from modern reuse. Where the historical assumptions cannot be established today, record that limitation. This supports the portable civilisation research direction: knowledge should travel with the boundaries that made it meaningful, so later generations can inspect and adapt it rather than blindly repeat it.
19. Test the positive, negative and unknown cases
Prepare a fictional fixture for S1 containing a complete journey with matching intervals, a zero denominator, a missing time, a mismatched interval, incompatible units and a result explicitly conditional on an assumption. Declare expected behavior before testing. Check whether the receiver accepts the applicable case, rejects the invalid one for the method, and communicates uncertainty accurately in the unresolved cases. This is a proposed test design, not a report of an executed benchmark. Publish actual outcomes separately from the expectations.
20. A simple decision table
For the matching journey with distance 120 kilometres and elapsed time 2 hours, the proposed condition is satisfied if the fixture establishes the shared interval; expected output is 60 kilometres per hour. For time zero, the positive-time check fails. For a missing time, the check remains unresolved. For a total distance paired with moving time when total elapsed time is required, the interval condition fails. Each outcome implies a different response: calculate, reject the invalid operation, request information or correct the scope. Avoid conflating those responses into a single failure label.
21. Time-sensitive conditions must be rechecked
A witness for a stable mathematical identity may remain useful for later review, while a witness for an open service, a permission or a current policy may expire. Record the time and scope of evaluation, and connect the witness to a relevant freshness contract. If the input or required condition changes, the old witness may no longer support the new decision. Do not simply copy a previous pass into a new record. Retain the earlier result as historical evidence and establish the conditions for the current use separately.
22. Authority remains independent
A method may be mathematically applicable to a task without the executing agent having permission to retrieve the input or act on the result. An authorised request may also be technically impossible under the available conditions. Record authority separately from method applicability and verify both when they matter. A witness identifier should not grant access to confidential evidence or function as a permission token. If an authority condition is unresolved, follow the legitimate review process rather than attempting alternate routes that bypass it.
23. How to respond to a failed witness
Use a Semantic Problem Receipt to explain the specific missing or failed condition. If the problem can be repaired, identify the necessary evidence or correction. If it cannot be resolved, retain the limitation and route the case appropriately. A conditional calculation may be useful for a harmless exploratory question, provided its assumption is clear. It must not be promoted to a verified consequential decision. The exception queue is a place for unresolved work, not permission to ignore the conditions that prevented it from proceeding.
24. Four-week practical programme
Week 1: define a small method and separate its preconditions and postconditions. Week 2: construct synthetic examples and record evidence for each condition. Week 3: have independent receivers assess applicable, invalid and unresolved cases, including changed definitions and time boundaries. Week 4: compare observed judgments, inspect mistaken acceptances and rejections, and revise the method package. Document results and limitations rather than claiming that the fixture proves universal reliability.
25. Questions for every reader
What must be true before this method applies? Which conditions have actually been checked? What evidence supports them? Are any assumptions being made merely to explore an answer? Does the source cover the intended entity and interval? What does the method promise, and how can the output be evaluated? Does the person or system have authority to act? These questions turn the phrase suitable method into a set of examinable requirements. They are a valuable habit for students, researchers, organisations and AI-assisted work.
26. The next engineering step
Connect a precondition witness to each relevant method execution in the Meaning Transfer Protocol experiments. The capability receipt declares the conditions, the capsule supplies replayable material, and the witness establishes or qualifies the applicability of a particular use. Then record the output checks separately. A controlled composition experiment can test whether receivers preserve the distinction between established, assumed and unresolved conditions. The proposed framework remains open to falsification; a condition that cannot be recovered or reliably evaluated is a limitation to document and improve.
Technical references
Continue reading
- Semantic Reproducibility Capsule
- Semantic Capability Receipt
- Semantic Validation Profile
- Semantic Freshness Contract
Research status: Design by Contract is an established software-engineering approach. The Semantic Precondition Witness is a proposed eduKateSG vocabulary-engineering extension. Examples and test expectations are illustrative; no completed independent trial or universal proof of method applicability is claimed.
Continue the current series: Semantic Uncertainty Lineage · Semantic Resource Envelope
