Skip to Main content Skip to Navigation
Conference papers

Verification of redecoration for infinite triangular matrices using coinduction

Abstract : Finite triangular matrices with a dedicated type for the diagonal elements can be profitably represented by a nested data type, i. e., a heterogeneous family of inductive data types, while infinite triangular matrices form an example of a nested coinductive type, which is a heterogeneous family of coinductive data types.

Redecoration for infinite triangular matrices is taken up from previous work involving the first author, and it is shown that redecoration forms a comonad with respect to bisimilarity.

The main result, however, is a validation of the original algorithm against a model based on infinite streams of infinite streams. The two formulations are even provably equivalent, and the second is identified as a special instance of the generic cobind operation resulting from the well-known comultiplication operation on streams that creates the stream of successive tails of a given stream. Thus, perhaps surprisingly, the verification of redecoration is easier for infinite triangular matrices than for their finite counterpart.

All the results have been obtained and are fully formalized in the current version of the Coq theorem proving environment where these coinductive datatypes are fully supported since the version 8.1, released in 2007. Nonetheless, instead of displaying the Coq development, we have chosen to write the paper in standard mathematical and type-theoretic language. Thus, it should be accessible without any specific knowledge about Coq.

Complete list of metadata

Cited literature [13 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01143261
Contributor : Open Archive Toulouse Archive Ouverte (oatao) <>
Submitted on : Friday, April 17, 2015 - 10:50:00 AM
Last modification on : Thursday, March 18, 2021 - 2:34:28 PM
Long-term archiving on: : Monday, September 14, 2015 - 10:10:13 AM

File

Matthes_12343.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01143261, version 1
  • OATAO : 12343

Citation

Ralph Matthes, Célia Picard. Verification of redecoration for infinite triangular matrices using coinduction. International Workshop on Types and Proofs for Programs - TYPES 2011, Sep 2011, Bergen, Norway. pp. 55-69. ⟨hal-01143261⟩

Share

Metrics

Record views

218

Files downloads

46