Details

Time bar (total: 8.9s)

sample268.0ms

Algorithm
intervals
Results
149.0ms187×body1280valid
59.0ms121×body640valid
14.0ms45×body320valid
12.0ms133×body80valid
3.0ms19×body160valid

simplify126.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
717427
841617
950027

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.0b

Counts
2 → 1

localize19.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
3.5b
(- (exp (- 0.0 im)) (exp im))

rewrite35.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:
20.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
13.0ms
(- (exp (- 0.0 im)) (exp im))

series39.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
9.0ms
(- (exp (- 0.0 im)) (exp im))

simplify59.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0268399
11086344
25001343

prune102.0ms

Filtered
46 candidates to 30 candidates (34.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh000
Picked101
Done000
Total45247

Merged error: 0.1b

Counts
47 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×associate-*r*
19×add-exp-log
13×add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 prod-exp
unpow-prod-down
associate-*l* unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
pow-prod-down *-commutative
distribute-rgt-in pow-to-exp sub-neg distribute-lft-in associate-*r/ pow-exp
+-commutative cube-mult flip3-- flip3-+ unpow3 sum-log flip-- flip-+
Counts
4 → 91
Calls
4 calls:
4.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
5.0ms
(* 1/60 (pow im 5))
10.0ms
(* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
6.0ms
(* -1/3 (pow im 3))

series56.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
4.0ms
(* 1/60 (pow im 5))
36.0ms
(* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
4.0ms
(* -1/3 (pow im 3))

simplify100.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
0479664
12204585
25003585

prune216.0ms

Filtered
103 candidates to 64 candidates (37.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New976103
Fresh011
Picked011
Done000
Total978105

Merged error: 0.0b

Counts
105 → 8

localize39.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
11.0ms
(* (cbrt (+ (* 1/60 (pow im 5)) (* 2 im))) (cbrt (+ (* 1/60 (pow im 5)) (* 2 im))))
7.0ms
(cbrt (+ (* 1/60 (pow im 5)) (* 2 im)))
7.0ms
(cbrt (+ (* 1/60 (pow im 5)) (* 2 im)))
7.0ms
(cbrt (+ (* 1/60 (pow im 5)) (* 2 im)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (cbrt (+ (* 1/60 (pow im 5)) (* 2 im))) (cbrt (+ (* 1/60 (pow im 5)) (* 2 im))))
74.0ms
(cbrt (+ (* 1/60 (pow im 5)) (* 2 im)))
65.0ms
(cbrt (+ (* 1/60 (pow im 5)) (* 2 im)))
64.0ms
(cbrt (+ (* 1/60 (pow im 5)) (* 2 im)))

simplify67.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
03821476
113361397
250021308

prune505.0ms

Filtered
99 candidates to 75 candidates (24.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh066
Picked011
Done011
Total998107

Merged error: 0.0b

Counts
107 → 8

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
36×associate-*r*
30×add-sqr-sqrt
28×add-exp-log
22×add-cbrt-cube
18×pow1
16×add-cube-cbrt *-un-lft-identity
15×prod-exp
14×sqrt-div
11×cbrt-unprod
10×associate-*r/
pow-prod-down
unpow-prod-down cube-prod associate-*l* unswap-sqr
flip3-- flip--
sqrt-prod
frac-times *-commutative add-log-exp sqr-pow
cube-mult pow-to-exp unpow3 associate-*l/ pow-exp
Counts
4 → 117
Calls
4 calls:
7.0ms
(* -1/3 (pow im 3))
12.0ms
(* -1/3 (pow im 3))
22.0ms
(* (* 0.5 (cos re)) (sqrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
39.0ms
(* (* (* 0.5 (cos re)) (sqrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (sqrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series117.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* -1/3 (pow im 3))
4.0ms
(* -1/3 (pow im 3))
51.0ms
(* (* 0.5 (cos re)) (sqrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
59.0ms
(* (* (* 0.5 (cos re)) (sqrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (sqrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify124.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06161470
130261215
250021215

prune382.0ms

Filtered
129 candidates to 77 candidates (40.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1263129
Fresh145
Picked011
Done112
Total1289137

Merged error: 0.0b

Counts
137 → 9

regimes350.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.2s5665×body1280valid
1.2s3532×body640valid
351.0ms1531×body320valid
289.0ms4388×body80valid
103.0ms719×body160valid

Profiling

Loading profile data...