>Do you think that Claude Code is doing something like brute force when it writes a computer program for you?
It is 100% brute forcing. It's a more intelligent brute force than trying literally every combination, but that's exactly how it works. Generate millions of permutations, then walk backwards through them to see which matches the pattern most correctly.
In the case of programming there are other logical domain specific checks as well and testing that can all be incorporated.
That's how all of the generative AI works, generate millions of options based on the preceding pattern then test which option is the best fit, add it to the pattern and on to the next step.
It kind of sounds like you're confusing autoregression vs diffusion AI models
It's not doing that.
When Claude Code generates a computer program it is absolutely not generating millions of permutations of the program.
Perhaps with Riemann or similar that could apply, but I would hardly call it brute-force in the traditional sense of the term.