Details

Time bar (total: 4.5s)

sample92.0ms

Algorithm
intervals
Results
35.0ms100×body1280valid
20.0ms88×body640valid
12.0ms286×body80valid
5.0ms37×body320valid
2.0ms25×body160valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp (- im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt associate-*r* add-log-exp
fma-def pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u distribute-lft-out
+-commutative distribute-rgt-in distribute-lft-in associate-*l* sum-log *-commutative
Counts
2 → 42
Calls
2 calls:
20.0ms
(+ (exp (- im)) (exp im))
60.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series83.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (exp (- im)) (exp im))
60.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

simplify39.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0258374
11276311
25002307

prune126.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
22×sqrt-pow1
20×exp-prod
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log add-cbrt-cube
distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod fma-udef
neg-sub0 exp-neg neg-mul-1 rem-sqrt-square pow1/2 exp-diff
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
4 → 86
Calls
4 calls:
10.0ms
(sqrt (exp (- im)))
6.0ms
(sqrt (exp (- im)))
0.0ms
(fma (sqrt (exp (- im))) (sqrt (exp (- im))) (exp im))
20.0ms
(* (* 0.5 (cos re)) (fma (sqrt (exp (- im))) (sqrt (exp (- im))) (exp im)))

series196.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(sqrt (exp (- im)))
15.0ms
(sqrt (exp (- im)))
64.0ms
(fma (sqrt (exp (- im))) (sqrt (exp (- im))) (exp im))
96.0ms
(* (* 0.5 (cos re)) (fma (sqrt (exp (- im))) (sqrt (exp (- im))) (exp im)))

simplify34.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0241658
1977521
25002512

prune303.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (- im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
0.3b
(cbrt (pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3))
0.4b
(pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3)

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log add-cbrt-cube
12×*-un-lft-identity
cbrt-prod add-sqr-sqrt add-cube-cbrt
associate-*r/ pow-prod-down prod-exp cbrt-unprod add-log-exp
cube-div expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u
pow-unpow pow-pow fma-def pow-exp rem-cube-cbrt
cube-mult unpow-prod-down cbrt-div unpow3 cube-prod distribute-lft-out sqr-pow
+-commutative distribute-rgt-in pow-to-exp distribute-lft-in pow1/3 associate-*l* sum-log *-commutative rem-cbrt-cube
Counts
4 → 92
Calls
4 calls:
21.0ms
(+ (exp (- im)) (exp im))
57.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
11.0ms
(cbrt (pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3))
33.0ms
(pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3)

series244.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (exp (- im)) (exp im))
64.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
59.0ms
(cbrt (pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3))
98.0ms
(pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3)

simplify65.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0397875
12043824
25001822

prune274.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes94.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
01311
11311

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s3023×body1280valid
500.0ms2428×body640valid
366.0ms8645×body80valid
165.0ms1251×body320valid
63.0ms664×body160valid