Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Syllogism  





2 History  





3 Proof  





4 See also  





5 References  





6 External links  














Equational logic







Add links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


First-order equational logic consists of quantifier-free terms of ordinary first-order logic, with equality as the only predicate symbol. The model theory of this logic was developed into universal algebrabyBirkhoff, Grätzer, and Cohn. It was later made into a branch of category theorybyLawvere ("algebraic theories").[1]

The terms of equational logic are built up from variables and constants using function symbols (or operations).

Syllogism

[edit]

Here are the four inference rules of logic. denotes textual substitution of expression for variable in expression . Next, denotes equality, for and of the same type, while , or equivalence, is defined only for and of type boolean. For and of type boolean, and have the same meaning.

Substitution If is a theorem, then so is .
Leibniz If is a theorem, then so is .
Transitivity If and are theorems, then so is .
Equanimity If and are theorems, then so is .

[2]

History

[edit]

Equational logic was developed over the years (beginning in the early 1980s) by researchers in the formal development of programs, who felt a need for an effective style of manipulation, of calculation. Involved were people like Roland Carl Backhouse, Edsger W. Dijkstra, Wim H.J. Feijen, David Gries, Carel S. Scholten, and Netty van Gasteren. Wim Feijen is responsible for important details of the proof format.

The axioms are similar to those used by Dijkstra and Scholten in their monograph Predicate calculus and program semantics (Springer Verlag, 1990), but our order of presentation is slightly different.

In their monograph, Dijkstra and Scholten use the three inference rules Leibniz, Substitution, and Transitivity. However, Dijkstra/Scholten system is not a logic, as logicians use the word. Some of their manipulations are based on the meanings of the terms involved, and not on clearly presented syntactical rules of manipulation. The first attempt at making a real logic out of it appeared in A Logical Approach to Discrete Math, however the inference rule Equanimity is missing there, and the definition of theorem is contorted to account for it. The introduction of Equanimity and its use in the proof format is due to Gries and Schneider. It is used, for example, in the proofs of soundness and completeness, and it appears in the second edition of A Logical Approach to Discrete Math.[2]

Proof

[edit]

We explain how the four inference rules are used in proofs, using the proof of [clarify]. The logic symbols and indicate "true" and "false," respectively, and indicates "not." The theorem numbers refer to theorems of A Logical Approach to Discrete Math.[2]

First, lines show a use of inference rule Leibniz:

is the conclusion of Leibniz, and its premise is given on line . In the same way, the equality on lines are substantiated using Leibniz.

The "hint" on line is supposed to give a premise of Leibniz, showing what substitution of equals for equals is being used. This premise is theorem with the substitution , i.e.

This shows how inference rule Substitution is used within hints.

From and , we conclude by inference rule Transitivity that . This shows how Transitivity is used.

Finally, note that line , , is a theorem, as indicated by the hint to its right. Hence, by inference rule Equanimity, we conclude that line is also a theorem. And is what we wanted to prove.[2]

See also

[edit]

References

[edit]
  1. ^ equational logic. (n.d.). The Free On-line Dictionary of Computing. Retrieved October 24, 2011, from Dictionary.com website: http://dictionary.reference.com/browse/equational+logic
  • ^ a b c d Gries, D. (2010). Introduction to equational logic . Retrieved from http://www.cs.cornell.edu/home/gries/Logic/Equational.html Archived 2019-09-23 at the Wayback Machine
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Equational_logic&oldid=1082844714"

    Category: 
    Mathematical logic
    Hidden categories: 
    Webarchive template wayback links
    All Wikipedia articles needing clarification
    Wikipedia articles needing clarification from November 2021
     



    This page was last edited on 15 April 2022, at 12:35 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki