Commit 2026-11-24 16:11 3ad35234

View on Github →

chore(CategoryTheory/Limits/Shapes/Pullback): use to_dual (#46208) This PR uses to_dual for Pullback.

  • This requires putting (relevant_arg := _) on WidePullbackShape, because it needs to be translated no matter what the argument J is (in this case it is WalkingPair).
  • simps! is removed from pullback.congrHom and written out manually instead to make it easier to use to_dual.
  • The definition of pullback.congrHom/pushout.congrHom is modified so that both projections can be generated by simps.
  • hasPushouts_symmetry_of_hasPushoutsAlong was misnamed (it has an s too many). Instead of replacing it with the correct name, I've deprecated it and its dual entirely, as they can be directly replaced by hasPushout_symmetry/hasPullback_symmetry respectively. I also added a TODO at hasPullback_symmetry to consider making it a global instance (it would be a loopy instance, but lean4 should handle this perfectly fine).

Estimated changes