First-Order Natural Deduction with Equality

An extension of the First-Order Natural Deduction Calculus to support the equality predicate of the First-Order Predicate Logic with Equality, called . We add the following rules:

Where is the formula which has a subterm at the position . This basically means if we can replace all s in with s.

You can think of the postition as a position in a tree of , which might look like this schematically:

In lots of ways equivalence behaves like equality in a logical way. Thats why we add the following additional rules for equivalence: