A Lean Tactic to Automatically Generalize Proofs
- π€ Speaker: Anshula Gandhi (University of Cambridge)
- π Date & Time: Thursday 30 October 2025, 17:00 - 18:00
- π Venue: Centre for Mathematical Sciences, MR14
Abstract
We present an algorithm, developed in the Lean programming language, to automatically generalize mathematical proofs. The algorithm, which builds on work by Olivier Pons, advances state-of-the-art proof generalization by robustly generalizing repeated and related constants, as well as abstracting out hypotheses implicitly concerning them. For example, consider the theorem that sqrt(2) is irrational. This algorithm examines the statement and its proof, and by checking which lemmas in the proof are used, determines that the only property of 2 used in the proof is that it is prime. So, the algorithm produces a more general statement: that sqrt(p) is irrational, where p is any prime. Note, however, that the algorithm does not derive the more generally true theorem β that the square root of any number that is not a perfect square is irrational β when that reasoning step is not evident in the proof term. Roughly speaking, the algorithm generalizes the theorem only as far as the proof allows. We refer to this type of generalization as proof-based generalization.
=== Hybrid talk ===
Join Zoom Meeting https://cam-ac-uk.zoom.us/j/89856091954?pwd=Bba77QB2KuTideTlH6PjAmbXLO8HbY.1
Meeting ID: 898 5609 1954 Passcode: ITPtalk
Series This talk is part of the Formalisation of mathematics with interactive theorem provers series.
Included in Lists
- All CMS events
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Centre for Mathematical Sciences, MR14
- CMS Events
- Department of Computer Science and Technology talks and seminars
- DPMMS info aggregator
- DPMMS lists
- DPMMS Lists
- DPMMS Pure Maths study groups
- Formalisation of mathematics with interactive theorem provers
- Hanchen DaDaDash
- Interested Talks
- Martin's interesting talks
- School of Physical Sciences
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)

Anshula Gandhi (University of Cambridge)
Thursday 30 October 2025, 17:00-18:00