Commit 2026-03-26 19:33 fd6fa9d5
View on Github →chore(SetTheory): golf proofs (#35677)
This PR removes unused have/haveI/let/letI calls + some small similar cleanups.
The goal of this golfing PR is to decrease the number of times lemmas are called explicitly (replacing calls to lemmas with calls to tactics). Any decrease in compilation time is a welcome side effect, although it is not a primary objective.
Trace profiling results (differences <30 ms considered measurement noise):
Cardinal.mul_eq_self: unchanged 🎉Cardinal.succ_natCast: unchanged 🎉Ordinal.exists_fundamental_sequence: unchanged 🎉Cardinal.mk_subtype_le_of_countable_eventually_mem: unchanged 🎉Nat.card_image_of_injOn: unchanged 🎉mul_le_of_limit_aux: unchanged 🎉 Profiled usingset_option trace.profiler true in. This golfing PR is batched under the following guidelines:- Up to ~5 changed files per PR
- Up to ~25 changed declarations per PR
- Up to ~100 changed lines per PR