MetaOCaml: Ten Years Later
Oleg
https://okmij.org/ftp/meta-programming/design-10.pdf
https://okmij.org/ftp/ML/MetaOCaml.html#design-10
Oleg
https://okmij.org/ftp/meta-programming/design-10.pdf
https://okmij.org/ftp/ML/MetaOCaml.html#design-10
👍6
You could have invented Fenwick trees
B. Yorgey
https://www.cambridge.org/core/journals/journal-of-functional-programming/article/you-could-have-invented-fenwick-trees/B4628279D4E54229CED97249E96F721D
B. Yorgey
https://www.cambridge.org/core/journals/journal-of-functional-programming/article/you-could-have-invented-fenwick-trees/B4628279D4E54229CED97249E96F721D
Cambridge Core
You could have invented Fenwick trees | Journal of Functional Programming | Cambridge Core
You could have invented Fenwick trees - Volume 35
🔥1🤯1
Forwarded from AlexTCH
https://vezwork.github.io/drostes-lair-post/
A cute cool project. If you don't understand recursion, this can help immensely. Also if you don't know what the
If you already know all that, it's just a fun game. 😊
A cute cool project. If you don't understand recursion, this can help immensely. Also if you don't know what the
amb
is, you can and should learn.If you already know all that, it's just a fun game. 😊
vezwork.github.io
An invitation into Droste's Lair
A swords-and-sorcery programming environment for building and counting mathematical structures
👍1
Eratosthenes again.
Turner, Bird, Eratosthenes: An eternal burning thread
by J. Gibbons
https://www.cambridge.org/core/journals/journal-of-functional-programming/article/turner-bird-eratosthenes-an-eternal-burning-thread/32E2EDF5D5EAEC95F13D313BC97B86F0
Turner, Bird, Eratosthenes: An eternal burning thread
by J. Gibbons
https://www.cambridge.org/core/journals/journal-of-functional-programming/article/turner-bird-eratosthenes-an-eternal-burning-thread/32E2EDF5D5EAEC95F13D313BC97B86F0
Cambridge Core
Turner, Bird, Eratosthenes: An eternal burning thread | Journal of Functional Programming | Cambridge Core
Turner, Bird, Eratosthenes: An eternal burning thread - Volume 35
👍2
Learn Programming with OCaml
by Sylvain Conchon and Jean-Christophe Filliâtre, 2025
https://usr.lmf.cnrs.fr/lpo/
by Sylvain Conchon and Jean-Christophe Filliâtre, 2025
https://usr.lmf.cnrs.fr/lpo/
usr.lmf.cnrs.fr
Learn Programming with OCaml
❤6
Forwarded from AlexTCH
https://calculatingempires.net/
A fascinating visualization (a timeline) of the development of communication, data management, computing, education, medicine, economy, energy, policy, surveillance, military and so on from 1500 till today across the world.
I'm not sure it's 100% historically accurate, but still illuminating.
A fascinating visualization (a timeline) of the development of communication, data management, computing, education, medicine, economy, energy, policy, surveillance, military and so on from 1500 till today across the world.
I'm not sure it's 100% historically accurate, but still illuminating.
calculatingempires.net
Calculating Empires: A Genealogy of Technology and Power since 1500
Explore how technical and social structures co-evolved over five centuries in this large-scale research visualization.
🤩3❤🔥2
Forwarded from AlexTCH
https://www.youtube.com/watch?v=CVLSA8YGvM8
https://catcolab.org (https://github.com/ToposInstitute/CatColab)
This is mind-blowing! 🤯
A collaborative (as in Google Docs) notebook for defining and simulating a range of "logic"/diagram notations starting with purely descriptive ontologies and up to quantitative stock-and-flow diagrams (which define a system of differential equations).
Implemented in Rust and TypeScript offloading the heavy-lifting of actual processing to AlgebraicJulia and Julia's differential equations ecosystem. All based on Double Category Theory.
https://catcolab.org (https://github.com/ToposInstitute/CatColab)
This is mind-blowing! 🤯
A collaborative (as in Google Docs) notebook for defining and simulating a range of "logic"/diagram notations starting with purely descriptive ontologies and up to quantitative stock-and-flow diagrams (which define a system of differential equations).
Implemented in Rust and TypeScript offloading the heavy-lifting of actual processing to AlgebraicJulia and Julia's differential equations ecosystem. All based on Double Category Theory.
YouTube
A quick intro to CatColab
A tour of some of the current features of CatColab, as of the recent release of version 0.2: Wren.
The models discussed here are available at this page: https://catcolab.org/help/quick-intro
The models discussed here are available at this page: https://catcolab.org/help/quick-intro
https://arxiv.org/abs/2502.03544
Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2
Yuri Chervonyi, Trieu H. Trinh, Miroslav Olšák, Xiaomeng Yang, Hoang Nguyen, Marcelo Menegali, Junehyuk Jung, Vikas Verma, Quoc V. Le, Thang Luong
5 Feb 2025
Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2
Yuri Chervonyi, Trieu H. Trinh, Miroslav Olšák, Xiaomeng Yang, Hoang Nguyen, Marcelo Menegali, Junehyuk Jung, Vikas Verma, Quoc V. Le, Thang Luong
5 Feb 2025
We present AlphaGeometry2, a significantly improved version of AlphaGeometry introduced in Trinh et al. (2024), which has now surpassed an average gold medalist in solving Olympiad geometry problems. To achieve this, we first extend the original AlphaGeometry language to tackle harder problems involving movements of objects, and problems containing linear equations of angles, ratios, and distances. This, together with other additions, has markedly improved the coverage rate of the AlphaGeometry language on International Math Olympiads (IMO) 2000-2024 geometry problems from 66% to 88%. The search process of AlphaGeometry2 has also been greatly improved through the use of Gemini architecture for better language modeling, and a novel knowledge-sharing mechanism that combines multiple search trees. Together with further enhancements to the symbolic engine and synthetic data generation, we have significantly boosted the overall solving rate of AlphaGeometry2 to 84% for all geometry problems over the last 25 years, compared to 54% previously. AlphaGeometry2 was also part of the system that achieved silver-medal standard at IMO 2024. Last but not least, we report progress towards using AlphaGeometry2 as a part of a fully automated system that reliably solves geometry problems directly from natural language input.
arXiv.org
Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2
We present AlphaGeometry2, a significantly improved version of AlphaGeometry introduced in Trinh et al. (2024), which has now surpassed an average gold medalist in solving Olympiad geometry...
https://dl.acm.org/doi/10.1145/3704912
All Your Base Are Belong to Us: Sort Polymorphism for Proof Assistants
Josselin Poiret, Gaëtan Gilbert, Kenji Maillard, Pierre-Marie Pédrot, Matthieu Sozeau, Nicolas Tabareau, Éric Tanter
All Your Base Are Belong to Us: Sort Polymorphism for Proof Assistants
Josselin Poiret, Gaëtan Gilbert, Kenji Maillard, Pierre-Marie Pédrot, Matthieu Sozeau, Nicolas Tabareau, Éric Tanter
Proof assistants based on dependent type theory, such as Coq, Lean and Agda, use different universes to classify types, typically combining a predicative hierarchy of universes for computationally-relevant types, and an impredicative universe of proof-irrelevant propositions. In general, a universe is characterized by its sort, such as Type or Prop, and its level, in the case of a predicative sort. Recent research has also highlighted the potential of introducing more sorts in the type theory of the proof assistant as a structuring means to address the coexistence of different logical or computational principles, such as univalence, exceptions, or definitional proof irrelevance. This diversity raises concrete and subtle issues from both theoretical and practical perspectives. In particular, in order to avoid duplicating definitions to inhabit all (combinations of) universes, some sort of polymorphism is needed. Universe level polymorphism is well-known and effective to deal with hierarchies, but the handling of polymorphism between sorts is currently ad hoc and limited in all major proof assistants, hampering reuse and extensibility. This work develops sort polymorphism and its metatheory, studying in particular monomorphization, large elimination, and parametricity. We implement sort polymorphism in Coq and present examples from a new sort-polymorphic prelude of basic definitions and automation. Sort polymorphism is a natural solution that effectively addresses the limitations of current approaches and prepares the ground for future multi-sorted type theories.
Proceedings of the ACM on Programming Languages
All Your Base Are Belong to Us: Sort Polymorphism for Proof Assistants | Proceedings of the ACM on Programming Languages
Proof assistants based on dependent type theory, such as Coq, Lean and Agda, use different
universes to classify types, typically combining a predicative hierarchy of universes
for computationally-relevant types, and an impredicative universe of proof-...
universes to classify types, typically combining a predicative hierarchy of universes
for computationally-relevant types, and an impredicative universe of proof-...
🔥2👍1
Termination Combinators Forever
Maximilian Bolingbroke, Simon Peyton Jones, Dimitrios Vytiniotis
We describe a library-based approach to constructing termination tests suitable for controlling termination of symbolic methods such as partial evaluation, supercompilation and theorem proving. With our combinators, all termination tests are correct by construction. We show how the library can be designed to embody various optimisations of the termination tests, which the user of the library takes advantage of entirely transparently.
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/07/termination-combinators.pdf
Maximilian Bolingbroke, Simon Peyton Jones, Dimitrios Vytiniotis
We describe a library-based approach to constructing termination tests suitable for controlling termination of symbolic methods such as partial evaluation, supercompilation and theorem proving. With our combinators, all termination tests are correct by construction. We show how the library can be designed to embody various optimisations of the termination tests, which the user of the library takes advantage of entirely transparently.
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/07/termination-combinators.pdf
👍4🤔1
Forwarded from AlexTCH
https://www.pm.inf.ethz.ch/research/verifythis.html
Another VerifyThis Competition is coming May 3rd and 4th, 2025.
Online participants are welcome: https://docs.google.com/forms/d/e/1FAIpQLScOhK5tMG5q5DMb36yrTQ8itUwvJ2EN8IG_kgjsX6HQZ6dDhw/viewform
The use of AI-based tools is allowed.
Another VerifyThis Competition is coming May 3rd and 4th, 2025.
Online participants are welcome: https://docs.google.com/forms/d/e/1FAIpQLScOhK5tMG5q5DMb36yrTQ8itUwvJ2EN8IG_kgjsX6HQZ6dDhw/viewform
The use of AI-based tools is allowed.
Programming Methodology Group
VerifyThis Competition
2025 edition at ETAPS 2025 in Hamilton, Canada
👍2
Zero copy data structures
https://www.hytradboi.com/2025/df37d71b-0552-47f9-af36-f53c9ee09f8f-zero-copy-data-structures
Keep an eye on the conference, https://www.hytradboi.com/2025
https://www.hytradboi.com/2025/df37d71b-0552-47f9-af36-f53c9ee09f8f-zero-copy-data-structures
Keep an eye on the conference, https://www.hytradboi.com/2025
Hytradboi
Zero copy data structures
Dear readers, you probably want to be subscribed to these link aggregator channels. Reading them for a few years, heartily recommend.
- https://www.tg-me.com/axisofordinary
- https://www.tg-me.com/j_links
- https://www.tg-me.com/axisofordinary
- https://www.tg-me.com/j_links