Zulip Chat Archive
Stream: general
Topic: linear ordered whut?
Johan Commelin (Jun 06 2020 at 05:34):
import algebra.ordered_field
instance foo (K : Type*) [linear_ordered_field K] :
linear_ordered_comm_ring K := by apply_instance
-- fails
Johan Commelin (Jun 06 2020 at 05:34):
/me whut?
Gabriel Ebner (Jun 06 2020 at 12:04):
It's time to unbundle the decidability assumptions:
instance foo (K : Type*) [discrete_linear_ordered_field K] :
decidable_linear_ordered_comm_ring K := by apply_instance
Last updated: Dec 20 2023 at 11:08 UTC