Details

Time bar (total: 10.9s)

sample133.0ms

Algorithm
intervals
Results
75.0ms193×body1280valid
28.0ms122×body640valid
6.0ms141×body80valid
4.0ms30×body320valid
2.0ms18×body160valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
718017
847437
950017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 56.7b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
add-log-exp
add-cube-cbrt sub-neg pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 40
Calls
2 calls:
112.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
50.0ms
(- (exp (- 0.0 im)) (exp im))

series112.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0268399
11086345
25001344

prune123.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
26×add-sqr-sqrt
19×add-exp-log
14×add-cube-cbrt *-un-lft-identity
13×add-cbrt-cube
pow1 prod-exp
unpow-prod-down
associate-*l* unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down *-commutative
pow-to-exp distribute-neg-in flip3-+ associate-*r/ pow-exp flip-+ distribute-neg-frac
+-commutative distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in unpow3 sum-log distribute-rgt-neg-out
Counts
4 → 97
Calls
4 calls:
9.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
11.0ms
(* 1/60 (pow im 5))
108.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
12.0ms
(* 1/3 (pow im 3))

series378.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
44.0ms
(* 1/60 (pow im 5))
168.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
36.0ms
(* 1/3 (pow im 3))

simplify81.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0548742
12683667
25002664

prune333.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div distribute-neg-frac
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube 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 → 72
Calls
4 calls:
70.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))
44.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
44.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
47.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
563.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))
306.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
292.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
294.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04502043
118351862
250011758

prune456.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite311.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod
18×cbrt-div distribute-neg-frac
13×associate-*r*
12×associate-*r/
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log flip3-+ flip-+
associate-*l/
distribute-lft-neg-in distribute-rgt-neg-in pow1/3
pow-prod-down add-cbrt-cube
frac-times add-log-exp
prod-exp cbrt-unprod
neg-mul-1
associate-*l* *-commutative
Counts
4 → 79
Calls
4 calls:
184.0ms
(* (* (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* 0.5 (cos re)))) (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
44.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
46.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
34.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series1.6s

Counts
4 → 12
Calls
4 calls:
628.0ms
(* (* (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* 0.5 (cos re)))) (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
287.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
286.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
359.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify80.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06652366
126632207
250032198

prune528.0ms

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 0.0b

regimes479.0ms

Accuracy

40.3% (0.4b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.8b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05334
16834
28734
38734

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.3s5651×body1280valid
849.0ms3627×body640valid
220.0ms1464×body320valid
188.0ms4429×body80valid
69.0ms669×body160valid