Skip to main content

Studying Algebraic Structures Using Prover9 and Mace4

  • Chapter
  • First Online:
Proof Technology in Mathematics Research and Teaching

Part of the book series: Mathematics Education in the Digital Era ((MEDE,volume 14))

Abstract

In this chapter we present a case study, drawn from our research work, on the application of a fully automated theorem prover together with an automatic counter-example generator in the investigation of a class of algebraic structures. We will see that these tools, when combined with human insight and traditional algebraic methods, help us to explore the problem space quickly and effectively. The counter-example generator rapidly rules out many false conjectures, while the theorem prover is often much more efficient than a human being at verifying algebraic identities. The specific tools in our case study are Prover9 and Mace4; the algebraic structures are generalisations of Heyting algebras known as hoops. We will see how this approach helped us to discover new theorems and to find new or improved proofs of known results. We also make some suggestions for how one might deploy these tools to supplement a more conventional approach to teaching algebra.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Prover9 input uses only ASCII characters.

  2. 2.

    See goal script sl-pr1.gl.

  3. 3.

    See output file sl-pr1.txt.

  4. 4.

    para stands for “paramodulation”, an inference rule that performs a form of equational reasoning generalising the usual notion of using an equation to rewrite a term within formula.

  5. 5.

    See goal script sl-trans.gl.

  6. 6.

    See output file sl-trans.txt.

  7. 7.

    In a Heyting algebra one normally uses \(x \rightarrow y\) for \(y \ominus x\), and \(x \wedge y\) for \(x \oplus y\).

  8. 8.

    Strictly speaking this is a bounded hoop: an unbounded hoop omits the constant 1 and axiom (8). We are only concerned with bounded hoops in this book, so for brevity, we drop the word “bounded”.

  9. 9.

    See output file hp-semilattice.txt.

  10. 10.

    See output file hp-ge-sl.txt.

  11. 11.

    See output file hp-plus-mono.txt, hp-sub-mono-left.txt and hp-sub-mono-right.txt.

  12. 12.

    See output file hp-res.txt.

  13. 13.

    See output file pc-egs.txt.

  14. 14.

    We call these hoops \(\mathbf {L}_n\) in honour of Łukasiewicz and Tarski (1930) whose multi-valued logics have a natural semantics with values in these hoops.

  15. 15.

    See output file hp-linear-egs.txt.

  16. 16.

    See output file hp-egs.txt.

  17. 17.

    See output file hp-sum-lemma.txt.

  18. 18.

    Prover9 is a theorem-prover for finitely axiomatisable first-order theories: it is not designed to work with something like the principle of induction that can only be expressed either as an infinite axiom schema or as a second-order property. The use of interactive proof assistants that can handle induction is of potential interest in mathematics education, but is not the focus of the present chapter. There has been research on fully automated proof in higher-order logic, but this is in its early days.

  19. 19.

    See output files conjectureNNSNNSNN.txt and conjecturePNNNNPNN.txt.

  20. 20.

    See output file theoremNNSNNSNN-eq-expanded.txt.

  21. 21.

    See output file theoremNNSNNSNN-eq-basic-lemmas.txt.

  22. 22.

    See file theoremPNNNNPNN-eq.txt.

  23. 23.

    See file theoremPNNNNPNN-eq-lemmas.txt.

References

  • Blok, W. J., & Ferreirim, I. M. A. (2000). On the structure of hoops. Algebra Universalis, 43(2–3), 233–257.

    Article  Google Scholar 

  • Bosbach, B. (1969). Komplementäre Halbgruppen. Axiomatik und Arithmetik. Fundamenta Mathematicae, 64, 257–287.

    Article  Google Scholar 

  • Büchi, J. R., & Owens, T. M. (1974). Complemented monoids and hoops. Unpublished manuscript.

    Google Scholar 

  • Burris, S. (1997). An Anthropomorphized Version of McCune’s machine proof that Robbins Algebras are Boolean algebras. Private communication.

    Google Scholar 

  • Dahn, B. I. (1998). Robbins algebras are Boolean: A revision of McCune’s computer-generated solution of Robbins problem. Journal of Algebra, 208(2), 526–532.

    Article  Google Scholar 

  • De Villiers, M. (1990). The role and function of proof in mathematics. Pythagoras, 24, 17–24.

    Google Scholar 

  • Łukasiewicz, J., & Tarski, A. (1930). Untersuchungen über den Aussagenkalkül. C. R. Soc. Sc. Varsovie, 23(1930), 30–50.

    Google Scholar 

  • McCune, W. (2005–2010). Prover9 and Mace4. http://www.cs.unm.edu/~mccune/prover9/.

  • McCune, W. (1997). Solution of the Robbins problem. Journal of Automated Reasoning, 19(3), 263–276.

    Article  Google Scholar 

  • Moggi, E. (1989). Computational lambda-calculus and monads. In Symposium of Logic in Computer Science, California, June 1989. IEEE.

    Google Scholar 

  • Winker, S. (1992). Absorption and idempotency criteria for a problem in near-Boolean algebras. Journal of Algebra, 153(2), 414–423.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Paulo Oliva .

Editor information

Editors and Affiliations

1 Electronic supplementary material

Below is the link to the electronic supplementary material.

Supplementary material 1 (zip 11 KB)

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Arthan, R., Oliva, P. (2019). Studying Algebraic Structures Using Prover9 and Mace4. In: Hanna, G., Reid, D., de Villiers, M. (eds) Proof Technology in Mathematics Research and Teaching . Mathematics Education in the Digital Era, vol 14. Springer, Cham. https://doi.org/10.1007/978-3-030-28483-1_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-28483-1_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-28482-4

  • Online ISBN: 978-3-030-28483-1

  • eBook Packages: EducationEducation (R0)

Publish with us

Policies and ethics