Zulip Chat Archive

Stream: mathlib4

Topic: port Data.Set.Intervals.Instances


Moritz Firsching (Jan 04 2023 at 19:50):

In mathlib4#1068, the only thing not working is the the instancecancelCommMonoid; currently giving a time-out. In similar situations, this way of defining an instance works.
Is there any easy fix?

instance cancelCommMonoid {α : Type _} [StrictOrderedCommRing α] [IsDomain α] :
    CancelCommMonoid (Ioc (0 : α) 1) :=
  { Set.Ioc.cancelMonoid, Set.Ioc.commMonoid with }
#align set.Ioc.cancel_comm_monoid Set.Ioc.cancelCommMonoid

Heather Macbeth (Jan 04 2023 at 20:02):

Have you merged master in the last hour or two, since the fix for the other looping instance came in?

Heather Macbeth (Jan 04 2023 at 20:03):

Since mathlib4#1335 that is

Moritz Firsching (Jan 04 2023 at 20:37):

I have now rebased on current head, but still get the timeout

Maxwell Thum (Jan 12 2023 at 01:32):

It seems to work fine with set_option maxHeartbeats 300000.

Maxwell Thum (Jan 12 2023 at 01:36):

Is this too long?

Kevin Buzzard (Jan 12 2023 at 08:10):

It's an indication that there's been a regression which we might want to look into now


Last updated: Dec 20 2023 at 11:08 UTC