Commit 2026-11-04 07:44 e76f2571

View on Github →

chore(CategoryTheory/WithTerminal/Basic): use to_dual (#45623) This PR uses to_dual for WithTerminal/WithInitial.

  • For the proofs involving Cat to go though, I needed to add attribute [to_dual_dont_translate] Bundled.α.
  • I made false_of_from_star' private, as it seems false_of_from_star is the public version.
  • The definition of WithInitial.Hom generated by to_dual somehow causes some rfl proofs to fail. Luckily they can be replaced with the subsingleton tactic.

Estimated changes