Commit 2024-07-02 02:30 12473136
View on Github →chore(Data/Nat): split Prime.lean (#14286)
Splitting Prime.lean
into Defs
, Basic
. The split aims at separation of defs and needed lemmas from everything else. With this split 13/18 Mathlib modules no longer import the whole Prime.lean
. Prime/Defs.lean
is about half the size.
Motivation is a circular dependency that would prevent me from adding a lemma to Prime.lean
.
https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/split.20Nat.2FPrime.2Elean