Error in 35.8s

Runtime

Time bar (total: 35.8s)Debug logProfile

start557.0ms

Algorithm
intervals

setup40.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.8b

localize60.0ms

Local error

Found 3 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
3 → 60
Calls

3 calls. Slowest were:

3.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (sin x))
0.0ms
(- x (tan x))

series241.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

97.0ms
(/ (- x (sin x)) (- x (tan x)))
94.0ms
(- x (tan x))
50.0ms
(- x (sin x))

simplify1.7s

Counts
39 → 69
Calls

39 calls. Slowest were:

383.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)))))
290.0ms
(- (+ (* 1/3 (pow x 3)) (+ (* 2/15 (pow x 5)) (* 17/315 (pow x 7)))))
275.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)))))

prune619.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
4 → 92
Calls

4 calls. Slowest were:

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

series321.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

105.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
104.0ms
(/ (- x (tan x)) (- x (sin x)))
80.0ms
(- x (tan x))

simplify2.4s

Counts
59 → 104
Calls

59 calls. Slowest were:

352.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)))))
301.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)))))
264.0ms
(/ (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))) (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))))

prune1.1s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 3 expressions with local error:

0.3b
(fma -27/2800 (pow x 4) -1/2)
0.2b
(* 9/40 x)
0.0b
(fma (* 9/40 x) x (fma -27/2800 (pow x 4) -1/2))

rewrite1.0ms

Algorithm
rewrite-expression-head
Counts
3 → 30
Calls

3 calls. Slowest were:

0.0ms
(* 9/40 x)
0.0ms
(fma -27/2800 (pow x 4) -1/2)
0.0ms
(fma (* 9/40 x) x (fma -27/2800 (pow x 4) -1/2))

series88.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

45.0ms
(fma -27/2800 (pow x 4) -1/2)
32.0ms
(fma (* 9/40 x) x (fma -27/2800 (pow x 4) -1/2))
11.0ms
(* 9/40 x)

simplify309.0ms

Counts
9 → 39
Calls

9 calls. Slowest were:

113.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
81.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
63.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

prune502.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

14.8b
(/ (- (* x x) (* (tan x) (tan x))) (* (- x (sin x)) (+ x (tan x))))
1.2b
(- (* x x) (* (tan x) (tan x)))
1.2b
(- x (sin x))
0.3b
(* (tan x) (tan x))

rewrite18.0ms

Algorithm
rewrite-expression-head
Counts
4 → 91
Calls

4 calls. Slowest were:

9.0ms
(/ (- (* x x) (* (tan x) (tan x))) (* (- x (sin x)) (+ x (tan x))))
4.0ms
(* (tan x) (tan x))
3.0ms
(- (* x x) (* (tan x) (tan x)))

series406.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

210.0ms
(/ (- (* x x) (* (tan x) (tan x))) (* (- x (sin x)) (+ x (tan x))))
106.0ms
(- (* x x) (* (tan x) (tan x)))
51.0ms
(- x (sin x))

simplify5.5s

Counts
59 → 103
Calls

59 calls. Slowest were:

776.0ms
(/ (* x x) (* (- x (sin x)) (+ x (tan x))))
548.0ms
(/ (- (* x x) (* (tan x) (tan x))) (+ x (tan x)))
378.0ms
(/ (* (* (- (* x x) (* (tan x) (tan x))) (- (* x x) (* (tan x) (tan x)))) (- (* x x) (* (tan x) (tan x)))) (* (* (* (- x (sin x)) (+ x (tan x))) (* (- x (sin x)) (+ x (tan x)))) (* (- x (sin x)) (+ x (tan x)))))

prune1.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes75.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x)
  :name "sintan (problem 3.4.5)"
  (/ (- x (sin x)) (- x (tan x))))

Backtrace

partition: contract violation expected: list? given: 0.03653637660991496 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