Details

Time bar (total: 8.4s)

sample130.0ms

Algorithm
intervals
Results
66.0ms151×body1280valid
31.0ms128×body640valid
9.0ms56×body320valid
7.0ms136×body80valid
2.0ms23×body160valid

simplify71.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.6b

localize15.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
5.8b
(- (exp (- im)) (exp im))

rewrite22.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:
12.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
7.0ms
(- (exp (- im)) (exp im))

series120.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03711102
11544774
25001722

prune170.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(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))

rewrite23.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:
1.0ms
(fma 1/60 (pow im 5) (* 2 im))
11.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))

series337.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(fma 1/60 (pow im 5) (* 2 im))
176.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
36.0ms
(* 1/3 (pow im 3))

simplify74.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05461862
123591247
250031212

prune281.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

localize18.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))

rewrite32.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:
9.0ms
(+ (* 0.5 (* (sin re) (* -1/3 (pow im 3)))) (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
7.0ms
(* (sin re) (* -1/3 (pow im 3)))
7.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))
6.0ms
(* -1/3 (pow im 3))

series599.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)))))
95.0ms
(* (sin re) (* -1/3 (pow im 3)))
277.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))
39.0ms
(* -1/3 (pow im 3))

simplify85.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0522854
12599752
25001734

prune399.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.3b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))))
15.3b
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
15.3b
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
15.3b
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
7.0ms
(* (cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))))
5.0ms
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
8.0ms
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
5.0ms
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))

series993.0ms

Counts
4 → 12
Calls
4 calls:
298.0ms
(* (cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))))
230.0ms
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
234.0ms
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))
230.0ms
(cbrt (* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im)))))

simplify130.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02611039
1908913
24657802
35001802

prune389.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.3b

regimes289.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.1s

Algorithm
intervals
Results
2.1s4827×body1280valid
945.0ms3816×body640valid
332.0ms1972×body320valid
229.0ms4522×body80valid
100.0ms973×body160valid