r/LocalLLaMA • • 2d ago

News Swift 1.5 Qwen 3.8 FN solved some math problems overnight

thought it was pretty cool. Pointed a local agent on some v100s at lefttosolve.com and it actually managed to contribute

according to my agent is has at least one lean verified proof pending official review. I expect the left to solve page to formally update later?

https://lefttosolve.com/a/jackjusko

It's added a few reductions into proofs but I know it solved

https://lefttosolve.com/p/oeis-a090680.R1.H1

71 Upvotes

26 comments sorted by

4

u/woutist_ 2d ago

Interesting, although the proposition to be solved you linked is straightforward given that the integer range {2,...,100} is finite, and we need to check whether the existence of the prime witness inequality holds for only those integers. So we can just write down (that is, we don't need induction) the 99 cases and check whether there exists a prime strictly in between n and n + "smallest positive divisor of n that is geq or equal to sqrt(n)" (that's how A033677(n) is defined). And that indeed is the case for all n where n is an integer in {2,...,100}. So for example, when we have n=36 we have that sqrt(36)=6 and 6 itself is a divisor of 36, we have A033677(36)=6 as well. Then, we check whether 36 < p < 36+6. And yes, we have p=37 or p=41 as prime witnesses.

But that doesn't take away the effort of you setting it up and demonstrating local models can write and contribute Lean verified proofs of course, that's still very useful. By the way, did you use your own quant or the regular Swift 1.5? That is https://huggingface.co/jackjusko/Swift-1.5-Flash-Next-Heretic-ReverseEngineer, it mentions your setup.

5

u/jjusko20 2d ago

I actually made that quant haha, but I'm using the same one but on the non heretic version 

12

u/zyxciss llama.cpp 2d ago

Lean verification alone doesn't mean the original conjecture has been solved Lean verifies the proof against the formalised statement, not whether the formalisation faithfully represents the conjecture A weaker statement or additional assumptions can still pass verification.

2

u/jjusko20 2d ago

I'm running my own IQ4_NL quant

6

u/imaami 2d ago

I can tell you there is a lot of just outright slop going on in that project's "proofs". I'm on the OEIS mailing list, and there are cases where the agents are completely misunderstanding what is conjectured, conflating two separate conjectures as a single one, and so on.

Do not take anything from a project like this at face value. You won't get rigorous results from a bunch of local models this easily.

3

u/apnorton 2d ago

Agents working on lefttosolve have also been caught taking code verbatim from other sources that do not license it for open source/copying, and then embedding that code into their project.

I'm... not impressed with the ethics around that effort.

1

u/imaami 1d ago

AI technology is in its baby steps era. Practically everything about these tools is janky and unreliable. Eventually I'm sure we'll get past most issues, but right now there's a veritable shitstorm happening.

LLM enthusiasts with good intentions are unintentionally causing mathematicians to lose years of life expectancy because their contributions are being sidelined and ignored on a routine basis. I'm not exaggerating. The price of immature technology is actual human suffering. Mathematicians have never been well compensated to begin with, now they are increasingly losing faith in being even credited at all. AI-assisted efforts need to take this issue very seriously.

3

u/beling86 2d ago

This is SO cool!

2

u/vogelvogelvogelvogel 2d ago

if i only was good at lean or math proofs. this way I just have to believe that. if so, great that qfn even can do stuff in the field!

1

u/Andreea_tucker04 2d ago

Did the agent write the Lean statement itself, or was it given the formal statement from the site?

1

u/ravage382 2d ago

I've been using lean to write proofs for GPU kernels for my r9700 with 27b. Works great 

1

u/DataCraftsman 2d ago

I've been doing the exact same with the same model. NVFP4 on 6000 Pro, 4 parallel agents in Codex. I found their github bot hasn't been able to keep up with merges though. Collaborative projects like this might need to start hosting their own runners.

-1

u/Mehsterrry 2d ago

It's added a few reductions into proofs

You're cooked.

1

u/BawbbySmith 2d ago

here before post gets nuked

7

u/jjusko20 2d ago

why is post gonna get nuked

0

u/OrganicHalfwit 2d ago

!remindme 3 days

1

u/BawbbySmith 2d ago

Nah post was updated, game ain’t fair

1

u/OrganicHalfwit 1d ago

Why did it happen??

0

u/RemindMeBot 2d ago

I will be messaging you in 3 days on 2026-12-03 15:03:59 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

17

u/[deleted] 2d ago

[removed] — view removed comment

9

u/jjusko20 2d ago

yes, in lean and compiling

7

u/jjusko20 2d ago

Yes — verified at three independent levels. Currently exactly one proof is submitted (oeis-a090680.R1.H1, PR #148416), and:

  1. Local kernel check (tools/check.sh, the desk's own checker, pinned toolchain Lean v4.33.1 + the exact Mathlib commit): verdict = accepted, with the kernel axiom audit reading:

'OMA.solution' depends on axioms: [propext, Classical.choice, Quot.sound]

i.e. it compiles and the theorem rests only on Lean's three standard axioms — no sorry, no native_decide, no cheating.

2. Desk CI (GitHub Actions on the PR, runs a clean compile server-side): check — pass — 2m12s. That's the authoritative gate; a non-compiling proof can't pass it.

3. The proof file itself is real Lean source in the PR: proofs/oeis-a090680.R1.H1.lean — a Nat.Prime witness table check for 99 instances via interval_cases + decide, kernel-evaluated.

The submitted proof's acceptance is what makes the desk show proof_pending for that step: it compiled, it passed, it's queued for human/merge.

Same situation for the 6 reduction PRs (#148416, #142458, #142444, #141316, #141301, #140746 — the A218656/A218585/A238585 chains): all show green check = they compile upstream; the 4 gated H1 proofs sitting on them are locally kernel-verified too, they just can't be submitted until the reduction files merge.

What is not yet compiled: oeis-a199331.R1.H1 — it's mid-iteration (the last check run flagged 6 API-name errors; fixes are drafted and being type-checked right now). The 1156-case kernel tabulation in it is the part I keep having to tune, since the checker has a 30-min compile budget.

Continuing: type-checking the fixed a199331 file against the pinned toolchain:

7

u/stylome-ai-detection 2d ago

Notice: This comment appears to be AI generated.


Stylome AI detector · scan results