Details

Time bar (total: 10.3s)

sample155.0ms

Algorithm
intervals
Results
88.0ms194×body1280valid
30.0ms116×body640valid
9.0ms53×body320valid
8.0ms156×body80valid
3.0ms27×body160valid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
717427
841617
950027

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.1b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

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

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

series120.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268399
11086344
25001343

prune116.0ms

Filtered
46 candidates to 30 candidates (65.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.1b

Counts
47 → 3

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

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

series324.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0462776
12135670
25003670

prune259.0ms

Filtered
106 candidates to 65 candidates (61.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1015106
Fresh022
Picked011
Done000
Total1018109

Merged error: 0.0b

Counts
109 → 8

localize25.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.6b
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

rewrite42.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:
9.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))))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series1.5s

Counts
4 → 12
Calls
4 calls:
570.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))))))
320.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
314.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
323.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04361935
117331770
250011673

prune410.0ms

Filtered
84 candidates to 67 candidates (79.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New81384
Fresh156
Picked011
Done011
Total821092

Merged error: 0.0b

Counts
92 → 10

localize24.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.6b
(cbrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div associate-*r/
11×pow1 add-sqr-sqrt
cbrt-prod add-cube-cbrt flip3-- *-un-lft-identity pow1/3 flip--
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 → 74
Calls
4 calls:
9.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))))))
10.0ms
(cbrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series1.4s

Counts
4 → 12
Calls
4 calls:
570.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))))))
172.0ms
(cbrt (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
321.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
312.0ms
(cbrt (* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05331952
120571793
250021695

prune617.0ms

Filtered
86 candidates to 68 candidates (79.1%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh077
Picked011
Done022
Total861096

Merged error: 0.0b

Counts
96 → 10

regimes282.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample4.5s

Algorithm
intervals
Results
2.6s5725×body1280valid
1.0s3562×body640valid
272.0ms1500×body320valid
228.0ms4348×body80valid
82.0ms686×body160valid

Profiling

Loading profile data...