Details

Time bar (total: 4.2s)

sample89.0ms

Algorithm
intervals
Results
38.0ms95×body1280valid
18.0ms83×body640valid
13.0ms305×body80valid
4.0ms29×body320valid
2.0ms18×body160valid

simplify73.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
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
0.0b
(+ (exp (- im)) (exp im))

rewrite35.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:
25.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
9.0ms
(+ (exp (- im)) (exp im))

series85.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
27.0ms
(+ (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: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube
add-exp-log
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
fma-def
times-frac
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*r* pow-prod-down associate-/r* log1p-expm1-u div-inv
cbrt-undiv div-exp
+-commutative frac-2neg flip3-+ associate-*l* clear-num sum-log *-commutative flip-+ distribute-lft-out associate-/l*
Counts
3 → 64
Calls
3 calls:
9.0ms
(* (* 0.5 (cos re)) (exp im))
10.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
4.0ms
(/ (* 0.5 (cos re)) (exp im))

series161.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* (* 0.5 (cos re)) (exp im))
84.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
41.0ms
(/ (* 0.5 (cos re)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0297490
11687421
25001416

prune173.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (- im)) 3)
0.0b
(* (exp im) (exp im))
0.1b
(pow (exp im) 3)
6.6b
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×exp-prod
26×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
15×pow-pow
13×pow1
add-cbrt-cube
unpow-prod-down pow-unpow cube-prod add-log-exp
add-exp-log expm1-log1p-u pow-prod-down pow-sqr pow-prod-up log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in swap-sqr associate-*r* associate-*l*
cube-div cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
pow2 neg-sub0 exp-neg neg-mul-1 sub-neg flip3-- distribute-rgt-out-- pow-plus exp-diff fma-neg diff-log prod-diff prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 118
Calls
4 calls:
4.0ms
(pow (exp (- im)) 3)
7.0ms
(* (exp im) (exp im))
2.0ms
(pow (exp im) 3)
7.0ms
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(pow (exp (- im)) 3)
13.0ms
(* (exp im) (exp im))
24.0ms
(pow (exp im) 3)
51.0ms
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

simplify125.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
0389526
12239444
25001380

prune415.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
0129
1129

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s3018×body1280valid
523.0ms2483×body640valid
371.0ms8610×body80valid
173.0ms1240×body320valid
57.0ms617×body160valid