Amelia's Blag: Latest articles
https://amelia.how
Fri, 08 Mar 2024 00:00:00 UTEfficient instance resolution for Agda
https://amelia.how/posts/efficient-instance-resolution-for-agda.html
Translating mathematics into code that a proof assistant can understand
is a process that involves a fair bit of friction. There’s quite a big
difference between what humans are willing to suspend disbelief about,
and what a type checker will actually accept without proof. Reducing
this friction is the primary task of the authors of a proof assistant
— but, of course, it would be infeasible to modify the proof assistant
itself to cover a new problem domain every time one comes up. To this
end, we provide users with various mechanisms for automation, through
which users can encode their domain-specific knowledge.]]>Fri, 08 Mar 2024 00:00:00 UThttps://amelia.how/posts/efficient-instance-resolution-for-agda.htmlAméliaA quickie: Boundaries in Cubical Agda
https://amelia.how/quick/boundaries-in-cubical-agda.html
Wonderfully vague title, yes? As some of you might know, I’m now
maintaining the implementation of Cubical Agda. Undoubtedly, if you
know, it’s because I’ve been talking your ear off about it: I’m sorry.
The “little kid with new toy” energy will continue until morale
improves.]]>Mon, 29 Aug 2022 00:00:00 UThttps://amelia.how/quick/boundaries-in-cubical-agda.htmlAméliaThe Adjoint Functor Theorem in Everyday Life
https://amelia.how/posts/the-adjoint-functor-theorem-in-everyday-life.html
Here’s a mathematical situation that comes up a lot more often than is
reasonable. Suppose we have some mathematical object $G$, generally
defined as some structure on a set: a group, a ring, a topological
space. These all have natural categorical structures, so we can - in
a uniform way - talk about their subobjects:]]>Sun, 13 Mar 2022 00:00:00 UThttps://amelia.how/posts/the-adjoint-functor-theorem-in-everyday-life.htmlAméliaThe Complete History of isoToEquiv
https://amelia.how/posts/the-complete-history-of-isotoequiv.html
It’s a standard fact in (higher) category theory and homotopy theory
that any equivalence of categories (homotopy equivalence) can be
improved to an adjoint equivalence of categories (strong homotopy
equivalence). Adjoint equivalences (and strong homotopy equivalences)
are “more structured” notions in the sense that the data of an adjoint
equivalence is contractible if inhabited.]]>Fri, 17 Dec 2021 00:00:00 UThttps://amelia.how/posts/the-complete-history-of-isotoequiv.htmlAméliaParsing Layout, or: Haskell's Syntax is a Mess
https://amelia.how/posts/parsing-layout.html
Hello! Today we’re going to talk about something I’m actually good at, for a change: writing compilers. Specifically, I’m going to demonstrate how to wrangle Alex and Happy to implement a parser for a simple language with the same indentation sensitive parsing behaviour as Haskell, the layout rule.]]>Fri, 03 Sep 2021 00:00:00 UThttps://amelia.how/posts/parsing-layout.htmlAméliaCubical Sets
https://amelia.how/posts/cubical-sets.html
In which I try to write about semantics. This is not gonna go well, but I’m gonna try my best. I’ve heard it on good authority that the best way to learn something is to explain it to someone else, so in this post I’m going to use you, dear reader, as my rubber duck while I try to understand cubical sets. These are important (to me) because they provide a semantic model of cubical type theory (which I have written about previously), and since we have a semantic model, that theory is (semantically) consistent.]]>Mon, 21 Jun 2021 00:00:00 UThttps://amelia.how/posts/cubical-sets.htmlAméliaA quickie: Axiom J
https://amelia.how/quick/axiom-j.html
Hey y’all, it’s been three months since my last blog post! You know what that means.. or should mean, at least. Yes, I’d quite like to have another long blog post done, but… Life is kinda trash right now, no motivation for writing, whatever. So over the coming week(s) or so, as a coping mechanism for the chaos that is the end of the semester, I’m gonna write a couple of really short posts (like this one) that might not even be coherent at all—this sentence sure isn’t.]]>Mon, 07 Jun 2021 00:00:00 UThttps://amelia.how/quick/axiom-j.htmlAméliaCubical Type Theory
https://amelia.how/posts/cubical-type-theory.html
Hello, everyone! It’s been a while, hasn’t it? Somehow, after every post, I manage to convince myself that I’m gonna be better and not let a whole season go by between posts, but it never happens. For the last two posts I’ve been going on at length about fancy type theories, and this post, as the title implies, is no exception. In fact, two posts ago I mentioned, offhand, cubical type theory as a possibility for realising HoTT in a constructive way, but 128 days ago I did not understand cubical type theory in the slightest.]]>Sun, 07 Mar 2021 00:00:00 UThttps://amelia.how/posts/cubical-type-theory.htmlAméliaOn Induction
https://amelia.how/posts/on-induction.html
Last time on this… thing… I update very occasionally, I talked about possible choices for representing equality in type theory. Equality is very important, since many properties of programs and mathematical operators are stated as equalities (e.g., in the definition of a group). However, expressing properties is useless if we can’t prove them, and this is where inductive types come in.]]>Fri, 15 Jan 2021 00:00:00 UThttps://amelia.how/posts/on-induction.htmlAméliaReflections on Equality
https://amelia.how/posts/reflections-on-equality.html
When shopping for a dependent type theory, many factors should be taken into consideration: how inductive data is represented (inductive schemas vs W-types), how inductive data computes (eliminators vs case trees), how types of types are represented (universes à la Tarski vs à la Russell). However, the most important is their treatment of equality.]]>Fri, 30 Oct 2020 00:00:00 UThttps://amelia.how/posts/reflections-on-equality.htmlAmélia