batteries icon indicating copy to clipboard operation
batteries copied to clipboard

fix: Add missing csimp lemma

Open linesthatinterlace opened this issue 2 weeks ago • 5 comments
trafficstars

Addresses issue batteries#307.

Closes #307

linesthatinterlace avatar Nov 03 '25 18:11 linesthatinterlace

This will require changes to Mathlib - specifically, List.sublists_eq_sublistsFast should be removed. Embarrassingly I can't remember how to do this properly.

linesthatinterlace avatar Nov 03 '25 18:11 linesthatinterlace

Mathlib CI status (docs):

I am not sure about the new lemma in ‎Batteries/Data/Array/Init/Lemmas.lean, but I cannot see where else it would be appropriate to add this lemma.

linesthatinterlace avatar Nov 04 '25 09:11 linesthatinterlace

I managed to do it without needing the new lemma and now the proof is very smooth.

linesthatinterlace avatar Nov 04 '25 11:11 linesthatinterlace

Please create an adaptation PR on Mathlib from the testing branch.

fgdorais avatar Nov 05 '25 15:11 fgdorais