Details

Time bar (total: 2.4s)

sample29.0ms

Algorithm
intervals
Results
18.0ms454×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (20.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.9b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
5.8b
(* x.re (- (* x.im x.im)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow-prod-down prod-exp *-commutative distribute-rgt-neg-out cbrt-unprod fma-udef unswap-sqr
Counts
2 → 34
Calls
2 calls:
0.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
5.0ms
(* x.re (- (* x.im x.im)))

series87.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
30.0ms
(* x.re (- (* x.im x.im)))

simplify137.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune116.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))
0.2b
(* (* x.re x.im) (- x.im))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
neg-mul-1 associate-*l* *-commutative distribute-rgt-neg-out fma-udef
Counts
2 → 38
Calls
2 calls:
0.0ms
(fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))
9.0ms
(* (* x.re x.im) (- x.im))

series85.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))
33.0ms
(* (* x.re x.im) (- x.im))

simplify39.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0186216
11009190
25001185

prune122.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* -1 (* (pow x.im 2) x.re)) (pow x.re 3))
5.8b
(* (pow x.im 2) x.re)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*l*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*r* prod-exp
pow1 expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma 3 (* -1 (* (pow x.im 2) x.re)) (pow x.re 3))
6.0ms
(* (pow x.im 2) x.re)

series93.0ms

Counts
2 → 6
Calls
2 calls:
74.0ms
(fma 3 (* -1 (* (pow x.im 2) x.re)) (pow x.re 3))
19.0ms
(* (pow x.im 2) x.re)

simplify98.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0136197
1451169
22998168
35002168

prune130.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l*
associate-*r*
expm1-log1p-u flip3-- flip3-+ frac-sub flip-- flip-+ log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg fma-def fma-neg diff-log prod-diff sum-log difference-of-squares
Counts
4 → 79
Calls
4 calls:
3.0ms
(+ (* x.re x.im) (* x.im x.re))
10.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
9.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
11.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series157.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (* x.re x.im) (* x.im x.re))
57.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
30.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
50.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify74.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0434759
12133646
25001586

prune217.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes79.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1165
2225
3225

end0.0ms

sample754.0ms

Algorithm
intervals
Results
522.0ms14547×body80valid