Details

Time bar (total: 8.9s)

sample140.0ms

Algorithm
intervals
Results
77.0ms167×body1280valid
29.0ms117×body640valid
8.0ms52×body320valid
6.0ms119×body80valid
3.0ms33×body160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1407
2887
31417
43657
57807
610797
725957
850027

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.6b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.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:
28.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
11.0ms
(- (exp (- im)) (exp im))

series122.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0241393
11046330
25001329

prune119.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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 add-log-exp
unpow-prod-down
associate-*l* unswap-sqr
cbrt-unprod
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down sum-log *-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 associate-+r+ distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
4 → 99
Calls
4 calls:
9.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
6.0ms
(* 1/60 (pow im 5))
56.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
7.0ms
(* 1/3 (pow im 3))

series328.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
47.0ms
(* 1/60 (pow im 5))
181.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
41.0ms
(* 1/3 (pow im 3))

simplify78.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0526823
12684730
25003727

prune327.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
48×add-exp-log
32×associate-*r*
31×prod-exp
25×add-cbrt-cube
19×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
13×cbrt-unprod
11×pow1
unpow-prod-down
associate-*l*
pow-to-exp pow-exp
pow-prod-down *-commutative add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in cube-prod unswap-sqr sqr-pow
distribute-neg-in associate-*r/ distribute-neg-frac
distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in flip3-+ unpow3 distribute-rgt-neg-out flip-+
Counts
4 → 107
Calls
4 calls:
5.0ms
(* 1/60 (pow im 5))
10.0ms
(* (* 0.5 (sin re)) (pow im 3))
26.0ms
(* (* (* 0.5 (sin re)) (pow im 3)) -1/3)
24.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/60 (pow im 5)) (* 2 im))))

series523.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* 1/60 (pow im 5))
100.0ms
(* (* 0.5 (sin re)) (pow im 3))
96.0ms
(* (* (* 0.5 (sin re)) (pow im 3)) -1/3)
280.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify92.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
0592792
13133669
25002668

prune330.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.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:
21.0ms
(* (cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))
21.0ms
(cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
21.0ms
(cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
25.0ms
(cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

series1.4s

Counts
4 → 12
Calls
4 calls:
410.0ms
(* (cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))
318.0ms
(cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
315.0ms
(cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
318.0ms
(cbrt (* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04272062
117831851
250011720

prune398.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes376.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
15014
25714
35714

end0.0ms

sample4.2s

Algorithm
intervals
Results
2.2s4797×body1280valid
985.0ms3840×body640valid
303.0ms1896×body320valid
229.0ms4496×body80valid
95.0ms913×body160valid