• Home
  • Search
  • A reflection-based proof tactic for lattices in Coq
  • Cite Icon3
  • https://doi.org/10.2307/j.ctv36xvmkd.10Copy DOI Icon

A reflection-based proof tactic for lattices in Coq

  • May 10, 2014
  • Daniel W H James +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Coq is a proof assistant featuring a tactic-based interactive theorem prover. The latest incarnation comes with over 150 tactics that assist the user in developing a formal proof. These tactics range from the simple and mundane to the ‘allpowerful’. Some examples from the latter category are the omega tactic that solves a goal in Presburger arithmetic and the ring and field tactics that solve identities modulo associativity and commutativity in ring and field structures. This paper presents a new proof tactic that decides equalities and inequalities between terms over lattices. It uses a decision procedure that is a variation on Whitman’s algorithm and is implemented using a technique known as proof by reflection. We will paint the essence of the approach in broad strokes and discuss the use of certified functional programs to aid the automation of formal reasoning. This paper makes three contributions. Firstly it serves an an introduction to using proof by reflection approach Coq. This utilizes the Ltac language and two recent extensions to the Coq system: type classes and the PROGRAM extension. Secondly it gives a certified implementation of Whitman’s algorithm in Coq, with proofs of correctness and termination. Thirdly, the final product of this work is a useable proof tactic that can be applied to proof goals involving equalities and inequalities in lattice theory. The rest of the paper is organized as follows: Section 2 will give a short introduction to Coq, highlighting the concept of a proof term, and will refresh the necessary details of lattice theory. We will give a motivation for the problem in Section 3, and a Coq-based introduction to free lattices along with the decision

Similar Papers
  • Book Chapter
  • Citations369

Super-Exponential Complexity of Presburger Arithmetic

  • Jan 01, 1998
  • Michael J Fischer +1
  • Conference Article
  • Citations218

Almost all primes can be quickly certified

  • Jan 01, 1986
  • S Goldwasser +1
  • Research Article
  • Citations28

New uses of linear arithmetic in automated theorem proving by induction

  • Mar 01, 1996
  • Journal of Automated Reasoning
  • Deepak Kapur +1
  • Conference Article
  • Citations39

Elementary bounds for presburger arithmetic

  • Jan 01, 1973
  • Derek C Oppen
  • Book Chapter
  • Citations314

What’s Decidable About Arrays?

  • Jan 01, 2005
  • Aaron R Bradley +2
  • Book Chapter
  • Citations8

Variant-Based Decidable Satisfiability in Initial Algebras with Predicates

  • Jan 01, 2018
  • RiuNet (Politechnical University of Valencia)
  • Raúl Gutiérrez +1
  • Book Chapter
  • Citations46

Certification of Automated Termination Proofs

  • Jan 01, 2007
  • Evelyne Contejean +4
  • Research Article
  • Citations4

Decidability for Entailments of Symbolic Heaps with Arrays

  • May 11, 2021
  • Logical Methods in Computer Science
  • Daisuke Kimura +1
  • Book Chapter
  • Citations17

Decision Procedure for Separation Logic with Inductive Definitions and Presburger Arithmetic

  • Jan 01, 2016
  • Makoto Tatsuta +2
  • Conference Article
  • Citations9

The CARE toolset for developing verified programs from formal specifications

  • May 22, 1996
  • D Hemer +1
  • PDF
  • Research Article
  • Citations3

The Tinker tool for graphical tactic development

  • Mar 17, 2017
  • International Journal on Software Tools for Technology Transfer
  • Gudmund Grov +1
  • Conference Article
  • Citations6

CUDA au Coq: A Framework for Machine-validating GPU Assembly Programs

  • Mar 01, 2019
  • Benjamin Ferrell +2
  • Research Article
  • Citations36

First-order unification by structural recursion

  • Oct 29, 2003
  • Journal of Functional Programming
  • Conor Mcbride
  • Research Article
  • Citations5

Leader election and computation of a spanning tree in dynamic distributed networks using local computations and mobile agents

  • Jan 01, 2017
  • International Journal of Space-Based and Situated Computing
  • Mouna Ktari +2
  • PDF
  • Book Chapter
  • Citations22

Coalgebra Learning via Duality

  • Jan 01, 2019
  • Simone Barlocco +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.