Details

Time bar (total: 8.2s)

sample158.0ms

Algorithm
intervals
Results
84.0ms180×body1280valid
34.0ms122×body640valid
8.0ms44×body320valid
6.0ms119×body80valid
2.0ms18×body160valid

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
071812
171812

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 56.9b

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

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

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

simplify48.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05168563

prune84.0ms

Filtered
31 candidates to 46 candidates (-48.4%)
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
(+ (* im -2) (* (pow im 5) -1/60))
0.0b
(* (pow im 5) -1/60)
0.1b
(* (* 0.5 (cos re)) (+ (* (pow im 3) -1/3) (+ (* im -2) (* (pow im 5) -1/60))))
0.1b
(* (pow im 3) -1/3)

rewrite26.0ms

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

series54.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
060111121

prune213.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New947101
Fresh033
Picked011
Done000
Total9411105

Merged error: 0.0b

Counts
105 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
38×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)) (+ (* im -2) (* (pow im 5) -1/60)))))) (cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))))
9.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
9.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
9.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))

series405.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050012668

prune473.0ms

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

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New81384
Fresh099
Picked011
Done011
Total811495

Merged error: 0.0b

Counts
95 → 14

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
36×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)) (+ (* im -2) (* (pow im 5) -1/60)))))) (cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))))
9.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
9.0ms
(cbrt (* 0.5 (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60))))))
8.0ms
(cbrt (* (cos re) (+ (* -1/3 (pow im 3)) (+ (* im -2) (* (pow im 5) -1/60)))))

series399.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
058282640

prune451.0ms

Filtered
70 candidates to 84 candidates (-20.0%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New83184
Fresh2911
Picked011
Done022
Total851398

Merged error: 0.0b

Counts
98 → 13

regimes489.0ms

Accuracy

45.9% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.8b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03841
13841

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.7s5690×body1280valid
1.2s3572×body640valid
275.0ms1470×body320valid
234.0ms4293×body80valid
88.0ms712×body160valid

Profiling

Loading profile data...