QC Rerun Time 2025 #44

It's hard to believe the first Cubetown visit was like 800 friggin' comics ago, holy crap. Time does weird things when you draw a comic every day for 20-odd years. As I recall, at this point I was still trying to figure out if QC would switch solely to focus on Marten and Claire's Cubetown adventures, or if I'd split the focus between Cubetown and Northampton. I ended up doing the latter, which I think was the right choice. Too many fun characters to just leave behind like that! And of course then I immediately added like four new ones, and then Anh basically took over the comic for a year. Is Sam still going through her goth phase? IS it just a phase? ONLY ONE WAY TO FIND OUT (I will do whatever seems funniest at the time)
QC Rerun Time 2025 #3

A Bembo comic! Man I love these. IIRC, the whole idea for Bembo started off on twitter when I went on a bit of a "dumb barbarian but not in the way you'd expect" style of shitposting spree. Then later that year I needed some filler comics for the week between xmas and new year's so I decided to turn some of those posts into actual comics. And then it became a semi-regular thing! They're very fun and I hope to do more in the future. Bembo is obviously heavily indebted to Oglaf, a comic I adore. Go read Oglaf, unless you don't like cartoons with tits and wieners in them I guess.

Every time I see one of these old comics I think "man, remember when QC was about indie rock lol." Also remember when I used to make jokes about the size of Faye's ass but didn't really know how to draw thicker ladies yet so she pretty much looked like every other character, lol.
The Equational Theories Project: Advancing Collaborative Mathematical Research at Scale
Matthew Bolan, Joachim Breitner, Jose Brox, Nicholas Carlini, Mario Carneiro, Floris van Doorn, Martin Dvorak, Andrés Goens, Aaron Hill, Harald Husum, Hernán Ibarra Mejia, Zoltan Kocsis, Bruno Le Floch, Amir Livne Bar-on, Lorenzo Luccioli, Douglas McNeil, Alex Meiburg, Pietro Monticone, Pace P. Nielsen, Emmanuel Osalotioman Osazuwa, Giovanni Paolini, Marco Petracci, Bernhard Reinke, David Renshaw, Marcus Rossel, Cody Roux, Jérémy Scanvic, Shreyas Srinivas, Anand Rao Tadipatri, Vlad Tsyrklevich, Fernando Vaquerizo-Villar, Daniel Weber, Fan Zheng, and I have just uploaded to the arXiv our preprint The Equational Theories Project: Advancing Collaborative Mathematical Research at Scale. This is the final report for the Equational Theories Project, which was proposed in this blog post and also showcased in this subsequent blog post. The aim of this project was to see whether one could collaboratively achieve a large-scale systematic exploration of a mathematical space, which in this case was the implication graph between 4694 equational laws of magmas. A magma is a set equipped with a binary operation
(or, equivalently, a
multiplication table). An equational law is an equation involving this operation and a number of indeterminate variables. Some examples of equational laws, together with the number that we assigned to that law, include
-
(Trivial law):
-
(Singleton law):
-
(Commutative law):
-
(Central groupoid law):
-
(Associative law):
The aim of the project was to work out which of these laws imply which others. For instance, all laws imply the trivial law , and conversely the singleton law
implies all the others. On the other hand, the commutative law
does not imply the associative law
(because there exist magmas that are commutative but not associative), nor is the converse true. All in all, there are
implications of this type to settle; most of these are relatively easy and could be resolved in a matter of minutes by an expert in college-level algebra, but prior to this project, it was impractical to actually do so in a manner that could be feasibly verified. Also, this problem is known to become undecidable for sufficiently long equational laws. Nevertheless, we were able to resolve all the implications informally after two months, and have them completely formalized in Lean after a further five months.
After a rather hectic setup process (documented in this personal log), progress came in various waves. Initially, huge swathes of implications could be resolved first by very simple-minded techniques, such as brute-force searching all small finite magmas to refute implications; then, automated theorem provers such as Vampire or Mace4 / Prover9 were deployed to handle a large fraction of the remainder. A few equations had existing literature that allowed for many implications involving them to be determined. This left a core of just under a thousand implications that did not fall to any of the “cheap” methods, and which occupied the bulk of the efforts of the project. As it turns out, all of the remaining implications were negative; the difficulty was to construct explicit magmas that obeyed one law but not another. To do this, we discovered a number of general constructions of magmas that were effective at this task. For instance:
- Linear models, in which the carrier
was a (commutative or noncommutative) ring and the magma operation took the form
for some coefficients
, turned out to resolve many cases.
- We discovered a new invariant of an equational law, which we call the “twisting semigroup” of that law, which also allowed us to construct further examples of magmas that obeyed one law
but not another
, by starting with a base magma
that obeyed both laws, taking a Cartesian power
of that magma, and then “twisting” the magma operation by certain permutations of
designed to preserve
but not
.
- We developed a theory of “abelian magma extensions”, similar to the notion of an abelian extension of a group, which allowed us to flexibly build new magmas out of old ones in a manner controlled by a certain “magma cohomology group
” which were tractable to compute, and again gave ways to construct magmas that obeyed one law
but not another
.
- Greedy methods, in which one fills out an infinite multiplication table in a greedy manner (somewhat akin to naively solving a Sudoku puzzle), subject to some rules designed to avoid collisions and maintain a law
, as well as some seed entries designed to enforce a counterexample to a separate law
. Despite the apparent complexity of this method, it can be automated in a manner that allowed for many outstanding implications to be refuted.
- Smarter ways to utilize automated theorem provers, such as strategically adding in additional axioms to the magma to help narrow the search space, were developed over the course of the project.
Even after applying all these general techniques, though, there were about a dozen particularly difficult implications that resisted even these more powerful methods. Several ad hoc constructions were needed in order to understand the behavior of magmas obeying such equations as E854, E906, E1323, E1516, and E1729, with the latter taking months of effort to finally solve and then formalize.
A variety of GUI interfaces were also developed to facilitate the collaboration (most notably the Equation Explorer tool mentioned above), and several side projects were also created within the project, such as the exploration of the implication graph when the magma was also restricted to be finite. In this case, we resolved all of the implications except for one (and its dual):
Problem 1 Does the law(E677) imply the law
(E255) for finite magmas?
See this blueprint page for some partial results on this problem, which we were unable to resolve even after months of effort.
Interestingly, modern AI tools did not play a major role in this project (but it was largely completed in 2024, before the most recent advanced models became available); while they could resolve many implications, the older “good old-fashioned AI” of automated theorem provers were far cheaper to run and already handled the overwhelming majority of the implications that the advanced AI tools could. But I could imagine that such tools would play a more prominent role in future similar projects.
Masking in Japan, and Dec 09
So, you know that Japanese people mask more than Americans or Europeans. But how much more? Some numbers from today: ( Read more... )
So, 40-50% generically outside, and 50-75% on trains. On the "masks and exercise" front, I'd note that many bicyclists have been masked, too.
Further, almost but not entirely all of customer-facing employees have been masked. Train, bus drivers, retail shop employees, the few waiters I've seen. I'd say at least 80% conservatively, 90% likely, maybe not much higher (it takes few outliers to push a ratio away from extremes.) I think Seki said that waiters often aren't, but I dunno.
Now, is this the New Normal after covid? Not necessarily. Japan has been having a bad flu season, huge spike in cases, and a major strain (coming soon to a school or hospital near you) wasn't in the vaccine this year, so I think the government has been urging people to mask again. Also it's winter-ish and some people here may have noticed "masks are like a scarf but better."
( Read more... )
The story of Erdős problem #1026
Problem 1026 on the Erdős problem web site recently got solved through an interesting combination of existing literature, online collaboration, and AI tools. The purpose of this blog post is to try to tell the story of this collaboration, and also to supply a complete proof.
The original problem of Erdős, posed in 1975, is rather ambiguous. Erdős starts by recalling his famous theorem with Szekeres that says that given a sequence of distinct real numbers, one can find a subsequence of length
which is either increasing or decreasing; and that one cannot improve the
to
, by considering for instance a sequence of
blocks of length
, with the numbers in each block decreasing, but the blocks themselves increasing. He also noted a result of Hanani that every sequence of length
can be decomposed into the union of
monotone sequences. He then wrote “As far as I know the following question is not yet settled. Let
be a sequence of distinct numbers, determine
This problem was added to the Erdős problem site on September 12, 2025, with a note that the problem was rather ambiguous. For any fixed , this is an explicit piecewise linear function of the variables
that could be computed by a simple brute force algorithm, but Erdős was presumably seeking optimal bounds for this quantity under some natural constraint on the
. The day the problem was posted, Desmond Weisenberg proposed studying the quantity
, defined as the largest constant such that
Though not stated on the web site, one can formulate this problem in game theoretic terms. Suppose that Alice has a stack of coins for some large
. She divides the coins into
piles of consisting of
coins each, so that
. She then passes the piles to Bob, who is allowed to select a monotone subsequence of the piles (in the weak sense) and keep all the coins in those piles. What is the largest fraction
of the coins that Bob can guarantee to keep, regardless of how Alice divides up the coins? (One can work with either a discrete version of this problem where the
are integers, or a continuous one where the coins can be split fractionally, but in the limit
the problems can easily be seen to be equivalent.)
AI-generated images continue to be problematic for a number of reasons, but here is one such image that somewhat manages at least to convey the idea of the game:
For small , one can work out
by hand. For
, clearly
: Alice has to put all the coins into one pile, which Bob simply takes. Similarly
: regardless of how Alice divides the coins into two piles, the piles will either be increasing or decreasing, so in either case Bob can take both. The first interesting case is
. Bob can again always take the two largest piles, guaranteeing himself
of the coins. On the other hand, if Alice almost divides the coins evenly, for instance into piles
for some small
, then Bob cannot take all three piles as they are non-monotone, and so can only take two of them, allowing Alice to limit the payout fraction to be arbitrarily close to
. So we conclude that
.
An hour after Desmond’s comment, Stijn Cambie noted (though not in the language I used above) that a similar construction to the one above, in which Alice divides the coins into pairs that are almost even, in such a way that the longest monotone sequence is of length
, gives the upper bound
. It is also easy to see that
is a non-increasing function of
, so this gives a general bound
. Less than an hour after that, Wouter van Doorn noted that the Hanani result mentioned above gives the lower bound
, and posed the problem of determining the asymptotic limit of
as
, given that this was now known to range between
and
. This version was accepted by Thomas Bloom, the moderator of the Erdős problem site, as a valid interpretation of the original problem.
The next day, Stijn computed the first few values of exactly:
The problem then lay dormant for almost two months, until December 7, 2025, in which Boris Alexeev, as part of a systematic sweep of the Erdős problems using the AI tool Aristotle, was able to get this tool to autonomously solve this conjecture in the proof assistant language Lean. The proof converted the problem to a rectangle-packing problem.
This was one further addition to a recent sequence of examples where an Erdős problem had been automatically solved in one fashion or another by an AI tool. Like the previous cases, the proof turned out to not be particularly novel. Within an hour, Koishi Chan gave an alternate proof deriving the required bound from the original Erdős-Szekeres theorem by a standard “blow-up” argument which we can give here in the Alice-Bob formulation. Take a large
, and replace each pile of
coins with
new piles, each of size
, chosen so that the longest monotone subsequence in this collection is
. Among all the new piles, the longest monotone subsequence has length
. Applying Erdős-Szekeres, one concludes the bound
Once this proof was found, it was natural to try to see if it had already appeared in the literature. AI deep research tools have successfully located such prior literature in the past, but in this case they did not succeed, and a more “old-fashioned” Google Scholar job turned up some relevant references: a 2016 paper by Tidor, Wang and Yang contained this precise result, citing an earlier paper of Wagner as inspiration for applying “blowup” to the Erdős-Szekeres theorem.
But the story does not end there! Upon reading the above story the next day, I realized that the problem of estimating was a suitable task for AlphaEvolve, which I have used recently as mentioned in this previous post. Specifically, one could task to obtain upper bounds on
by directing it to produce real numbers (or integers)
summing up to a fixed sum (I chose
) with a small a value of
as possible. After an hour of run time, AlphaEvolve produced the following upper bounds on
for
, with some intriguingly structured potential extremizing solutions:

Proposition 1 Ifand
, then
.
Proof: Consider a sequence of numbers clustered around the “red number”
and “blue number”
, consisting of
blocks of
“blue” numbers, followed by
blocks of
“red” numbers, and then
further blocks of
“blue” numbers. When
, one should take all blocks to be slightly decreasing within each block, but the blue blocks should be are increasing between each other, and the red blocks should also be increasing between each other. When
, all of these orderings should be reversed. The total number of elements is indeed
Here is a figure illustrating the above construction in the case (obtained after starting with a ChatGPT-provided file and then manually fixing a number of placement issues):
Here is a plot of (produced by ChatGPT Pro), showing that it is basically a piecewise linear approximation to the square root function:
Shortly afterwards, Lawrence Wu clarified the connection between this problem and a square packing problem, which was also due to Erdős (Problem 106). Let be the least number such that, whenever one packs
squares of sidelength
into a square of sidelength
, with all sides parallel to the coordinate axes, one has
Proposition 2 For any, one has
Proof: Given and
, let
be the maximal sum over all increasing subsequences ending in
, and
be the maximal sum over all decreasing subsequences ending in
. For
, we have either
(if
) or
(if
). In particular, the squares
and
are disjoint. These squares pack into the square
, so by definition of
, we have
This idea of using packing to prove Erdős-Szekeres type results goes back to a 1959 paper of Seidenberg, although it was a discrete rectangle-packing argument that was not phrased in such an elegantly geometric form. It is possible that Aristotle was “aware” of the Seidenberg argument via its training data, as it had incorporated a version of this argument in its proof.
Here is an illustration of the above argument using the AlphaEvolve-provided example
for to convert it to a square packing (image produced by ChatGPT Pro):
At this point, Lawrence performed another AI deep research search, this time successfully locating a paper from just last year by Baek, Koizumi, and Ueoro, where they show that
Theorem 3 For any, one has
which, when combined with a previous argument of Praton, implies
Theorem 4 For anyand
with
, one has
This proves the conjecture!
There just remained the issue of putting everything together. I did feed all of the above information into a large language model, which was able to produce a coherent proof of (1) assuming the results of Baek-Koizumi-Ueoro and Praton. Of course, LLM outputs are prone to hallucination, so it would be preferable to formalize that argument in Lean, but this looks quite doable with current tools, and I expect this to be accomplished shortly. But I was also able to reproduce the arguments of Baek-Koizumi-Ueoro and Praton, which I include below for completeness.
Proof: (Proof of Theorem 3, adapted from Baek-Koizumi-Ueoro) We can normalize . It then suffices to show that if we pack the length
torus
by
axis-parallel squares of sidelength
, then
Pick . Then we have a
grid
UPDATE: Actually, the above argument also proves Theorem 4 with only minor modifications. Nevertheless, we give the original derivation of Theorem 4 using the embedding argument of Praton below for sake of completeness.
Proof: (Proof of Theorem 4, adapted from Praton) We write with
. We can rescale so that the square one is packing into is
. Thus, we pack
squares of sidelength
into
, and our task is to show that
- The sequence can be numerically computed as a sequence of rational numbers.
- When appropriately normalized and arranged, visible patterns in this sequence appear that allow one to conjecture the form of the sequence.
- This problem is a weighted version of the Erdős-Szekeres theorem.
- Among the many proofs of the Erdős-Szekeres theorem is the proof of Seidenberg in 1959, which can be interpreted as a discrete rectangle packing argument.
- This problem can be reinterpreted as a continuous square packing problem, and in fact is closely related to (a generalized axis-parallel form of) Erdős problem 106, which concerns such packings.
- The axis-parallel form of Erdős problem 106 was recently solved by Baek-Koizumi-Ueoro.
- The paper of Praton shows that Erdős Problem 106 implies the generalized version needed for this problem. This implication specializes to the axis-parallel case.
Another key ingredient was the balanced AI policy on the Erdős problem website, which encourages disclosed AI usage while strongly discouraging undisclosed use. To quote from that policy: “Comments prepared with the assistance of AI are permitted, provided (a) this is disclosed, (b) the contents (including mathematics, code, numerical data, and the existence of relevant sources) have been carefully checked and verified by the user themselves without the assistance of AI, and (c) the comment is not unreasonably long.”
Fujisawa 2025-Dec-08
So, yesterday: I worried I'd gotten a germ after all, since I woke up with a slight sore throat and almost-congestion. There was an alternative explanation, "sleeping in a cold dry room", but who knows. I went out for a walk and ended up out for 3 hours, which suggests good health, though I was doing easy pace. ( Read more... )
Understanding Health Insurance: A Health Plan is a Contract [US, healthcare, Patreon]
- Introduction
- A Health Plan is a Contract ⇐ You are here
Health Insurance is a Contract
What we call health insurance is a contract. When you get health insurance, you (or somebody on your behalf) are agreeing to a contract with a health insurance company – a contract where they agree to do certain things for you in exchange for money. So a health insurance plan is a contract between the insurance company and the customer (you).
For simplicity, I will use the term health plan to mean the actual contract – the specific health insurance product – you get from a health insurance company. (It sounds less weird than saying "an insurance" and is shorter to type than "a health insurance plan".)
One of the things this clarifies is that one health insurance company can have a bunch of different contracts (health plans) to sell. This is the same as how you may have more than one internet company that could sell you an internet connection to your home, and each of those internet companies might have several different package deals they offer with different prices and terms. In exactly that way, there are multiple different health insurance companies, and they each can sell multiple different health plans with different prices and terms.
( Read more... [7,130 words] )
This post brought to you by the 220 readers who funded my writing it – thank you all so much! You can see who they are at my Patreon page. If you're not one of them, and would be willing to chip in so I can write more things like this, please do so there.
Please leave comments on the Comment Catcher comment, instead of the main body of the post – unless you are commenting to get a copy of the post sent to you in email through the notification system, then go ahead and comment on it directly. Thanks!
Understanding Health Insurance: Introduction [healthcare, US, Patreon]
Preface: I had hoped to get this out in a more timely manner, but was hindered by technical difficulties with my arms, which have now been resolved. This is a serial about health insurance in the US from the consumer's point of view, of potential use for people still dealing with open enrollment, which we are coming up on the end of imminently. For everyone else dealing with the US health insurance system, such as it is, perhaps it will be useful to you in the future.
Understanding Health Insurance:
Introduction
Health insurance in the US is hard to understand. It just is. If you find it confusing and bewildering, as well as infuriating, it's not just you.
I think that one of the reasons it's hard to understand has to do with how definitions work.
Part of the reason why health insurance is so confusing is all the insurance industry jargon that is used. Unfortunately, there's no way around that jargon. We all are stuck having to learn what all these strange terms mean. So helpful people try to explain that jargon. They try to help by giving definitions.
But definitions are like leaves: you need a trunk and some branches to hang them on, or they just swirl around in bewildering clouds and eventually settle in indecipherable piles.
There are several big ideas that provide the trunk and branches of understanding health insurance. If you have those ideas, the jargon becomes a lot easier to understand, and then insurance itself becomes a lot easier to understand.
So in this series, I am going to explain some of those big ideas, and then use them to explain how health insurance is organized.
This unorthodox introduction to health insurance is for beginners to health insurance in the US, and anyone who still feels like a beginner after bouncing off the bureaucratic nightmare that is our so-called health care system in the US. It's for anyone who is new to being an health insurance shopper in the US, or feels their understanding is uncertain. Maybe you just got your first job and are being asked to pick a health plan from several offered. Maybe you have always had insurance from an employer and are shopping on your state marketplace for the first time. Maybe you have always gotten insurance through your parents and spouse, and had no say in it, but do now. This introduction assumes you are coming in cold, a complete beginner knowing nothing about health insurance or what any of the health insurance industry jargon even is.
Please note! This series is mostly about commercial insurance products: the kinds that you buy with money. Included in that are the kind of health insurance people buy for themselves on the state ACA marketplaces and also the kind of health insurance people get from their employers as a "bene". It may (I am honestly not sure) also include Medicare Advantage plans.
The things this series explains do not necessarily also describe Medicaid or bare Medicare, or Tricare or any other government run insurance program, though if you are on such an insurance plan this may still be helpful to you. Typically government-run plans have fewer moving parts with fewer choices, so fewer jargon terms even matter to them. Similarly, this may be less useful for subsidized plans on the state ACA marketplaces. It depends on the state. Some states do things differently for differently subsidized plans.
But all these different kinds of government-provided health insurance still use some insurance industry jargon for commercial insurance, if only to tell you what they don't have or do. So this post may be useful to you because understanding how insurance typically works may still prove helpful in understanding what the government is up to. Understanding what the assumptions are of regular commercial insurance will hopefully clarify the terms even government plans use to describe themselves. Just realize that if you have a plan the government in some sense is running, things may be different – including maybe very different – for you.
On to the first important idea: Health Insurance is a Contract.
- Introduction
- Health Insurance is a Contract
QC RERUN TIME 2025: The Beginning

lmao that the first comic to pop up when I hit the random button on my site was Faye saying "why's there always gotta be new people"
Looking back at this year, I feel like Anh basically took over the comic? It's wild how it's always the unexpected ones who have the most juice. No offense to Ayo, who is also plenty juicy and I also love writing. But Anh's a couple orders of magnitude more of a mess. But THIS comic is about AYO! Who is a delightful little idiot and I can't wait to do more with. OKAY THANKS I LOVE YOU ALL BYE
time zones and food
Gonna take a while to get used to these time zones differences again. I realized in the shower that as I was preparing to go to bed before Monday, for most of my friends, Sunday morning was just beginning. Also, that's probably why Oglaf hasn't updated yet -- it's Sunday! My webcomics schedule is in confusion. ( Read more... )
New travel series begins
After three years in friendly Very Cheap Rent houses, I'm back to nomadic life. After bouncing around Philly a few times to get things sorted, I'm now in Tokyo, because (a) Japan is cool and (b) old family of friend is old, tick-tock tick-tock. If you want to follow along, well, keep checking in for the travel2025 tag. Some random observations to start: ( Read more... )
They're Just Like Us

just a regular girl
Quantitative correlations and some problems on prime factors of consecutive integers
Joni Teravainen and I have uploaded to the arXiv our paper “Quantitative correlations and some problems on prime factors of consecutive integers“. This paper applies modern analytic number theory tools – most notably, the Maynard sieve and the recent correlation estimates for bounded multiplicative functions of Pilatte – to resolve (either partially or fully) some old problems of Erdős, Strauss, Pomerance, Sárközy, and Hildebrand, mostly regarding the prime counting function
Our first result, answering a question of Erdős, shows that there are infinitely many for which one has the bound
However, with the advent of the Maynard sieve (also sometimes referred to as the Maynard–Tao sieve), it turns out to be possible to sieve for the conditions for all
simultaneously (roughly speaking, by sieving out any
for which
is divisible by a prime
for a large
), and then performing a moment calculation analogous to the standard proof (due to Turán) of the Hardy–Ramanujan law, but weighted by the Maynard sieve. (In order to get good enough convergence, one needs to control fourth moments as well as second moments, but these are standard, if somewhat tedious, calculations).
Our second result, which answers a separate question of Erdős, establishes that the quantity
Our final result concerns the asymptotic behavior of the density







