Commit 2026-08-12 20:03 5658ee5a
View on Github →refactor: split Data.ENat.Basic (#42271)
There's various assert_not_exists scattered throughout the library that don't even permit MonoidWithZero. This is causing problems on #40901, since the smallInductiveDimension of a topological space (a relatively basic notion) is WithBot ℕ∞-valued.
We split Data.ENat.Basic into three files:
Data.ENat.Basicnow imports nothing about monoids.Data.ENat.Monoidcontains the lemmas about theLinearOrderedAddCommMonoidWithTopstructure.Data.ENat.SuccOrdercontains the lemmas about theSuccAddOrderstructure. No new results are added. A few proofs are tweaked slightly so as to decrease imports.