Details

Time bar (total: 8.7s)

analyze1.3s

Algorithm
search
sampling

Space saved by range analysis: 0.195169%

Space saved by search: 9.551872%

Guaranteed chance to sample good point: 76.885776%

sample122.0ms

Algorithm
intervals
Results
22.0ms36×body1280valid
19.0ms54×body640valid
15.0ms37×body1280invalid
12.0ms44×body640invalid
12.0ms125×body80valid
7.0ms98×body80invalid
6.0ms25×body320valid
5.0ms24×body320invalid
2.0ms16×body160valid
1.0msbody160invalid

simplify191.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0239
1419
2839
31739
42849
55569
69199
712209
839189
950029

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.4b

Counts
2 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
7.3b
(- (exp l) (exp (neg l)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*r/ associate-*l/ flip--
sub-neg diff-log associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
2 → 34
Calls
2 calls:
9.0ms
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
5.0ms
(- (exp l) (exp (neg l)))

series26.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
5.0ms
(- (exp l) (exp (neg l)))

simplify130.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0227370
1860305
24686304
35002304

prune79.0ms

Filtered
29 candidates to 40 candidates (-37.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh000
Picked101
Done000
Total38341

Merged error: 0.1b

Counts
41 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))
0.1b
(* 1/60 (pow l 5))
0.1b
(* 1/3 (pow l 3))
0.1b
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

rewrite31.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
pow-prod-down sum-log *-commutative
pow-to-exp flip3-+ associate-*r/ associate-*l/ pow-exp flip-+
+-commutative cube-mult associate-+r+ unpow3
Counts
4 → 89
Calls
4 calls:
7.0ms
(+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))
5.0ms
(* 1/60 (pow l 5))
6.0ms
(* 1/3 (pow l 3))
11.0ms
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

series52.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))
4.0ms
(* 1/60 (pow l 5))
4.0ms
(* 1/3 (pow l 3))
39.0ms
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0443717
12193619
25001619

prune216.0ms

Filtered
64 candidates to 101 candidates (-57.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New974101
Fresh022
Picked011
Done000
Total977104

Merged error: 0.0b

Counts
104 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/60 (pow l 5))
0.1b
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
0.1b
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
0.1b
(* 1/3 (pow l 3))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
23×associate-*r*
21×add-exp-log
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity
12×associate-*l*
11×pow1
10×prod-exp
unpow-prod-down unswap-sqr
cbrt-unprod
cube-prod pow-prod-down associate-*l/ *-commutative add-log-exp sqr-pow
pow-to-exp flip3-+ associate-*r/ pow-exp flip-+
cube-mult unpow3
Counts
4 → 96
Calls
4 calls:
5.0ms
(* 1/60 (pow l 5))
11.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
10.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
6.0ms
(* 1/3 (pow l 3))

series60.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* 1/60 (pow l 5))
36.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
13.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
6.0ms
(* 1/3 (pow l 3))

simplify67.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0444856
12079731
25001731

prune229.0ms

Filtered
69 candidates to 108 candidates (-56.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1071108
Fresh055
Picked011
Done011
Total1078115

Merged error: 0.0b

Counts
115 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos (/ K 2.0))) (cbrt (cos (/ K 2.0))))
0.3b
(cbrt (cos (/ K 2.0)))
0.3b
(cbrt (cos (/ K 2.0)))
0.3b
(cbrt (cos (/ K 2.0)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (cbrt (cos (/ K 2.0))) (cbrt (cos (/ K 2.0))))
1.0ms
(cbrt (cos (/ K 2.0)))
1.0ms
(cbrt (cos (/ K 2.0)))
1.0ms
(cbrt (cos (/ K 2.0)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (cbrt (cos (/ K 2.0))) (cbrt (cos (/ K 2.0))))
17.0ms
(cbrt (cos (/ K 2.0)))
17.0ms
(cbrt (cos (/ K 2.0)))
17.0ms
(cbrt (cos (/ K 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0134575
1452524
22183487
35002482

prune253.0ms

Filtered
60 candidates to 85 candidates (-41.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New83285
Fresh235
Picked101
Done022
Total86793

Merged error: 0.0b

Counts
93 → 7

regimes572.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03012
13012

end0.0ms

analyze1.4s

Algorithm
search
sampling

Space saved by range analysis: 0.195169%

Space saved by search: 9.551872%

Guaranteed chance to sample good point: 76.885776%

sample3.6s

Algorithm
intervals
Results
742.0ms1217×body1280valid
605.0ms1485×body1280invalid
485.0ms1368×body640valid
360.0ms1225×body640invalid
295.0ms4143×body80valid
195.0ms2764×body80invalid
187.0ms817×body320valid
139.0ms646×body320invalid
69.0ms455×body160valid
42.0ms298×body160invalid

Profiling

Loading profile data...