Details

Time bar (total: 5.4s)

sample88.0ms

Algorithm
intervals
Results
34.0ms99×body1280valid
19.0ms78×body640valid
12.0ms272×body80valid
6.0ms48×body320valid
2.0ms19×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (9.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 0.5 (exp im) (/ 0.5 (exp im)))
0.0b
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
0.0b
(/ 0.5 (exp im))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
times-frac
add-cbrt-cube
add-exp-log
pow1
expm1-log1p-u associate-*r* associate-*l* associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 59
Calls
3 calls:
1.0ms
(fma 0.5 (exp im) (/ 0.5 (exp im)))
4.0ms
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
4.0ms
(/ 0.5 (exp im))

series130.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(fma 0.5 (exp im) (/ 0.5 (exp im)))
70.0ms
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
13.0ms
(/ 0.5 (exp im))

simplify123.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0215417
1712366
24318366
35001364

prune170.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))
0.0b
(* (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))) (cos re))
0.0b
(/ (sqrt 0.5) (exp im))
1.0b
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
40×times-frac
36×add-cube-cbrt *-un-lft-identity
29×sqrt-prod
25×associate-*r*
13×add-cbrt-cube
11×add-exp-log
associate-*l*
pow1
unswap-sqr
associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
frac-2neg associate-*r/ clear-num fma-udef
Counts
4 → 121
Calls
4 calls:
1.0ms
(fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))
4.0ms
(* (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))) (cos re))
5.0ms
(/ (sqrt 0.5) (exp im))
15.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))
163.0ms
(* (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))) (cos re))
40.0ms
(/ (sqrt 0.5) (exp im))
63.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03831087
11654936
25002897

prune356.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (exp im) (* 0.5 (cos re)) (/ (* 0.5 (cos re)) (exp im)))
0.0b
(/ (* 0.5 (cos re)) (exp im))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube
add-exp-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
1.0ms
(fma (exp im) (* 0.5 (cos re)) (/ (* 0.5 (cos re)) (exp im)))
6.0ms
(/ (* 0.5 (cos re)) (exp im))

series126.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(fma (exp im) (* 0.5 (cos re)) (/ (* 0.5 (cos re)) (exp im)))
37.0ms
(/ (* 0.5 (cos re)) (exp im))

simplify109.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0185290
1784243
23962240
35001238

prune99.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (sqrt 0.5) (exp im))
0.0b
(exp (log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))))
1.0b
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))
2.6b
(log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
40×times-frac
37×add-cube-cbrt *-un-lft-identity
29×sqrt-prod
22×associate-*r*
11×add-cbrt-cube
10×add-exp-log
pow1
log-prod associate-*l* associate-/l* unswap-sqr
expm1-log1p-u exp-prod log1p-expm1-u add-log-exp
exp-sum associate-/r*
cbrt-undiv div-exp prod-exp log-pow cbrt-unprod div-inv
frac-2neg associate-*r/ rem-log-exp pow-prod-down clear-num *-commutative rem-exp-log
Counts
4 → 122
Calls
4 calls:
5.0ms
(/ (sqrt 0.5) (exp im))
2.0ms
(exp (log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))))
12.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))
2.0ms
(log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (sqrt 0.5) (exp im))
94.0ms
(exp (log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))))
66.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))
266.0ms
(log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04181135
11820991
25001930

prune395.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes59.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
098
198

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s3006×body1280valid
552.0ms2552×body640valid
382.0ms8589×body80valid
176.0ms1267×body320valid
65.0ms654×body160valid