Zulip Chat Archive
Stream: general
Topic: Advent Of Code 2025 - Day 6
Alfredo Moreira-Rosa (Dec 10 2025 at 16:44):
Here is my solution for Day 6 of advent of code. This time the interresting logic is coming from the parser.
For the first problem we needed to transpose at the Word level, while for the second it's at the Character level.
Appart from that it's just simple operations.
Solution
Rado Kirov (Dec 10 2025 at 21:30):
With Claude's help I translated some of my TS solutions for day 1,2,3
What's most interesting to me is adding some theorems (since I don't need one more FP language, but FP language with proofs is truly novel). I wrote some statements that could be of interest, but couldn't even begin proving them:
Kim Morrison (Dec 10 2025 at 23:35):
My Claude pipeline has continued to succeed at Advent of Code in Lean.
Since starting, all I have done is repeatedly run claude -p 'Please work on AoC.'.
(EDIT: oh, that's not quite true: after Markus's reminder to use fgdorais/lean4-parser, after Day 1 I updated the prompting to suggest that. I also, after Day 3, updated the prompting to tell it that if was all caught up on submitting solutions, it should try to write verification statements and prove them/send them to Aristotle. I haven't actually looked yet at what it has produced in this direction!)
So far, it has solved all problems except Day 9 Part 2 in a matter of minutes. Day 9 Part 2 required three separate invocations of claude -p 'Please work on AoC.', and several hours. But still no human intervention (I only looked at the problem statement after it was successfully submitted).
Rado Kirov (Dec 11 2025 at 02:13):
Wow, this is amazing. Interesting that while it has no problem writing the code, so many of the proofs are sorries.
Kim Morrison (Dec 11 2025 at 05:25):
Note that asking it to write proofs was an afterthought, with zero effort into getting useful prompting, and I haven't even looked at the output proofs yet! I wouldn't read too much into its performance here.
Kim Morrison (Dec 11 2025 at 05:35):
(Claude just solved Day 11, in just a few minutes. Only one day to go!)
Rado Kirov (Dec 11 2025 at 05:41):
impressive given that lean programs don't have a large training corpus, it must mean that it can fairly easily translate between languages. I am doing the problems as they come out and averaging around ~20min per problem (I have copilot on, but otherwise try not to use AI).
The last day usually is relatively easy and there is only part1, part2 is just unlocking the final screen if you have solved all the other problems.
Alfredo Moreira-Rosa (Dec 11 2025 at 10:47):
It's nice to know that Claude can do it all by itself, but for me using AI kills the fun out of it :sweat_smile:
Kim Morrison (Dec 11 2025 at 21:40):
Oh, of course, chess is still fun too. But it's good to keep track of what the current capabilities are, so when it's not fun you know which tools are relevant!
Last updated: Dec 20 2025 at 21:32 UTC