Details

Time bar (total: 5.5s)

sample139.0ms

Algorithm
intervals
Results
56.0ms99×body1280valid
27.0ms78×body640valid
19.0ms272×body80valid
11.0ms48×body320valid
3.0ms19×body160valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (14.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

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

rewrite8.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:
0.0ms
(fma 0.5 (exp im) (/ 0.5 (exp im)))
3.0ms
(* (fma 0.5 (exp im) (/ 0.5 (exp im))) (cos re))
3.0ms
(/ 0.5 (exp im))

series124.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0215417
1712366
24318366
35001364

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

rewrite50.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:
0.0ms
(fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))
6.0ms
(* (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))) (cos re))
7.0ms
(/ (sqrt 0.5) (exp im))
29.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
92.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))
36.0ms
(/ (sqrt 0.5) (exp im))
69.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03831087
11654936
25002897

prune350.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

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

rewrite5.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:
0.0ms
(fma (exp im) (* 0.5 (cos re)) (/ (* 0.5 (cos re)) (exp im)))
4.0ms
(/ (* 0.5 (cos re)) (exp im))

series124.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0185290
1784243
23962240
35001238

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

rewrite27.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:
4.0ms
(/ (sqrt 0.5) (exp im))
1.0ms
(exp (log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))))
17.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))
1.0ms
(log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))))

series442.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (sqrt 0.5) (exp im))
93.0ms
(exp (log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im))))))
64.0ms
(* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))
250.0ms
(log (fma 0.5 (exp im) (* (sqrt 0.5) (/ (sqrt 0.5) (exp im)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04181135
11820991
25001930

prune421.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes62.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1168
2168

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s3006×body1280valid
550.0ms2552×body640valid
374.0ms8589×body80valid
180.0ms1267×body320valid
60.0ms654×body160valid