potentialpaper

Language Modelling and Scaling Laws for Lean’s Lambda Calculus

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:59 UTC · 4821e7a6c2eb ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "DvWm7dmysV"
- }
- ],
- "title": "Language Modelling and Scaling Laws for Lean’s Lambda Calculus",
- "authors": [],
- "abstract": "Typed lambda calculi underlie many proof assistants; e.g., Lean’s kernel checks\nterms that express proofs and programs, making proof steps explicit. How difficult\nis this language for an autoregressive model to learn and generate? We compare\nkernel terms, surface Lean, and informalised English descriptions of the same\nMathlib theorems using our developed serialisation method, which follows the\ndependent type from left to right. The decoder then samples kernel expressions,\nwhich can be checked without elaboration. We probe the scaling laws, both from\nscratch and with a warm start using Qwen3, in each language. For Qwen3-4B\nwarm starts under reference prefixes, the 1% of proof tokens with the highest loss\ncarry 98.6% of term proof loss, against 10.7% for surface Lean and 14.3% for\nEnglish. Mean term proof loss is 2.475 times surface Lean’s at these warm starts\nbut falls faster with model size and data from scratch, though the grid’s single\nlearning rate slightly inflates the term model-size exponent. If the fits continue with\nfresh data and model size taken to infinity, term proof loss crosses below surface\nLean’s after about 7 times the current pool of distinct proofs. The transferred\nQwen3-0.6B achieves a term proof loss lower by a factor of 3.68 than the same\nnetwork trained from scratch on the same number of tokens. Based on these results,\nwe’re in a position to use pretrained models and increase the dataset size for kernel\nterm language.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "0e9956d7-ccf4-4654-993d-868c119b0d13"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Language Modelling and Scaling Laws for Lean’s Lambda Calculus",
+ "authors": [],
+ "abstract": "Typed lambda calculi underlie many proof assistants; e.g., Lean’s kernel checks\nterms that express proofs and programs, making proof steps explicit. How difficult\nis this language for an autoregressive model to learn and generate? We compare\nkernel terms, surface Lean, and informalised English descriptions of the same\nMathlib theorems using our developed serialisation method, which follows the\ndependent type from left to right. The decoder then samples kernel expressions,\nwhich can be checked without elaboration. We probe the scaling laws, both from\nscratch and with a warm start using Qwen3, in each language. For Qwen3-4B\nwarm starts under reference prefixes, the 1% of proof tokens with the highest loss\ncarry 98.6% of term proof loss, against 10.7% for surface Lean and 14.3% for\nEnglish. Mean term proof loss is 2.475 times surface Lean’s at these warm starts\nbut falls faster with model size and data from scratch, though the grid’s single\nlearning rate slightly inflates the term model-size exponent. If the fits continue with\nfresh data and model size taken to infinity, term proof loss crosses below surface\nLean’s after about 7 times the current pool of distinct proofs. The transferred\nQwen3-0.6B achieves a term proof loss lower by a factor of 3.68 than the same\nnetwork trained from scratch on the same number of tokens. Based on these results,\nwe’re in a position to use pretrained models and increase the dataset size for kernel\nterm language.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}