Commit 2026-03-23 08:24 e342913b
View on Github →chore(Order/UpperLower/Closure): use to_dual (#36969)
This PR tags upperClosure with to_dual.
to_dualwas not happy with the proof ofupperClosure_image. I replaced it with a proof with less defeq abuse, by taggingUpperSet.mapwithsimps.to_dualis not happy with the galois connections, because they are between the order and a set-containment order, and only one of the two is translated byto_dual. Hence, the proofs using the galois connection cannot be translated automatically, and we need to useto_dual existing. I changed two proofs to avoid this dependency.- I changed the
to_dual_insert_castproof ofGaloisInsertionto clarify what is going on there. DecidablePredwas being translated toDecidableSucc, so I added a fix in the abbreviation dictionary.