Skip to content

Commit 3f0e888

Browse files
committed
using piCongrLeft'
1 parent 1552b79 commit 3f0e888

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mathlib/Data/Set/Finite/Lattice.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ theorem _root_.iInf_iSup_eq_of_finite {α ι} {κ : ι → Sort*} [Order.Frame
425425
{f : ∀ a, κ a → α} : ⨅ a, ⨆ b, f a b = ⨆ g : ∀ a, κ a, ⨅ a, f a (g a) := by
426426
by_cases h : ∀ a, Nonempty (κ a)
427427
· simpa [← Equiv.plift.symm.iInf_comp,
428-
← (Equiv.plift.piCongr (W := (κ <| PLift.down ·)) fun _ => Equiv.refl _).symm.iSup_comp]
428+
← (Equiv.plift.piCongrLeft' (κ <| PLift.down ·)).symm.iSup_comp]
429429
using Finite.biInf_iSup_eq (f := (f <| PLift.down ·)) finite_univ
430430
· simp only [not_forall, not_nonempty_iff] at h
431431
haveI : IsEmpty (∀ a, κ a) := by simpa
@@ -436,7 +436,7 @@ theorem _root_.iSup_iInf_eq_of_finite {α ι} {κ : ι → Sort*} [Order.Coframe
436436
{f : ∀ a, κ a → α} : ⨆ a, ⨅ b, f a b = ⨅ g : ∀ a, κ a, ⨆ a, f a (g a) := by
437437
by_cases h : ∀ a, Nonempty (κ a)
438438
· simpa [← Equiv.plift.symm.iSup_comp,
439-
← (Equiv.plift.piCongr (W := (κ <| PLift.down ·)) fun _ => Equiv.refl _).symm.iInf_comp]
439+
← (Equiv.plift.piCongrLeft' (κ <| PLift.down ·)).symm.iInf_comp]
440440
using Finite.biSup_iInf_eq (f := (f <| PLift.down ·)) finite_univ
441441
· simp only [not_forall, not_nonempty_iff] at h
442442
haveI : IsEmpty (∀ a, κ a) := by simpa

0 commit comments

Comments
 (0)