Predicate Logic

A Simple Propositional Example

The proof consists of two main branches, corresponding to the two directions of the equivalence. The first branch has all the subcells open, while the second one has all the subcells closed (in HTML they are represented by nested links).

Prove

[Graphics:submitted.nbgr1.gif] [Graphics:submitted.nbgr2.gif]

with no assumptions.

We prove [Graphics:submitted.nbgr44.gif] by natural deduction.

Example With Quantifiers

Universally quantified formulae are used here in order to define the relation of congruence by bidirectional less-or-equal. Then, one proves that the this congruence is transitive by using the transitivity of the ordering relation.

Prove

[Graphics:submitted.nbgr45.gif] [Graphics:submitted.nbgr46.gif]

under the assumption(s)

[Graphics:submitted.nbgr47.gif] [Graphics:submitted.nbgr48.gif],

[Graphics:submitted.nbgr49.gif] [Graphics:submitted.nbgr50.gif].

We prove [Graphics:submitted.nbgr96.gif] by natural deduction.

Example from Analysis

This is a more involved example in which we prove that the sum of two positive functions has limit 0 if each of them has limit 0. This is the only proof which was not produced completely automatically, but the prover was directed (in active mode) by the user. Namely, some assumptions were removed during the proof in order to minimize the search space, also the main existential conclusion was proved by proving first the right instance of it (with N = [Graphics:submitted.nbgr97.gif]]),
which was supplied interactively by the user.

Prove

[Graphics:submitted.nbgr98.gif] [Graphics:submitted.nbgr99.gif]

under the assumption(s)

[Graphics:submitted.nbgr100.gif] [Graphics:submitted.nbgr101.gif],

[Graphics:submitted.nbgr102.gif] [Graphics:submitted.nbgr103.gif],

[Graphics:submitted.nbgr104.gif] [Graphics:submitted.nbgr105.gif],

[Graphics:submitted.nbgr106.gif] [Graphics:submitted.nbgr107.gif],

[Graphics:submitted.nbgr108.gif] [Graphics:submitted.nbgr109.gif],

[Graphics:submitted.nbgr110.gif] [Graphics:submitted.nbgr111.gif],

[Graphics:submitted.nbgr112.gif] [Graphics:submitted.nbgr113.gif].

We prove [Graphics:submitted.nbgr260.gif] by natural deduction.