Error in 1.1m

Runtime

Time bar (total: 1.1m)Debug log

start748.0ms

Algorithm
intervals

setup24.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.6b

localize391.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)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 60
Calls

3 calls. Slowest were:

4.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (sin x))
1.0ms
(- x (tan x))

series232.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

116.0ms
(/ (- x (sin x)) (- x (tan x)))
77.0ms
(- x (tan x))
38.0ms
(- x (sin x))

simplify1.4s

Counts
39 → 69
Calls

39 calls. Slowest were:

271.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)))))
246.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)))))
194.0ms
(/ (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))))

prune651.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 9/40 x)
0.0b
(fma -27/2800 (pow x 4) -1/2)
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 (* 9/40 x) x (fma -27/2800 (pow x 4) -1/2))
0.0ms
(fma -27/2800 (pow x 4) -1/2)

series87.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

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

simplify272.0ms

Counts
9 → 39
Calls

9 calls. Slowest were:

84.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
74.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))
54.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

prune559.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.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))))

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))

series358.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

122.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
121.0ms
(/ (- x (tan x)) (- x (sin x)))
82.0ms
(- x (tan x))

simplify2.2s

Counts
59 → 104
Calls

59 calls. Slowest were:

299.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)))))
282.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)))))
201.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)))))

prune1.1s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.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)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Counts
4 → 176
Calls

4 calls. Slowest were:

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

series389.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

228.0ms
(- (/ x (- x (sin x))) (/ (tan x) (- x (sin x))))
74.0ms
(/ (tan x) (- x (sin x)))
45.0ms
(- x (sin x))

simplify34.1s

Counts
240 → 188
Calls

240 calls. Slowest were:

852.0ms
(fma (- (/ (cbrt (tan x)) (- x (sin x)))) (/ (* (cbrt (tan x)) (cbrt (tan x))) 1) (* (/ (cbrt (tan x)) (- x (sin x))) (/ (* (cbrt (tan x)) (cbrt (tan x))) 1)))
791.0ms
(fma (/ x (- (* x x) (* (sin x) (sin x)))) (+ x (sin x)) (- (* (/ (tan x) (- x (sin x))) 1)))
715.0ms
(fma (/ x (- (* x x) (* (sin x) (sin x)))) (+ x (sin x)) (- (* (/ (tan x) (- x (sin x))) (/ 1 1))))

prune2.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes66.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +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.10121257241757754 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