Details

Time bar (total: 9.4s)

sample167.0ms

Algorithm
intervals
Results
83.0ms146×body1280valid
35.0ms108×body640valid
16.0ms68×body320valid
12.0ms132×body80valid
5.0ms30×body160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1407
2927
31637
44057
58657
611897
727717
850017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series122.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03711102
11544774
25001722

prune172.0ms

Pruning

4 alts after pruning (4 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
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.1b
(* 1/3 (pow im 3))

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

series411.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(fma 1/60 (pow im 5) (* 2 im))
63.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
179.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
39.0ms
(* 1/3 (pow im 3))

simplify86.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05862653
125561688
250011674

prune388.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
24×add-exp-log
23×associate-*r*
19×add-sqr-sqrt
16×add-cbrt-cube
13×prod-exp
12×add-cube-cbrt *-un-lft-identity
11×pow1
associate-*l* cbrt-unprod
add-log-exp
expm1-log1p-u unpow-prod-down distribute-neg-in cube-prod pow-prod-down fma-udef log1p-expm1-u unswap-sqr
distribute-lft-neg-in distribute-rgt-neg-in *-commutative distribute-rgt-neg-out
distribute-rgt-in pow-to-exp associate-+r+ distribute-lft-in pow-exp sqr-pow
+-commutative cube-mult neg-mul-1 fma-def flip3-+ unpow3 unsub-neg sum-log flip-+
Counts
4 → 102
Calls
4 calls:
22.0ms
(+ (* 0.5 (* (sin re) (* -1/3 (pow im 3)))) (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
9.0ms
(* (sin re) (* -1/3 (pow im 3)))
9.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))
7.0ms
(* -1/3 (pow im 3))

series585.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(+ (* 0.5 (* (sin re) (* -1/3 (pow im 3)))) (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
96.0ms
(* (sin re) (* -1/3 (pow im 3)))
266.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))
37.0ms
(* -1/3 (pow im 3))

simplify87.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0522854
12599752
25001734

prune399.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
144×prod-diff
102×add-sqr-sqrt
101×*-un-lft-identity
91×add-cube-cbrt
65×log-pow
64×distribute-rgt-neg-in
60×distribute-lft-neg-in
53×distribute-rgt-in distribute-lft-in
32×pow1
28×add-log-exp
21×exp-prod exp-to-pow
19×associate-*r*
16×fma-neg
14×add-exp-log
12×log-prod
11×add-cbrt-cube
10×neg-mul-1
distribute-neg-in associate--l+
prod-exp distribute-lft-out--
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-- difference-of-squares sqr-pow
associate--l- neg-sub0 cube-mult pow-to-exp unpow3 rem-log-exp neg-log pow-exp fma-udef associate--r+
Counts
4 → 269
Calls
4 calls:
23.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
46.0ms
(* (* 0.5 (sin re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
7.0ms
(* 1/3 (pow im 3))
1.0ms
(log (exp (* 1/3 (pow im 3))))

series326.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
181.0ms
(* (* 0.5 (sin re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
43.0ms
(* 1/3 (pow im 3))
37.0ms
(log (exp (* 1/3 (pow im 3))))

simplify121.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07866533
132813785
250013620

prune488.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

regimes378.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

sample5.2s

Algorithm
intervals
Results
2.6s4677×body1280valid
1.3s3799×body640valid
450.0ms1883×body320valid
411.0ms4354×body80valid
159.0ms915×body160valid