Details

Time bar (total: 8.3s)

sample133.0ms

Algorithm
intervals
Results
67.0ms139×body1280valid
30.0ms116×body640valid
9.0ms58×body320valid
8.0ms139×body80valid
4.0ms39×body160valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 43.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.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:
31.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
13.0ms
(- (exp (- im)) (exp im))

series113.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03711102
11544774
25001722

prune166.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/60 (pow im 5) (* 2 im))
0.0b
(- (- (* 1/3 (pow im 3))) (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))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
54×prod-diff
48×add-sqr-sqrt
41×*-un-lft-identity
37×add-cube-cbrt
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
14×add-exp-log
11×add-cbrt-cube
10×distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
pow1
add-log-exp
fma-neg prod-exp
expm1-log1p-u unpow-prod-down cube-prod associate-*l* cbrt-unprod log1p-expm1-u unswap-sqr
sub-neg pow-prod-down
flip3-- diff-log associate-*r/ *-commutative flip-- fma-udef distribute-lft-out-- difference-of-squares sqr-pow
associate--l- neg-sub0 cube-mult pow-to-exp unpow3 neg-log pow-exp associate--r+
Counts
4 → 150
Calls
4 calls:
0.0ms
(fma 1/60 (pow im 5) (* 2 im))
6.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
7.0ms
(* 1/3 (pow im 3))
24.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series380.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(fma 1/60 (pow im 5) (* 2 im))
59.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
35.0ms
(* 1/3 (pow im 3))
168.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify86.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05862644
125561682
250021670

prune369.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
25×prod-exp add-cbrt-cube
24×associate-*r*
20×add-sqr-sqrt
16×pow1
13×add-cube-cbrt *-un-lft-identity cbrt-unprod
10×associate-*l*
pow-prod-down
expm1-log1p-u unpow-prod-down cube-prod *-commutative log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-neg-in pow-to-exp distribute-rgt-neg-in pow-exp
distribute-neg-in fma-udef sqr-pow
distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
4 → 108
Calls
4 calls:
22.0ms
(* 0.5 (* (sin re) (* -1/3 (pow im 3))))
10.0ms
(* (sin re) (* -1/3 (pow im 3)))
6.0ms
(* -1/3 (pow im 3))
9.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))

series469.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* 0.5 (* (sin re) (* -1/3 (pow im 3))))
92.0ms
(* (sin re) (* -1/3 (pow im 3)))
35.0ms
(* -1/3 (pow im 3))
249.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))

simplify73.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0500739
12478627
25002627

prune373.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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.7b
(cbrt (- (- (* 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))))
0.7b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

rewrite50.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:
35.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))))

series715.0ms

Counts
4 → 12
Calls
4 calls:
202.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)))))
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))))
171.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 (43.0ms)

IterNodesCost
04182415
115322282
250012124

prune536.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes255.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02913
13313
24013
34013

end0.0ms

sample4.2s

Algorithm
intervals
Results
2.3s4853×body1280valid
973.0ms3716×body640valid
303.0ms1829×body320valid
230.0ms4442×body80valid
106.0ms981×body160valid