Details

Time bar (total: 9.0s)

sample47.0ms

Algorithm
intervals
Results
22.0ms256×body80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
013286
161875
2334339
3500139

prune24.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.4b

Counts
2 → 2

localize49.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* x x) 0.0072644182)
0.2b
(* (* x x) 0.0140005442)
14.8b
(/ x (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))))
24.4b
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
21×associate-/r/
20×flip3-+ flip-+
16×associate-*r/ frac-add
12×associate-/l/
associate-/r*
associate-*l* *-commutative
frac-2neg clear-num div-inv
Counts
4 → 40
Calls
4 calls:
4.0ms
(* (* x x) 0.0072644182)
4.0ms
(* (* x x) 0.0140005442)
43.0ms
(/ x (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))))
39.0ms
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

series530.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* x x) 0.0072644182)
24.0ms
(* (* x x) 0.0140005442)
272.0ms
(/ x (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))))
209.0ms
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

simplify110.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06781822
136211694
250011690

prune544.0ms

Filtered
52 candidates to 42 candidates (80.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New49352
Fresh101
Picked101
Done000
Total51354

Merged error: 0b

Counts
54 → 3

localize58.0ms

Local error

Found 4 expressions with local error:

20.0b
(- (fma (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971)) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))
20.0b
(- (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))
24.0b
(* (/ (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))) (- (fma (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971)) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))) (- (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))
24.4b
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
164×flip3-+ flip-+
154×associate-*r/
114×frac-times
111×associate-/l/
84×frac-sub
64×frac-add
50×associate-/r/
49×associate-/l*
23×flip3-- flip--
22×associate--l+
19×distribute-rgt-in distribute-lft-in associate-*l/
15×frac-2neg clear-num
13×+-commutative
12×associate-+l+
div-inv
associate--r+
sub-neg fma-udef
associate-+r+ associate-*l*
*-commutative
Counts
4 → 204
Calls
4 calls:
3.0ms
(- (fma (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971)) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))
13.0ms
(- (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))
63.0ms
(* (/ (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))) (- (fma (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971)) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))) (- (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))
41.0ms
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

series826.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (fma (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971)) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))
86.0ms
(- (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))
430.0ms
(* (/ (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))) (- (fma (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971)) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))) (- (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))
226.0ms
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0))) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (fma (* 0.1049934947 x) x 1.0)) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

simplify261.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0206324253
1500323544

prune3.5s

Filtered
216 candidates to 192 candidates (88.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2160216
Fresh022
Picked011
Done000
Total2163219

Merged error: 0b

Counts
219 → 3

localize49.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (* x x) 4)
0.1b
(pow (* x x) 3)
0.2b
(/ (fma (pow x 6) (fma x (* x 0.0140005442) 0.0694555761) (fma (fma (* 2.0 (pow x 2)) 0.0001789971 0.0008327945) (* x (* (pow (* x x) 3) (pow x 3))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0)))) x)
27.4b
(/ (/ (fma (pow x 6) (fma x (* x 0.0140005442) 0.0694555761) (fma (fma (* 2.0 (pow x 2)) 0.0001789971 0.0008327945) (* x (* (pow (* x x) 3) (pow x 3))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0)))) x) (fma (pow x 4) (fma x (* x 0.0072644182) 0.0424060604) (fma (fma x (* x 0.0001789971) 0.0005064034) (pow (* x x) 4) (fma (* 0.1049934947 x) x 1.0))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-down
frac-2neg clear-num div-inv associate-/l/
pow2 pow-to-exp pow-pow *-commutative sqr-pow
unpow3 associate-/l*
Counts
4 → 21
Calls
4 calls:
2.0ms
(pow (* x x) 4)
2.0ms
(pow (* x x) 3)
2.0ms
(/ (fma (pow x 6) (fma x (* x 0.0140005442) 0.0694555761) (fma (fma (* 2.0 (pow x 2)) 0.0001789971 0.0008327945) (* x (* (pow (* x x) 3) (pow x 3))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0)))) x)
3.0ms
(/ (/ (fma (pow x 6) (fma x (* x 0.0140005442) 0.0694555761) (fma (fma (* 2.0 (pow x 2)) 0.0001789971 0.0008327945) (* x (* (pow (* x x) 3) (pow x 3))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0)))) x) (fma (pow x 4) (fma x (* x 0.0072644182) 0.0424060604) (fma (fma x (* x 0.0001789971) 0.0005064034) (pow (* x x) 4) (fma (* 0.1049934947 x) x 1.0))))

series517.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(pow (* x x) 4)
42.0ms
(pow (* x x) 3)
147.0ms
(/ (fma (pow x 6) (fma x (* x 0.0140005442) 0.0694555761) (fma (fma (* 2.0 (pow x 2)) 0.0001789971 0.0008327945) (* x (* (pow (* x x) 3) (pow x 3))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0)))) x)
281.0ms
(/ (/ (fma (pow x 6) (fma x (* x 0.0140005442) 0.0694555761) (fma (fma (* 2.0 (pow x 2)) 0.0001789971 0.0008327945) (* x (* (pow (* x x) 3) (pow x 3))) (fma (* 0.2909738639 x) (pow x 3) (fma (* 0.7715471019 x) x 1.0)))) x) (fma (pow x 4) (fma x (* x 0.0072644182) 0.0424060604) (fma (fma x (* x 0.0001789971) 0.0005064034) (pow (* x x) 4) (fma (* 0.1049934947 x) x 1.0))))

simplify116.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0229247
1702242
23536225
35001225

prune327.0ms

Filtered
33 candidates to 20 candidates (60.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh101
Picked011
Done011
Total33336

Merged error: 0b

Counts
36 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.10624017004623454 (/ 1 (pow x 3)))
0.1b
(fma 1.00567160026615 (/ 1 x) (* 0.10624017004623454 (/ 1 (pow x 3))))
0.1b
(/ 1 (pow x 3))
0.4b
(/ 1 (fma 2.0 x (- (fma 1.00567160026615 (/ 1 x) (* 0.10624017004623454 (/ 1 (pow x 3)))))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
clear-num associate-/r*
frac-2neg div-inv
unpow3 un-div-inv inv-pow sqr-pow
pow-to-exp rec-exp pow-flip associate-*r* *-commutative fma-udef
Counts
4 → 22
Calls
4 calls:
3.0ms
(* 0.10624017004623454 (/ 1 (pow x 3)))
1.0ms
(fma 1.00567160026615 (/ 1 x) (* 0.10624017004623454 (/ 1 (pow x 3))))
3.0ms
(/ 1 (pow x 3))
2.0ms
(/ 1 (fma 2.0 x (- (fma 1.00567160026615 (/ 1 x) (* 0.10624017004623454 (/ 1 (pow x 3)))))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* 0.10624017004623454 (/ 1 (pow x 3)))
80.0ms
(fma 1.00567160026615 (/ 1 x) (* 0.10624017004623454 (/ 1 (pow x 3))))
33.0ms
(/ 1 (pow x 3))
79.0ms
(/ 1 (fma 2.0 x (- (fma 1.00567160026615 (/ 1 x) (* 0.10624017004623454 (/ 1 (pow x 3)))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
011695
132491
2110889
3500186

prune61.0ms

Filtered
34 candidates to 21 candidates (61.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh000
Picked011
Done022
Total34337

Merged error: 0b

Counts
37 → 3

regimes52.0ms

Accuracy

100% (0.0b remaining)

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

bsearch455.0ms

Steps
ItersRangePoint
9
357.20278190505735
4524963932.878733
782.0321228156733
8
-298845738972.0616
-119005586.03332348
-3083517158.917441

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09978
19978

end0.0ms

sample803.0ms

Algorithm
intervals
Results
701.0ms8000×body80valid