Error in 20.8s

Runtime

Time bar (total: 20.8s)Debug log

start258.0ms

Algorithm
intervals

setup42.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize23.0ms

Local error

Found 2 expressions with local error:

15.2b
(/ (- 1 (cos x)) (* x x))
2.1b
(- 1 (cos x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
2 → 37
Calls

2 calls. Slowest were:

8.0ms
(/ (- 1 (cos x)) (* x x))
2.0ms
(- 1 (cos x))

series103.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

79.0ms
(/ (- 1 (cos x)) (* x x))
23.0ms
(- 1 (cos x))

simplify657.0ms

Counts
19 → 43
Calls

19 calls. Slowest were:

383.0ms
(/ (* (* (- 1 (cos x)) (- 1 (cos x))) (- 1 (cos x))) (* (* (* x x) (* x x)) (* x x)))
63.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
56.0ms
(- (+ (* 1/2 (pow x 2)) (* 1/720 (pow x 6))) (* 1/24 (pow x 4)))

prune378.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

15.1b
(/ (* (sin x) (sin x)) (* (* x x) (+ 1 (cos x))))
0.4b
(+ 1 (cos x))
0.2b
(* (sin x) (sin x))
0.1b
(* (* x x) (+ 1 (cos x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Counts
4 → 84
Calls

4 calls. Slowest were:

16.0ms
(/ (* (sin x) (sin x)) (* (* x x) (+ 1 (cos x))))
7.0ms
(* (* x x) (+ 1 (cos x)))
7.0ms
(* (sin x) (sin x))

series138.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

69.0ms
(/ (* (sin x) (sin x)) (* (* x x) (+ 1 (cos x))))
30.0ms
(* (* x x) (+ 1 (cos x)))
24.0ms
(* (sin x) (sin x))

simplify4.5s

Counts
51 → 96
Calls

51 calls. Slowest were:

482.0ms
(/ (* (* (* (sin x) (sin x)) (sin x)) (* (* (sin x) (sin x)) (sin x))) (* (* (* (* x x) (+ 1 (cos x))) (* (* x x) (+ 1 (cos x)))) (* (* x x) (+ 1 (cos x)))))
426.0ms
(/ (* (* (* (sin x) (sin x)) (* (sin x) (sin x))) (* (sin x) (sin x))) (* (* (* (* x x) (+ 1 (cos x))) (* (* x x) (+ 1 (cos x)))) (* (* x x) (+ 1 (cos x)))))
415.0ms
(- (+ (log (sin x)) (log (sin x))) (+ (log (* x x)) (log (+ 1 (cos x)))))

prune1.1s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

14.6b
(/ (sin x) (* x x))
0.2b
(* (/ (sin x) (* x x)) (tan (/ x 2)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Counts
2 → 49
Calls

2 calls. Slowest were:

9.0ms
(* (/ (sin x) (* x x)) (tan (/ x 2)))
3.0ms
(/ (sin x) (* x x))

series86.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

63.0ms
(* (/ (sin x) (* x x)) (tan (/ x 2)))
23.0ms
(/ (sin x) (* x x))

simplify1.8s

Counts
34 → 55
Calls

34 calls. Slowest were:

669.0ms
(* (* (* (/ (sin x) (* x x)) (/ (sin x) (* x x))) (/ (sin x) (* x x))) (* (* (tan (/ x 2)) (tan (/ x 2))) (tan (/ x 2))))
166.0ms
(/ (* (* (sin x) (sin x)) (sin x)) (* (* (* x x) (* x x)) (* x x)))
162.0ms
(/ (* (sin x) (sin (* 1/2 x))) (* (cos (* 1/2 x)) (pow x 2)))

prune641.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin x))
0.6b
(cbrt (sin x))
0.6b
(cbrt (sin x))
0.5b
(* (cbrt (sin x)) (cbrt (sin x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Counts
4 → 69
Calls

4 calls. Slowest were:

10.0ms
(* (cbrt (sin x)) (cbrt (sin x)))
1.0ms
(cbrt (sin x))
1.0ms
(cbrt (sin x))

series591.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

161.0ms
(* (cbrt (sin x)) (cbrt (sin x)))
149.0ms
(cbrt (sin x))
144.0ms
(cbrt (sin x))

simplify407.0ms

Counts
41 → 81
Calls

41 calls. Slowest were:

119.0ms
(- (pow x 1/3) (+ (* 1/18 (pow (pow x 7) 1/3)) (* 1/3240 (pow (pow x 13) 1/3))))
100.0ms
(- (pow x 1/3) (+ (* 1/18 (pow (pow x 7) 1/3)) (* 1/3240 (pow (pow x 13) 1/3))))
92.0ms
(- (pow x 1/3) (+ (* 1/18 (pow (pow x 7) 1/3)) (* 1/3240 (pow (pow x 13) 1/3))))

prune978.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes102.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x)
  :name "cos2 (problem 3.4.1)"
  (/ (- 1 (cos x)) (* x x)))

Backtrace

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