Leaning In! 2027

Banner image for Leaning In!: A universal and existential quantifier, leaning to the right, enclosed within a rhombus that also skews to the right

An in-person workshop for the Lean community in & around Europe, Germany, and Berlin

About

Join us for a day of collaboration and learning centered around the Lean programming language & proof assistant. Whether you're using Lean for software verification, mathematical theorems, functional programming, teaching, or language specification—in short, if you're using Lean!—this workshop offers a space to share ideas, learn new techniques, and connect with fellow enthusiasts.

Leaning In! is an in-person event.

Details

Date: Thursday, February 25, 2027

Time: 9:00 AM - 5:00 PM

Venue: Spielfeld Digital Hub
Skalitzer Strasse 85/86
10997 Berlin
Germany

Capacity: 75 participants

Call for Submissions

We'd love to have you! If you have something that you'd like to present, just send a title and a short abstract to organizers@leaning.in and we'll get back to you.

Program

The conference program is under development—the talks listed here is a growing list. Stay tuned! (Would you like to submit a talk?)

Doors open

Opening remarks & setup

How to Believe a Machine-Checked Proof

If some­one (or some­thing) hands you a few mil­lion lines of for­mal proof and says that they have ver­i­fied your soft­ware, how do you as­sess that claim?

In 1997, Robert Pol­lack pub­lished a pa­per en­ti­tled How to Be­lieve a Ma­chine-Checked Proof. He ob­served that there are two parts to the prob­lem: de­cid­ing that the giv­en doc­u­ment con­tains a valid de­riva­tion of a state­ment in some for­mal sys­tem, and de­cid­ing whether that state­ment is ac­tu­al­ly the state­ment we care about.

Thir­ty years lat­er, for­mal proofs in Lean have be­come a com­mod­i­ty, and de­cid­ing whether they mean any­thing is an im­por­tant bot­tle­neck for wider adop­tion of for­mal meth­ods. Lean code can be de­ceiv­ing: syn­tax can be changed at com­pile time, there is ar­bi­trary code ex­e­cu­tion at com­pile time, and check­ers could have bugs. The Lean com­mu­ni­ty has de­vel­oped ro­bust tools to ad­dress these is­sues, in­clud­ing a stan­dard process of sep­a­rat­ing code into trust­ed and un­trust­ed parts, sand­boxed build­ing and check­ing of un­trust­ed code, and a mul­ti­tude of proof check­ers, some of which are them­selves for­mal­ly ver­i­fied. Cu­rat­ed li­braries that can be used to con­struct cor­rect math­e­mat­i­cal state­ments are more im­por­tant than ever.

In my talk, I will show how ver­i­fy­ing a claimed Lean proof works to­day, both philo­soph­i­cal­ly and prac­ti­cal­ly, and dis­cuss best prac­tices for for­mal ver­i­fi­ca­tion of real-world soft­ware.

Coffee break

goto2lean: C programs as Lean definitions

Rafael Menezes (University of Manchester)

ES­BMC is a bound­ed mod­el check­er for C, and it can ex­port its proof oblig­a­tions to Lean. The trans­la­tion turns loops into coinductive_fixpoint, non­de­ter­min­is­tic in­puts into quan­ti­fiers, as­sump­tions into im­pli­ca­tions, and as­ser­tions into con­juncts. Lean de­rives the loop-in­vari­ant rule for free, and it solved chal­leng­ing pro­grams that ES­BM­C's SMT back­ends could not. In the talk, we walk through the trans­la­tion, the proofs, and how Lean and ES­BMC can in­ter­act. We will fin­ish with what is still open: prov­ing the trans­la­tor it­self cor­rect.

Solving Hilbert's 6th problem in Lean

In 1900 David Hilbert asked, as the sixth of his fa­mous prob­lems, for the ax­ioms of physics to be treat­ed math­e­mat­i­cal­ly, in the way he had treat­ed the ax­ioms of geom­e­try. This lec­ture in­tro­duces hilbert6, an open-source li­brary for the Lean 4 proof as­sis­tant whose pur­pose is to an­swer that re­quest in a form a com­put­er can check. The li­brary is a home for ax­iomat­ic phys­i­cal the­o­ries, each stat­ed as an ex­plic­it ax­iom sys­tem whose con­se­quences are proved in Lean and checked by ma­chine. The first the­o­ry in the li­brary is al­ge­bra­ic quan­tum field the­o­ry. Oth­ers are planned, each with its own ax­ioms: lo­cal­ly co­vari­ant and topo­log­i­cal quan­tum field the­o­ry, ax­iomat­ic quan­tum me­chan­ics in its pure-state and den­si­ty-op­er­a­tor forms, and more. In hilbert6 the ax­ioms of a the­o­ry are the fields of a Lean struc­ture, and every the­o­rem about the the­o­ry takes that struc­ture as a hy­poth­e­sis, so every as­sump­tion be­hind a re­sult ap­pears in its state­ment. The project rests on two pil­lars: for­mal­is­ing physics in Lean, and us­ing AI to dis­cov­er new physics by a cy­cle of de­riva­tion, com­par­i­son with ex­per­i­ment, and re­vi­sion of the ax­ioms. The sec­ond pil­lar de­pends on the first: a for­mal proof names the hy­pothe­ses it uses, which nar­rows the search for an ax­iom at fault. The li­brary's web­site is hilbert6 and its source code is at hilbert6/hilbert6.

Lunch at Markthalle Neun (or wherever you wish!)

Coffee break

Dinner (optional)

We have a reservation at the nearby 3 Schwestern restaurant. When registering, indicate whether you'd like to join us there! Here's their menu (in German and English). Dinner is not included in the ticket price.

Registration

To register for the event, please go here. A ticket costs 85 EUR. When registering, please indicate whether you'll be joining us for dinner. (Dinner is not included in the ticket price.)

Friendly Policy

The proceedings of Leaning In! will take place under the Racket Friendly Environment Policy, with, of course, the understanding that the Leaning In! organizers, rather than Racket management, are in charge of this event.

Partners

Logo for BOBKonf

Leaning In! pairs well with BOBKonf, which takes places in Berlin the day after Leaning In!

BOB asks: What if we use the best for a change? You'll find BOB to be a pretty Lean-friendly place. See you there!

Sponsors

To help keep costs down, we appreciate any support you can offer. Sponsors will be proudly listed here and called out on-site. To sponsor Leaning In! 2027, just go here.

Previous Editions