Archive for The New York Times

gerrymandering to the max

Posted in Books, Kids, pictures, Statistics with tags , , , , , , , , , , , , , , , on November 12, 2026 by xi'an

Another Fiddler puzzle on gerrymandering an electoral map when all the votes are already known. There are seven districts with identical population sizes and a party needs at least half of the votes to win a district.

What is the smallest total fraction of population needed to vote the gerrymanderer’s party to ensure winning a majority of the seven districts?

The minimal number of districts to secure is four, where at least half of the votes need be for this party, meaning that the extreme solution where no such votes are seen in the three other districts works out for only two out of seven voters are behind the gerrymanderer’s party!

The second puzzle asks for gerrymandering a map by choosing a set of probabilities \(p_1,\ldots,p_7\) of winning the corresponding districts, under the constraint that the average of these probabilities is \(\frac12\). Meaning that the overall population is balanced between both parties. What is the strategy maximising the chances of winning at least four of the seven districts? at least five? And what are these probabilities?

Setting two \(p_i\)’s to zero and all other five \(p_i\)’s to \(7/10\) leads to a dismal \((7/10)^5\) probability of getting five districts, worse than having \(\frac12\) for all districts. While setting three \(p_i\)’s to zero and all other four \(p_i\)’s to \(7/8\) leads to a \((7/8)^4\) that beats \(\frac12\). (The Fiddler calls the first option dummymandering since it produces the consequence opposite to the intended one! In the real, US, world, dummymandering happened for the midterms in most places the Republican majority redrew the maps, as in Texas, Ohio, NC, Florida, &tc, since the redistricting did not integrate the shift in voters’ preferences) I checked on Claude that this was the optimal allocation, with it backing the optimality on a result of Hoeffding (Annals of Mathematical Statistics, 1956) I had never heard of.

a journal of the zombie plague year

Posted in Books, pictures, Travel, Wines with tags , , , , , , , , , , , , , , , on October 18, 2026 by xi'an

Thanks to the multiple trips the past weeks, esp. the AC issue on my flight to Tokyo!, I reada few more books from my virtual pile, incl. Swordheart by T. Kingfisher. Taking place in the same universe as the Saint of Steel series, it features an ingénue in distress inheriting a magic sword from her dying ward that comes with an immortal warrior. Very light if enjoyable as the previous books, especially well-suited for a long flight. I then tried a supposedly classic, Night’s Master by Tanith Lee, which first chapters are awfully complacent to grooming and which I could not continue reading… Followed by Girl with All the Gifts, by Mike Carey, advertised as the most original thriller, but in fact a zombie story. As I rarely enjoy zombie stories, I suffered through it, but acknowledge a well-composed gallery of characters and some attempt at rationalising the rise of these zombies. The girl with said gifts is however too flawless to be plausible (even within a zombie referential!).  I first thought it was partly inspired by the Covid crisis but the novel predates the pandemic. I also tried The Gone World but found the style puzzling and myself unable to engage into the story, mixing NCIS detective work with time travel into a weird sauce that does not catch…

Cooked a sticky rice flour cake with black sesame (paste), following a suggestion from the NYT, which tasted great, and fish cakes made with chickpeas that lasted the entire week. And a rather radical rice pudding with (low grade) matcha instead of sugar and whey instead of milk.

Watched Enola Holmes 3 on a lazy Saturday evening, which I found terribly boring and grotesque. And a few episodes of the Japanese TV series, Gate 24, which features an elite immigration team at a fictious Japanese airport. Some parts are funny but the scenarii are rather weak, with often caricaturesque depictions of foreign nationals.

perfect randomness?

Posted in Books, Statistics, University life with tags , , , , , , , , on July 17, 2026 by xi'an

The New York Times (of 09 June) pointed me to a Nature paper of 27 May 2026 that I had most curiously missed! It is called Experimental randomness amplification and it presents a technique aimed at integrally correcting the bias in quantum random bit generators. Independently from the device used. This is quite interesting, even though I am definitely missing a lot.

“…randomness amplification protocols make use of a Bell test. Bell tests consist of measurements performed on entangled systems. Their purpose is to prove that, under natural locality assumptions, there cannot exist any variables that determine the outcomes of these measurements” Kulikov et al.

Not so perfect then, if relying on a test, a statistical test, cannot provide or prove certainty about the improved predictability of the random generator… The core of the method is described as follows:

“Any source of random bits B1 … Bn can be characterized by a pair of parameters (μ, ε). Like any realistic device, the source may fail with some probability ε, in which case nothing is guaranteed about the randomness of B1 … Bn (…) [Adopting] the Santha–Vazirani (SV) model5, considering an adversary attempting to predict the output bit Bi of the source, we say the source is a μ-SV source if  Pguess(Bi∣E)≤½+μ  holds for all i. Here E denotes any (potentially quantum) side information that is available before the bit Bi is produced (…) and Pguess(Bi∣E) denotes the probability of guessing Bi, given access to E (…) The case μ = 0 corresponds to a perfectly random (unbiased) source, while larger values of μ (…) bias μ quantifies the predictive power of a potential adversary, [with] the assumption that a source is (μ, ε)-random [can] be falsified by a statistical test that yields an observed bias μobs larger than μ. Therefore, if μobs satisfies μobs < μ, we say that the test result is compatible with the (μ, ε)-randomness assumption (…) In this work, we demonstrate that, for any input source with μ ≤ 0.75%, our experimental set-up (…) yields completely unbiased output randomness (…) The residual increase of the failure probability, ε, can in principle be made arbitrarily small at the cost of consuming more input randomness (…) To achieve this, we use two spatially separated sources of randomness [and] treat their concatenated outputs (…) as a single μ-SV source” Kulikov et al.

An assumption of importance in the proof (which I did not check!) is that both (independent) sources of randomness share the same bias μ, furthermore assumed to be constant over time, which should be a concern with physical devices. I also do not understand why a mere concatenation of the outputs saves the day, but quickly browsing the complete paper (aka supplementary information) I found that the final output K is via a two-process extractor that involves several n x n binary matrices even though it achieves a O(n log n) runtime. The NYT article reports that it took nine hours to generate 45 million bits, yes bits… Last remark about checking for pure, uniform, randomness in the experiment by relying on Marsaglie’s Diehard set of tests:

“we generate a random bitstring K consisting of m = 45,025,658 bits, starting from 5,368,709,120 low-quality random bits (…) chosen such that a failure probability of the protocol as low as ε = 10−12 is guaranteed  (…) provided that the bias μ (…) is below 0.75%. Although it is fundamentally impossible to verify the unpredictability of a bitstring by analysing the string itself, we (…) run the NIST statistical test suite and the Diehard batteries of statistical tests [and] the result passes all the tests for which the string is sufficiently long.” Kulikov et al.

AIs rushing to the proofs

Posted in Books, Kids, University life with tags , , , , , , , , , , , , , , on June 23, 2026 by xi'an

A “Feature” article in Nature (21 May 2026) and a long article in the New York Time (June 8, 2026) are both covering the sudden intrusion of AIs in proving or disproving mathematical conjectures… Genuine, hard, conjectures likes Erdös problems. Specialised AIs like Alethia, Math Inc., AlphaProof are hacking at existing open problems and a benchmark collection of problems whose solutions are not available (yet) called First Proof has been recently gathered, solved by OpenAI,  and is soon to be extended. In an earlier interview with Nature (27 April 2026), Terry Tao acknowledges the tectonic shift represented by this intrusion and how a mathematician’s skill need evolve. (This is also the starting point of the NYT story. ) A side issue of this is that reviewing the proofs thus produced by an AI may prove inhumane if it reaches hundreds of pages, which also relates to the un-academic (?) tendency of AIs companies to over-blow the results produced by their machines. For the times they are a-Changin…

yet another list of 100 “best novels”

Posted in Books, Statistics with tags , , , , , , , , , , , , , , , , on June 15, 2026 by xi'an