Details

Time bar (total: 11.9s)

sample193.0ms

Algorithm
intervals
Results
95.0ms166×body1280valid
50.0ms141×body640valid
15.0ms54×body320valid
11.0ms148×body80valid
5.0ms31×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0187
1407
2887
31417
43657
57807
610797
725957
850027

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 47.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
6.1b
(- (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))

series19.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0241393
11046330
25001329

prune287.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 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)))))

rewrite70.0ms

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

series44.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 1/60 (pow im 5))
2.0ms
(* 1/3 (pow im 3))
38.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0474653
12365577
25002574

prune742.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.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))
20.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/60 (pow im 5)) (* 2 im))))
27.0ms
(* (* (* 0.5 (sin re)) (pow im 3)) -1/3)

series83.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (* 0.5 (sin re)) (pow im 3))
3.0ms
(* 1/60 (pow im 5))
45.0ms
(* (* 0.5 (sin re)) (- (+ (* 1/60 (pow im 5)) (* 2 im))))
18.0ms
(* (* (* 0.5 (sin re)) (pow im 3)) -1/3)

simplify91.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0592779
13139665
25002664

prune887.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

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

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
78×cbrt-prod
37×add-sqr-sqrt
33×*-un-lft-identity
29×add-cube-cbrt
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
18×cbrt-div distribute-neg-frac
15×swap-sqr
13×associate-*r* associate-*l*
11×pow1
flip3-+ pow1/3 flip-+
neg-mul-1
add-exp-log
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 → 131
Calls
4 calls:
135.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))))))
16.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
16.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
16.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series75.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04573161
117473026
250012857

prune2.2s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes1.1s

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
15014
25714
35714

end0.0ms

sample5.6s

Algorithm
intervals
Results
2.9s4888×body1280valid
1.4s3825×body640valid
446.0ms1846×body320valid
348.0ms4415×body80valid
152.0ms941×body160valid