Article view

mathlib: A Scala package for readable, verifiable and sustainable simulations of formal theory

By Mark Blokpoel

Article information

Publication
Published 25 July 2024
Institutions at publication
Radboud University Nijmegen; Donders Institute for Brain, Cognition and Behaviour
2 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

Formal theory and computational modeling are critical in cognitive science and psychology. Formal systems (e.g., set theory, functions, first-order logic, graph theory) allow scientists to 'conceptually analyze, specify, and formalize intuitions that otherwise remain unexamined' (Guest & Martin, 2021). They make otherwise underspecified theories precise and open for critical reflection (van Rooij & Baggio, 2021).A theory can be formally specified in a computational model using mathematical concepts such as set theory, graph theory, and probability theory. The specification is often followed by analysis to understand precisely what assumptions and consequences the formal theory entails. An important method of analysis is computer simulation, which allows scientists to explore complex model behaviours and derive predictions that otherwise cannot be analytically derived 1 .mathlib is a library for Scala (Odersky, 2008) supporting functional programming that resembles mathematical expressions such as set theory and graph theory. This library was developed to complement the theory development method outlined in the open education book Theoretical modeling for cognitive science and psychology by Blokpoel & van Rooij (2021). To date mathlib is the only library that facilitates implementing computational-level simulations for fully specified formal theories. Blokpoel.(2024).mathlib: A Scala package for readable, verifiable and sustainable simulations of formal theory.

Citations per year

Citations per year
YearCitations
2024 0
2025 1
2026 1

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 2 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
The Netherlands1