Details

Time bar (total: 12.0s)

sample194.0ms

Algorithm
intervals
Results
104.0ms191×body1280valid
48.0ms135×body640valid
10.0ms45×body320valid
10.0ms143×body80valid
4.0ms26×body160valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
21047
32137
43647
58507
614157
719687
849857
950017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
216×prod-diff
119×add-sqr-sqrt *-un-lft-identity
115×add-cube-cbrt
110×exp-sum
44×distribute-rgt-in distribute-lft-in
14×fma-neg
13×sub-neg
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 184
Calls
2 calls:
87.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
46.0ms
(- (exp (- 0.0 im)) (exp im))

series19.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
4.0ms
(- (exp (- 0.0 im)) (exp im))

simplify77.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07144198
125142591
250032251

prune494.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/60 (pow im 5) (* 2 im))
0.1b
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.1b
(* 1/3 (pow im 3))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
35×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in prod-exp
unpow-prod-down cube-prod associate-*l* cbrt-unprod unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
sub-neg associate-*r/ *-commutative sqr-pow
cube-mult pow-to-exp flip3-- unpow3 pow-exp flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
3 → 107
Calls
3 calls:
0.0ms
(fma 1/60 (pow im 5) (* 2 im))
21.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
7.0ms
(* 1/3 (pow im 3))

series50.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(fma 1/60 (pow im 5) (* 2 im))
40.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
3.0ms
(* 1/3 (pow im 3))

simplify76.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05631867
124471252
250011217

prune627.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 80
Calls
4 calls:
26.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

series472.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
91.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
91.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
93.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04342047
116971877
250021776

prune1.3s

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
0.7b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div associate-*r/
13×add-sqr-sqrt
11×pow1 cbrt-prod *-un-lft-identity
add-cube-cbrt flip3-- pow1/3 flip--
add-exp-log
expm1-log1p-u frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 84
Calls
4 calls:
26.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
11.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
4.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series399.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
91.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
91.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
18.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify68.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05452089
120601923
250021821

prune1.5s

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

regimes632.0ms

Accuracy

0% (0.5b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 0.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12810
22810

end0.0ms

sample5.6s

Algorithm
intervals
Results
3.2s5827×body1280valid
1.3s3607×body640valid
355.0ms1476×body320valid
316.0ms4317×body80valid
107.0ms689×body160valid