Details

Time bar (total: 19.3s)

sample103.0ms

Algorithm
intervals
Results
35.0ms36×body2560valid
21.0ms187×body80valid
13.0ms25×body1280valid
9.0ms86×body80nan
8.0ms17×body640valid
3.0msbody320valid
1.0msbody160valid

simplify110.0ms

Counts
1 → 1
Iterations
IterNodes
8101
7101
6100
598
490
374
244
125
014

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.3b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
0.8b
(fma (* a c) -4 (* b b))
0.9b
(- (sqrt (fma (* a c) -4 (* b b))) b)
23.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
40×*-un-lft-identity
30×add-cube-cbrt
20×sqrt-prod
18×times-frac prod-diff
10×difference-of-squares
add-cbrt-cube fma-neg add-exp-log associate-/l* add-log-exp
pow1 distribute-lft-out--
expm1-log1p-u insert-posit16 log1p-expm1-u
associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp fma-udef div-inv
Counts
4 → 114
Calls
4 calls:
40.0ms
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
0.0ms
(fma (* a c) -4 (* b b))
15.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
2.0ms
(sqrt (fma (* a c) -4 (* b b)))

series744.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
74.0ms
(fma (* a c) -4 (* b b))
90.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
441.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify767.0ms

Counts
126 → 126
Iterations
IterNodes
32003
2718
1319
0156

prune714.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 31.2b

localize32.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (fma (* a c) -4 (* b b))) a)
0.8b
(fma (* a c) -4 (* b b))
5.1b
(- (/ (sqrt (fma (* a c) -4 (* b b))) a) (/ b a))
23.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
481×times-frac
378×add-sqr-sqrt
366×*-un-lft-identity
358×add-cube-cbrt
286×prod-diff
143×sqrt-prod
39×div-inv
22×fma-neg
add-cbrt-cube add-exp-log associate-/l* add-log-exp difference-of-squares
pow1
expm1-log1p-u insert-posit16 log1p-expm1-u distribute-lft-out--
associate-/r*
cbrt-undiv rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- distribute-rgt-out-- pow1/2 diff-log div-exp frac-sub fma-udef flip-- sub-div
Counts
4 → 405
Calls
4 calls:
5.0ms
(/ (sqrt (fma (* a c) -4 (* b b))) a)
0.0ms
(fma (* a c) -4 (* b b))
19.0ms
(- (/ (sqrt (fma (* a c) -4 (* b b))) a) (/ b a))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))

series458.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (sqrt (fma (* a c) -4 (* b b))) a)
77.0ms
(fma (* a c) -4 (* b b))
139.0ms
(- (/ (sqrt (fma (* a c) -4 (* b b))) a) (/ b a))
115.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify1.1s

Counts
417 → 417
Iterations
IterNodes
22100
1970
0453

prune2.2s

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 31.1b

localize62.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma (* a c) -4 (* b b))
21.3b
(fma (sqrt (sqrt (fma (* a c) -4 (* b b)))) (sqrt (sqrt (fma (* a c) -4 (* b b)))) (- b))
23.5b
(sqrt (fma (* a c) -4 (* b b)))
23.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt sqrt-prod
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 54
Calls
4 calls:
0.0ms
(fma (* a c) -4 (* b b))
0.0ms
(fma (sqrt (sqrt (fma (* a c) -4 (* b b)))) (sqrt (sqrt (fma (* a c) -4 (* b b)))) (- b))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))
3.0ms
(sqrt (fma (* a c) -4 (* b b)))

series658.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(fma (* a c) -4 (* b b))
378.0ms
(fma (sqrt (sqrt (fma (* a c) -4 (* b b)))) (sqrt (sqrt (fma (* a c) -4 (* b b)))) (- b))
92.0ms
(sqrt (fma (* a c) -4 (* b b)))
119.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify1.5s

Counts
66 → 66
Iterations
IterNodes
42905
3826
2291
1133
077

prune589.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 31.1b

localize94.0ms

Local error

Found 4 expressions with local error:

23.5b
(sqrt (fma (* a c) -4 (* b b)))
24.2b
(cbrt (fma (* a c) -4 (* b b)))
24.2b
(cbrt (fma (* a c) -4 (* b b)))
24.2b
(cbrt (fma (* a c) -4 (* b b)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
pow1
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
pow1/3 sqrt-prod
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 58
Calls
4 calls:
2.0ms
(sqrt (fma (* a c) -4 (* b b)))
1.0ms
(cbrt (fma (* a c) -4 (* b b)))
1.0ms
(cbrt (fma (* a c) -4 (* b b)))
2.0ms
(cbrt (fma (* a c) -4 (* b b)))

series854.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sqrt (fma (* a c) -4 (* b b)))
254.0ms
(cbrt (fma (* a c) -4 (* b b)))
232.0ms
(cbrt (fma (* a c) -4 (* b b)))
282.0ms
(cbrt (fma (* a c) -4 (* b b)))

simplify3.2s

Counts
70 → 70
Iterations
IterNodes
56298
41995
3665
2254
1121
067

prune612.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 31.1b

regimes742.0ms

Accuracy

81.6% (1.1b remaining)

Error of 29.4b against oracle of 28.3b and baseline of 34.4b

bsearch186.0ms

Steps
ItersRangePoint
8
2.231296991249122e+66
2.5939819947174796e+69
1.0088751240251126e+68

simplify5.0ms

Iterations
IterNodes
227
127
025

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.6s1026×body2560valid
977.0ms5891×body80valid
632.0ms881×body1280valid
419.0ms2954×body80nan
280.0ms464×body640valid
119.0ms237×body320valid
100.0ms96×body5120valid
26.0ms104×body160valid