Error in 6.5s

Runtime

Time bar (total: 6.5s)Debug log

start126.0ms

Algorithm
intervals

setup430.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ x 2) x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Counts
1 → 13
Calls

1 calls. Slowest were:

4.0ms
(* (+ x 2) x)

series25.0ms

Counts
1 → 3
Calls

1 calls. Slowest were:

25.0ms
(* (+ x 2) x)

simplify197.0ms

Counts
7 → 16
Calls

7 calls. Slowest were:

162.0ms
(* (- (* x x) (* 2 2)) x)
15.0ms
(* (+ (pow x 3) (pow 2 3)) x)
5.0ms
(+ (* 2 x) (pow x 2))

prune83.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

5.2b
(/ (+ (* -4 x) (pow x 3)) (- x 2))
0.0b
(+ (* -4 x) (pow x 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Counts
2 → 47
Calls

2 calls. Slowest were:

9.0ms
(/ (+ (* -4 x) (pow x 3)) (- x 2))
2.0ms
(+ (* -4 x) (pow x 3))

series77.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

46.0ms
(/ (+ (* -4 x) (pow x 3)) (- x 2))
31.0ms
(+ (* -4 x) (pow x 3))

simplify698.0ms

Counts
43 → 53
Calls

43 calls. Slowest were:

123.0ms
(- (* (* -4 x) (* -4 x)) (* (pow x 3) (pow x 3)))
90.0ms
(+ (pow (* -4 x) 3) (pow (pow x 3) 3))
79.0ms
(/ (* (* (+ (* -4 x) (pow x 3)) (+ (* -4 x) (pow x 3))) (+ (* -4 x) (pow x 3))) (* (* (- x 2) (- x 2)) (- x 2)))

prune371.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

5.1b
(/ (- x 2) (+ (* -4 x) (pow x 3)))
0.2b
(/ 1 (/ (- x 2) (+ (* -4 x) (pow x 3))))
0.0b
(+ (* -4 x) (pow x 3))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 81
Calls

3 calls. Slowest were:

4.0ms
(/ (- x 2) (+ (* -4 x) (pow x 3)))
2.0ms
(/ 1 (/ (- x 2) (+ (* -4 x) (pow x 3))))
2.0ms
(+ (* -4 x) (pow x 3))

series91.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

43.0ms
(/ 1 (/ (- x 2) (+ (* -4 x) (pow x 3))))
31.0ms
(+ (* -4 x) (pow x 3))
17.0ms
(/ (- x 2) (+ (* -4 x) (pow x 3)))

simplify1.2s

Counts
68 → 90
Calls

68 calls. Slowest were:

154.0ms
(+ (* (* -4 x) (* -4 x)) (- (* (pow x 3) (pow x 3)) (* (* -4 x) (pow x 3))))
150.0ms
(+ (* (* -4 x) (* -4 x)) (- (* (pow x 3) (pow x 3)) (* (* -4 x) (pow x 3))))
81.0ms
(/ (* (* (- x 2) (- x 2)) (- x 2)) (* (* (+ (* -4 x) (pow x 3)) (+ (* -4 x) (pow x 3))) (+ (* -4 x) (pow x 3))))

prune712.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes22.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(FPCore (x)
  :name "Expanding a square"
  (- (* (+ x 1) (+ x 1)) 1))

Backtrace

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