Supplementary ProofPower Examples 
The examples are supplied as PDF documents for you to read and as source tarballs so that you can experiment with them using ProofPower.
The FEF project has a page all to itself including instructions for downloading the FEF source.
The tarball containing the source for these case studies is available for download here. To replay the specifications and proofs, we recommend you use the latest version of the case study and of ProofPOwer. The case studies comprise the following documents:
This ProofPowerHOL document contains definitions and proofs concerning some of the basics of analysis. The material covered includes: polynomial functions on the real numbers, limits of sequences, continuity of functions of real variables, differentiation, limits of function values, uniform convergence of limits of functions, series and power series and their use in defining the exponential, logarithm and sine and cosine functions and Archimedes' constant, π other circular and hyperbolic trigonometric functions and a selection of their inverse functions; definition and basic properties of the HenstockKurzweil gauge integral including the fundamental theorem of the calculus; calculation of the areas of some simple plane sets; Buffon's needle problem.
This ProofPowerHOL document contains definitions and proofs concerning some basics of abstract topology, metric space theory and algebraic topology (more precisely, elementary homotopy theory). The material currently covers the standard basic facts about compactness, connectedness etc. together with enough metric space theory to get started on the topology of the real line and the plane and develop some homotopy theory as far as the theorems that say the fundamental groupoid satisfies the groupoid laws and that covering projections are fibrations.
This ProofPowerHOL document contains definitions and proofs concerning the elements of group theory. What is currently covered is what might be covered in the first chapter of a typical introductory text on the subject: in preparation for the introduction of quotient groups, we begin with a purely settheoretical study of equivalance relations and the quotient of a set with respect to an equivalence relation. This is followed by the definitions of the concepts of group, homomorphism between groups, subgroup, normal subgroup, kernel of a homomorphism, congruence modulo a subgroup, coset of a subgroup, and quotient group. Theorems proved included the three isomorphism theorems, the Cayley representation theorem and Lagrange's theorem. Several examples of groups are exhibited and used to show that the various abstract notions lead to the expected theorems: e.g., that the exponential function is an isomorphism between the additive group of real numbers and the multiplicative group of positive real numbers.
This ProofPowerHOL document contains definitions and proofs concerning elementary algebra in the complex numbers. This includes the definitions of the field operations, of complex conjugation and of the embeddings of the reals and naturals; the proof that the complex numbers are indeed a field; proofs that complex conjugation and the embeddings of the other number systems are homomorphisms; proof of de Moivre's theorem. We define polynomial functions and prove various theorems about them. We prove that the exponential mapping from the real line to the unit circle in the complex plane is a covering projection.
This document presents some definitions and theorems from elementary finite and infinite combinatorics. The definitions include a "fold" operator for finite sets and the operation that sums a realvalued function on a finite indexed set. The theorems include: more facts about finiteness and the size of finite sets; algebraic properties of indexed sums; induction over finitelysupported functions; the inclusion/exclusion principle; the binomial coefficients and their basic properties, including the formula for the number of combinations and the binomial theorem. The theory is applied to give proofs of Bertrand's ballot theorem and the twosquare theorem. The main theorems provided in infinite combinatorics are the infinite versions of the pigeonhole principle and of Ramsey's theorem.
This ProofPowerHOL document presents some definitions and theorems from number theory in ProofPowerHOL. The topics currently covered include: divisors and greatest common divisors; Euclid's algorithm; the infinitude of the primes; the fundamental theorem of arithmetic; divergence of the series of prime reciprocals; Wilson's theorem.
A construction of the Geometric Algebra.
This note is intended as the first of a series concerned with a style of system specification in which the claims that can be verified have the form ``system p satisfies specification s under normal circumstances'', i.e., the notion of partial correctness. It presents a generic definition of (partial) refinement and develops the notations needed to state and prove that the resulting refinement ordering forms a complete lattice. The relationship of refinement to relational inclusion is investigated.
This note is the second in a planned series concerned with specification via pre and postconditions in a partial correctness setting. It applies the general notion of specification and refinement given in the first note in the series to give a notion of correctness for a simple imperative programming language, where programs and program fragments may be equipped with FloydHoare style specification annotations. The note presents a simple formal model in ProofPowerZ of a refinement notation comprising a miniature, but complete, imperative programming language annotated with formal specifications; the semantics of that programming language and the notion of correctness relative to the specification annotations is defined. A semantic model of a verification condition generator (or precondition calculator) is given which can be proved to be sound with respect both to the programming language semantics and to the intensional semantics of the specification annotations.
This note is the third in a series concerned with specification via pre and postconditions. It sets up a generic framework for systems formed by wiring together primitive building blocks. Such systems will be modelled as relations using existentially quantified equations for the fixed points that correspond to feedback loops in the wiring diagram. The approach is based on the notion of traced monoidal categories. The categoryphobic reader should not despair as the discussion here is selfcontained, and the relatively simple ideas that fall under this fancy name do provide a very nice general algebraic way of thinking about diagrammatic models.
This document gives a model written in Z of each of the theories defined by the SMTLIB standard. It also covers some of the extensions defined in the SMTLIB logics including, in particular, all of the operations of the bit vector logic. The source document also includes a few proofs, e.g., to show that the ProofPowerZ definition of integer division agrees with the SMTLIB definition.
This note presents a statement and proof of the mutilated chessboard theorem in Z. The formulation is along the lines of the one proposed by McCarthy for a `heavy duty set theory'' theorem prover. The theorem and its proof are presented as a Z specification and a series of Z conjectures all of which have been mechanically verified using the ProofPower system. For the entertainment of the theoremproving community, we conclude by proposing a rather harder challenge problem.

