You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
The following code takes ~30s to execute because of wlog
import algebra.module
import data.real.basic
import data.set.intervals
variables {α : Type*}
[add_comm_group α] [vector_space ℝ α]
(A : set α) (B : set α) (x : α)
open set
defconvex (A : set α) :=
∀ {x y : α} {a b : ℝ}, x ∈ A → y ∈ A → 0 ≤ a → 0 ≤ b → a + b = 1 →
a • x + b • y ∈ A
lemmaconvex_Ioo (r s : ℝ): convex (Ioo r s) :=
begin
intros x y a b hx hy ha hb hab,
wlog h : x ≤ y using [x y a b, y x b a],
end
Activity
cipher1024 commentedon Mar 8, 2019
@johoelzl Any idea why that would be the case?
digama0 commentedon Mar 8, 2019
From the trace, it looks like the culprit is
distrib_notintauto. Why doeswlogcalltauto?cipher1024 commentedon Mar 8, 2019
Try calling
tauto!instead. That might make things faster: we'll be getting classical.digama0 commentedon Mar 8, 2019
It did make things faster, although it just fails in this case. Why is this so slow in the first place? What is tauto doing here?
cipher1024 commentedon Mar 8, 2019
I know why I put it there when I wrote the first version but I don't understand what it does anymore
cipher1024 commentedon Mar 8, 2019
It has changed a lot
cipher1024 commentedon Mar 8, 2019
you could replace it with
skipjohoelzl commentedon Mar 9, 2019
The only place where
tautologyis used, is in thedischarger, its last parameter. I wouldn't mind removing the discharger.