2021-03-31

People of IOG: Dr. Lars Brunjes

118 entries

Charles introduces Dr. Lars Brunjes, IOG's director of education, joining from near Regensburg.

Lars was born in Wuppertal, known for Engels and the world's only commercial suspended monorail.

Personal & Off-topic Friedrich EngelsSchwebebahn

Born in 1971 and raised in Cologne, he grew up scared by the Cold War in West Germany.

Personal & Off-topic

His father was smuggled out of East Germany as a child under a coat on a train in the 1950s.

Personal & Off-topic Carl Zeiss JenaVienna

Visiting East German relatives required a visa and passing the death strip with watchtowers and guns.

Personal & Off-topic Berlin Wallborder control

Border guards disassembled the whole car searching for people hidden in gas tanks or under seats.

Personal & Off-topic border controlescapees

East Germany felt gray and depressing, with propaganda posters but no color, ads, or fresh paint.

Personal & Off-topic Soviet Union

An air of fear pervaded the East, with neighbors spying and visitors made to register with the police.

Personal & Off-topic Stasisecret police

A childhood memory of taking two sausages illustrates the scarcity his Eastern relatives lived with.

Personal & Off-topic

Both his parents were mathematicians: his mother a high school teacher, his father an actuary.

Personal & Off-topic mathematics teacher

His father's department got an IBM 5110 and told him about it, sparking a lifelong interest in computers.

Personal & Off-topic APLBASIC

His first home computer was a Sinclair ZX81; while waiting for it he wrote BASIC programs on a typewriter.

Personal & Off-topic

The ZX81 ran a Z80 CPU with 1KB of RAM, a 16KB expansion, and a tape recorder for storage.

Personal & Off-topic Zilog8-bit

One of his first programs drew a sine graph on the ZX81's rough 64 by 48 pixel display.

Personal & Off-topic

He describes Germany's three-tier high school system, choosing the nine-year university track at age ten.

Personal & Off-topic GymnasiumGerman school system

Germany lagged in computer education; his whole school had one Atari while a US reservation school got 30 Commodore 64s.

Personal & Off-topic Commodore 64

He studied mathematics at the University of Cologne, taking computer science only as a minor subject.

Personal & Off-topic

Travel was limited to Europe by his mother's fear of flying, with Turkey the most exotic destination.

Personal & Off-topic Istanbul

Before university he did mandatory service, declaring himself a pacifist which required proving it at a hearing.

His pacifism essay quoted the anti-war novel All Quiet on the Western Front.

Personal & Off-topic Erich Maria Remarque

Instead of the army he did fifteen months of civilian social service.

Personal & Off-topic civilian serviceZivildienst

He worked as a caretaker for a parish church, mowing lawns and driving elderly women to Bible classes.

Personal & Off-topic

A highlight was operating the church's old printing press to produce the monthly newsletter.

Personal & Off-topic

During his service year he entered national mathematics and computer science competitions.

Personal & Off-topic math competitionolympiad

He envied East Germany's stronger math culture and its math books, which were free of propaganda.

Personal & Off-topic recreational mathematics

His mother lamented the German attitude of being proud of not understanding mathematics.

Vision & Philosophy

In Germany all universities are roughly equal and nobody cares which one you attended, unlike US Ivy League prestige.

Personal & Off-topic Harvard

German university was essentially free, with only nominal tuition, which he was always proud of.

Personal & Off-topic

He read the German classics on the tram, catching up on Goethe, Schiller, Brecht, and Kafka.

Personal & Off-topic Reclam

He recounts favorite Brecht stories including Life of Galileo and their anti-capitalist themes.

Personal & Off-topic Bertolt BrechtThreepenny Opera

As a student he played some of the first multiplayer online games with friends after lunch.

Personal & Off-topic multiplayer games

He never pursued game development, feeling he missed the timing, and instead explored neural networks and genetic algorithms.

Personal & Off-topic artificial intelligence

In his undergraduate mathematics he preferred algebra over analysis.

Personal & Off-topic complex analysis

After two years he became a tutor, his first paying job, running weekly exercise groups.

Personal & Off-topic

He contrasts algebraist and analyst cultures, solving a problem with a commutative diagram versus pages of inequalities.

Vision & Philosophy

He chose algebraic geometry, driven by the available professor and his wish to work algebraically.

Personal & Off-topic diploma thesis

He picked the hardest subject precisely because it was difficult and finally challenged him.

Personal & Off-topic topology

His Diplom thesis elaborated an obscure proof by Fields medalist Gerd Faltings of the Mordell conjecture.

Personal & Off-topic Fields MedalPrinceton

After his PhD he took a postdoc at Cambridge through his advisor's connection to Tony Scholl.

Personal & Off-topic

At Cambridge he met Sir Peter Swinnerton-Dyer of the Birch and Swinnerton-Dyer conjecture.

Personal & Off-topic millennium problem

Switching to daily English was eased by his South African wife, with whom he speaks English, Afrikaans, and German.

Personal & Off-topic South Africa

He worked at Cambridge's DPMMS, in the same ultra-modern building as Stephen Hawking.

Personal & Off-topic

His Cambridge research applied non-standard analysis to algebraic geometry, using infinite prime numbers to bridge characteristic p and zero.

Personal & Off-topic Abraham Robinson

Model theory was out of fashion and his papers were rarely read at the time.

Personal & Off-topic

On the Lean theorem prover forum, someone recalled and praised his non-standard analysis papers almost twenty years later.

Cardano Tech & Research

Charles reflects on the isolated life of a mathematician and the phenomenon of write-only academic books.

Vision & Philosophy Springerwrite-only books

German academia lacks permanent pre-tenure positions, making the tenure track risky and requiring constant moves.

Personal & Off-topic

At thirty and married, he decided the uncertain academic path was not worth the risk.

Personal & Off-topic

He sought a proper job that still used mathematics and programming, ruling out finance.

He joined a company making software for paper factories, working on paper-cutting optimization to minimize waste.

Personal & Off-topic paper factorycutting stock

He impressed colleagues early by abstracting a task into a simple model instead of coding it directly.

Personal & Off-topic abstraction

A misrouted phone call handed him a wood-cutting optimization project, a harder two-dimensional problem.

Personal & Off-topic

His prototype won a multi-million dollar contract, and development moved to India to cut costs.

Personal & Off-topic

Around age forty he made his first trip to India with two colleagues, roughly eight months in total.

Personal & Off-topic Pune

Landing in Mumbai and driven 200km to Pune, he found Indian traffic mind-boggling.

Personal & Off-topic

He describes chaotic Indian traffic with trucks parked to sleep across motorway lanes, like a video game.

Personal & Off-topic Jakarta

He came to love India for its food and people, and even took yoga classes taught in Hindi.

Personal & Off-topic

He first encountered Haskell during his Cambridge years and later settled on it as his focus language.

Personal & Off-topic functional programming

At the paper company they used .NET and C#, and his managers repeatedly rejected using F#.

Personal & Off-topic dotNET

An invitation to the Haskell eXchange in London, which his manager refused to support, was the moment he decided to leave.

Personal & Off-topic

He joined IOHK in November 2016 after first meeting Charles in Malta.

Company & Team Input OutputIOGIO

What drew him to IOHK was less blockchain than a company genuinely built on science and Haskell.

Company & Team BitcoinInput OutputIOG +2

Charles explains choosing Haskell because Cardano needed engineers who could read the Ouroboros papers, drawing on the formal methods and dependent types crowd.

Company & Team IdrisAgdaIsabelle

Charles recounts finding Hascoin, a Haskell Bitcoin implementation, as proof Cardano could be built in Haskell despite it being brutal.

Hired as a developer, Lars quickly moved toward education, starting on the early Cardano node.

Company & Team

In Malta he met Duncan and Philipp, did formal methods work, then the idea arose to run a Haskell course in Athens.

Company & Team Duncan Coutts

Having missed teaching most after leaving academia, he jumped at the chance to run the Athens Haskell course.

Company & Team

The developer-training model partners with a local university, starting in Greece with NTU and Athens, then Barbados, Ethiopia, and Mongolia.

Company & Team NTU AthensNikos

Returning to teaching he loved it, though he strongly dislikes grading.

Company & Team

The course runs ten weeks full-time and goes far deeper into Haskell than typical beginner textbooks.

Company & Team Haskell course

Titled Haskell and Cryptocurrencies, the course draws examples from crypto: Bitcoin clients, peer-to-peer protocols, transaction validation.

Company & Team BTCpeer to peerP2P

The syllabus mixes theory like lambda calculus and monads with practical networking, parallelism, and concurrency.

Company & Team

The hardest transition for imperative programmers is grasping Haskell's lack of side effects.

Vision & Philosophy imperative programming

Students value the new functional way of thinking, which reshapes how they approach problems even outside Haskell.

Vision & Philosophy recursionfunctional thinking

He teaches monads by motivating them with examples before ever naming the concept.

Roadmap & Product

A popular Barbados lecture builds up features like division by zero and state, each requiring only a swap of the monad.

Roadmap & Product monads

Plutus is essentially Haskell compiled to Plutus Core, with the extended UTXO model as the separate key concept.

Roadmap & Product EUTXO

Understanding Plutus means understanding the extended UTXO model: validators and the conditions to consume an input.

Roadmap & Product validatorsmart contracteUTXO

To build a DEX in Plutus he first translated the concept into the extended UTXO model before writing code.

He modeled a liquidity pool as a script address holding two tokens, with swaps following the Uniswap formula.

Roadmap & Product swapadd liquidity

He built the Uniswap-style clone in about a week of evenings, having also written a Plutus book that is already outdated.

Roadmap & Product Uniswap clone

Teaching in Ethiopia took a full year of preparation after Charles first raised it in Barbados.

Adoption & Africa

He recalls arriving in Addis Ababa, met by John and his driver, and navigating the visa queue.

Adoption & Africa John O'Connor

He insisted on staying in the same hotel as teaching assistant Polina to plan lectures together.

Adoption & Africa

Ethiopia surprised him with its 2700m elevation, leaving him cold and permanently out of breath.

Adoption & Africa

He was struck by Ethiopian religiosity, and taught the first all-women class at the education minister's request.

Adoption & Africa religion

The all-women class drew students from Ethiopia and Uganda; he notes India's strong gender balance in IT versus Germany.

Adoption & Africa women in tech

He found the women's shyness rooted in an authoritarian education system rather than gender.

Adoption & Africa

He praises working with Polina, a mathematician who had worked remotely for IOG a year before meeting anyone in person.

Company & Team remote workInput OutputIOHK +1

The diverse Ethiopian class included a PhD in AI, a college professor, and one who had worked with Ben Goertzel's SingularityNET.

Adoption & Africa artificial intelligence

IOG shares an Addis office with SingularityNET; the catered graduation hired about five students, with Ghana planned next.

Adoption & Africa AccraInput OutputIOHK +1

He describes his research collaboration with Elias Koutsoupias at Oxford on game theory and incentives.

Governance & Catalyst

Charles asked him to design the incentive mechanism for Cardano's proof-of-stake system.

Cardano Tech & Research incentives

With Elias, Aggelos Kiayias, and Katarina they designed an incentive system avoiding Bitcoin's over-large pools, yielding a thousand pools.

Cardano Tech & Research stake pools1000 poolsreward system +1

He is proud that the deployed reward system spreads staking rewards and lets hundreds make a living from it.

Cardano Tech & Research

He wrote Haskell simulations testing whether the mechanism's Nash equilibria are achievable in practice.

Charles sent him and Colin to a University of Oregon summer school on type theory.

Company & Team Eugene

The two-week Oregon school was taught by masters like Bob Harper and Edwin Brady.

Company & Team

He learned lambda calculus, gradual typing, and dependent typing there, writing Idris software.

Company & Team

Charles tells how Colin joined: he wanted to collaborate with Lawrence Paulson, inventor of Isabelle, at Cambridge.

Company & Team

Charles subsidized Colin's Cambridge PhD to formalize the Ouroboros forkable-string theory in Isabelle.

Company & Team forkable strings

Colin quietly wrote tens of thousands of lines of Isabelle proofs formalizing Ouroboros.

Cardano Tech & Research formal verification

Future game theory work includes tweaking the reward function for small pools attracting delegation and discouraging pledge splitting.

Cardano Tech & Research stake pools

Rising ADA prices pushed up transaction fees, prompting ideas to automate fee adjustment via a stablecoin or other mechanism.

Cardano Tech & Research protocol parametersstable coin

Plutus scripts add operational fees, and he wants to make the incentive models more realistic by including opportunity cost.

Cardano Tech & Research Plutus fees

Charles frames dynamic fee pricing and deterministic resource modeling, citing RAML from CMU and side chains.

Cardano Tech & Research dynamic feessidechainsidechains +1

Plutus Pioneers, with over 1300 interested developers, will be taught at scale via a forum where students help each other.

Roadmap & Product 1300 developers

He is excited by the birth of a new language and ecosystem, spending nights writing example Plutus contracts.

Roadmap & Product

The conversation turns to computational logic and the Lean movement bringing formal mathematics into the mainstream.

Cardano Tech & Research formalization

IOG is subsidizing Jeremy Avigad's textbook Lean for Mathematicians at CMU, aiming to create a Center for Formal Mathematics.

Cardano Tech & Research Carnegie MellonInput OutputIOHK +1

He explains QEDA, a long-discussed idea to put mathematics on the blockchain with each theorem's transaction carrying its proof.

Cardano Tech & Research Bill Whitetheoremsblock chain

Combining a theorem blockchain with an incentive model would let mathematicians earn money by proving results.

Cardano Tech & Research incentivesproofsblock chain

Bounties could fund pure math research and offer income and inclusion for people in developing countries.

Cardano Tech & Research financial inclusion

Proofs become NFTs in a marketplace for deduction, including certifying Plutus contracts as correct by construction.

Cardano Tech & Research NFTproof objectscertification +2

The project is named after the QED manifesto, aiming to make mathematics machine-understandable.

Cardano Tech & Research

His bookshelf holds Terry Pratchett novels and Hofstadter's Godel, Escher, Bach.

Personal & Off-topic Douglas Hofstadter

A favorite book is Almost History, a collection of alternative-history counterfactuals.

Personal & Off-topic Morgenthau Plan

Closing on following your passion, Lars marvels at going from humble beginnings to IOG and teaching in Ethiopia.

Vision & Philosophy Input OutputIOHKIO