Factoring is closely related to discrete logarithm problems in unit groups of finite fields. It isn't really related to the discrete logarithm problems in the elliptic curve groups used in cryptography. This is why, at least publically, factoring is subexponential and the elliptic curve DLP is still exponential. So an independent breakthrough would likely be needed to break elliptic curve cryptography.
Where do elliptic curve groups fall in the classification of finite groups? Could there hypothetically be an isomorphism between them and a product of modulo groups?
The points of an elliptic curve over a finite field form a finite abelian group, so yes, there is always such an isomorphism. But computing the isomorphism is equivalent to solving the discrete logarithm problem so the existence of such an isomorphism doesn't help you at all.
There seem to be a lot comments in this thread about how the amount of lines of code is indicative of the proof's incomprehensibility, or suggesting that codegolfing would help make it easier to understand. This is a misunderstanding.
Lean is roughly analogous to compiled math. Just like your complier might turn a few simple statements in a high-level language into thousands of assembly instructions, the process of formalising a natural language mathematical proof can turn sentences into thousands of lines of code. One does not try to understand this code, but instead tries to understand the argument using mathematical language and higher-level abstractions that are specifically designed for this purpose. And such "decompilations" of the Lean are currently being written by mathematicians, and already provide significant understanding to experts who understand the language (eg. [1]).
if you took a moment to look at the repo and code yourself you could easily see that what you are saying is not true. there are millions of lines of unused, dead, and duplicated code in there, before any kind of actual simplification. filling up anything with garbage makes it harder to understand.
They said the proof’s length is not the thing that necessarily makes it incomprehensible.
Dead code that you have to decipher before you can decide you don’t need it is a comprehensibility problem, yes. And dead code leads to longer proofs. But just because A implies B does not mean that B implies A: the proof being long doesn’t necessarily mean it is filled with dead code and therefore incomprehensible.
It might be. You might even say the odds are high, but “proof” should mean something in math.
This isn't true. Lean is an extremely high level language and using tactics you can even get your proofs to look almost identical to handwritten proofs.
Regardless of how effective tactics are at making proofs read like traditional ones, I still disagree with your original point that Lean code is analogous to a compilation artifact that one does not try to understand.
It is intended to be written and understood by humans, and it's only very recently that we've started outsourcing that work to LLMs. The new thing here is the size and scope achieved via LLM code gen.
For a large, human-centric formalization project (in a fork of Agda), check out the 1lab: https://1lab.dev
Okay, let me be more precise. Yes, one can try to understand the Lean code, and it can in some cases be fruitful to do so. I also think that one can try to understand compiled assembly, and it can in some cases be fruitful to do so. One can also choose to write assembly without a compiler, and it can be fruitful to do so.
But for something like the proof of the Riemann hypothesis, you will not achieve a meaningful high-level understanding of what is happening in the argument without understanding informal mathematical language, and efforts aimed at clarifying the proof of the Riemann hypothesis should be primarily focused on producing such descriptions. Once the argument is refactored at the informal level one will inevitably obtain a better, more readable formalisation as well.
I agree that a clear account is the right starting point for understanding a proof of this size. But that's true of any large artifact, and it doesn't make the formal code analogous to compiled output.
Nobody would try to understand a 17M line Javascript application by reading it top to bottom either. You'd want design and architecture docs first. That doesn't make Javascript equivalent to assembly, nor does it mean the code is not meant to be read and understood. The difficulty comes from scale and structure.
Lean, Agda and similar languages are high-level languages for writing mathematics. You write definitions, lemmas, theorems, etc. A well organized formalization can be read in the same way as one reads a well organized software application.
My impression is that Lean is popular precisely because it is the most "high level" out of all the formal ways of encoding math that have been put forward. So there are currently no better alternatives in this respect, and I expect that one cannot avoid learning to understand informal mathematical language if one wants to truly understand mathematical proofs.
Sarnak weighing in is completely irrelevant. There is a lean formalisation, and it either compiles or it doesn't. (And the statement of RH is well established so there is no issue there.)
Lean can and does have bugs. It compiling doesn't mean anything, because that doesn't tell you whether the proof actually encodes what the mathematician intended. Plus, again, there can be prover bugs.
In principle, sure. But the likelihood of a plausible proof strategy produced by an AI agent with human assistance somehow accidentally exploiting a Lean bug is incredibly low. In any case, the fact that the Lean compiles is certainly going to be, in this setting, a more reliable assessment of the proof's correctness than the opinion of any expert, unless that opinion also comes with an identification of the bug being exploited.
I don't like that you've called these problems "research-level", or your description that they are something you might give to a second-year PhD student. Some examples:
- Question 093 is a word problem of the kind that I would imagine is commonly given to high school students. Maybe it is slightly more difficult, but it doesn't appear to have any mathematical relevance and nobody would ever give it to a second-year PhD student.
- Question 096 is something I would expect a computer to do easily by brute force, and has essentially no mathematical content other than doing a calculation. (Under what circumstance does one care about taking base 10 digits and interpreting them in base 11?). Again, nobody would ever assign this to a math PhD student, and I expect that any undergrad who knows how to code can give you this answer.
- Question 016 is the kind of combinatorial problem that one could expect to brute force with a computer (and some decently-written code) even before AI. Again nobody would give it to a 2nd year PhD student because it is too random and of no academic interest.
- There are questions like 026 and 014, about computing Hilbert series. Computing Hilbert series is a standard computer algebra task that nobody would want to do by hand before generative AI, and certainly not now.
Similar comments apply to many others. There are plenty of random-looking computational questions of exactly the type that one expects not only that computers cans solve, but should be used to solve, because nobody would ever do it by hand. None of them are research-level --- certainly not anything that would be considered publishable (before generative AI or after) --- despite the subtitle of the paper saying "research-level". And if you give them to a 2nd year PhD student I would imagine you would just be wasting their time.
I also don't like your phrasing "much harder than any exam question in any exam". If I ask you to multiply two 1000 digit numbers, the question is "much harder" than any question that will ever appear on any exam. Everyone understands the computer will do it instantly, and it doesn't demonstrate anything relevant. There is a clear regime in which one expects AI-type methods to perform better (combinatorial, calculation-based questions which can be answered using standard methods), and other regimes where one expects worse performance (e.g., proofs of statements that use abstract concepts). Why is there nothing here of the second type?
I cannot keep answering everyone's comments of the type "Why did you consider / not consider?" or "Here are much better ideas". I promise you that we have thought quite a bit about the setup and have discussed it with many math researchers.
1. Why do you compare it to multiplying two 1000 digit numbers and not to factorizing a 4096-bit numbers into its 2 prime factors, when not knowing any details?
2. The questions are of theoretical nature, even if a little calculation is involved. This does not mean that the problems are not solvable using a computer program, but it means that they are not solvable with reasonalble effort with a computer program.
3. And we do not ask for proofs because other projects already do that (IMProofBench, please have a look) and we cannot grade LLM answers as a human would need to understand the provided proof -- and this is not what I or we or actually most researchers are interested in doing.
Haha, the classic “Why didn’t you do X?” comments always appear. I think a lot of people underestimate how much quality researchers deeply think about such setups. My genuine standard rely to those folks is - do the research with your setup and publish it.
> - do the research with your setup and publish it.
Which sounds arrogant and IMO don't belong to hacker news. IMO it's ok to don't like some questions. But it's ok to have such question in a non-research forum like here.
> 1. Why do you compare it to multiplying two 1000 digit numbers and not to factorizing a 4096-bit numbers into its 2 prime factors, when not knowing any details?
The objection is to phrasing "much harder". One should distinguish between something that is difficult for reasons stemming from a lack of computational power and something that is difficult for reasons stemming from a lack of relevant abstractions or the ability to grapple with them. If the reason that a particular problem is "hard" for a PhD student is that they have to do a long calculation, but not because of a lack of conceptual understanding, then it doesn't say much about the capabilities of generative AI if the computer solves it.
Hence the example: multiplying two large numbers is hard for the former reason, not the latter. Your example of factoring a 4096-bit semiprime is hard for both reasons (because the brute force method is too slow).
Well, you are correct that one should distinguish the two. But we give no indication that the questions are hard because of computational tasks and we give many indications that the problems are of theorecical nature and hard for theoretical reasons. There is not a single question where a PhD student would need to do a long calculation.
I trust the judgement of respected researchers submitting the questions, I personally know them, and they publish research under their full names (and whose names are fully disclosed in the paper). And you also should trust them.
Please consider disclosing your name and your field of expertise, pick a question in your own research area and explain to me why this question is not research-level. And, best of all, solve it yourself to clarify why it was too easy.
By [1, Theorem 4.1], the Neron-Severi rank of the perfectoid cover is the same as the Neron-Severi rank of the reduction. For a product E x E' of elliptic curves, it is well known that NS(E x E') = NS(E) + NS(E') + Hom(E,E'); see [2, Prop. 2.3]. Since E = E' here and E is supersingular, this number is 1 + 1 + 4 = 6.
Is it research level? It of course takes a graduate student a long time to understand, say, what a perfectoid space is. But the statement follows immediately from quoting the literature, as long as one knows what to quote.
You see yourself that your own solution is purely of theoretical nature and not at all what you wrote before, right? (And no, I am not commenting on your answer.)
Indeed. But I chose the problem in response to your comment:
> But we give no indication that the questions are hard because of computational tasks and we give many indications that the problems are of theorecical nature and hard for theoretical reasons.
and Question 034 seemed to be one of the few that did not have a computational component, and so would presumably be hard for theoretical reasons. I already indicated above some problems that I feel to be of a non-theoretical nature.
As you can tell from his commentary, he thinks the machine is rather stupid (and he is winning after the opening) but the machine is a much better calculator than he is and when the situation becomes more concrete he has to force a draw.
Of course, the computer on his phone is considerably worse than the best chess engines, but top chess players generally consider computers to be excellent calculators but dumb in terms of general strategy.
> but top chess players generally consider computers to be excellent calculators but dumb in terms of general strategy.
Is computer assisted chess a thing? Perhaps with standardized hardware, but any software.
In chess I'm good at strategy but terrible at calculating and I miss obvious stuff all the time in my fight for strategy. I always thought I'd do great with computer assistance to look for the obvious stuff, and me telling the computer the long term strategy.
It was called Advanced Chess [1], now it's sometimes referred to as Centaur Chess. You can find online servers to play this kind of thing but it's mostly just a sort of curiosity. Computer-human pairs are well known to be better than just computers at chess though.
> In chess I'm good at strategy but terrible at calculating
Chess is 99% tactics/calculation. What we call "strategy" is just a set of heuristics that we use to avoid having to do endless calculations. However, a lot of those heuristics are already included in most chess playing software. So, if you're weak player as a whole, even if you have some strategy acumen, your contribution in an assisted chess setting will be negligible. The computer will be doing all the work anyway.
My rating is around 2000 and I have done some assisted chess playing and I can tell you that it's extremely hard to not just take computer's suggestion at every move. The chance that I'll come up with some brilliant move that the computer missed is very slim.
I think I misunderstood what "calculating" means in a chess setting. I thought it meant checking the current position of the pieces and making sure you are not about to be attacked.
But googling it suggests it's more about thinking of the value of each move relative to others. If that's the case I'm not actually bad at that.
> I can tell you that it's extremely hard to not just take computer's suggestion at every move.
Is that how it works? The computer just basically plays and shows you some moves it likes?
That's not what I meant, I was thinking that you tell the computer something like: I want to capture piece X using Y 10 to 20 moves from now, perhaps by going via this direction. Tell me the best series of moves to get there while avoiding traps.
Or even better give it 2 or 3 such scenarios and have it tell you how dangerous each one would be so you can pick one.
Basically really narrow down the permutations the computer has to calculate.
It is. See Centaur chess[1] and correspondence chess. In correspondence chess people don't use standardized hardware (people will probably cheat anyway) but in Centaur chess this can be done.
There is a chess app on IOS that suggests you moves and warns you against obvious situations where you would lose your piece. It's using an old but still popular engine: https://itunes.apple.com/us/app/chess/id522314512?mt=8
I had most fun with this chess engine. Stockfish engine was not fun at all, it was playing like an "asshole" most of the time and when the AI strength is reduced it was like playing against a stupid "asshole". When playing against human you feel like your opponent is on something but against AI you feel like you run for your life. Mind you though, I am very amateur chess player, I play only recreationally.
Computer assisted chess is becoming more popular in human-only tournaments. In that context it's usually called cheating, of course. Ken Regan has developed some interesting statistical methods to detect it, see for example his blog post on Gödel's Lost Letter and P=NP:
Guessing that it's referring to the engine being particularly greedy about material (a notorious trait of computer engines). It's giving up a ton of control on the back rank to defend a crappy doubled pawn. Happy to be proven wrong on this one, just shooting from the hip here.
It's actually not that common. Players will use chess engines to analyze positions, but they will rarely play against them because it doesn't provide realistic practice for an actual chess match.
For example, it may be reasonable to play an aggressive variation against an opponent because you think they might have difficulty finding a response in time pressure, but a computer can make precise calculations in any situation, and so such a strategy almost always backfires.
What's more, chess is often abstracted at higher levels in terms of things like long term plans ("I want to put pressure on the c7 pawn and control c6") instead of concrete material gains, which allows players to make progress even in positions where there are no direct threats and no sensible exchanges of pieces. Computers when faced with such situations will know that the position is objectively drawn and so will just shuffle their pieces around aimlessly, and playing against this kind of thing is not very good practice for actual human opponents who will try to find ways to beat you anyway.
Summary of the paper for those who don't want to read it:
So basically there are two categories of "learning" involved in this sort of research, supervised and unsupervised. In supervised learning, someone gives the computer a long list of concepts and their attributes ("frog", "green frog", "jumping frog") and a set of pictures to go with each item, and feeds them into a visual-recognition algorithm. In unsupervised learning, the computer is given a concept like "frog" but then has to discover all the variations itself and get its own visual data to match.
The claim in this paper is that they have made the unsupervised learning as strong as the supervised learning. That is, they give the computer a concept ("frog"), it goes and searches through Google Books for common variations ("green frog", "jumping frog") and then uses Google image search to fetch images for each of those queries. They can then remove the obvious false positives (they test to see which images seem to screw up their learning algorithm and leave those out), and the result they get is on par with the supervised learning methods.
----------------------
In my opinion, this is only mildly interesting because Google Image Search functions based on human input anyway -- Google knows the difference between a "frog" and a "jumping frog" or even a "camel" simply because people on the internet caption such images and Google can make associations between images and their captions. Essentially, what the researchers have managed to do is outsource the work of some grad student to millions of people around the world through Google.
Of course, it could be argued that there is some sort of parallel with what humans actually do (we know what things are called because we hear other people call them that), but even if I didn't know the name of an animal I could still tell you when the same animal is in different pictures, and I can also tell you when it's jumping and what colour it is. I don't need to have someone caption the image for me to understand the broad range of situations to which the caption "jump" applies.
>I don't need to have someone caption the image for me to understand the broad range of situations to which the caption "jump" applies.
I wonder if this has anything to do with the fact that we can jump too. That we can translate the frog's position into something we do as well.
of course one can argue that we can do the same for non-anthro-moprhic things as well. What i think is that we dont directly relate pictures, as the software is taught. What we do is translate that 2D picture into something we'd see in the 3d world. And that 3d "vision" isn't just another image. It represents an object in our world. something that has shape, existence etc. something which we can observe from other senses as well. For us a picture doesn't always represent an abstract thing, an arbitary pattern of colours. It usually represents something concrete. Something about which we have tons of other pieces of knowledge as well.
So we relate pictures by checking if they map to the same real-world object. And here that "object" is a sort of nexus of many pieces of information we have on it which is a product of many direct and indirect human experiences.
So i don't really think that we are in a position to teach a computer to do anything like that.
> I don't need to have someone caption the image for me to understand the broad range of situations to which the caption "jump" applies.
I'm more interested in metaphor and analogy.
My 3.5 year old son said "look at the rain! It is bouncing like hopping frogs!"
I don't know if he created that. It's not in any of his books. I guess he jumps like a hopping frog at nursery and transferred that to rain.
I'm not so interested in a computer that is trained on frogs, and which sees a hopping frog and describes it as such. If it saw a hopping cat and said this thing is hopping but I don't know what it is, then I'd be interested.
The entire point is that the government can invest in things that it deems valuable but not necessarily likely to make an immediate profit.
The internet is an excellent example. Nobody would have predicted it would have taken off as it did, and so anyone who wanted to make an "internet" would have difficulty accumulating the capital for it. But since the military was able to build it without worrying about future profits, a large-scale and risky project was able to become a success.
The same is true of any long-term research, or any type of project that is primarily a public good. Most scientific research is not done with the explicit intention of "we want to make X", because what "X" is can't be known until you understand what is possible! But since nobody knows what is possible beforehand, investors aren't willing to invest in most research, because the simple advancement of scientific knowledge is something of public value and not private value.
Although I used the word "build", the entire post is talking about the investment. Regardless of whether you consider the people who "built" it to be government employees, the funding was military funding. Things like ARPANET were Department of Defense projects.
https://www.ihes.fr/~rzhang/files/GRH%20note.pdf
reply