OpenMath Content Dictionary: logic3

Canonical URL:
http://www.openmath.org/cd/logic3.ocd
CD File:
logic3.ocd
CD as XML Encoded OpenMath:
logic3.omcd
Defines:
Generalisation, Hypothesis, ModusPonens, axiom_instance, complete_pred_deduction, complete_pred_theorem, complete_prop_deduction, complete_prop_theorem, is_deduction, is_theorem, pred_deduction, pred_theorem, proof, prop_deduction, prop_theorem
Date:
2001-07-31
Version:
0 (Revision 2)
Review Date:
2017-12-31
Status:
experimental


     This document is distributed in the hope that it will be useful, 
     but WITHOUT ANY WARRANTY; without even the implied warranty of 
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

     The copyright holder grants you permission to redistribute this 
     document freely as a verbatim copy. Furthermore, the copyright
     holder permits you to develop any derived work from this document
     provided that the following conditions are met.
       a) The derived work acknowledges the fact that it is derived from
          this document, and maintains a prominent reference in the 
          work to the original source.
       b) The fact that the derived work is not the original OpenMath 
          document is stated prominently in the derived work.  Moreover if
          both this document and the derived work are Content Dictionaries
          then the derived work must include a different CDName element,
          chosen so that it cannot be confused with any works adopted by
          the OpenMath Society.  In particular, if there is a Content 
          Dictionary Group whose name is, for example, `math' containing
          Content Dictionaries named `math1', `math2' etc., then you should 
          not name a derived Content Dictionary `mathN' where N is an integer.
          However you are free to name it `private_mathN' or some such.  This
          is because the names `mathN' may be used by the OpenMath Society
          for future extensions.
       c) The derived work is distributed under terms that allow the
          compilation of derived works, but keep paragraphs a) and b)
          intact.  The simplest way to do this is to distribute the derived
          work under the OpenMath license, but this is not a requirement.
     If you have questions about this license please contact the OpenMath
     society at http://www.openmath.org.
  Author: James Davenport and Bill Naylor

This CD holds the symbols for constructing formal proofs in the (classical) propositional and predicate calculus (first-order).


prop_theorem

Description:

This symbol is used to claim that a statement is a theorem of the classical propositional calculus, i.e. that it follows by applications of Modus Ponens from instantiations of the axioms (which may be the common three involving 'implies', but need not be).

Example:
prop_theorem ( A A )
Signatures:
sts


[Next: pred_theorem] [Last: is_deduction] [Top]

pred_theorem

Description:

This symbol is used to claim that a statement is a theorem of the classical first-order predicate calculus, i.e. that it follows by applications of Modus Ponens, and generalisation from instantiations of the Axioms (which may be the common three involving 'implies', together with forall-instantiation and moving forall inside implication, but need not be).

Example:
pred_theorem ( x . P ( x ) P ( x ) )
Signatures:
sts


[Next: is_theorem] [Previous: prop_theorem] [Top]

is_theorem

Description:

This symbol expresses whether or not there is a theorem of the form quoted. Hence for items of type complete_prop_theorem, it is always true

Signatures:
sts


[Next: axiom_instance] [Previous: pred_theorem] [Top]

axiom_instance

Description:

This symbol represents a line in a formal proof which is an instance of an axiom. The first child is the line in the proof: the second is the axiom used.

Example:
axiom_instance ( a a a a a , a b a )
Example:
axiom_instance ( a a a a a a a a a , a b c a b a c )
Note how the issue of substitution is dealt with in the specification
of axiom 4 of the predicate calculus. Essentially, it has to be
assumed that beta-reduction takes place when the axiom is instantiated.
Example:
axiom_instance ( x . x = 0 x x = 0 x + 1 = 0 ( x + 1 ) ( x + 1 ) = 0 , x . S λ x . S )
Signatures:
sts


[Next: ModusPonens] [Previous: is_theorem] [Top]

ModusPonens

Description:

This symbol represents the generation of a line of a proof by application of Modus Ponens. The first argument is the new well-formed formula (B), the second is the line number in the proof for A and the third is the line number in the proof for A implies B.

Example:
ModusPonens ( a a , 4 , 2 )
Signatures:
sts


[Next: Generalisation] [Previous: axiom_instance] [Top]

Generalisation

Description:

This symbol represents the generation of a line of a proof by application of Generalisation. The first argument is the new well-formed formula (forall x.B) and the second is the line number in the proof for B.

Example:
Generalisation ( x . P ( x ) P ( x ) , 5 )
Signatures:
sts


[Next: Hypothesis] [Previous: ModusPonens] [Top]

Hypothesis

Description:

This symbol represents that a wellformed formula is a hypothesis of a deduction of the propositional or predicate calculus.

Example:
Hypothesis ( a a )
Signatures:
sts


[Next: proof] [Previous: Generalisation] [Top]

proof

Description:

This symbol represents a sequence of justified well-formed formulae (i.e. objects of type ProofLine). The single argument is a List of ProofLine objects.

Example:
proof ( axiom_instance ( a a a a a a a a a , a b c a b a c ) axiom_instance ( a a a a , a b a ) ModusPonens ( a a a a a , 2 , 1 ) axiom_instance ( a a a , a b a ) ModusPonens ( a a , 4 , 3 ) )
Signatures:
sts


[Next: complete_prop_theorem] [Previous: Hypothesis] [Top]

complete_prop_theorem

Description:

This symbol is used to state, with proof (the second child), that a statement (the first child) is a theorem of the classical propositional calculus, i.e. that it follows by applications of Modus Ponens from instantiations of the axioms (which may be the common three involving 'implies', but need not be).

Example:
complete_prop_theorem ( A A , proof ( axiom_instance ( a a a a a a a a a , a b c a b a c ) axiom_instance ( a a a a , a b a ) ModusPonens ( a a a a a , 2 , 1 ) axiom_instance ( a a a , a b a ) ModusPonens ( a a , 4 , 3 ) ) )
Signatures:
sts


[Next: complete_pred_theorem] [Previous: proof] [Top]

complete_pred_theorem

Description:

This symbol is used to state, with justification, that a statement is a theorem of the classical first-order predicate calculus, i.e. that it follows by applications of Modus Ponens, and generalisation from instantiations of the Axioms (which may be the common three involving 'implies', together with forall-instantiation and moving forall inside implication, but need not be), and the hypotheses (elements of the set which is the second child).

Example:
complete_pred_theorem ( x . P ( x ) P ( x ) , proof ( axiom_instance ( P ( x ) P ( x ) P ( x ) P ( x ) P ( x ) P ( x ) P ( x ) P ( x ) P ( x ) , a b c a b a c ) axiom_instance ( P ( x ) P ( x ) P ( x ) P ( x ) , a b a ) ModusPonens ( P ( x ) P ( x ) P ( x ) P ( x ) P ( x ) , 2 , 1 ) axiom_instance ( P ( x ) P ( x ) P ( x ) , a b a ) ModusPonens ( P ( x ) P ( x ) , 4 , 3 ) ) , Generalisation ( x . P ( x ) P ( x ) , 5 ) )
Signatures:
sts


[Next: prop_deduction] [Previous: complete_prop_theorem] [Top]

prop_deduction

Description:

This symbol is used to claim that a statement (the first child) is a deduction of the classical propositional calculus, i.e. that it follows by applications of Modus Ponens from instantiations of the axioms (which may be the common three involving 'implies', but need not be), and the hypotheses (elements of the set which is the second child).

Formal Mathematical property (FMP):
prop_theorem ( T ) = prop_deduction ( T , )
Example:
prop_deduction ( A , { A } )
Signatures:
sts


[Next: complete_prop_deduction] [Previous: complete_pred_theorem] [Top]

complete_prop_deduction

Description:

This symbol is used to claim, with proof (the third child), that a statement (the first child) is a deduction of the classical propositional calculus, i.e. that it follows by applications of Modus Ponens from instantiations of the axioms (which may be the common three involving 'implies', but need not be), and the hypotheses (elements of the set which is the second child).

Example:
complete_prop_deduction ( a , { a } , proof ( ( Hypothesis ( a ) ) ) )
Signatures:
sts


[Next: pred_deduction] [Previous: prop_deduction] [Top]

pred_deduction

Description:

This symbol is used to claim that a statement (the first child) is a deduction of the classical predicate calculus, i.e. that it follows by applications of Modus Ponens, forall-introduction and exists-elimination, from instantiations of the axioms (which may be the common three involving applications of Modus Ponens, and generalisation from instantiations of the Axioms (which may be the common three involving 'implies', together with forall-instantiation and moving forall inside implication, but need not be), and the hypotheses (elements of the set which is the second child).

Formal Mathematical property (FMP):
pred_theorem ( T ) = pred_deduction ( T , )
Example:
pred_deduction ( P ( x ) , { P ( x ) } )
Signatures:
sts


[Next: complete_pred_deduction] [Previous: complete_prop_deduction] [Top]

complete_pred_deduction

Description:

This symbol is used to claim, with proof (the third child), that a statement (the first child) is a deduction of the classical predicate calculus, i.e. that it follows by applications of Modus Ponens, forall-introduction and exists-elimination, from instantiations of the axioms (which may be the common three involving applications of Modus Ponens, and generalisation from instantiations of the Axioms (which may be the common three involving 'implies', together with forall-instantiation and moving forall inside implication, but need not be), and the hypotheses (elements of the set which is the second child).

Signatures:
sts


[Next: is_deduction] [Previous: pred_deduction] [Top]

is_deduction

Description:

This symbol expresses whether or not there is a deduction of the form quoted. Hence for items of type complete_pred_deduction, it is always true

The Deduction Theorem (of propositional calculus).
Example:
is_deduction ( prop_deduction ( P , { H } ) ) is_theorem ( prop_theorem ( H P ) )
Signatures:
sts


[First: prop_theorem] [Previous: complete_pred_deduction] [Top]