I don’t think anyone can argue this lean proof is elegant.
Take Noether’s Theorem - incredibly simple in its minimality and consequential power wrt being essential to so much of modern physics, yet its elegance is a matter of debate because only someone who understands the context for the theorem is able to appreciate the elegance.
Not everyone will be able to appreciate all elegance, that’s normal surely? I’d want to defer to people who understand the context any judgement of elegance, wouldn’t you?
I think there is a little more to it than this, in that lean proofs are necessarily much more rigorous than a typical human proof. A human proof typically assumes a lot from the reader (which is partly why maths can feel pretty impenetrable), whereas a lean proof spells out every detail.
I've found this is usually because they don't have the other part they're duplicating fully in context. Telling it to read a couple relevant files fully helps - that often makes it come up with more elegant solutions too.
this.FooA = new Foo();
this.FooB = new Foo();
this.Foos = [this.FooA, this.FooB];
this.Foo = this.Foos;
These were entirely new objects with no existing instances of this pattern in this codebase. There were no references at all to the duplicate properties.