Error in 30.7s

Runtime

Time bar (total: 30.7s)Debug log

start625.0ms

Algorithm
intervals

setup84.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.6b

localize40.0ms

Local error

Found 3 expressions with local error:

1.8b
(- x (sin x))
1.8b
(- x (tan x))
0.0b
(/ (- x (sin x)) (- x (tan x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Counts
3 → 54
Calls

3 calls. Slowest were:

7.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
1.0ms
(- x (tan x))

series284.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

125.0ms
(/ (- x (sin x)) (- x (tan x)))
97.0ms
(- x (tan x))
62.0ms
(- x (sin x))

simplify1.1s

Counts
39 → 63
Calls

39 calls. Slowest were:

212.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
205.0ms
(/ (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))))
170.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))

prune639.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize22.0ms

Local error

Found 3 expressions with local error:

15.5b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
0.1b
(* 9/40 (pow x 2))
0.1b
(* 27/2800 (pow x 4))

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
3 → 36
Calls

3 calls. Slowest were:

5.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
1.0ms
(* 9/40 (pow x 2))
1.0ms
(* 27/2800 (pow x 4))

series75.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

28.0ms
(* 27/2800 (pow x 4))
28.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
20.0ms
(* 9/40 (pow x 2))

simplify283.0ms

Counts
16 → 45
Calls

16 calls. Slowest were:

107.0ms
(/ (exp (* 9/40 (pow x 2))) (exp (+ (* 27/2800 (pow x 4)) 1/2)))
55.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
52.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

prune650.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

1.8b
(- x (sin x))
1.8b
(- x (tan x))
0.0b
(/ (- x (tan x)) (- x (sin x)))
0.0b
(/ 1 (/ (- x (tan x)) (- x (sin x))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Counts
4 → 84
Calls

4 calls. Slowest were:

6.0ms
(/ (- x (tan x)) (- x (sin x)))
3.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
1.0ms
(- x (tan x))

series330.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

125.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
115.0ms
(/ (- x (tan x)) (- x (sin x)))
51.0ms
(- x (tan x))

simplify1.7s

Counts
59 → 96
Calls

59 calls. Slowest were:

214.0ms
(/ (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))) (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))))
174.0ms
(- (+ (/ (pow (sin x) 2) (pow x 2)) (+ (/ (sin x) x) 1)) (+ (/ (sin x) (* (cos x) x)) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
170.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))

prune961.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

1.8b
(- x (sin x))
1.8b
(- x (sin x))
1.8b
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
0.1b
(/ (tan x) (- x (sin x)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
4 → 72
Calls

4 calls. Slowest were:

6.0ms
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
3.0ms
(/ (tan x) (- x (sin x)))
1.0ms
(- x (sin x))

series373.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

197.0ms
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
80.0ms
(/ (tan x) (- x (sin x)))
50.0ms
(- x (sin x))

simplify2.4s

Counts
56 → 84
Calls

56 calls. Slowest were:

413.0ms
(+ (/ (sin x) (* (cos x) x)) (+ (/ (pow (sin x) 3) (* (cos x) (pow x 3))) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
369.0ms
(/ (* (* (tan x) (tan x)) (tan x)) (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))))
329.0ms
(+ (/ (sin x) (* (cos x) x)) (+ (/ (pow (sin x) 3) (* (cos x) (pow x 3))) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))

prune932.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes39.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(FPCore (x)
  :name "sintan (problem 3.4.5)"
  (/ (- x (sin x)) (- x (tan x))))

Backtrace

partition: contract violation expected: list? given: 0.03544720683484472 argument position: 2nd other arguments...: #<procedure:ordinary-value?>LC
partition/home/p92/racket/collects/racket/list.rkt5550
errors-score/data/pavpan/nightlies/herbie/develop/src/points.rkt3220
for-loop/data/pavpan/nightlies/herbie/develop/src/sandbox.rkt7512
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128
run/home/p92/racket/share/pkgs/profile-lib/main.rkt392
profile-thunk16/home/p92/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128