Error in 6.8s

Runtime

Time bar (total: 6.8s)Debug log

start123.0ms

Algorithm
intervals

setup736.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
(* (+ 2 x) x)

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
1 → 15
Calls

1 calls. Slowest were:

4.0ms
(* (+ 2 x) x)

series26.0ms

Counts
1 → 3
Calls

1 calls. Slowest were:

26.0ms
(* (+ 2 x) x)

simplify272.0ms

Counts
7 → 18
Calls

7 calls. Slowest were:

233.0ms
(* (- (* 2 2) (* x x)) x)
16.0ms
(* (+ (pow 2 3) (pow x 3)) x)
6.0ms
(+ (* 2 x) (pow x 2))

prune87.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
(/ (* (- (* 2 2) (* x x)) x) (- 2 x))
0.1b
(* (- (* 2 2) (* x x)) x)

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
2 → 41
Calls

2 calls. Slowest were:

6.0ms
(/ (* (- (* 2 2) (* x x)) x) (- 2 x))
4.0ms
(* (- (* 2 2) (* x x)) x)

series73.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

45.0ms
(/ (* (- (* 2 2) (* x x)) x) (- 2 x))
28.0ms
(* (- (* 2 2) (* x x)) x)

simplify1.4s

Counts
27 → 47
Calls

27 calls. Slowest were:

199.0ms
(/ (- (* 2 2) (* x x)) (* (cbrt (- 2 x)) (cbrt (- 2 x))))
190.0ms
(* (- (* (* 2 2) (* 2 2)) (* (* x x) (* x x))) x)
189.0ms
(* (- (* (* 2 2) (* 2 2)) (* (* x x) (* x x))) x)

prune268.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (- 4 (* x x)) (/ (- 2 x) x))
0.0b
(/ (- 2 x) x)

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
2 → 55
Calls

2 calls. Slowest were:

3.0ms
(/ (- 4 (* x x)) (/ (- 2 x) x))
2.0ms
(/ (- 2 x) x)

series61.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

43.0ms
(/ (- 4 (* x x)) (/ (- 2 x) x))
19.0ms
(/ (- 2 x) x)

simplify1.0s

Counts
46 → 61
Calls

46 calls. Slowest were:

311.0ms
(/ (* (* (- 4 (* x x)) (- 4 (* x x))) (- 4 (* x x))) (* (* (/ (- 2 x) x) (/ (- 2 x) x)) (/ (- 2 x) x)))
134.0ms
(- (* 4 4) (* (* x x) (* x x)))
61.0ms
(/ (- 4 (* x x)) (/ 1 x))

prune357.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(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