Error in 49.8s

Runtime

Time bar (total: 49.8s)Debug logProfile

start222.0ms

Algorithm
intervals

setup240.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.0b

localize46.0ms

Local error

Found 4 expressions with local error:

8.1b
(* (- (* x.re x.re) (* x.im x.im)) x.im)
0.2b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.0b
(+ (* x.re x.im) (* x.im x.re))

rewrite27.0ms

Algorithm
rewrite-expression-head
Counts
4 → 63
Calls

4 calls. Slowest were:

10.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
8.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
7.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series109.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

44.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
42.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
12.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify5.7s

Counts
32 → 75
Calls

32 calls. Slowest were:

1.4s
(* (+ (* (* x.re x.re) (* x.re x.re)) (+ (* (* x.im x.im) (* x.im x.im)) (* (* x.re x.re) (* x.im x.im)))) (- (* x.re x.im) (* x.im x.re)))
621.0ms
(* (- (* (* x.re x.re) (* x.re x.re)) (* (* x.im x.im) (* x.im x.im))) x.im)
483.0ms
(* (- (pow (* x.re x.re) 3) (pow (* x.im x.im) 3)) x.im)

prune815.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.im))
0.2b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.0b
(* (- x.re x.im) x.im)

rewrite35.0ms

Algorithm
rewrite-expression-head
Counts
4 → 85
Calls

4 calls. Slowest were:

15.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
8.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))
7.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

series120.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

41.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))
36.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
30.0ms
(* (- x.re x.im) x.im)

simplify18.9s

Counts
71 → 97
Calls

71 calls. Slowest were:

2.1s
(* (+ x.re x.im) (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re)))))
1.6s
(* (* (- x.re x.im) (+ x.re x.im)) (- (* x.re x.im) (* x.im x.re)))
1.5s
(* (- x.re x.im) (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re)))))

prune1.2s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.0b
(* (- x.re x.im) x.im)
0.0b
(+ (* x.re x.im) (* x.im x.re))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
4 → 54
Calls

4 calls. Slowest were:

4.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
3.0ms
(* (- x.re x.im) x.im)
2.0ms
(+ (* x.re x.im) (* x.im x.re))

series125.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

63.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
31.0ms
(* (- x.re x.im) x.im)
19.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify1.4s

Counts
21 → 66
Calls

21 calls. Slowest were:

388.0ms
(* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.re)
361.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
207.0ms
(* (- (* (* x.re x.im) (* x.re x.im)) (* (* x.im x.re) (* x.im x.re))) x.re)

prune721.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize32.0ms

Local error

Found 4 expressions with local error:

15.1b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
15.1b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
15.1b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
0.5b
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Counts
4 → 83
Calls

4 calls. Slowest were:

17.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
3.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
2.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series555.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

159.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
148.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
126.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify9.0s

Counts
59 → 95
Calls

59 calls. Slowest were:

1.3s
(* (cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))) (cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))))
1.2s
(cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re)))))
542.0ms
(cbrt (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)))

prune1.4s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes189.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x.re x.im)
  :name "math.cube on complex, imaginary part"

  :herbie-target
  (+ (* (* x.re x.im) (* 2 x.re)) (* (* x.im (- x.re x.im)) (+ x.re x.im)))

  (+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re)))

Backtrace

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