~/talk

Scala 3, but I have trust issues

Talkat Scala Love 2022 · on Friday, 2022-02-18· [testing, software-architecture]
slides:none on file

Implements a mirror function for a binary tree using a Scala 3 enum, verifies it with ad‑hoc main checks, handwritten unit tests, and property tests using ScalaCheck generators (default 100 random cases), then ported the function to Agda proof where the double-invert property is proven but requires explicit pattern matches and a congruence lemma to complete the proof. Reports what works (implementation, tests, formal proof) and practical limits: generator work, finite sampling, and manual proof effort.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:03Problem demonstration with trees
  3. 3:11Modeling tree inversion in Scala 3
  4. 4:36Manual testing limitations
  5. 6:00Unit testing approach
  6. 8:52Introducing property testing
  7. 10:57Property testing strategies
  8. 15:57Transition to proof assistants
  9. 17:02Choosing Agda for proofs
  10. 18:10Translating Scala to Agda
  11. 19:34Program verification in Agda
  12. 23:29Type-level unit tests in Agda
  13. 24:13Proving code properties
  14. 27:05Pen-and-paper proofs
  15. 30:57Trust exercises and therapy
  16. 32:00Revisiting the original problem
  17. 32:41Key takeaways and conclusions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.