Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Carlo Angiuli

@carloangiuli@mathstodon.xyz
mastodon 4.7.2
  • Open on mathstodon.xyz

Assistant Professor in Computer Science at Indiana University. Into (homotopy) type theory & programming languages.

349 Followers
126 Following
36 Posts
Joined October 10, 2024
Website:
https://www.carloangiuli.com
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 2w ago

@danielgratzer@mathstodon.xyz and I have just released a new version of Principles of Dependent Type Theory! This one is a significant milestone: all planned content has been drafted; we do not expect any new sections at this point.

Main changes:

  • Added Appendix B on generalized algebraic theories! This resolves some unfinished business from earlier in the book, by proving the "initiality theorem" for ETT/ITT.
  • Added a draft of Section 4.4 on observational type theory.
  • Removed "solutions to selected exercises", and converted the most important handful of exercises into lemmas with proofs.
  • Various improvements to Chapter 6 (categorical semantics).
  • Expanded Section 3.6 on undecidability of equality in ETT, including a series of exercises establishing the undecidability of equality in TT with judgmental Nat-eta.

https://www.carloangiuli.com/papers/type-theory-book.pdf

carloangiuli.com
59
0
33
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 2mo ago

In a previous wave of Lean discourse, there was discussion about the fact that type-checking a Lean file can run arbitrary code. There are pros and cons to this, but one particularly obvious con is, well, let's just hear Kevin Buzzard's version:

"One cannot trust AI-generated code so I ran [the AI-generated formalization of the Erdős unit distance conjecture counterexample] in a sandbox on my machine (malicious Lean code can run arbitrary commands on your computer — Lean is a programming language, after all)." (https://xenaproject.wordpress.com/2026/07/20/human-mathematicians-are-being-outcounterexampled/)

My beloved LaTeX is another example of a tool in which you can write arbitrary code that generates a document of some kind, but in this case it can only do real damage if you pass the `--shell-escape` flag.

As far as I can tell, Lean doesn't have an equivalent "sandboxed" mode. Am I missing something? Why isn't this something people want?

Human mathematicians are being outcounterexampled
Xena

Human mathematicians are being outcounterexampled

It’s been an interesting few weeks for counterexamples. This post is basically my perspective of what has been going on in the world of formalization, AI tools and, in particular, counterexam…

18
5
2
1
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 2mo ago

RE: @danielgratzer@mathstodon.xyz

We are working together in Daniel’s office, and every time his computer dings with another like on this post, he looks at me like 😏

mathstodon.xyz

daniel gratzer: "Sitting next to @carloangiuli and frequently wond…" - Mathstodon

18
0
1
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago

LICS paper with @trebor@types.pl accepted! 🎉

25
0
4
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@csgordon After teaching HtDP to freshmen for a few years I am convinced that the problem is poor *text editing* skills specifically, compounded by poor typing skills. It takes many students considerable time and effort to locate relevant code, move the cursor to a specific location, swap the order of two arguments to a function, etc. (We are using DrRacket but I think using a fancier editor would be even worse.) Watching them edit code on their laptops probably looks a lot like if I were trying to edit code in the Notes app on my phone, and I wonder if that's because that's where most of their text input is happening nowadays??
20
9
6
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago

Went to lunch today with the PL grad students, who started discussing their relatively large range of ages.

Student 1: Well, I'm 24.
Me: I mean, isn't that the age Coolio said he wasn't sure if he'd live to see?
Student 2: Who's Coolio?
Student 3: That's a musical artist, right?
Student 2: ...from the 1900s?
[@samth@mastodon.social and I are dying]

12
1
1
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago

PCF is a domain-specific language for ω-cppos.

10
2
1
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago

17th century mathematical mistakes: I have a proof that is too large to fit in this margin.

21st century mathematical mistakes: I have a file that is too large to fit in this buffer.

11
0
4
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@totbwf @jonmsterling Absolutely. Plus, omitting funext from ITT does not actually allow us to prove that mergesort and insertion sort have different properties!
9
4
1
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
Replying to
I must have been in some kind of mood when I wrote these...
14
6
3
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@jonmsterling Cursed follow-up: How many people think function extensionality *isn't* neutral?
8
30
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 6mo ago
Replying to
@jonmsterling@mathstodon.xyz @ToucanIan@mathstodon.xyz @sophiehuiberts@mathstodon.xyz you need to switch from amsthm+thmtools to keytheorems, then it will work seamlessly again. keytheorems has an option thmtools-compat that means you don’t need to change any of your amsthm code
8
5
3
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@maxsnew "formalising a textbook is arguably easier...because the answers to everything are in the text" uhhhh what
7
2
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
Replying to
Ah indeed, it was July 2020...
9
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
As you might have guessed, meeting the requirements is not quite the same as actually making one's mathematics very accessible. I'm interested in figuring out how to actually do the latter by instrumenting my macros to generate helpful alt text, but that project will have to wait a few months.
9
0
2
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to

@totbwf

In particular, we put some indexed inductives in Typeω to avoid generating the extra cubical code.

lmao.

@stschaef @amy @ncf

4
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
Replying to
@amy honestly this is the exact reaction I'm aiming for in all my presentations
7
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
Replying to
@jonmsterling Yeah! Despite how imperfect the whole situation is currently, I am extremely impressed with all the work they've done, both on accessibility itself and on overhauling the internals to make the kernel more extensible. The one downside is that some older packages that do "evil" things to the internals will bit rot sooner rather than later.
6
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 11mo ago
Replying to
@jonmsterling @zwarich Of course PTSes have applications. They also have lambda and pi. And nothing else.
13
0
2
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@ecavallo@mathstodon.xyz Congrats!
3
3
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@jonmsterling One thing I don't like about this solution is that I strongly prefer the "nameinlink" behavior of making the entire "Definition N" string a hyperlink and not only "N". Of course you could roll this yourself with some macros but things start to get complicated.
3
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@ecavallo@mathstodon.xyz I saw your accepted abstract -- very neat! If it isn't spoilers, I'm very curious for which "full" cubical type theories you obtain models with the correct homotopy theory.
2
1
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
cc @wilbowma?
2
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
Replying to
@ryanbrewer There's a video here at https://hott-uf.github.io/2020/ but a ton has changed and I would disrecommend watching the talk to learn about gluing. (Maybe the first half, which includes these slides, is still worth watching.) One resource for both topics is the book on dependent type theory I'm writing with @danielgratzer, although unfortunately cubical type theory + gluing are like......the two unfinished parts of the book, lol. But here's the draft: https://carloangiuli.com/papers/type-theory-book.pdf (updated public draft coming soon!)
hott-uf.github.io

HoTT/UF 2020

3
1
1
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@csgordon @maxsnew Yes, this. "most of our students have been typing essays in a word processor for years before college" -- honestly I am really starting to wonder what it looks like when they type out an essay!
2
2
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@markusde @maxsnew damn this guy's good
2
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@ecavallo @jhoefer Very cool work!
1
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 7mo ago
Replying to
@modulux I hope so! At the very least, the *non-symbolic* parts of these documents should be substantially more accessible, which is a first step.
2
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@ecavallo@mathstodon.xyz wait why does Christian have a different postal code from you and Thierry 😆
1
2
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@ecavallo@mathstodon.xyz Oh, interesting! Maybe your affiliations should be listed as "Chalmers University of Technology *and/or* University of Gothenburg"...
1
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 6mo ago
Replying to
@ToucanIan@mathstodon.xyz both
1
0
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@jonmsterling @MartinEscardo I find this a very perplexing requirement, especially because no fully combinatory presentation of the typing rules of dependent type theory has been developed, IIUC? (I realize you are only the messenger, just thinking aloud here...)
0
1
0
0
Open post
Carlo Angiuli @carloangiuli@mathstodon.xyz
· 5mo ago
Replying to
@samth they are up - https://www.acm.org/binaries/content/assets/acmelections/2026_acm_general_election_all--final.pdf
acm.org
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 22:39:05 UTC