Skip to content

fill some sorry by codex#14

Open
Blackfeather007 wants to merge 32 commits intochrisflav:masterfrom
Blackfeather007:master
Open

fill some sorry by codex#14
Blackfeather007 wants to merge 32 commits intochrisflav:masterfrom
Blackfeather007:master

Conversation

@Blackfeather007
Copy link

In PKU lean workshop, we tried AI tool--codex to automatically fill some sorry, which was quite amazing.

pelicanhere and others added 2 commits January 24, 2026 17:30
feat: complete `Proetale.Topology.SpectralSpace.WLocal.Basic` and refactor some files
Copy link
Owner

@chrisflav chrisflav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite impressive, thanks! Could you please clarify how much of this was done by codex? And how much post-processing did you do?

@[stacks 096E "(1)"]
def RingHom.IsLocalIso {R S : Type*} [CommSemiring R] [CommSemiring S] (f : R →+* S) : Prop :=
letI := f.toAlgebra
let := f.toAlgebra
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should remain letI. Did codex change that on its own?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, codex often has their own mind.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is because we asked codex to golf the proof it generated. As a result, it also golfed other proofs as well.

@jjdishere
Copy link
Collaborator

jjdishere commented Feb 5, 2026

Almost every line of the code is generated by codex. We also asked codex to golf its own proof. Codex also fixed some small errors (e.g. used union where it should be intersection) in the statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants