“If a file is approved, it may be published” does not prove that the file was approved, and “if it had been approved, it would have been published” does not report that publication occurred. Both sentences contain the word if, yet they can express different relations among facts, rules, suppositions and imagined alternatives. A machine that treats every if as a completed event or assumes every counterfactual identifies an actual cause will corrupt documents, AI plans and institutional decisions. Conditional semantics studies how an antecedent and consequent interact and why ordinary-language conditionals are not exhausted by one simplistic programming truth table.
The proposed engineering method is identify the antecedent and consequent → distinguish indicative, hypothetical and counterfactual interpretations → preserve time, modal force, assumptions and exceptions → test actual and alternative cases → check which inference and action is licensed. Research on indicative and counterfactual conditionals, possible worlds, material implication and causal models supplies the conceptual background. This chapter uses original fictional examples, truth tables, translation checks, AI instructions and zoom-level tests. The formal accounts remain debated; the suggested conditional passport is a research design, not a universal interpreter or legal decision procedure.
- Antecedent: The condition after if is not automatically known to be true.
- Consequent: The result may depend on conditions and other rules.
- Material implication: One specific formal connective has its own truth table.
- Indicative: Often considers live, factual or future-relevant possibilities.
- Counterfactual: Examines a relevant alternative situation, not an observed event.
- Cause: Conditional wording alone does not establish an intervention effect.
- Negation: If not, not if and only if differ.
- Time: Preserve the reference period and effective source version.
- AI: Do not transform a hypothetical approval into a completed authorisation.
- Testing: Check true, false, unknown and counterfactual scenarios.
Four cases for classical material implication
| Antecedent A | Consequent B | Formal A → B | What it does not establish |
|---|---|---|---|
| True | True | True | That B was caused by A |
| True | False | False | A different practical permission rule |
| False | True | True | That A occurred |
| False | False | True | That the intended workflow was completed |
1. An if-sentence combines two different propositions
In “If the review is approved, the editor may publish the article”, the antecedent is the proposition that approval has occurred, and the consequent concerns permission to publish. The antecedent is a condition inside the sentence, not a standalone report that approval actually happened. Even a grammatically complete conditional can leave open who approves and whether other permissions are needed.
The Stanford Encyclopedia of Philosophy on Indicative Conditionals, updated in 2025, calls the two parts antecedent and consequent and explains why the semantics of natural-language if remains a debated topic. A practical system can still record them separately and avoid treating one as observed fact.
2. A conditional does not assert that its condition occurred
A research memo saying “If the sensor fails, the system will request inspection” describes a relationship between a possible failure and a resulting process. It does not establish that the sensor failed or that an inspection was actually requested. A fluent summary which turns the conditional into a completed incident report would add two unsupported events.
A proposed conditional ledger therefore preserves an assertion of a rule or supposition, any actual sensor evidence, and any resulting tool activity as distinct records. The software may be able to test what would follow given failure without fabricating a failure in the world. Hypothetical reasoning is not itself observation.
3. Material implication is a specific formal connective
In classical propositional logic, material implication A → B is false only when A is true and B is false. If A is false, the connective is true regardless of the value of B under that formal definition. This can surprise readers who expect a causal or explanatory relationship.
The SEP entry on The Logic of Conditionals surveys alternatives to simple truth-functional accounts. Material implication is an excellent tool for some formal systems, but not a proof that every everyday conditional is semantically equivalent to that truth table. The mapping must be stated and tested for the actual task.
4. False antecedents do not prove a natural promise was kept
Suppose a fictional help desk states, “If you submit the form, we will respond.” No form is submitted. The material implication between the formalised propositions is not falsified by that absence. But this does not mean the organisation has accomplished a response or demonstrated excellent service.
Vacuous truth is a property of the formal connective under its assigned truth values. A real commitment depends on the relevant conversational and institutional setting. Do not convert the logical result “not falsified” into the operational statement “reply sent” or the moral claim “the service performed well”.
5. Indicative conditionals often address live situations
“If the train arrives before noon, we can attend the workshop” can evaluate a live possibility, prediction or current information. At the time of speaking, the train’s arrival may be unknown. The sentence does not tell us whether attendance will occur; other circumstances may still intervene.
This is the sort of conditional commonly called indicative. Its semantics is debated among truth-conditional, suppositional and other approaches, as the SEP survey makes clear. A responsible language engine records the temporal setting and source of the assertion rather than forcing every future if-clause into one simplistic causal law.
6. Counterfactuals consider an alternative situation
“If the train had arrived before noon, we would have attended” invites consideration of a different situation from the relevant past. In ordinary use, it often conveys that the train did not arrive in time, but that pragmatic implication and the exact formal interpretation depend on context.
A system should distinguish the described alternative from observed history. The SEP entry on Counterfactuals reviews theories of their truth and their relationship to indicative conditionals. No general-purpose AI should report the hypothetical workshop attendance as an actual event merely because the sentence contains a vivid outcome.
7. Possible-world semantics is one family of theories
One influential style of counterfactual analysis considers relevant alternative worlds in which the antecedent holds, sometimes using a similarity or closeness ordering. This provides a formal way to ask what would follow if circumstances were different.
The word closest in such accounts refers to a theoretical comparison among possible situations, not a physical distance that an AI can measure from an embedding vector. Different semantic theories and context choices can yield different evaluations. A proposed engineering model should disclose which assumptions make the hypothetical comparison meaningful.
8. A counterfactual is not a camera pointed at another past
We cannot simultaneously observe the same exact historical situation both with and without a specified event. A counterfactual causal estimate uses models, design and evidence to reason about the unobserved alternative. It does not retrieve a hidden video of what actually occurred in another timeline.
A text generator should report that an alternative outcome is estimated or imagined under assumptions, not that it was witnessed. An impressive simulation can be valuable while remaining a model. The epistemic status of its result must survive paraphrase, translation and later archive use.
9. Conditional language and causation are not synonyms
“If the light is on, the electricity supply is working” can be a diagnostic heuristic. It does not automatically establish a causal experiment showing that switching on the light caused all electricity to work. A condition can express correlation, dependence, definition or policy rather than an intervention effect.
The SEP discussion of Causal Models addresses observational and intervention-based reasoning. For language engineering, store the type of relation rather than let a generic if become causes. An instruction derived from a conditional still requires valid conditions and independently authorised actions.
10. Necessary conditions differ from sufficient conditions
“You may enter only if you have a valid pass” makes a valid pass a necessary condition for entry under the stated rule. It does not by itself say that a valid pass is sufficient; additional checks may apply. Meanwhile “If you have a valid pass, you may enter” can present a sufficient permission condition in an applicable context.
A semantic parser must preserve the direction of implication and the deontic force of may. A common mistake is to swap if and only if, creating unintended permission or restriction. Test a person who has a pass but lacks another required authorisation before claiming automatic eligibility.
11. If and only if combines two directions
In mathematics, A if and only if B ordinarily expresses both A → B and B → A. A statement containing a one-way if does not usually license reversing the arrow. Even when A and B have a strong empirical association, the converse may fail.
A specification should label a biconditional explicitly and include counterexamples for each direction. If an organisation means exactly when approved, it must define approval and the effect precisely. A machine should not upgrade a one-way procedural rule to a biconditional merely because it sounds more elegant.
12. Affirming the consequent is not a valid inference
Suppose the rule says: if a fictional sensor detects smoke, an alarm sounds. Hearing an alarm does not prove the sensor detected smoke, because there may be other triggers. The reasoning “alarm sounded, therefore smoke was detected” is affirming the consequent.
A language model can make this error when asked to explain a result without seeing the underlying event source. Preserve alternate causes and the actual status. A correct formal rule may be insufficient to infer the antecedent from the consequent. This principle extends from sensors to approvals, health and administrative processes.
13. Denying the antecedent is also a common error
From “If the test is positive, follow-up is offered” and “The test was not positive”, it does not logically follow that no follow-up can ever be offered. Other reasons or rules may lead to follow-up. Denying the antecedent assumes an exclusivity the conditional did not assert.
An AI should avoid treating a missing trigger as a universal prohibition unless the governing source actually says only if or an equivalent necessary condition. That is a source and rule-scope question, not a matter of conversational confidence. Real clinical decisions require qualified professionals, not these toy examples.
14. Contraposition is formal but source-sensitive
For classical material implication, A → B is equivalent to NOT B → NOT A. That is a valid formal equivalence. But a natural-language conditional may be a defeasible rule, a promise, a relevance-sensitive remark or an instruction whose semantics differs from material implication.
Do not mechanically apply contraposition to every ordinary sentence and present the result as a legally valid regulation. First decide which formalisation is justified and whether the source’s conditions are exhaustive. A useful test contrasts a mathematical theorem with a context-sensitive workplace policy.
15. Exceptions can defeat everyday default rules
“If an applicant has a complete file, it is normally processed within the period” includes an adverb and institutional context that can allow exceptions. Removing normally turns a defeasible expectation into an unconditional guarantee.
A proposed conditional registry should include exceptions, source priority and any unresolved conditions. The SEP entry on Defeasible Reasoning explains approaches to such revisable inferences. Logical certainty and a pragmatic service expectation must not be presented as interchangeable.
16. Negation can govern the condition or its result
“If the form is not submitted, the account remains pending” differs from “It is not the case that, if the form is submitted, the account remains pending.” In the first, the condition is negated; in the second, the conditional as a whole is negated under a suitable formal parse.
The word not must be attached to the correct clause in a source-linked semantic representation. An AI that preserves the same tokens while changing their grouping can reverse eligibility or a status. Check both true and false conditions and the relevant temporal scope before acting.
17. Unknown antecedents require an information policy
An application may not know whether a document has been approved. That is different from recording a verified rejection. A two-valued Boolean implementation may require a conversion rule, but that rule must be explicit and appropriate to the task.
A safe workflow can represent pending evidence, accepted approval and denied approval separately. It should not treat unknown as automatically false or true across all domains. A material conditional cannot compensate for an inadequate evidence model. The status of observation and the semantics of inference are distinct.
18. Conditional permissions are not executable commands
“If the document is reviewed, the editor may publish it” is information about a possible permission or a local policy. It is not necessarily the user’s current instruction to publish. Even if review has occurred, a real system may require a separate authenticated release action.
Keep speech-act type, source authority, tool permissions and source document version independently. Retrieved website text stating a condition cannot grant an AI agent permission to operate a publisher’s account. Parsing a conditional correctly is only one layer in the actual authorisation process.
19. A conditional plan has stages rather than one completed outcome
An assistant may describe: if sources verify the claim, draft a correction; if the editor approves, publish it. That plan contains prospective branches. Before execution, neither draft nor publication can be reported as completed.
Track planned, requested, started, approved, attempted and confirmed external outcomes. A model that summarises the entire plan as completed changes event semantics as well as conditional meaning. The user should receive actual status and evidence, not a narration of what the model expects to do.
20. Time and counterfactual tense must be retained
“If the policy applies today, the request qualifies” differs from “If the old policy had applied last year, the request would have qualified.” The latter is an assessment of an alternative historical condition, not a statement that a present request is eligible.
Store the policy’s valid period, the utterance time and the relevant claim type. The previous Ztime article on bitemporal definitions explains why the effective time of a rule and the time a record was learned can differ. A fluent rewrite should not shift one period into another.
21. Conditional questions can ask for possible consequences
“If we change the source definition, which reports would become incomparable?” is a question about an imagined modification and its downstream effects. It does not command the team to change the definition.
A language assistant can answer with an impact analysis or a proposed test plan while keeping the live registry unchanged. Suppositional reasoning is an informational capability. Actual modifications require separate approval and correct source access. This distinction matters especially for AI agents with automation tools.
22. Conditionals can be embedded in quotations
A report might quote an earlier instruction: “If the alarm sounds, leave the room.” The quote does not mean a current reader should trigger an alarm or that the alarm has sounded. It reports historical wording.
Preserve quotation boundaries, speaker, date and purpose. An external source can contain imperative conditional language without becoming the current user’s privileged instruction. A tool-connected agent should treat the quotation as data until a legitimate task and authority actually require action.
23. Cross-language mood may not map word for word
Languages differ in whether and how they grammatically mark hypotheticality, counterfactuality and temporal remoteness. The SEP counterfactuals discussion notes that some languages communicate the difference largely through context and pragmatics rather than a distinctive English-style subjunctive form.
A translation test should compare the intended actual versus hypothetical status and the relevant consequences, not merely tense morphology. If the target language needs a context phrase to preserve the distinction, a longer explanation can be more faithful than literal word order.
24. A conditional claim can be accurate but unhelpful
A user asks whether a transfer actually happened. The assistant replies “If the transfer was authorised, it may have completed.” That conditional may be logically unobjectionable while failing to answer the user’s factual request.
The model should seek the relevant authoritative transaction status or state that it lacks verification. Answerhood is separate from constructing a true conditional. A useful assistant does not replace missing evidence with an elaborate hypothetical unless the user specifically asked for a scenario analysis.
25. Testing needs both formal and pragmatic cases
Create a toy set with actual approvals, denials and unknown decisions, plus counterfactual sentences about a different policy. Test whether the model distinguishes observed events, policy rules and alternative histories.
For formal material implication, verify the specified truth table. For natural-language cases, use reviewed interpretations and realistic exceptions; do not force every utterance into one formula. Measure invented antecedent events, incorrect converses and unsupported action permissions separately.
26. One robust AI handoff is a conditional passport
A proposed passport could include the exact source sentence, antecedent, consequent, conditional type, modal force, actual-world status of the antecedent, temporal anchor, operative authority, exceptions and a link to supporting evidence.
The passport is an engineering analogy, not an official semantics standard. It helps the next agent avoid upgrading “if approved” to “approved” or “would have” to “did”. An empty field should represent unknown information rather than an invented value. The original wording remains the audit anchor.
27. A four-week pilot can demonstrate improvement
In week one, collect fictional conditional instructions, forecasts, and historical counterfactuals. In week two, annotate antecedents, consequents, actual-event evidence, source rules and exceptions. In week three, test AI summarisation, translation and action proposals under those examples.
In week four, review false event claims and invalid logical inferences, then add accepted examples and counterexamples to regression testing. Report the measured scope of improvement and remaining unresolved interpretations. A narrow reliable implementation is more valuable than an untested claim of universal conditional understanding.
28. The long-term invariant is the distinction between worlds
A sentence can describe the actual world, a possible future, a conditionally authorised process or an imagined different past. Human language uses these modes productively to plan, explain and learn.
A portable semantic layer should preserve the claimed world, time, source and inferential strength while allowing different languages to express them naturally. It cannot make counterfactual outcomes observable or turn a hypothetical approval into permission. The essential achievement is keeping the boundary visible through AI reasoning and action.
Twelve zoom levels of conditionals
| Zoom level | Meaning distinction | Practical failure |
|---|---|---|
| Word | If versus only if | Wrong implication direction |
| Clause | Antecedent versus consequent | Condition asserted as fact |
| Logic | Material implication | Vacuity described as service success |
| Modality | May, must or would | Obligation fabricated |
| Time | Now versus alternative past | Historical outcome invented |
| Evidence | Verified versus unknown condition | Missing equals false |
| Speech act | Rule, promise or question | Quotation executed |
| AI agent | Plan versus actual tool result | False completion |
| Translation | Indicative and counterfactual force | Hypothetical becomes real |
| Institution | Authorised source and exceptions | Private rule gains authority |
| Archive | Old and current rule versions | Anachronistic conclusion |
| Civilisation | Portable hypothetical reasoning | One worldview forced on all languages |
Twelve-step conditional integrity audit
- Preserve source wording and the actual user question.
- Identify the antecedent and consequent separately.
- Distinguish material implication from everyday conditional readings.
- Classify indicative, hypothetical or counterfactual usage.
- Check when the antecedent is known, false or unknown.
- Keep necessary and sufficient conditions distinct.
- Record temporal reference and any source-rule version.
- Preserve permission, obligation, negation and exceptions.
- Avoid treating a hypothetical event as observed completion.
- Check counterfactual assumptions and alternative explanations.
- Verify independent tool permission before executing actions.
- Retest conditionals with formal and contextual counterexamples.
Frequently asked questions
Does an if-statement prove the condition happened?
No. The antecedent can be an unverified possibility, stipulation or supposition.
What is the antecedent?
The condition clause in a conditional, conventionally represented as A in if A, then B.
What is the consequent?
The clause describing what follows or is asserted under the antecedent in the chosen interpretation.
Does material implication describe every ordinary conditional?
No. It is a formal connective; philosophical accounts of natural-language if remain debated.
What is an indicative conditional?
A traditional class of conditionals often used for actual, live or future-relevant situations.
What is a counterfactual conditional?
A conditional that assesses a relevant alternative situation, often contrary to what occurred.
Does a counterfactual prove the alternative happened?
No. It is about a hypothetical alternative under an interpretation and assumptions.
Is if the same as only if?
No. Only if introduces a necessary condition, while if may express a sufficient condition in the relevant setting.
Can an alarm prove that its condition occurred?
Not merely from the one-way rule; the alarm may have other triggers.
What is affirming the consequent?
The invalid inference from if A then B and B to A, without additional premises.
Can a conditional grant AI permissions?
A text conditional is not an authenticated command or a live permission token.
What should a first experiment test?
Four truth assignments for material implication plus real, unknown and counterfactual source scenarios.
Continue the Language Engineering research series
- Quantifier scope, only if and exceptions
- Causal claims and counterfactual effects
- Defaults and defeasible rules
- Model-checking intent and temporal logic
- Inclusive versus exclusive logical choices
Primary logic, philosophy and provenance sources
- Stanford Encyclopedia of Philosophy: Indicative Conditionals (2025 revision)
- Stanford Encyclopedia of Philosophy: Counterfactuals
- Stanford Encyclopedia: The Logic of Conditionals
- Stanford Encyclopedia: Causal Models
- Stanford Encyclopedia: Defeasible Reasoning
- W3C: PROV-O provenance
Editorial scope (1 December 2026): Indicative and counterfactual conditionals have multiple competing semantic theories. The conditional passport, fictional scenarios, rules and tests here are engineering proposals, not an accepted universal natural-language logic or a legal decision procedure. Hypothetical events are not observed facts, and textual conditions are not technical tool authorisations.