Details

Time bar (total: 7.3s)

sample113.0ms

Algorithm
intervals
Results
53.0ms99×body1280valid
21.0ms80×body640valid
7.0ms147×body80valid
7.0ms42×body320valid
5.0ms122×body80overflowed
2.0ms21×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: 41.5b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite84.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:
63.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
20.0ms
(- (exp (- im)) (exp im))

series103.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0241393
11046330
25001329

prune121.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
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
0.1b
(* 1/60 (pow im 5))
0.1b
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.2b
(* 1/3 (pow im 3))

rewrite157.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:
21.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
11.0ms
(* 1/60 (pow im 5))
110.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
12.0ms
(* 1/3 (pow im 3))

series290.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
48.0ms
(* 1/60 (pow im 5))
161.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
32.0ms
(* 1/3 (pow im 3))

simplify77.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0526823
12684730
25003727

prune327.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin re) (pow im 5))
0.1b
(* (sin re) (pow im 3))
0.1b
(* 0.16666666666666666 (* (sin re) (pow im 3)))
0.1b
(* (sin re) im)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×add-exp-log
23×associate-*r*
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity prod-exp
12×associate-*l*
pow1 unpow-prod-down unswap-sqr
cbrt-unprod
cube-prod *-commutative add-log-exp sqr-pow
pow-to-exp pow-exp
pow-prod-down
cube-mult unpow3
Counts
4 → 93
Calls
4 calls:
14.0ms
(* (sin re) (pow im 5))
15.0ms
(* (sin re) (pow im 3))
24.0ms
(* 0.16666666666666666 (* (sin re) (pow im 3)))
14.0ms
(* (sin re) im)

series296.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (sin re) (pow im 5))
73.0ms
(* (sin re) (pow im 3))
84.0ms
(* 0.16666666666666666 (* (sin re) (pow im 3)))
28.0ms
(* (sin re) im)

simplify47.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0335510
11442440
25001440

prune318.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt im) (cbrt im))
0.7b
(cbrt im)
0.7b
(cbrt im)
0.7b
(cbrt im)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
10.0ms
(* (cbrt im) (cbrt im))
1.0ms
(cbrt im)
1.0ms
(cbrt im)
1.0ms
(cbrt im)

series705.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(* (cbrt im) (cbrt im))
170.0ms
(cbrt im)
176.0ms
(cbrt im)
171.0ms
(cbrt im)

simplify88.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune488.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes309.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
03014
14114
25914
36914
46914

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3292×body1280valid
706.0ms2610×body640valid
232.0ms4437×body80valid
201.0ms1226×body320valid
169.0ms3599×body80overflowed
73.0ms665×body160valid