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 ND=1\mathcal{ND}^1_=. We add the following rules: Bildschirm­foto 2023-01-31 um 11.22.54.png

Where C[A]pC[A]_p is the formula CC which has a subterm AA at the position pp. This basically means if A=BA=B we can replace all AAs in CC with BBs.

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

Bildschirm­foto 2023-01-31 um 11.26.37.png

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

Bildschirm­foto 2023-01-31 um 11.25.28.png