Details

Time bar (total: 7.6s)

sample175.0ms

Algorithm
intervals
Results
93.0ms197×body1280valid
41.0ms125×body640valid
8.0ms45×body320valid
8.0ms148×body80valid
3.0ms28×body160valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
717427
841617
950027

prune4.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: 57.6b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series21.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268399
11086344
25001343

prune81.0ms

Filtered
46 candidates to 30 candidates (34.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New42446
Fresh000
Picked101
Done000
Total43447

Merged error: 0.1b

Counts
47 → 4

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

rewrite30.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 add-log-exp
unpow-prod-down
associate-*l* unswap-sqr
cbrt-unprod
cube-prod sqr-pow
sub-neg pow-prod-down *-commutative
distribute-rgt-in pow-to-exp flip3-- distribute-lft-in diff-log associate-*r/ pow-exp flip--
cube-mult unpow3 sum-log associate--r+
Counts
4 → 94
Calls
4 calls:
6.0ms
(- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
5.0ms
(* 1/60 (pow im 5))
11.0ms
(* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
6.0ms
(* -1/3 (pow im 3))

series50.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0462764
12138663
25003663

prune195.0ms

Filtered
106 candidates to 64 candidates (39.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1006106
Fresh123
Picked011
Done000
Total1019110

Merged error: 0.0b

Counts
110 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
8.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
9.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
9.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
11.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series404.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
76.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
76.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
79.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04361935
117331770
250011673

prune467.0ms

Filtered
84 candidates to 67 candidates (20.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh077
Picked011
Done011
Total84993

Merged error: 0.0b

Counts
93 → 9

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

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

series84.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04032076
115131955
250021832

prune498.0ms

Filtered
99 candidates to 75 candidates (24.2%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh066
Picked011
Done022
Total999108

Merged error: 0.0b

Counts
108 → 9

regimes306.0ms

Accuracy

0% (0.8b 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 (1.0ms)

IterNodesCost
02410
12410

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.7s5716×body1280valid
1.0s3506×body640valid
301.0ms1513×body320valid
241.0ms4311×body80valid
91.0ms703×body160valid

Profiling

Loading profile data...