28th Estonian Winter School in Computer Science (EWSCS)
XXVIII Eesti Arvutiteaduse Talvekool

Viinistu, Estonia, March 2 - 5, 2026

Renato Neves

assistant professor at University of Minho, Braga, Portugal
Google Scholar

Reasoning precisely about imprecisions (metric program equivalence)

 

Abstract

Modern programs increasingly interact with continuous data, randomness, quantum, and physical processes. In this setting, the typical binary notions of program equivalence become too coarse, and more flexible, quantitative ones are called for. In autonomous driving, for example, one does not expect two programs to match the same speeds exactly; instead the idea is to determine how close their behaviours are, typically measured in terms of a suitable metric.

The course highlights how metric reasoning can be used in practice, with illustrations from probabilistic programming and other computational models. Our focus will be rather on fundamental principles – involving a core programming language (lambda-calculus), corresponding laws of metric equational systems, and their categorical semantics.

The emphasis throughout is on intuition, the essence of things, and main ideas, rather than full technical detail. Thus no prior knowledge of lambda-calculus or category theory is assumed.

Lecture 1: Linear lambda-calculus and its equational system
Lecture 2: Categorical semantics of linear lambda-calculus
Lecture 3: Metric lambda-calculus
Lecture 4: Categorical semantics of metric equations + applications

Course material (updated 5 March 2026)


References

  1. Fredrik Dahlqvist, Renato Neves. The syntactic side of autonomous categories enriched over generalised metric spaces. Log. Methods Comput. Sci., v. 19, n. 4, art. 31, 2023. doi:10.46298/lmcs-19(4:31)2023
  2. Fredrik Dahlqvist, Renato Neves. A complete V-equational system for graded lambda-calculus. Electron. Notes Theor. Inf. Comput. Sci., v. 3, art. 4, 2023. 10.46298/entics.12299
  3. Fredrik Dahlqvist, Renato Neves. An internal language for categories enriched over generalised metric spaces. In Florin Manea, Alex Simpson, eds., Proc. of 30th EACSL Ann. Conf. on Computer Science Logic (CSL 2022), v. 216 of Leibniz Int. Proc. in Inform., pp 16:1-16:18, Dagstuhl Publishing, 2022. doi:10.4230/lipics.csl.2022.16

Last changed March 26, 2026 14:33 EET (GMT +02:00) by local organisers