Tech News
← Home  ·  All topics

Lean4

2 GoKawiil briefs on this topic

LeanDB project brings compile-time type checking to SQL schemas and queries

A developer has published an early version of LeanDB, an experimental SQL frontend built in the Lean 4 programming language that lets database schemas, queries and migrations be expressed as strongly typed constructs the compiler can verify. The post walks through Lean 4's dependent type system, showing how types can carry provable conditions—like an age under 150 or a validated email—so invalid data is rejected before code ever runs. It's presented as a first version, with the author inviting feedback on where the design falls short.

Lean formalization confirms complex manifold structure on the six-sphere

A repository has been published presenting a formal, machine-checked proof addressing the Hopf problem, showing the six-sphere admits a complex manifold structure compatible with its standard topology. The work builds on the paper 'A compact complex threefold fibred by tori over the projective line, and the six-sphere,' shared originally by Levent Alpöge, and includes a Comparator tool adapted from the Formal Conjectures project to verify the statement.