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 := _)onWidePullbackShape, because it needs to be translated no matter what the argumentJis (in this case it isWalkingPair). simps!is removed frompullback.congrHomand written out manually instead to make it easier to useto_dual.- The definition of
pullback.congrHom/pushout.congrHomis modified so that both projections can be generated bysimps. hasPushouts_symmetry_of_hasPushoutsAlongwas misnamed (it has anstoo many). Instead of replacing it with the correct name, I've deprecated it and its dual entirely, as they can be directly replaced byhasPushout_symmetry/hasPullback_symmetryrespectively. I also added aTODOathasPullback_symmetryto consider making it a global instance (it would be a loopy instance, but lean4 should handle this perfectly fine).