Details

Time bar (total: 9.5s)

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 8.203125%

Guaranteed chance to sample good point: 72.340426%

Results
18.0ms31×body1280valid
18.0ms45×body1280invalid
18.0ms53×body640valid
12.0ms125×body80valid
9.0ms33×body640invalid
7.0ms36×body320valid
6.0ms87×body80invalid
5.0ms23×body320invalid
2.0ms11×body160valid
1.0ms10×body160invalid

simplify186.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0239
1419
2839
31739
42849
55569
69199
712209
839189
950029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.0b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0))) U)
0.0b
(* J (- (exp l) (exp (neg l))))
0.0b
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
5.1b
(- (exp l) (exp (neg l)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
associate-*r* add-log-exp
add-cube-cbrt
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in associate-*l/ *-commutative distribute-lft-out-- difference-of-squares
+-commutative flip3-+ diff-log sum-log flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
9.0ms
(+ (* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0))) U)
10.0ms
(* J (- (exp l) (exp (neg l))))
8.0ms
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
5.0ms
(- (exp l) (exp (neg l)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(+ (* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0))) U)
10.0ms
(* J (- (exp l) (exp (neg l))))
22.0ms
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
5.0ms
(- (exp l) (exp (neg l)))

simplify43.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0354755
11430660
25001652

prune119.0ms

Filtered
58 candidates to 83 candidates (-43.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New81283
Fresh000
Picked101
Done000
Total82284

Merged error: 0.1b

Counts
84 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))))
0.0b
(* 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)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×associate-*r*
21×add-exp-log
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity
11×pow1
10×associate-*l* prod-exp
unpow-prod-down unswap-sqr
cbrt-unprod
cube-prod associate-*r/ pow-prod-down *-commutative add-log-exp sqr-pow
pow-to-exp flip3-+ associate-*l/ pow-exp flip-+
distribute-rgt-in cube-mult distribute-lft-in unpow3
Counts
4 → 98
Calls
4 calls:
9.0ms
(* J (+ (* 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))
10.0ms
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* J (+ (* 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))
36.0ms
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0464817
12375697
25001697

prune209.0ms

Filtered
70 candidates to 110 candidates (-57.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh011
Picked011
Done000
Total1084112

Merged error: 0.0b

Counts
112 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 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))
0.1b
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))

rewrite33.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))
10.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
6.0ms
(* 1/3 (pow l 3))
10.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))

series60.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0444856
12079731
25001731

prune199.0ms

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh022
Picked011
Done011
Total1084112

Merged error: 0.0b

Counts
112 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×associate-*r*
25×add-exp-log
19×add-cbrt-cube
16×add-cube-cbrt *-un-lft-identity
10×prod-exp
associate-*l* unswap-sqr
unpow-prod-down cube-prod
pow1 cbrt-unprod
associate-*r/ add-log-exp sqr-pow
cbrt-undiv flip3-- times-frac div-exp associate-/r* *-commutative flip--
distribute-rgt-in cube-mult pow-to-exp sub-neg distribute-lft-in unpow3 associate-*l/ pow-exp associate-/r/ associate-/l/
frac-2neg pow-prod-down clear-num div-inv associate-/l* difference-of-squares
Counts
4 → 114
Calls
4 calls:
6.0ms
(* 1/3 (pow l 3))
6.0ms
(* 1/3 (pow l 3))
11.0ms
(* J (- (* (* 1/3 (pow l 3)) (* 1/3 (pow l 3))) (* (+ (* 1/60 (pow l 5)) (* 2 l)) (+ (* 1/60 (pow l 5)) (* 2 l)))))
18.0ms
(/ (* (* J (- (* (* 1/3 (pow l 3)) (* 1/3 (pow l 3))) (* (+ (* 1/60 (pow l 5)) (* 2 l)) (+ (* 1/60 (pow l 5)) (* 2 l))))) (cos (/ K 2.0))) (- (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))))

series156.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
05511783
131161455
250021454

prune435.0ms

Filtered
84 candidates to 126 candidates (-50.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1260126
Fresh011
Picked011
Done022
Total1264130

Merged error: 0.0b

Counts
130 → 4

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

sample5.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 8.203125%

Guaranteed chance to sample good point: 72.340426%

Results
709.0ms1205×body1280valid
599.0ms1465×body1280invalid
475.0ms1373×body640valid
352.0ms1246×body640invalid
289.0ms4099×body80valid
198.0ms2855×body80invalid
194.0ms895×body320valid
119.0ms593×body320invalid
60.0ms428×body160valid
44.0ms321×body160invalid

Profiling

Loading profile data...