Details

Time bar (total: 8.5s)

analyze361.0ms

Algorithm
search

sample146.0ms

Algorithm
intervals
Results
73.0ms140×body1280valid
23.0ms74×body640valid
15.0ms45×body1280invalid
11.0ms33×body640invalid
5.0ms25×body320valid
3.0ms17×body320invalid
2.0ms12×body160valid
1.0ms12×body160invalid
1.0ms16×body80invalid
0.0msbody80valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
717427
841617
950027

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.4b

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)))
5.7b
(- (exp (- 0.0 im)) (exp im))

rewrite19.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)))
7.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)))
6.0ms
(- (exp (- 0.0 im)) (exp im))

simplify40.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0268399
11086344
25001343

prune82.0ms

Filtered
30 candidates to 46 candidates (-53.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.1b

Counts
47 → 3

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

rewrite28.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))
6.0ms
(* -1/3 (pow im 3))
11.0ms
(* (* 0.5 (cos re)) (- (* -1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series58.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0479664
12204585
25003585

prune211.0ms

Filtered
64 candidates to 103 candidates (-60.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New967103
Fresh022
Picked011
Done000
Total9610106

Merged error: 0.0b

Counts
106 → 10

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

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

series424.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04361935
117331770
250011673

prune526.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New80484
Fresh178
Picked011
Done011
Total811394

Merged error: 0.0b

Counts
94 → 13

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

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

series366.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05331952
120571793
250021695

prune519.0ms

Filtered
68 candidates to 86 candidates (-26.5%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New84286
Fresh1910
Picked011
Done022
Total851499

Merged error: 0.0b

Counts
99 → 14

regimes500.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

analyze358.0ms

Algorithm
search

sample4.4s

Algorithm
intervals
Results
2.2s4280×body1280valid
719.0ms2272×body640valid
502.0ms1500×body1280invalid
282.0ms1219×body640invalid
185.0ms896×body320valid
101.0ms624×body320invalid
50.0ms386×body160valid
39.0ms342×body160invalid
37.0ms564×body80invalid
11.0ms166×body80valid

Profiling

Loading profile data...