Meanings
plural if–thens
- alternativeAlternative form of if-then.
Most people, when they start programming their robot, will think of the program flow as a series of if–thens, which is reminiscent of structured programming (Figure 6–3).
2002, Brian Bagnall, Core Lego Mindstorms Programming, Prentice Hall, →ISBN, page 2012 more examples
This rule says that if in a derivation you have an infinite list of if–thens (i.e., formulas of the form φ → ψ) where each consequent (ψ) in each if–then is an element of some infinite set Φ, then you can infer to an if–then whose consequent is the infinite conjunction obtained by conjoining all the elements of Φ.
2008, Selmer Bringsjord, “Declarative/Logic-Based Cognitive Modeling”, in Ron Sun, editor, The Cambridge Handbook of Computational Psychology, Cambridge University Press, →ISBN, part II (Cognitive Modeling Paradigms), page 148Tests can be implemented by atomic actions that simply succeed or fail; if–thens can be implemented by composites like Selectors that execute the first nonfailing action, and blocks of code can be implemented by Sequences that execute all their nonfailing actions or Parallel nodes, which allow multiple actions to be executed concurrently (Champandard and Dunstan 2012).
2020, Steve Rabin, editor, Game AI Pro 360: Guide to Architecture, CRC Press, →ISBN, page 312
Cite this entry
if–then. (n.d.). In WatkinsX Dictionary. Retrieved November 5, 2026, from https://dictionary.watkinsx.com/word/if%E2%80%93then
“if–then.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/if%E2%80%93then. Accessed November 5, 2026.
WatkinsX Dictionary, s.v. “if–then,” accessed November 5, 2026, https://dictionary.watkinsx.com/word/if%E2%80%93then.
Source: if–then on Wiktionary, CC BY-SA 4.0.