Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Computing persistent homology within Coq/SSReflect

Published: 28 November 2013 Publication History
  • Get Citation Alerts
  • Abstract

    Persistent homology is one of the most active branches of computational algebraic topology with applications in several contexts such as optical character recognition or analysis of point cloud data. In this article, we report on the formal development of certified programs to compute persistent Betti numbers, an instrumental tool of persistent homology, using the Coq proof assistant together with the SSReflect extension. To this aim it has been necessary to formalize the underlying mathematical theory of these algorithms. This is another example showing that interactive theorem provers have reached a point where they are mature enough to tackle the formalization of nontrivial mathematical theories.

    References

    [1]
    Aransay, J., Ballarin, C., and Rubio, J. 2008. A mechanized proof of the basic perturbation lemma. J. Autom. Reason. 40, 4, 271--292.
    [2]
    Armand, M., Gregoire, B., Spiwack, A., and Thery, L. 2010. Extending coq with imperative features and its application to sat verification. In Proceedings of the 1st International Conference on Interactive Theorem Proving (ITP'10). Lecture Notes in Computer Science, vol. 6172, Springer, 83--98.
    [3]
    Bertot, Y., Gonthier, G., Ould Biha, S., and Pasca, I. 2008. Canonical big operators. In Proceedings of the 21st International Conference on Theorem Proving in Higher Order Logics (TPHOLS'08). Lecture Notes in Computer Science, vol. 5170, Springer, 86--101.
    [4]
    Carlsson, G. and De Silva, V. 2008. Zigzag persistence. In Foundations of Computational Mathematics, Springer, 367--405.
    [5]
    Carlsson, G. and Zomorodian, A. 2007. The theory of multidimensional persistence. In Proceedings of the 23rd Annual Symposium on Computational Geometry (SCG'07). ACM Press, New York, 184--193.
    [6]
    Chomp. 2013. Computational homology project. http://chomp.rutgers.edu/software/.
    [7]
    Coq Development Team. 2012. The coq proof assistant, version 8.4. Tech. rep. http://flint.cs.yale.edu/cs430/coq/pdf/Reference-Manual.pdf.
    [8]
    De Silva, V. and R. Ghrist, R. 2007. Homological sensor networks. Notices Amer. Math. Soc. 54, 1, 10--17.
    [9]
    Delfinado, C. J. A. and Edelsbrunner, H. 1995. An incremental algorithm for betti numbers of simplicial complexes on the 3 sphere. Comput. Aid. Geom. Des. 12, 771--784.
    [10]
    Dey, T. K. and Goswami, S. 2006. Provable surface reconstruction from noisy samples. Comput. Geom. Theory Appl. 35, 1, 124--141.
    [11]
    Dominguez, C. and Rubio J. 2011. Effective homology of bicomplexes, formalized in coq. Theor. Comput. Sci. 412, 962--970.
    [12]
    Dumas, J. G., Heckenbach, F., Saunders, B. D., and Welker, V. 2002. GAP homology package. http://www.linalg.org/gap.html.
    [13]
    Dénès, M., Mörtberg, A., and Siles. 2012a. CoqEAL, the coq effective algebra library. http://www-sop.inria.fr/members/Maxime.Denes/coqeal.
    [14]
    Dénès, M., Mörtberg, A., and Siles, V. 2012b. A refinement based approach to computational algebra in coq. In Proceedings of the 3rd International Conference on Interactive Theorem Proving (ITP'12). Lectures Notes in Computer Science, vol. 7406, Springer, 83--98.
    [15]
    Edelsbrunner, H. and Harer, J. L. 2010. Computational Topology: An Introduction. American Mathematical Society.
    [16]
    Edelsbrunner, H., Letscher, D., and Zomorodian, A. 2002. Topological persistence and simplification. Discr. Comput. Geom. 28, 511--533.
    [17]
    Frosini, P. and Landi, C. 1999. Syze theory as a topological tool for computer vision. Pattern Recogn. Image Anal. 9, 596--603.
    [18]
    Ghrist, R. 2008. Barcodes: The persistent topology of data. Bull. Amer. Math. Soc. 45, 61--75.
    [19]
    Gonthier, G. 2008. Formal proof - The four-color theorem. Notices Amer. Math. Soc. 55, 1382--1394.
    [20]
    Gonthier, G. 2011. Point-free, set-free concrete linear algebra. In Proceedings of the 2nd International Conference on Interactive Theorem Proving (ITP'11). Lecture Notes in Computer Science, vol. 6898, Springer, 103--118.
    [21]
    Gonthier, G. and Mahboubi, A. 2010. An introduction to small scale reflection in coq. J. Formal Reason. 3, 2, 95--152.
    [22]
    Gregoire, B. and Leroy, X. 2002. A compiled implementation of strong reduction. In Proceedings of the International Conference on Functional Programming. ACM Press, New York, 235--246.
    [23]
    Hales, T. 2005a. A proof of the Kepler conjecture. Ann. Math. 162, 1065--1185.
    [24]
    Hales. T. 2005b. The flyspeck project fact sheet. http://code.google.com/p/yspeck/.
    [25]
    Heras, J., Coquand, T., Mortberg, A., and Siles, V. 2012a. Formalization of homology and persistent homology. http://wiki.portal.chalmers.se/cse/pmwiki.php/ForMath/ProofExamples.
    [26]
    Heras, J., Denes, M., Mata, G., Mortberg, A., Poza, M., and Siles, V. 2012b. Towards a certified computation of homology groups for digital images. In Proceedings of the 4th International Workshop on Computational Topology in Image Context (CTIC'12). Lecture Notes in Computer Science, vol. 7309, Springer, 49--57.
    [27]
    Heras, J., Poza, M., Denes, M., and Rideau, L. 2011. Incidence simplicial matrices formalized in coq/ssreect. In Proceedings of the 18th Symposium on the Integration of Symbolic Computation and Mechanised Reasoning (Calculemus'11). Lecture Notes in Computer Science, vol. 6824, Springer, 30--44.
    [28]
    Heras, J., Poza, M., and Rubio, J. 2012c. Verifying an algorithm computing discrete vector fields for digital imaging. In Proceedings of the 19th Symposium on the Integration of Symbolic Computation and Mechanised Reasoning (Calculemus'12). Lecture Notes in Computer Science, vol. 7362, Springer, 215--229.
    [29]
    Jacobson, N. 1989. Basic Algebra II 2nd Ed. W. H. Freeman and Company.
    [30]
    Kedenburg, G. 2010. Persistent cubical homology in pattern recognition. Diplomarbeit. University at Hamburg.
    [31]
    Boespflug, M., Denes, M., and Gregoire, B. 2011. Full reduction at full throttle. In Proceedings of the 1st International Conference on Certified Programs and Proofs. Lecture Notes in Computer Science, vol. 7086, Springer, 362--377.
    [32]
    Maclane, S. 1963. Homology. Springer.
    [33]
    Mathematical Components Team Homepage. 2013. http://www.msr-inria.inria.fr/Projects/math-components.
    [34]
    Morozov, D. 2012. Dionysus. http://www.mrzv.org/software/dionysus/.
    [35]
    Mrozek, M., Zelawski, M., Gryglewki, A., Han, S., and Krajniak, A. 2012. Homological methods for extraction and analysis of linear features in multidimensional images. Pattern Recogn. 45, 1, 285--298.
    [36]
    Niethammer, M., Stein, A. N., Kalies, W. D., Pilarczyk, P., Mischaikow, K., and Tannenbaum, A. 2002. Analysis of blood vessel topology by cubical homology. Image 2, 2, 969--972.
    [37]
    Robins, V. 1999. Towards computing homology from finite approximations. Topology Proc. 24, 503--532.
    [38]
    Romero, A., Heras, J., Rubio, J., and Sergeraert, F. 2012. Defining and computing persistent z-homology in the general case. Tech. rep. http://staff.computing.dundee.ac.uk/jheras/papers.html.
    [39]
    Tausz, A., Vejdemo-Johansson, M., and Adams, H. 2011. JavaPlex: A research software package for persistent (co)homology. http://code.google.com/javaplex.
    [40]
    Zomorodian, A. and Carlsson, G. 2005. Computing persistent homology. Discr. Comput. Geom. 33, 249--274.

    Cited By

    View all

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Computational Logic
    ACM Transactions on Computational Logic  Volume 14, Issue 4
    November 2013
    282 pages
    ISSN:1529-3785
    EISSN:1557-945X
    DOI:10.1145/2555591
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 28 November 2013
    Accepted: 01 February 2013
    Revised: 01 December 2012
    Received: 01 March 2012
    Published in TOCL Volume 14, Issue 4

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Coq
    2. Persistent homology
    3. SSReflect
    4. computational algebraic topology
    5. formalization of mathematics

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Funding Sources

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)8
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 12 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2017)Using Abstract Stobjs in ACL2 to Compute Matrix Normal FormsInteractive Theorem Proving10.1007/978-3-319-66107-0_23(354-370)Online publication date: 26-Sep-2017
    • (2017)Proof Mining with Dependent TypesIntelligent Computer Mathematics10.1007/978-3-319-62075-6_21(303-318)Online publication date: 28-Jun-2017
    • (2014)A Certified Reduction Strategy for Homological Image ProcessingACM Transactions on Computational Logic10.1145/263078915:3(1-23)Online publication date: 17-Jul-2014
    • (2014)Formalization and Execution of Linear Algebra: From Theorems to AlgorithmsLogic-Based Program Synthesis and Transformation10.1007/978-3-319-14125-1_1(1-18)Online publication date: 11-Dec-2014
    • (2014)A Coq Formalization of Finitely Presented ModulesInteractive Theorem Proving10.1007/978-3-319-08970-6_13(193-208)Online publication date: 2014
    • (2013)Verifying a plaftorm for digital imagingProceedings of the 2013 international conference on Intelligent Computer Mathematics10.1007/978-3-642-39320-4_5(66-81)Online publication date: 8-Jul-2013

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media