Details

Time bar (total: 3.8s)

sample40.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 42.840576%

Guaranteed chance to sample good point: 99.989322%

Results
23.0ms256×body80valid

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06942
123142
290042
3375342
4500142

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1.0 5.0) (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)))
0.1b
(* (/ 1.0 (sqrt PI)) (+ (+ (+ (* 2.0 (fabs x)) (* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))) (* (/ 1.0 5.0) (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)))) (* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)))))
0.2b
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
1.0b
(sqrt PI)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
75×add-exp-log add-cbrt-cube
48×associate-*l*
44×prod-exp cbrt-unprod
42×add-sqr-sqrt
38×times-frac
36×pow1
33×add-cube-cbrt *-un-lft-identity
22×pow-prod-down
15×associate-*l/
13×sqrt-prod
12×frac-add
cbrt-undiv div-exp
frac-times flip3-+ associate-*r/ flip-+
associate-*r*
add-log-exp
*-commutative div-inv unswap-sqr
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2
Counts
4 → 155
Calls
4 calls:
25.0ms
(* (/ 1.0 5.0) (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)))
19.0ms
(* (/ 1.0 (sqrt PI)) (+ (+ (+ (* 2.0 (fabs x)) (* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))) (* (/ 1.0 5.0) (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)))) (* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)))))
11.0ms
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
2.0ms
(sqrt PI)

series73.0ms

Counts
4 → 10
Calls
4 calls:
13.0ms
(* (/ 1.0 5.0) (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)))
52.0ms
(* (/ 1.0 (sqrt PI)) (+ (+ (+ (* 2.0 (fabs x)) (* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))) (* (/ 1.0 5.0) (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)))) (* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)))))
7.0ms
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
0.0ms
(sqrt PI)

simplify59.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011964518
150023785

prune407.0ms

Filtered
108 candidates to 165 candidates (-52.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1587165
Fresh000
Picked101
Done000
Total1597166

Merged error: 0.0b

Counts
166 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.2 (pow (fabs x) 5))
0.1b
(* 0.047619047619047616 (pow (fabs x) 7))
0.1b
(* 0.6666666666666666 (pow (fabs x) 3))
0.1b
(* (sqrt (/ 1 PI)) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7))))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
29×associate-*r*
25×associate-*l*
24×*-un-lft-identity
23×add-cube-cbrt
21×add-exp-log
16×sqrt-prod
14×unswap-sqr
12×unpow-prod-down add-cbrt-cube
11×times-frac
10×prod-exp
pow1 sqr-pow
cube-prod *-commutative cbrt-unprod add-log-exp
pow-to-exp sqrt-div pow-exp
frac-times flip3-+ associate-*r/ flip-+
distribute-rgt-in cube-mult distribute-lft-in unpow3 pow-prod-down associate-*l/ div-inv
Counts
4 → 122
Calls
4 calls:
5.0ms
(* 0.2 (pow (fabs x) 5))
7.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
6.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
15.0ms
(* (sqrt (/ 1 PI)) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7))))))

series73.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* 0.2 (pow (fabs x) 5))
11.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
7.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
43.0ms
(* (sqrt (/ 1 PI)) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7))))))

simplify83.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05931430
127951324
250021320

prune332.0ms

Filtered
87 candidates to 134 candidates (-54.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1313134
Fresh426
Picked101
Done000
Total1365141

Merged error: 0b

Counts
141 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.047619047619047616 (pow (fabs x) 7))
0.1b
(* 0.6666666666666666 (pow (fabs x) 3))
0.1b
(* (sqrt (/ 1 PI)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7)))))
0.1b
(* (sqrt (/ 1 PI)) (* 0.6666666666666666 (pow (fabs x) 3)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
38×associate-*l*
29×*-un-lft-identity sqrt-prod
28×add-cube-cbrt
26×add-exp-log
23×associate-*r*
20×times-frac
15×add-cbrt-cube
14×prod-exp
11×unswap-sqr
pow1 unpow-prod-down
cbrt-unprod
sqrt-div cube-prod *-commutative add-log-exp sqr-pow
pow-to-exp pow-exp
frac-times flip3-+ associate-*r/ pow-prod-down associate-*l/ flip-+ div-inv
distribute-rgt-in cube-mult distribute-lft-in unpow3
Counts
4 → 130
Calls
4 calls:
5.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
6.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
12.0ms
(* (sqrt (/ 1 PI)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7)))))
9.0ms
(* (sqrt (/ 1 PI)) (* 0.6666666666666666 (pow (fabs x) 3)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
7.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
37.0ms
(* (sqrt (/ 1 PI)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7)))))
13.0ms
(* (sqrt (/ 1 PI)) (* 0.6666666666666666 (pow (fabs x) 3)))

simplify82.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06111342
128981225
250011220

prune362.0ms

Filtered
92 candidates to 142 candidates (-54.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1420142
Fresh044
Picked011
Done000
Total1425147

Merged error: 0b

Counts
147 → 5

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.047619047619047616 (pow (fabs x) 7))
0.1b
(* 0.6666666666666666 (pow (fabs x) 3))
0.2b
(* (sqrt (sqrt (/ 1 PI))) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7))))))
0.3b
(* (sqrt (sqrt (/ 1 PI))) (* (sqrt (sqrt (/ 1 PI))) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7)))))))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
65×sqrt-prod
53×add-sqr-sqrt
44×associate-*l*
31×*-un-lft-identity
30×add-cube-cbrt sqrt-div
23×associate-*r*
21×add-exp-log
20×times-frac
15×add-cbrt-cube
12×unswap-sqr
11×pow1 frac-times associate-*r/
10×prod-exp
unpow-prod-down
flip3-+ cbrt-unprod flip-+
distribute-rgt-in distribute-lft-in
cube-prod pow-prod-down associate-*l/ *-commutative add-log-exp sqr-pow
pow-to-exp pow-exp div-inv
cube-mult unpow3
Counts
4 → 150
Calls
4 calls:
5.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
6.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
16.0ms
(* (sqrt (sqrt (/ 1 PI))) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7))))))
23.0ms
(* (sqrt (sqrt (/ 1 PI))) (* (sqrt (sqrt (/ 1 PI))) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7)))))))

series127.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
7.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
62.0ms
(* (sqrt (sqrt (/ 1 PI))) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7))))))
47.0ms
(* (sqrt (sqrt (/ 1 PI))) (* (sqrt (sqrt (/ 1 PI))) (+ (* 0.6666666666666666 (pow (fabs x) 3)) (+ (* 0.2 (pow (fabs x) 5)) (+ (* 2.0 (fabs x)) (* 0.047619047619047616 (pow (fabs x) 7)))))))

simplify108.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
06932791
136292504
250012493

prune499.0ms

Filtered
107 candidates to 162 candidates (-51.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh033
Picked011
Done011
Total1625167

Merged error: 0b

Counts
167 → 5

regimes160.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04022
14022

end0.0ms

sample873.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 42.840576%

Guaranteed chance to sample good point: 99.989322%

Results
731.0ms8000×body80valid

Profiling

Loading profile data...