INFERENCE IN FIRST ORDER LOGIC. S UBST () S UBST () is a method of substituting particular instances for variables (or vice versa). The syntax is as follows: