Details

Time bar (total: 2.5s)

sample19.0ms

Algorithm
intervals
Results
8.0ms330×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0123
1203
2243
3243

prune2.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.re y.re) (* x.im y.im))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt sub-neg flip3-- *-un-lft-identity fma-neg diff-log prod-diff add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 16
Calls
1 calls:
3.0ms
(- (* x.re y.re) (* x.im y.im))

series36.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(- (* x.re y.re) (* x.im y.im))

simplify83.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
010592
136283
2110783
3262280
4500180

prune48.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma x.re y.re (- (* x.im y.im)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma x.re y.re (- (* x.im y.im)))

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(fma x.re y.re (- (* x.im y.im)))

simplify123.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03055
15948
219748
376448
4422548
5500148

prune33.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma x.re y.re (- (* x.im y.im)))) (cbrt (fma x.re y.re (- (* x.im y.im)))))
1.5b
(cbrt (fma x.re y.re (- (* x.im y.im))))
1.5b
(cbrt (fma x.re y.re (- (* x.im y.im))))
1.5b
(cbrt (fma x.re y.re (- (* x.im y.im))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
8.0ms
(* (cbrt (fma x.re y.re (- (* x.im y.im)))) (cbrt (fma x.re y.re (- (* x.im y.im)))))
0.0ms
(cbrt (fma x.re y.re (- (* x.im y.im))))
0.0ms
(cbrt (fma x.re y.re (- (* x.im y.im))))
1.0ms
(cbrt (fma x.re y.re (- (* x.im y.im))))

series478.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(* (cbrt (fma x.re y.re (- (* x.im y.im)))) (cbrt (fma x.re y.re (- (* x.im y.im)))))
115.0ms
(cbrt (fma x.re y.re (- (* x.im y.im))))
114.0ms
(cbrt (fma x.re y.re (- (* x.im y.im))))
112.0ms
(cbrt (fma x.re y.re (- (* x.im y.im))))

simplify81.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0249849
1844784
23493707
35002690

prune248.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x.re y.re (- (* x.im y.im)))
0.2b
(* (sqrt (fma x.re y.re (- (* x.im y.im)))) (sqrt (fma x.re y.re (- (* x.im y.im)))))
1.0b
(sqrt (fma x.re y.re (- (* x.im y.im))))
1.0b
(sqrt (fma x.re y.re (- (* x.im y.im))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
0.0ms
(fma x.re y.re (- (* x.im y.im)))
7.0ms
(* (sqrt (fma x.re y.re (- (* x.im y.im)))) (sqrt (fma x.re y.re (- (* x.im y.im)))))
1.0ms
(sqrt (fma x.re y.re (- (* x.im y.im))))
1.0ms
(sqrt (fma x.re y.re (- (* x.im y.im))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(fma x.re y.re (- (* x.im y.im)))
43.0ms
(* (sqrt (fma x.re y.re (- (* x.im y.im)))) (sqrt (fma x.re y.re (- (* x.im y.im)))))
91.0ms
(sqrt (fma x.re y.re (- (* x.im y.im))))
94.0ms
(sqrt (fma x.re y.re (- (* x.im y.im))))

simplify147.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0181595
1674523
23778497
35001489

prune192.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes91.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0123
1143
2143

end0.0ms

sample497.0ms

Algorithm
intervals
Results
237.0ms10370×body80valid