Package com.logic.api

Interface INDProof


public interface INDProof
The INDProof interface represents a natural deduction (ND) proof.

This interface provides methods to access key properties of an ND proof, including:

  • Retrieving the conclusion of the proof.
  • Iterating over its premises.
  • Measuring the height (depth) of the proof tree.
  • Determining the total number of steps (size) in the proof.
  • Checking whether a given set of premises can derive a specific conclusion.

An implementation of this interface should ensure that the proof structure follows the rules of natural deduction and maintains logical validity.

Since:
04-07-2025