Details

Time bar (total: 8.0s)

sample131.0ms

Algorithm
intervals
Results
69.0ms160×body1280valid
29.0ms122×body640valid
9.0ms57×body320valid
7.0ms138×body80valid
3.0ms30×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1407
2887
31417
43657
57807
610797
725957
850027

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.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:
33.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
10.0ms
(- (exp (- im)) (exp im))

series113.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0241393
11046330
25001329

prune121.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.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:
3.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
5.0ms
(* 1/60 (pow im 5))
6.0ms
(* 1/3 (pow im 3))
52.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series392.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
51.0ms
(* 1/60 (pow im 5))
35.0ms
(* 1/3 (pow im 3))
177.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify86.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0533736
12612661
25002658

prune317.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.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:
10.0ms
(* (* 0.5 (sin re)) (pow im 3))
5.0ms
(* 1/60 (pow im 5))
26.0ms
(* (* (* 0.5 (sin re)) (pow im 3)) -1/3)
20.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/60 (pow im 5)) (* 2 im))))

series510.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
0592792
13133669
25002668

prune331.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

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

rewrite95.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:
69.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)))))
8.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
8.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
8.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series660.0ms

Counts
4 → 12
Calls
4 calls:
177.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)))))
160.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
160.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
162.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify61.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03932049
114431928
250011792

prune438.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes274.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
15014
25714
35714

end0.0ms

sample4.0s

Algorithm
intervals
Results
2.1s4725×body1280valid
948.0ms3810×body640valid
300.0ms1875×body320valid
213.0ms4478×body80valid
100.0ms962×body160valid