Back to search

Kansas State University

A higher-order unification implementation for automated theorem proving

Abstract

dc:description.abstract

Higher-Order Unification is the process for algorithmically establishing equality between typed lambda expressions. This methodology serves as a foundation for numerous automated theorem provers such as Isabelle, [lambda]Prolog and Carnap. However, Higher-Order Unification is inherently undecidable, with the most state-of-the-art solution being Gérard Huet's semi-decidable higher-order unification algorithm from 1975. This report is an implementation of Huet's Algorithm for higher-order unification. The methodology involves parsing lambda expressions and converting them into De Bruijn index notation to eliminate the need for α-conversion. A [beta]-reduction algorithm then reduces the lambda terms to beta-normal form. A matching tree for the two expressions is created to attempt to unify them through pattern matching and simplification. This implementation, written in the Zig programming language, uses its fast performance and memory optimization to create a performant abstract machine and to leverage the capability of Zig to compile into Webassembly.

Degree

thesis:*
Level thesis:degree_level
Masters
Department dc:contributor.department
Department of Computer Science
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Loura, Christopher Martin
Advisor dc:description.advisor
  • Torben Amtoft

Subjects

dc:subject × 4

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2097/45009

Chain of custody

source
Harvested from
Kansas State University
Base URL
krex.k-state.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Loura, Christopher Martin. A higher-order unification implementation for automated theorem proving. Masters thesis, 2025. https://hdl.handle.net/2097/45009