Skip to main content
QUICK REVIEW

[Paper Review] CoInduction in Coq

Yves Bertot|arXiv (Cornell University)|Mar 29, 2006
Logic, programming, and type systemsComputer Science19 references12 citations
TL;DR

This paper presents coinductive reasoning in the Coq proof assistant, demonstrating its application to formalizing arithmetic properties of real numbers using simple representations. It establishes a foundation for verifying infinite or non-well-founded structures through coinductive types and coinductive proofs, with key contributions in type-level coinduction and verified real arithmetic.

ABSTRACT

We describe the basic notions of co-induction as they are available in the coq system. As an application, we describe arithmetic properties for simple representations of real numbers.

Motivation & Objective

  • To formalize coinductive reasoning within the Coq proof assistant.
  • To apply coinductive techniques to represent and reason about real numbers using simple, infinite data structures.
  • To establish a sound and usable framework for proving properties of coinductively defined objects in Coq.
  • To demonstrate the practical utility of coinduction in verifying arithmetic properties of real numbers.

Proposed method

  • Leveraging Coq's support for coinductive types to define infinite data structures such as streams representing real numbers.
  • Using coinductive proofs to establish equality and properties of coinductively defined objects via bisimulation.
  • Encoding real number representations as coinductive streams of digits or approximations.
  • Applying coinductive hypothesis rules to prove properties that would be difficult or impossible with standard inductive reasoning.
  • Ensuring type safety and consistency through Coq's type system and coinductive fixpoint mechanisms.

Experimental results

Research questions

  • RQ1How can coinductive reasoning be effectively integrated into the Coq proof assistant?
  • RQ2What are the foundational principles and practical applications of coinduction in formal verification?
  • RQ3Can coinductive methods be used to formally verify arithmetic properties of real numbers?
  • RQ4How does coinductive reasoning compare to inductive reasoning in expressing and proving properties of infinite structures?

Key findings

  • Coq natively supports coinductive types and coinductive proofs, enabling formal reasoning about infinite objects.
  • Coinductive bisimulation can be used to prove equality of infinite streams representing real numbers.
  • Arithmetic operations on real numbers can be formally verified using coinductive definitions and proofs.
  • The framework allows for the specification and verification of properties of real numbers using simple, finite representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.