Details

Time bar (total: 2.4s)

sample27.0ms

Algorithm
intervals
Results
16.0ms341×body80valid

simplify6.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))

series35.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
010592
136283
2110783
3262280
4500180

prune49.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.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)))

simplify125.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03055
15948
219748
376448
4422548
5500148

prune33.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
associate-*r/
distribute-rgt-in expm1-log1p-u sub-neg flip3-- distribute-lft-in times-frac associate-*r* associate-*l* prod-diff associate-/r* flip-- log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/
frac-2neg fma-neg diff-log pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 69
Calls
3 calls:
3.0ms
(- (* x.re y.re) (* x.im y.im))
10.0ms
(* (fma x.re y.re (* x.im y.im)) (- (* x.re y.re) (* x.im y.im)))
11.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (- (* x.re y.re) (* x.im y.im))) (fma x.re y.re (* x.im y.im)))

series183.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (* x.re y.re) (* x.im y.im))
110.0ms
(* (fma x.re y.re (* x.im y.im)) (- (* x.re y.re) (* x.im y.im)))
35.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (- (* x.re y.re) (* x.im y.im))) (fma x.re y.re (* x.im y.im)))

simplify53.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0287672
11637573
25001541

prune171.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y.re x.re) (* y.im x.im))
0.3b
(* (fma x.re y.re (* x.im y.im)) (+ (- (* y.re x.re) (* y.im x.im)) (fma (- y.im) x.im (* y.im x.im))))
26.2b
(/ (* (fma x.re y.re (* x.im y.im)) (+ (- (* y.re x.re) (* y.im x.im)) (fma (- y.im) x.im (* y.im x.im)))) (fma x.re y.re (* x.im y.im)))
53.0b
(fma (- y.im) x.im (* y.im x.im))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-log-exp
expm1-log1p-u associate-*r/ associate-*r* log1p-expm1-u
times-frac associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/
distribute-rgt-in sub-neg flip3-- frac-2neg distribute-lft-in fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative flip-- fma-udef div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 76
Calls
4 calls:
3.0ms
(- (* y.re x.re) (* y.im x.im))
31.0ms
(* (fma x.re y.re (* x.im y.im)) (+ (- (* y.re x.re) (* y.im x.im)) (fma (- y.im) x.im (* y.im x.im))))
20.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (+ (- (* y.re x.re) (* y.im x.im)) (fma (- y.im) x.im (* y.im x.im)))) (fma x.re y.re (* x.im y.im)))
0.0ms
(fma (- y.im) x.im (* y.im x.im))

series267.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* y.re x.re) (* y.im x.im))
147.0ms
(* (fma x.re y.re (* x.im y.im)) (+ (- (* y.re x.re) (* y.im x.im)) (fma (- y.im) x.im (* y.im x.im))))
58.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (+ (- (* y.re x.re) (* y.im x.im)) (fma (- y.im) x.im (* y.im x.im)))) (fma x.re y.re (* x.im y.im)))
25.0ms
(fma (- y.im) x.im (* y.im x.im))

simplify58.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0349918
11799787
25001751

prune245.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes107.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

sample741.0ms

Algorithm
intervals
Results
488.0ms10525×body80valid