File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,6 +307,9 @@ theorem cancel_left {g : TopHom β γ} {f₁ f₂ : TopHom α β} (hg : Injectiv
307307
308308end Top
309309
310+ instance instLE [LE β] [Top β] : LE (TopHom α β) where
311+ le f g := (f : α → β) ≤ g
312+
310313instance [Preorder β] [Top β] : Preorder (TopHom α β) :=
311314 Preorder.lift (DFunLike.coe : TopHom α β → α → β)
312315
@@ -315,7 +318,7 @@ instance [PartialOrder β] [Top β] : PartialOrder (TopHom α β) :=
315318
316319section OrderTop
317320
318- variable [Preorder β] [OrderTop β]
321+ variable [LE β] [OrderTop β]
319322
320323instance : OrderTop (TopHom α β) where
321324 top := ⟨⊤, rfl⟩
@@ -500,6 +503,9 @@ theorem cancel_left {g : BotHom β γ} {f₁ f₂ : BotHom α β} (hg : Injectiv
500503
501504end Bot
502505
506+ instance instLE [LE β] [Bot β] : LE (BotHom α β) where
507+ le f g := (f : α → β) ≤ g
508+
503509instance [Preorder β] [Bot β] : Preorder (BotHom α β) :=
504510 Preorder.lift (DFunLike.coe : BotHom α β → α → β)
505511
@@ -508,7 +514,7 @@ instance [PartialOrder β] [Bot β] : PartialOrder (BotHom α β) :=
508514
509515section OrderBot
510516
511- variable [Preorder β] [OrderBot β]
517+ variable [LE β] [OrderBot β]
512518
513519instance : OrderBot (BotHom α β) where
514520 bot := ⟨⊥, rfl⟩
You can’t perform that action at this time.
0 commit comments