Error in 34.8s

Runtime

Time bar (total: 34.8s)Debug log

start57.0ms

Algorithm
intervals

setup60.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (* x x))
0.0b
(+ (* x (* x x)) (* x x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
2 → 23
Calls

2 calls. Slowest were:

16.0ms
(+ (* x (* x x)) (* x x))
1.0ms
(* x (* x x))

series68.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

45.0ms
(+ (* x (* x x)) (* x x))
23.0ms
(* x (* x x))

simplify113.0ms

Counts
9 → 29
Calls

9 calls. Slowest were:

66.0ms
(* (exp (* x (* x x))) (exp (* x x)))
14.0ms
(+ (* x x) x)
12.0ms
(+ (pow x 3) (pow x 2))

prune184.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 4 expressions with local error:

28.2b
(sqrt (+ (* x (* x x)) (* x x)))
28.2b
(sqrt (+ (* x (* x x)) (* x x)))
0.1b
(* x (* x x))
0.1b
(* x (* x x))

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
4 → 52
Calls

4 calls. Slowest were:

2.0ms
(sqrt (+ (* x (* x x)) (* x x)))
2.0ms
(sqrt (+ (* x (* x x)) (* x x)))
1.0ms
(* x (* x x))

series92.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

27.0ms
(sqrt (+ (* x (* x x)) (* x x)))
25.0ms
(* x (* x x))
24.0ms
(* x (* x x))

simplify1.7s

Counts
28 → 64
Calls

28 calls. Slowest were:

322.0ms
(sqrt (+ (pow (* x (* x x)) 3) (pow (* x x) 3)))
294.0ms
(sqrt (+ (pow (* x (* x x)) 3) (pow (* x x) 3)))
274.0ms
(sqrt (- (* (* x (* x x)) (* x (* x x))) (* (* x x) (* x x))))

prune544.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize50.0ms

Local error

Found 4 expressions with local error:

51.0b
(/ (+ (pow (* x (* x x)) 3) (pow (* x x) 3)) (+ (* (* x (* x x)) (* x (* x x))) (- (* (* x x) (* x x)) (* (* x (* x x)) (* x x)))))
0.2b
(* (* x x) (* x x))
0.1b
(pow (* x x) 3)
0.1b
(* x (* x x))

rewrite52.0ms

Algorithm
rewrite-expression-head
Counts
4 → 115
Calls

4 calls. Slowest were:

46.0ms
(/ (+ (pow (* x (* x x)) 3) (pow (* x x) 3)) (+ (* (* x (* x x)) (* x (* x x))) (- (* (* x x) (* x x)) (* (* x (* x x)) (* x x)))))
3.0ms
(* (* x x) (* x x))
1.0ms
(* x (* x x))

series216.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

142.0ms
(/ (+ (pow (* x (* x x)) 3) (pow (* x x) 3)) (+ (* (* x (* x x)) (* x (* x x))) (- (* (* x x) (* x x)) (* (* x (* x x)) (* x x)))))
31.0ms
(pow (* x x) 3)
24.0ms
(* (* x x) (* x x))

simplify27.5s

Counts
123 → 127
Calls

123 calls. Slowest were:

671.0ms
(cbrt (+ (* (* x (* x x)) (* x (* x x))) (- (* (* x x) (* x x)) (* (* x (* x x)) (* x x)))))
667.0ms
(/ (pow (* x x) 3) (sqrt (+ (* (* x (* x x)) (* x (* x x))) (- (* (* x x) (* x x)) (* (* x (* x x)) (* x x))))))
645.0ms
(- (* (* x (* x x)) (* x (* x x))) (- (* (* x x) (* x x)) (* (* x (* x x)) (* x x))))

prune1.7s

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes58.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(FPCore (x)
  :name "Expression 3, p15"
  :pre (<= 0 x 2)

  :herbie-target
  (* (* (+ 1.0 x) x) x)

  (+ (* x (* x x)) (* x x)))

Backtrace

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