Commit 2023-01-26 19:20 467e1558
View on Github →feat: port Topology.Bornology.Basic (#1822) porting notes:
- There were two places where Lean couldn't figure out the type class (
Bornology) arguments toisBounded_defwhen used within a rewrite or simp lemma, and I had to provide these explicitly. I have worked around it for now (by supplying those arguments), but Lean 3 did not have this problem and we should investigate the issue. - Because Lean 4 does not accept the
[]syntax in structure fields to make arguments explicit, it was necessary to rename the structure fields and then provide newBornology.coboundedandBornology.le_cofinitedeclarations with the type argument explicit. See the discussion here: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Topology.2EBornology.2EBasic