Details

Time bar (total: 10.0s)

sample176.0ms

Algorithm
intervals
Results
83.0ms145×body1280valid
37.0ms111×body640valid
17.0ms71×body320valid
14.0ms152×body80valid
7.0ms45×body160valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0187
1407
2927
31637
44057
58657
611897
727717
850017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.2b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
5.6b
(- (exp (- im)) (exp im))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
27×prod-diff
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
sub-neg fma-neg 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 → 74
Calls
2 calls:
37.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
13.0ms
(- (exp (- im)) (exp im))

series117.0ms

Counts
2 → 6
Calls
2 calls:
81.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
36.0ms
(- (exp (- im)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03711102
11544774
25001722

prune165.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.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))
7.0ms
(* 1/3 (pow im 3))
22.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series340.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(fma 1/60 (pow im 5) (* 2 im))
42.0ms
(* 1/3 (pow im 3))
177.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify74.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05461862
123591247
250031212

prune273.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
37.0ms
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 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))))
4.0ms
(cbrt (- (- (* 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))))

series732.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
175.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
176.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
174.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify65.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04182415
115322282
250012124

prune577.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
17×*-un-lft-identity
15×cbrt-prod
11×pow1 add-cube-cbrt
add-exp-log cbrt-div add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- pow1/3 swap-sqr associate-*r* associate-*l* flip-- distribute-lft-out-- difference-of-squares
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 78
Calls
4 calls:
3.0ms
(* (fabs (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (fabs (cbrt (- (- (* 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))))
4.0ms
(cbrt (- (- (* 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))))

series557.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (fabs (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (fabs (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
171.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
171.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
177.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify48.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03091569
111111374
250011322

prune470.0ms

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 0.0b

regimes400.0ms

Accuracy

0% (0.7b 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
2.9s4876×body1280valid
1.3s3720×body640valid
464.0ms1898×body320valid
418.0ms4366×body80valid
153.0ms918×body160valid