Skip to content

Commit

Permalink
chore(Filter/Basic): use abbrev (#16624)
Browse files Browse the repository at this point in the history
Otherwise `coframeMinimalAxioms.toCompleteLattice = instCompleteLatticeFilter` isn't `with_reducible_and_instances rfl`.
  • Loading branch information
urkud committed Sep 9, 2024
1 parent 9d2de1a commit 1fa672e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mathlib/Order/Filter/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,8 @@ instance : DistribLattice (Filter α) :=
x.sets_of_superset hs inter_subset_right, ht₂, rfl⟩ }

/-- The dual version does not hold! `Filter α` is not a `CompleteDistribLattice`. -/
def coframeMinimalAxioms : Coframe.MinimalAxioms (Filter α) :=
-- See note [reducible non-instances]
abbrev coframeMinimalAxioms : Coframe.MinimalAxioms (Filter α) :=
{ Filter.instCompleteLatticeFilter with
iInf_sup_le_sup_sInf := fun f s t ⟨h₁, h₂⟩ => by
classical
Expand Down

0 comments on commit 1fa672e

Please sign in to comment.