Physicist, programmer (Haskell, C++), mathematician, category theorist. Author of Category Theory for Programmers and The Dao of Functional Programming
Public Key
npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Profile Code
nprofile1qqs2vz5gxaxcu88sjtr74ymx92ncf7enk0n4hemj2qtsxtnf984ut4gpz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0dss2u4xn
Show more details
Published at
2026-07-11T15:18:06Z Event JSON
{
"id": "4971a6547ff69bf43ea71acab76627aa53edb18b71e38f87c6e0f23e37ad2270" ,
"pubkey": "a60a88374d8e1cf092c7ea93662aa784fb33b3e75be7725017032e6929ebc5d5" ,
"created_at": 1783783086 ,
"kind": 0 ,
"tags": [
[
"proxy",
"https://mathstodon.xyz/users/BartoszMilewski",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "{\"name\":\"Bartosz Milewski\",\"about\":\"Physicist, programmer (Haskell, C++), mathematician, category theorist. Author of Category Theory for Programmers and The Dao of Functional Programming\",\"picture\":\"https://media.mathstodon.xyz/accounts/avatars/108/205/154/379/845/901/original/862ec704f5fa1247.jpg\",\"nip05\":\"[email protected] \",\"fields\":[[\"blog\",\"https://bartoszmilewski.com/\"],[\"github\",\"https://github.com/BartoszMilewski\"],[\"book\",\"https://github.com/BartoszMilewski/DaoFP/blob/master/DaoFP.pdf\"]]}" ,
"sig": "be805c9ad4a58ee916e9e563c43982b4a6b23686df22c99b79b01b90c162ffb85c514f0370cd3618be49bb76ba4ff9be8532b951da6647d5a1b7828896e18ce0"
}
Last Notes npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I just realized that Chekhov's Gun is an example of linear logic. It's a premise that has to be consumed at some point in the plot. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski The paradox of the stone: "Could God create a stone so heavy that even he could not lift it?" was solved by Grothendieck by introducing an infinite tower of gods. The God of the n'th universe can only create stones that he can lift. But the God from the n+1 universe can create an unliftable stone for the God from the n'th universe, and so on. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Democracy is like health: You don't appreciate it until you lose it. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…g0zc @nprofile…gu9p @nprofile…ck2y "accurate testable predictions about, say, black hole collisions." Actually, all we can do is to produce crude approximations. All physics is just approximations. There's so much stuff that's swept under the rug. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…ck2y @nprofile…g0zc @nprofile…gu9p This is even more obvious in constructive mathematics, where things are constructed rather than discovered. The ideas that are effective are kept alive by natural selection. Wigner was wrong-- the effectiveness of mathematics is very reasonable. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…5pn7 I took my inspiration from this paper, where they define isolated points in HoTT. https://arxiv.org/abs/2512.17484 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…5pn7 This is why I said "isolated" objects. It could be just objects with no connection with the rest of the category, or objects whose removal leaves a subcategory of the original. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski We can take a derivative of a container with respect to an isolated object \(p_0 \colon P s\). The shapes in the derivative are pairs of objects \( (s \colon S, p_0 \colon P s ) \) and the positions are functors to \(P s \textbackslash p_0 \) (the category \(P s\) with the (isolated) object \(p_0\) removed). One can even define container optics: \[ O\langle a, b \rangle \langle s, t \rangle = \int^{S \triangleleft P} (s \to T_{S \triangleleft P} a) \times (T_{S \triangleleft P} b \to t) \] 3/3 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Now replace sets with categories. A categorical container is a category of shapes \(S\) and a (pseudo-) functor \(P \colon S \to \mathbf{Cat}\). It's the same functor that appears in the Grothendieck construction. An arrow from \(S \triangleleft P \) to \(T \triangleleft Q \) is a functor \(S \to T\) and a natural transformation \(Q \to P\). We can fill the container with data from a category \(X\) using a coend: \[ T_{S \triangleleft P} X = \int^{s \colon S} (P s \to X) \] 2/3 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I have found an interesting link between containers and the Grothendieck construction. Here's a sketch. A container \(S \triangleleft P \) in a category \(\mathbb C\) consists of an object of shapes \(S\) and an arrow \(P \colon S \to \mathbb C\) of positions. For instance, in \(\mathbf{Set}\), the shape of lists is \(\mathbb N\) (lengths), and for each shape \(n \in \mathbb N \), positions are ordinals less than \(n\). To fill a shape with data, we construct the extension functor. E.g., in \(\mathbf{Set}\): \[ T_{S \triangleleft P} X = \Sigma_{s \in S} (P s \to X) \] (think of a list of \(X\)). 1/3 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…g0zc I don't like polluting my equations with punctuation. The reader has to do additional mental work to figure out if I mean a z with a subscript (a placeholder dot?). An equation on a separate line is enough of a break to avoid any confusion, and if you read the text aloud, you'll make a break anyway. Also, the capitalization of the following sentence is enough to imply a period. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Geoffrey Hinton came up with the same conclusion. https://www.reddit.com/r/mathematics/comments/1q4jrph/geoffrey_hinton_says_mathematics_is_a_closed/ npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…g0zc I hear pundits saying that this or that move sets a precedent that will be used by other actors to justify their actions (like China taking Taiwan, or Russia attacking Estonia). As if they needed a justification! npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I see parallels between the current situation in Iran and the Solidarity movement in Poland in 1980. Back then I went on a business trip to the Soviet Union. A Russian friend told me that we were lucky their troops were busy in Afghanistan. They are now busy in Ukraine, so I have high hopes for Iran. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…4hp5 @nprofile…hvu9 Omnipotent within limits npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…gj0l I have just randomly stumbled on this today https://media.mathstodon.xyz/media_attachments/files/115/854/149/387/086/518/original/e7c38c1a50df9a82.jpeg npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…g0zc She just did "Best Actress in a Drama Series" at the Critics Choice Awards! npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…gj0l Polish mól means a cloths moth, and its larvae can actually eat paper npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…g0zc They have customer service?! I'm sold! npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…g0zc Sorry to hear that. Get well soon. The anosmia is annoying, but it should pass within a week or so. I caught it right after moving to Paris and I was terrified I wouldn't be able to enjoy the French food and the wine. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I have a feeling that homotopy type theory might be a better foundation for music theory. For instance, two pitches an octave apart are often described as equal, but it's a non-trivial equality. One might say that there is a "path" between them. Different chord inversions are also "equal" in this sense. A thirteenth chord can be identified with an added sixth, and so on. Then there are chords that are missing the third or the fifth. Such chords can be idenitified using more than one path, so you may have higher homotopies. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn I'm not saying that there won't be mathematical olympiads for humans. But just like chess is a hobby and an entertainment, so will math. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…hzey When all your questions can be answered by the AI, mathematics as a profession is going to be transformed into prompt engineering. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn It's also branching into chess boxing and underwater chess, which the AI can't do. https://www.bbc.com/news/videos/cd9ed29vg2eo npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…pjrp Suppose that the AI came up with a fast algorithm to factorize numbers which, however, would be incomprehensible to mathematicians. Yet it could be immediately applied to break the current encryption schemes. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…hzey I agree. In the future math will be done for fun by hobbyists. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn I don't know. Memorizing thousands of chess openings is not my idea of fun. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…hzey Lee Sedol, a go master said: "losing to AI, in a sense, meant my entire world was collapsing. ... I could no longer enjoy the game. So I retired." npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…3tgm @nprofile…kkj3 I like the idea that mathematics could become an art form. It used to be that visual arts were judged by how well they imitated nature. But photography does that much better, so artists moved away from realism and created completely new styles. Future math mey be judged by its style rather than by its utility. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…v64a I'm sure the AI is capable of generating definitions and theorems. Whether they will be "interesting" enough for human mathematicians, I don't know. This is a pretty vague criterion. For me, most proofs in number theory are not very interesting. A possible criterion for a theorem to be considered interesting is how many other theorems can be proven using it. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…kkj3 I'm pretty sure that we can train the AI to optimize the size of the proofs. As for being able to understand and interpret the results, that's a different story. Only a handful of mathematicians are able to understand the Wiles's proof of the Fermat's theorem. An AI generated proof could be beyond the scope of understanding of any human mathematician. Would we reject it? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Math is next on the chopping block. The AI was able to master chess and go because it was given the rules of the game and an oracle to evaluate the result of each game. We now have several formalizations of math and theorem checkers to evaluate the results. So it's just a matter of time. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski We assume that the brightness of all supernovae of Type Ia is more or less the same. We can use them as 'standard candles' to measure the distance to remote galaxies. The Doppler red shift tells us how fast they were receding from us at the time of the explosion. Plotting these two shows that the expanison of the Universe was slower in the past. If the expansion of the Universe is picking up, it means it has a non-zero cosmological constant or it contains the repulsive dark energy. New tentative results may upend this view. The authors of this paper claim that supernovae were fainter when galaxies were younger. The Universe may even reverse its expansion in the future. https://academic.oup.com/mnras/article/544/1/975/8281988 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…drul One huge difference would be that they didn't have access to fossil fuels. Our coal and oil are relics of the dinosaur era. So they would have to transition to sustainable technologies much earlier and take much better care of the environment than we do. Like what we do in national parks. https://www.nps.gov/articles/leave-no-trace-seven-principles.htm npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…sju8 The biggest example of hubris is to imagine that our monkey brains should be able to figure out the workings of the Universe npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…6k70 Maybe they migrated to Mars? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…drul Does intelligence always lead to the destruction of the environment? It's possible that a sustainable economy would leave no scars on the surface of the Earth. Especially if they were to survive for millions of years. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…6k70 I thought about the brain thing, but there are birds (descendants of dinosaurs!) with small brains that exhibit a lot of cleverness, if not intelligence (corvids, parrots). npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…atf6 Isn't intelligence the ability to produce useless things? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski How sure are we that there were never any intelligent dinosaurs? How much of fossil evidence would survive 66 million years? Would pyramids survive this long? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Turns out, last week there was a massive rename of the two fields in Iso involving 281 files. Hence my problem. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Apparently I'm supposed to use v.09 of the library, but I'm unable to clone it npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski The latest cubical Agda repository has this definition: record Iso {ℓ ℓ'} (A : Type ℓ) (B : Type ℓ') ... sec : section fun inv ret : retract fun inv but the paper I'm reading uses leftInv rightInv instead. Chat GPT insists that the "modern" library uses the latter, but I can't seem to find it. I'm using https://github.com/agda/cubical npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…y5fr Yes, but this is not the common usage. I was reading a paper and had to do a double take: https://media.mathstodon.xyz/media_attachments/files/115/775/543/724/462/545/original/52462f1ce1ea0849.png npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski \[ \mu Y \ldotp 1 + X \times Y \] A little better, but vscode doesn't recognize it. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…c0p4 It's more of a typesetting problem npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…65we I'm following the Agda usage. In Lean they usually use a double arrow. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I hate this notation: \[ List (X) = \mu Y.1 + X \times Y \] Lots of space around + and none between the dot and the 1. This is much more readable: \[ List (X) = \mu Y \to 1 + X \times Y \] npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua I can imagine Stephen Wolfram's dilemma: Is the universe a cellular automaton? Or was I wrong all along, and it's a billiard ball? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…rwld It's an insider joke. Anybody who has worked with theorem provers like Lean or Agda will understand it. Many proofs can be reduced to reflexivity of equality, offering little insight into what's really going on. And if an LLM is involved, good luck understanding its "reasoning." A mathematical proof is useless if no human can understand it. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski The future of LLM-assisted mathematics: riemann_hypothesis = refl npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua The dark archive reminds me of the Second Foundation as the defense against the Mule npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua For scale: light travels 1.5 km (or about 1 mile) during that time npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski You can catch more dark matter with honey than with vinegar. https://arxiv.org/pdf/2510.00068 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua The US has a huge infrastructure debt. All those overhead power lines that snap every time the wind starts blowing. Not to mention the esthetic nightmare of tangles of sky-obscuring wires in every residential area. Most Americans don't even notice it. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn Is Agda any better? I started using it because Lean doesn't do HoTT. Plus there is Cubical Agda. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I like the attention to detail in Pluribus. I think it's the first time that an intravenous injection was shown correctly on camera (usually they just stab the patient with the needle perpendicular to the surface). We also learned that Zosia was from Gdańsk --and she pronounced it correctly (Karolina Wydra is a Polish-American actress). npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I'm wondering if there is a maximal category, such that every small category is a subcategory of. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski A typical dialog: - It's all my fault. - You shouldn't blame yourself. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua @nprofile…v6hh I whould divide the two numbers and see if the result is less than one. The advantage is that you can cancel the factor of 2⁴ npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…tcm7 The more I learn about LLMs, the more parallels I see between simple sentence completion and the way humanity makes progress in science, technology, and art. Just like we train LLMs with available data, we train our scientists, engineers, and artists. It's all one giant sentence completion. It's a statement of fact, not a judgment. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski A physicist's brain is trained on the Standard Model data. No wonder we are constantly looking for more gauge groups and Higgs fields. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski The US is experiencing a Tourette's syndrome with Donald Trump being its mouthpiece. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn And brain surgery with vibe-lobotomy npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…9s72 @nprofile…stct I liked it. It was thought provoking and touched on the subjects that seem more and more relevant, like the nature of consciousness and free will. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…stct For me Blindsight has a creepy atmosphere. But in general, in the era of jump-scare movies, I don't think books can be as scary. We are too inoculated by movies and, unlike previous generations, our lives are too comfortable to develop real existential fears. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski If you want to learn how not to write dialogs in a SciFi show, watch Invasion. All characters are eqully brain dead, and their only purpose is to make idiotic moves and talk about their feelings ad nauseam with a lot of dead air in between. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua What's fascinating about burds is that they have to be very thrifty with their brains, or they wouldn't be able to lift them into the air. And their brains have to deal with 3-d navigation and superior vision. Compared to birds, human brains are extremely wasteful. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Instead of terraforming Mars, humanity opted for terradeforming Earth npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua @nprofile…drul @nprofile…stct I'm imagining a taffy machine running for billions of years, with an emerging Taffian civilization discovering Taffian physics, when suddenly the movement is reversed. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua @nprofile…stct I wonder if it could be undone. https://www.youtube.com/watch?v=UpJ-kGII074 npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…stct Intimidation works! npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…03p3 The idea is to give students in Africa the same access their Western counterparts enjoy. Problems with shit dumped on you could be addressed in the curriculum (which should be the case everywhere). npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Suppose you were outfitting a school in the middle of Africa. What would be the best way to provide it with internet access? Is there an alternative to StarLink? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…emex More like Finnegan's Wake npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Type theory and category theory are the product of highly refined abstractions. Since every level of abstraction strips a layer of intuition, the final product is sometimes called abstract nonsense. The only way to navigate such vast halls of abstraction is to keep in mind where those abstractions come from, or how they can be modeled in more familiar surroundings, be it computer programs, logic, or set theory. When studying an elephant, it makes sense to occasionally focus on its trunk, legs, or ears, Learning category theory is a little like reading a novel that has many hidden layers of meaning. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski I think we should immediately start ostacizing people on social media who publish AI slop without proper attribution. It's not funny! npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn In my paper on nerual lenses I introduced a triple Tambara module. (I had to shrink the notation, so each bolded category corresponst to a product, eg \( \mathbf C = C^{op}\times C\), etc.) Triple Tambara is a functor \[ T \colon \mathbf M^{op} \times \mathbf P \times \mathbf C \to \mathbf{Set} \] equipped with two families of natural transformations: \[\alpha \colon T \, \mathbf m \, \mathbf p \, \mathbf a \to T \, (\mathbf n \otimes \mathbf m) \, \mathbf p \, (\mathbf n \bullet a) \] \[ \beta \colon T \, \mathbf m \, \mathbf p \, (\mathbf r \bullet \mathbf a) \to T \, \mathbf m \, (\mathbf p \otimes \mathbf r) \, \mathbf a \] https://github.com/BartoszMilewski/Publications/blob/master/NeuralLens.pdf npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski A trace-monoidal category is equipped with a trace: \[ Tr \colon C(a \otimes x, b \otimes x) \to C(a, b) \] You might be tempted to define a cotrace as: \[ C(a, b) \to C(a \otimes x, b \otimes x) \] but it's trivial (functoriality of the tensor product). Except when you generalize hom-sets to profunctors. A profunctor equipped with a (cotrace?) natural transformation: \[ P(a, b) \to P(a \otimes x, b \otimes x) \] is called a Tambara module. Conversely, the trace generalizes to co-Tambara modules: \[ P(a \otimes x, b \otimes x) \to P(a, b)\] npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…cvnq You might have to ask ChatGPT for help on this one. Haskell and graphics are not a happy marriage npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…cvnq Have you tried: cabal install --lib HGL cabal install --lib GLFW npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Some of us remember the times when plastics were cool. PVC floors, formica countertops, acrylic furniture, melamine dinnerware, polyester clothes. AI is the new plastic! npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…0775 For co-Para, you would use the co-presheaf enrichment: \[ M \xrightarrow{b \otimes -} C \xrightarrow{C(a, -)} Set \] In fact you could combine these into a profunctor enrichment: \[ M^{op}\times M \xrightarrow{(a \otimes -) \times (b \otimes =)} C^{op}\times C \xrightarrow{C(-, =)} Set \] npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…0775 I guess we are saying the same thing, with a different emphasis. I would reword your result as "given an actegory one can always construct a locally graded category that is equivalent to the Para construction." npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski After I finished The Bear, Disney's Artificial Idiocy suggested I watch "L'Ours": The stories of an orphaned bear cub, a big lonely bear and two hunters in the forest. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…0775 @nprofile…p3nn I think I misunderstood the para/graded equivalence. My intuition was that Para on top of an actegory, with parameterized hom sets \(a \bullet m\to b\) is equivalent to a locally graded category with hom-sets graded by M (a category enriched over [M, Set]). But you seem to show that a graded category is equivalent to the actegory itself, not the Para. Am I wrong? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…0775 @nprofile…p3nn Your prop B.4 works for presheaves, if you replace \(M(m\otimes n, p)\) with \(M(p, m \otimes n \) in Day convolution npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…0775 : Wouldn't a co-para construction correspond to a locally graded category over co-presheaves? I haven't done the calculation, but it seems intuitive. @nprofile…p3nn npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn Except in your blog? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…p3nn Who came up with this idea that the para construction can be described as a locally graded category? npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…stct Maybe you could get a transformer and use a European kettle? The 120V wiring in the US is an abomination. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…stct Rhea Seehorn's acting alone could carry the show. The science is nonsense, but the premise is interesting, especially in the current political situation. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua The centrifugal acceleration is the rate of change of velocity. Velocity vector just rotates with the angular velocity \(\omega\). So its rate of change is the length \(v\) times the angular velocity: \(a = v \omega \). Since \(v = r \omega\), we get \[a = r \omega^2 = v^2/r \] npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua Oops! You beat me to it. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua Naively, the centrifugal force increases with distance, \(F = m \omega^2 r\), but that is only true if you keep the angular velocity constant. In your case, you are keeping the angular momentum, \(L = m r^2 \omega \) constant. Thus \(\omega = \frac{L}{m r^2}\) and \(F=\frac{L^2}{m r^3}\) npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua Although gravity is not a Y-M field, you can formulate it as a gauge theory of the local Poincare group. The "gauge potentials" for translations are vierbeins (tetrads) and spin connections correspond to local Lorentz transformations. We used this trick when working with supergravity. The regular Y-M fields were just the components of gravitational fields in compactified dimensions, a la Kaluza-Klein. npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Without looking at the sky, the stars, the Moon, or the Sun, you just count the steps npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski Clocks are the instruments of dead reckoning in time npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski @nprofile…8eua @nprofile…y0ah I think its the Kolmogorov-Arnold theorem https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Arnold_representation_theorem npub15c9gsd6d3cw0pyk8a2fkv248snan8vl8t0nhy5qhqvhxj20tch2swwczp5 Bartosz Milewski So far enjoying "The Last Frontier". Less gore, more brain.