Rocq formalisation of the lambda calculus with partial substitutions
  • Rocq Prover 84.8%
  • Python 12.8%
  • Shell 2.4%
Find a file
2026-09-23 01:30:00 +02:00
graphs add(named): the paper measure with machine checked counterexamples to its invariants (M5 metatheory) 2026-09-23 01:30:00 +02:00
scripts add(named): the paper measure with machine checked counterexamples to its invariants (M5 metatheory) 2026-09-23 01:30:00 +02:00
theory add(named): the paper measure with machine checked counterexamples to its invariants (M5 metatheory) 2026-09-23 01:30:00 +02:00
.gitignore add(graphs): derive theorem metadata from the sources and add graphs and audit build aliases (no drift) 2026-09-22 12:02:00 +02:00
dune add(graphs): derive theorem metadata from the sources and add graphs and audit build aliases (no drift) 2026-09-22 12:02:00 +02:00
dune-project initial commit: confluence and normalisation 2026-09-22 09:20:00 +02:00
README.md add(named): the paper measure with machine checked counterexamples to its invariants (M5 metatheory) 2026-09-23 01:30:00 +02:00

This was (mostly) me being bored in a Monday evening and in an attempt to formalise in Rocq the confluence and normalisation results that Delia Kesner and Shane Ó Conchúir obtain for the lambda calculus of Milner with partial substitutions which is available as arXiv:2312.13270.

Graphs

The dependency graphs are drawn in black and white and split by milestone. Every edge runs from a dependency to the result that uses it. A box is a result named after a paper statement, an ellipse is a supporting result, and a dashed box labelled with a milestone is a result defined in another diagram. The overview gives the shape of the whole development:

Theorem dependency by milestone

The details are then one diagram per milestone:

M1, binding and reduction

M1 dependencies

M2, metatheory and checks

M2 dependencies

M3, subsystem

M3 dependencies

M4, parallel reduction

M4 dependencies

M5, metaterms and the named calculus

M5 dependencies

The rule sketch gives the transition system generated by the rules B and Gc and R:

Reduction rules

The reduction graph gives the bounded reduct set of the term that applies the duplicating identity to a variable with every edge labelled by its rule and with the normal form marked:

Reduction graph of the duplicating identity