Error in 28.8s

Runtime

Time bar (total: 28.8s)Debug log

start151.0ms

Algorithm
intervals

setup21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize38.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
2 → 33
Calls

2 calls. Slowest were:

4.0ms
(/ (- 1 (cos x)) (* x x))
1.0ms
(- 1 (cos x))

series58.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

39.0ms
(/ (- 1 (cos x)) (* x x))
19.0ms
(- 1 (cos x))

simplify1.2s

Counts
19 → 39
Calls

19 calls. Slowest were:

479.0ms
(/ (* (* (- 1 (cos x)) (- 1 (cos x))) (- 1 (cos x))) (* (* (* x x) (* x x)) (* x x)))
439.0ms
(- (log (- 1 (cos x))) (log (* x x)))
67.0ms
(- (+ (* 1/2 (pow x 2)) (* 1/720 (pow x 6))) (* 1/24 (pow x 4)))

prune353.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize31.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 → 76
Calls

4 calls. Slowest were:

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

series145.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

69.0ms
(/ (* (sin x) (sin x)) (* (* x x) (+ 1 (cos x))))
36.0ms
(* (* x x) (+ 1 (cos x)))
25.0ms
(* (sin x) (sin x))

simplify5.1s

Counts
51 → 88
Calls

51 calls. Slowest were:

1.1s
(* (* (* (* x x) (* x x)) (* x x)) (* (* (+ 1 (cos x)) (+ 1 (cos x))) (+ 1 (cos x))))
445.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)))))
391.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)))))

prune922.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

14.3b
(/ (* x x) (sin x))
0.4b
(/ (tan (/ x 2)) (/ (* x x) (sin x)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
2 → 66
Calls

2 calls. Slowest were:

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

series119.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

84.0ms
(/ (tan (/ x 2)) (/ (* x x) (sin x)))
35.0ms
(/ (* x x) (sin x))

simplify2.7s

Counts
74 → 72
Calls

74 calls. Slowest were:

916.0ms
(/ (* (* (tan (/ x 2)) (tan (/ x 2))) (tan (/ x 2))) (* (* (/ (* x x) (sin x)) (/ (* x x) (sin x))) (/ (* x x) (sin x))))
297.0ms
(/ (* (* (* x x) (* x x)) (* x x)) (* (* (sin x) (sin x)) (sin x)))
172.0ms
(/ (* (sin x) (sin (* 1/2 x))) (* (cos (* 1/2 x)) (pow x 2)))

prune847.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (tan (/ x 2)) (/ x 1))
0.1b
(/ x (sin x))
0.1b
(/ (/ (tan (/ x 2)) (/ x 1)) (/ x (sin x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Counts
3 → 151
Calls

3 calls. Slowest were:

6.0ms
(/ (/ (tan (/ x 2)) (/ x 1)) (/ x (sin x)))
4.0ms
(/ (tan (/ x 2)) (/ x 1))
0.0ms
(/ x (sin x))

series152.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

87.0ms
(/ (/ (tan (/ x 2)) (/ x 1)) (/ x (sin x)))
44.0ms
(/ (tan (/ x 2)) (/ x 1))
21.0ms
(/ x (sin x))

simplify6.2s

Counts
207 → 160
Calls

207 calls. Slowest were:

836.0ms
(/ (* (* (/ (tan (/ x 2)) (/ x 1)) (/ (tan (/ x 2)) (/ x 1))) (/ (tan (/ x 2)) (/ x 1))) (* (* (/ x (sin x)) (/ x (sin x))) (/ x (sin x))))
290.0ms
(- (- (log (tan (/ x 2))) (log (/ x 1))) (log (/ x (sin x))))
237.0ms
(/ (/ (* (cbrt (tan (/ x 2))) (cbrt (tan (/ x 2)))) (* (cbrt (/ x 1)) (cbrt (/ x 1)))) (* (cbrt (/ x (sin x))) (cbrt (/ x (sin x)))))

prune1.8s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes147.0ms

Please include this information when filing a bug report:

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

Backtrace

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