Details

Time bar (total: 8.0s)

sample131.0ms

Algorithm
intervals
Results
61.0ms149×body1280valid
33.0ms133×body640valid
9.0ms59×body320valid
6.0ms142×body80valid
4.0ms38×body160valid

simplify68.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: 44.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
7.1b
(- (exp (- im)) (exp im))

rewrite86.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:
61.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
24.0ms
(- (exp (- im)) (exp im))

series104.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0241393
11046330
25001329

prune111.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.3b

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

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:
20.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
12.0ms
(* 1/60 (pow im 5))
107.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
15.0ms
(* 1/3 (pow im 3))

series295.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0526823
12684730
25003727

prune313.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.3b

localize21.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 (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
0.1b
(* 1/3 (pow im 3))

rewrite87.0ms

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

series305.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
50.0ms
(* 1/60 (pow im 5))
159.0ms
(* (* 0.5 (sin re)) (- (* 1 (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
39.0ms
(* 1/3 (pow im 3))

simplify87.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
0556805
13188705
25001705

prune319.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.3b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
127.0ms
(* (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
18.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
15.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
15.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series617.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(* (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
151.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
143.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
154.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify59.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03932049
114431928
250011792

prune441.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.3b

regimes362.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03711
15211
26911
38111
48111

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.1s4774×body1280valid
907.0ms3841×body640valid
295.0ms1884×body320valid
218.0ms4501×body80valid
99.0ms975×body160valid