Equational logic

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 algebra by Birkhoff, Grätzer, and Cohn. It was later made into a branch of category theory by Lawvere ("algebraic theories").[1]

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

Syllogism

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

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

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

References

  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
  2. ^ 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

Read other articles:

Russian anarcho-communist (1886–1937) Peter ArshinovПётр АршиновPeter Arshinov (1926)Born1887 (1887)Nizhny Lomov, Penza, Russian EmpireDiedc. 1937(1937-00-00) (aged 49–50)Soviet UnionCause of deathExecution by firing squadNationalityRussianOther namesPeter MarinOccupation(s)Metalworker, editor, historianYears active1905-1934Known forPlatformismNotable work History of the Makhnovist Movement Organisational Platform of the General Union of Anarchists Po…

Questa voce sull'argomento calciatori svizzeri è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Paul Fässler Nazionalità  Svizzera Calcio Ruolo Difensore Carriera Squadre di club1 1920-1933 Young Boys? (?)1933-1934 Bienne? (?)1934-1935 Young Boys? (?)1935-1936 Bienne? (?) Nazionale 1922-1930 Svizzera33 (0) Palmarès  Olimpiadi Argento Parigi 1924 1 I due numeri indicano le pr…

Long-distance intellectual community The Republic of Letters (Res Publica Litterarum or Res Publica Literaria) was the long-distance intellectual community in the late 17th and 18th centuries in Europe and the Americas. It fostered communication among the intellectuals of the Age of Enlightenment, or philosophes as they were called in France. The Republic of Letters emerged in the 17th century as a self-proclaimed community of scholars and literary figures that stretched across national boundari…

This is a partial list of Egyptologists. An Egyptologist is any archaeologist, historian, linguist, or art historian who specializes in Egyptology, the scientific study of Ancient Egypt and its antiquities. Demotists are Egyptologists who specialize in the study of the Demotic language and field of Demotic Studies. Although a practitioner of the disciplined study of Ancient Egypt and Egyptian antiquities is an Egyptologist, the field of Egyptology is not exclusive to such practitioners. Contents…

Kidung Agung 8Ilustrasi dari ayat pertama Kidung Agung, seorang pemusik memainkan musik di hadapan raja Salomo (Rothschild Mahzor, abad ke-15 M).KitabKitab Kidung AgungKategoriKetuvimBagian Alkitab KristenPerjanjian LamaUrutan dalamKitab Kristen22← pasal 7 Yesaya 1 → Kidung Agung 8 (disingkat Kid 8) adalah bagian terakhir dari Kitab Kidung Agung dalam Alkitab Ibrani dan Perjanjian Lama di Alkitab Kristen.[1][2] Digubah oleh raja Salomo, putra raja Daud.[3] Tek…

Субъект Российской ФедерацииВологодская областьВологодчина Флаг Герб 60°05′00″ с. ш. 40°27′00″ в. д.HGЯO Страна  Россия Входит в Северо-Западный федеральный округ Северный экономический район Адм. центр Вологда Губернатор Георгий Филимонов (врио) Председатель за…

1936 Seattle Post-Intelligencer strikeReporters Everhardt Armstrong and Richard Seller, and photographer Frank Lynch, key strikers, 1936.DateAugust 19 – November 29, 1936LocationSeattle, WashingtonParties Newspaper Guild Seattle Post-Intelligencer Lead figures Everhardt Armstrong, Richard Seller, Frank Lynch William Randolph Hearst (Newspaper's owner) vteService strikesin the United States 1800s–1920s Newsboys 1899 NYC waiters 1912 Actors 1919 Boston police 1919 1930s–1970s New York Hotel …

Fijian academic and politician Tupeni BabaBaba in 2022Deputy Prime Minister of FijiIn officeMay 1999 – 19 May 2000Serving with Kuini SpeedPrime MinisterMahendra ChaudhryIn officeMarch 2001[1] – 2001Prime MinisterLaisenia QarasePreceded byEpeli NailatikauSucceeded byEpeli NailatikauMinister for Foreign AffairsIn office1999 – 19 May 2000Preceded byBerenado VuniboboSucceeded byKaliopate TavolaMinister for Education, Youth, and SportIn officeApril 198…

PTC Logo Wikimedia Commons has media related to The Practical Theatre Company. The Practical Theatre Company is a Chicago-based theatre company founded by Northwestern University students and active throughout the 1980s before returning to the stage in 2010. Its productions have included new plays, satiric agitprop, rock and roll events, and a series of successful improvisational comedy revues. The PTC, whose motto is Art is Good, is notable for the fact that the entire cast of its 1982 improvis…

Twenty-fourth season of the Pokémon animated television series Season of television series Pokémon Master Journeys: The SeriesSeason 24Pokémon Master Journeys: The Series posterNo. of episodes42ReleaseOriginal networkTV TokyoOriginal releaseDecember 11, 2020 (2020-12-11) –December 10, 2021 (2021-12-10)Season chronology← PreviousJourneys Next →Ultimate Journeys List of episodes Pokémon Master Journeys: The Series is the twenty-fourth season of the Pokémon anima…

周處除三害The Pig, The Snake and The Pigeon正式版海報基本资料导演黃精甫监制李烈黃江豐動作指導洪昰顥编剧黃精甫主演阮經天袁富華陳以文王淨李李仁謝瓊煖配乐盧律銘林孝親林思妤保卜摄影王金城剪辑黃精甫林雍益制片商一種態度電影股份有限公司片长134分鐘产地 臺灣语言國語粵語台語上映及发行上映日期 2023年10月6日 (2023-10-06)(台灣) 2023年11月2日 (2023-11-02)(香港、…

此條目可能包含不适用或被曲解的引用资料,部分内容的准确性无法被证實。 (2023年1月5日)请协助校核其中的错误以改善这篇条目。详情请参见条目的讨论页。 各国相关 主題列表 索引 国内生产总值 石油储量 国防预算 武装部队(军事) 官方语言 人口統計 人口密度 生育率 出生率 死亡率 自杀率 谋杀率 失业率 储蓄率 识字率 出口额 进口额 煤产量 发电量 监禁率 死刑 国债 外…

Questa voce sull'argomento centri abitati del Mississippi è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Vicksburgcity(EN) Vicksburg, Mississippi Vicksburg – Veduta LocalizzazioneStato Stati Uniti Stato federato Mississippi ConteaWarren AmministrazioneSindacoPaul E. Winfield TerritorioCoordinate32°21′09″N 90°52′39″W / 32.3525°N 90.8775°W32.3525; -90.8775 (Vicksburg)Coordinate: 32°21′09″N 90°52′39″Wþ…

Handley Page Victor adalah jet pesawat pembom British yang diproduksi oleh Handley Page Aircraft Company selama Perang Dingin . Handley Page Victor ini adalah ketiga dan terakhir dari V-pembom penangkal nuklir Inggris. Dua lainnya V-pembom adalah Vulcan Avro dan Valiant Vickers . Beberapa pesawat yang dimodifikasi untuk peran pengintaian strategis menggunakan kamera dan radar . Setelah Angkatan Laut Kerajaan berasumsi misi pencegahan nuklir menggunakan kapal selam rudal Polaris tahun 1969 banyak…

Chronologies Données clés 1919 1920 1921  1922  1923 1924 1925Décennies :1890 1900 1910  1920  1930 1940 1950Siècles :XVIIIe XIXe  XXe  XXIe XXIIeMillénaires :-Ier Ier  IIe  IIIe Chronologies géographiques Afrique Afrique du Sud, Algérie, Angola, Bénin, Botswana, Burkina Faso, Burundi, Cameroun, Cap-Vert, République centrafricaine, Comores, République du Congo, République démocratique du Congo, Côte d'Ivoire, Djibouti, Égypte, …

American actress and singer This article's tone or style may not reflect the encyclopedic tone used on Wikipedia. See Wikipedia's guide to writing better articles for suggestions. (November 2012) (Learn how and when to remove this message) Ashley FinkFink at the 2012 Tribeca Film Festival premiere of Struck by LightningBornAshley Rae Fink (1986-11-20) November 20, 1986 (age 37)Houston, Texas, U.S.OccupationsActresssingerYears active1990–present Ashley Rae Fink[1] (born Novemb…

Dano-Norwegian naval officer For the warship class, see Iver Huitfeldt class frigate. Iver Huitfeldt, 1665-1710. Iver Huitfeldt (5 December 1665 – 4 October 1710) was a Danish-Norwegian naval officer who was killed in action, when he commanded the ship Dannebroge during the Great Northern War 1700–1721. Biography Iver Huitfeldt was born in the Norwegian town of Halden. He lost his mother at the age of six and his father died six years later. Both his parents died in his childhood years and h…

Mammalian protein found in Homo sapiens Mevalonate KinaseCrystallographic structure of mevalonate kinase from Staphylococcus aureus.[1]IdentifiersEC no.2.7.1.36CAS no.9026-52-2 DatabasesIntEnzIntEnz viewBRENDABRENDA entryExPASyNiceZyme viewKEGGKEGG entryMetaCycmetabolic pathwayPRIAMprofilePDB structuresRCSB PDB PDBe PDBsumGene OntologyAmiGO / QuickGOSearchPMCarticlesPubMedarticlesNCBIproteins MVKAvailable structuresPDBOrtholog search: PDBe RCSB List of PDB id codes2R3VIdentifiersAliasesM…

Franklin HoganLahir(1843-01-07)7 Januari 1843York, PennsylvaniaMeninggal5 April 1932(1932-04-05) (umur 89)Hutchinson, KansasTempat pemakamanHutchinson Eastside Cemetery, Hutchinson, KansasPengabdianAmerika SerikatDinas/cabangAngkatan Darat Amerika SerikatUnion ArmyLama dinas1861 - 1864-->PangkatPrivatKesatuan Company A, 45th Pennsylvania Volunteer Infantry RegimentPerang/pertempuranPerang Saudara AmerikaPenghargaanMedal of Honor Franklin Hogan (26 November 1842 – 29 …

Ideographic writing system For the computer language, see BLISS. BlissymbolsScript type Ideographic Time period1949 to the presentDirectionVariesLanguagesBlissymbolsISO 15924ISO 15924Blis (550), ​Blissymbols Blissymbols (world language)Created byCharles K. BlissDate1949Setting and usageAugmentative and Alternative CommunicationPurposeConstructed language International auxiliary languagePasigraphyBlissymbolsSourcesIdeographic written languageOfficial statusRegulated byBlissy…