Details

Time bar (total: 6.0s)

sample48.0ms

Algorithm
intervals
Results
30.0ms445×body80valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06942
123142
290042
3375342
4500142

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (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.1b
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
1.0b
(sqrt PI)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
36×associate-*l*
35×pow1 add-exp-log add-cbrt-cube
29×times-frac
27×add-cube-cbrt *-un-lft-identity
17×prod-exp cbrt-unprod
14×associate-*l/
13×sqrt-prod
12×frac-add
10×pow-prod-down
associate-*r*
frac-times flip3-+ pow-plus associate-*r/ pow-prod-up flip-+
cbrt-undiv div-exp add-log-exp unswap-sqr
*-commutative
pow2 pow-sqr div-inv
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow3
Counts
4 → 135
Calls
4 calls:
6.0ms
(* (* (fabs x) (fabs x)) (fabs x))
21.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)))))
16.0ms
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
1.0ms
(sqrt PI)

series405.0ms

Counts
4 → 10
Calls
4 calls:
31.0ms
(* (* (fabs x) (fabs x)) (fabs x))
329.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)))))
44.0ms
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
0.0ms
(sqrt PI)

simplify52.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09774021
150013349

prune577.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (fabs x) (fabs x)) (fabs x))
0.1b
(* (/ 2.0 3.0) (* (* (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) (* (* (* (* (pow (fabs x) 3) (fabs x)) (fabs x)) (fabs x)) (fabs x)))))
1.0b
(sqrt PI)

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
36×associate-*l*
35×pow1 add-exp-log add-cbrt-cube
29×times-frac
27×add-cube-cbrt *-un-lft-identity
17×prod-exp cbrt-unprod
14×associate-*l/
13×sqrt-prod
12×frac-add
10×pow-prod-down
associate-*r*
frac-times flip3-+ pow-plus associate-*r/ pow-prod-up flip-+
cbrt-undiv div-exp add-log-exp unswap-sqr
*-commutative
pow2 pow-sqr div-inv
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow3
Counts
4 → 135
Calls
4 calls:
6.0ms
(* (* (fabs x) (fabs x)) (fabs x))
11.0ms
(* (/ 2.0 3.0) (* (* (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) (* (* (* (* (pow (fabs x) 3) (fabs x)) (fabs x)) (fabs x)) (fabs x)))))
1.0ms
(sqrt PI)

series408.0ms

Counts
4 → 10
Calls
4 calls:
27.0ms
(* (* (fabs x) (fabs x)) (fabs x))
50.0ms
(* (/ 2.0 3.0) (* (* (fabs x) (fabs x)) (fabs x)))
331.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) (* (* (* (* (pow (fabs x) 3) (fabs x)) (fabs x)) (fabs x)) (fabs x)))))
0.0ms
(sqrt PI)

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09823818
150013192

prune635.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.047619047619047616 (pow (fabs x) 7))
0.1b
(* 0.2 (pow (fabs x) 5))
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))))))

rewrite40.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.047619047619047616 (pow (fabs x) 7))
9.0ms
(* 0.2 (pow (fabs x) 5))
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))))))

series469.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(* 0.047619047619047616 (pow (fabs x) 7))
62.0ms
(* 0.2 (pow (fabs x) 5))
43.0ms
(* 0.6666666666666666 (pow (fabs x) 3))
289.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))))))

simplify82.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05931430
127951324
250021320

prune513.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

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 (sqrt (pow (fabs x) 7))) (sqrt (pow (fabs x) 7)))))))
7.7b
(sqrt (pow (fabs x) 7))
7.7b
(sqrt (pow (fabs x) 7))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
30×sqrt-prod
22×*-un-lft-identity
21×add-cube-cbrt
19×associate-*l*
15×associate-*r*
12×unpow-prod-down
11×add-exp-log times-frac
add-cbrt-cube unswap-sqr
pow1 rem-sqrt-square sqr-pow
cube-prod prod-exp add-log-exp
sqrt-div
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ *-commutative cbrt-unprod flip-+
distribute-rgt-in cube-mult pow-to-exp distribute-lft-in unpow3 pow-prod-down associate-*l/ pow-exp div-inv
Counts
4 → 110
Calls
4 calls:
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 (sqrt (pow (fabs x) 7))) (sqrt (pow (fabs x) 7)))))))
2.0ms
(sqrt (pow (fabs x) 7))
3.0ms
(sqrt (pow (fabs x) 7))

series476.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04821518
123411360
250011353

prune534.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes62.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
04739
14739

end0.0ms

sample1.3s

Algorithm
intervals
Results
1.1s13960×body80valid