Viewing profile — kmill
kmill
HN member- Joined
- Mon, May 11, 2015, 4:44 AM UTC
- HN karma
- 1,469
- Public activity
- 628 items
- HN profile
- View on Hacker News ↗
About kmill
No profile information was provided.
Recent public activity
-
comment
Comment #48578128
If someone says they'll pay $8.50 but then they round up and give you $9, you wouldn't say they didn't give you the $8.50 due, right? It's in the $9. I think implicitly with the in…
-
comment
Comment #48472304
Certainly check the assembly, but loop invariant code motion and strength reduction are basic optimizations. C compilers tend to be good at optimizing indexing patterns even at -O1…
-
comment
Comment #48469064
I'd be surprised if the compiler didn't make that optimisation on its own.
-
comment
Comment #46967855
Would you mind sharing your representation? :-)
-
comment
Comment #46967797
1. Algebra: Let's say we have a linear operator T on a real vector space V. When trying to analyze a linear operator, a key technique is to determine the T-invariant subspaces (the…
-
comment
Comment #45351192
That second operator is the operator, from the Alternative typeclass. The first one has some arbitrariness (do you take the left or right value if both are Just). But, thankfully t…
-
comment
Comment #45339177
An analogy might be how if you mix together water and alcohol, you get a solution with less volume than the sum of the volumes. That doesn't mean that there's "negative" volume, ju…
-
comment
Comment #44778077
I see people on Zulip using Copilot to write Lean proofs, and they have some success, but the quality is really bad right now, creating long, unmaintainable proofs. New users get s…
-
comment
Comment #44778044
My understanding is that the proof doesn't exist in written form in its entirety. Plus, Kevin Buzzard is a world expert with some ideas for how to better organize the proof. In gen…
-
comment
Comment #44777913
> I haven't worked with Lean so I don't know how much this crops up in practice It really doesn't. I've been using Lean and Mathlib for about five years now, and Fermat's Last Theo…
-
comment
Comment #44747776
We're working on a new rewrite tactic this summer at the Lean FRO (I don't know if I ever directly mentioned that to you yet on Zulip). One interface I'm planning on is `rw [(pos :…
-
comment
Comment #44741052
The "olean" files are a binary format that contain everything that was added to the Lean environment. Among other things, it includes all of the declarations and their Lean.Expr [1…
-
comment
Comment #44740839
That's Lean 3, from eight years ago, and it's from before 'sorry' really existed in the way we know it now. --- To answer the GP's question: Not only is there a verification mode, …
-
comment
Comment #44740780
At least you can 'go to definition' on the tactics and see what they're doing. It's a lot to take in at the beginning, but it can all be inspected and understood. (At least until y…
-
comment
Comment #44567129
The system used in Lean 4 is explained in https://arxiv.org/abs/2001.10490v7 (Ullrich and Moura, "Beyond Notations: Hygienic Macro Expansion for Theorem Proving Languages"). There'…
-
comment
Comment #44561362
In Lean's parsed `Syntax`, binders are plain identifiers. The way this works is that identifiers can be annotated with the module it was parsed in as well as a "macro scope", which…
-
comment
Comment #44110611
I don't know, but I can do some numerology: a 3:2 aspect ratio that's 512 pixels wide would need a 341 and a third lines, so round up and you get 512 by 342. The later 384 number c…
-
comment
Comment #42900099
Kevin Buzzard did great work to popularize mathlib among mathematicians (that's how I got involved myself), but he didn't found mathlib! There's a blurb about the history here: htt…
-
comment
Comment #42484912
There's a completely new language reference in the process of being written: https://lean-lang.org/doc/reference/latest/ (by David Thrane Christiansen, co-author of The Little Type…
-
comment
Comment #42302535
Yeah, during department teas you can hear mutters of "interesting" as ideas are exchanged and evaluated. But, in my last comment I was just trying to temper my previous comment's c…
-
comment
Comment #42302494
I'm teaching discrete math in January — I'll try the analogy, wish me luck! As someone who's gone through the mathematical ringer, the analogy doesn't ring true to me, but it does …
-
comment
Comment #42298477
Things get a bit messier once you're doing research mathematics — definitions don't just come from nothing, and a good definition is one that serves its theorems. Definitions can b…
-
comment
Comment #42293374
The author really does mean memorize. To engage with pure mathematics, you must know the definitions, since the definitions are the bedrock of the subject. If you don't know the ax…
-
comment
Comment #41574146
I used Lean too earlier today :-) I saw what each #reduce c c ... c did to explore the "palette" I had to work with, and then accidentally stumbled upon the answer that way. I also…
-
comment
Comment #38662270
Maybe it's translated to English -- a conductor's baton in French is a baguette after all.