A Handbook of Mathematical Discourse
if
(a) Introduces conditional assertion The many ways in which “if” is used in translating conditional assertions are discussed under conditional assertion.
(b) In definitions It is a convention that the word if used to introduce the definiens in a definition means “if and only if”.
Example 1 “An integer is even if it is divisible by 2.” Citation: (); (261). Some authors regularly use “if and only if” or “iff”. Citation: (126), (377). This is discussed (with varying recommendations) in [Gillman, 1987], page 14; [Higham, 1993], page 16; [Krantz, 1997], page 71; [Bagchi and Wells, 1998b].
Remark 1 It is worth pointing out (following [Bruyr, 1970]) that using “if and only if” does not rid the definition of its special status: there is still a convention in use. In the definition of “even” above, the left side (the definiendum) of the definition, “An integer is even”, does not attain the status of an assertion until the whole definition is read. In an ordinary statement of equivalence, for example “An integer is divisible by 2 if and only if it is divisible by $-2$”, both sides are assertions to begin with. In a definition there is a special convention in effect that allows one to use a syntax that treats the definiendum as an assertion even though before the definition takes place it is meaningless.
Because of this, insisting on “if and only if” instead of “if” in definitions is not really an example of esilism because “if and only if” is not used in definitions in first order logic. The usual formalisms for first order logic use other syntactic devices, precisely because of the phenomenon just described.
(c) In the precondition of a definition “If” can be used in the precondition of a definition to introduce the structures necessary to make the definition, in much the same way as let. See Example 5 under definition.
Citations: (318).
See also the discussion under let.
Pages 123–124 of the book (PDF).