Details

Time bar (total: 26.7s)

sample99.0ms

Algorithm
intervals
Results
25.0ms193×body80valid
19.0ms30×body2560valid
14.0ms26×body1280valid
10.0ms99×body80nan
6.0ms12×body640valid
4.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify134.0ms

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

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.6b

localize47.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
0.2b
(- (sqrt (fma (* a c) -4 (* b b))) b)
0.6b
(fma (* a c) -4 (* b b))
24.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite55.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:
35.0ms
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
15.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
0.0ms
(fma (* a c) -4 (* b b))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))

series407.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
97.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
69.0ms
(fma (* a c) -4 (* b b))
103.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify863.0ms

Counts
126 → 126
Iterations
IterNodes
32000
2718
1319
0156

prune1.5s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 22.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sqrt (fma (* a c) -4 (* b b))) b) (/ 1 a))
0.2b
(- (sqrt (fma (* a c) -4 (* b b))) b)
0.6b
(fma (* a c) -4 (* b b))
24.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
32×*-un-lft-identity
27×add-cube-cbrt
18×prod-diff
17×sqrt-prod
13×associate-*r* add-exp-log
11×times-frac
add-cbrt-cube
pow1
fma-neg associate-*l* add-log-exp
expm1-log1p-u prod-exp insert-posit16 log1p-expm1-u difference-of-squares
flip3-- flip-- unswap-sqr
frac-times div-exp associate-*l/ cbrt-unprod distribute-lft-out--
cbrt-undiv rem-sqrt-square rec-exp sub-neg sqrt-pow1 pow1/2 diff-log 1-exp pow-prod-down associate-*r/ un-div-inv *-commutative fma-udef div-inv
Counts
4 → 115
Calls
4 calls:
45.0ms
(* (- (sqrt (fma (* a c) -4 (* b b))) b) (/ 1 a))
8.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
0.0ms
(fma (* a c) -4 (* b b))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (- (sqrt (fma (* a c) -4 (* b b))) b) (/ 1 a))
108.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
65.0ms
(fma (* a c) -4 (* b b))
92.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify2.2s

Counts
127 → 127
Iterations
IterNodes
32506
2963
1380
0175

prune1.2s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 22.2b

localize42.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (sqrt (fma (* a c) -4 (* b b))) b)
2.2b
(/ (/ (fma -4 (* a c) 0) (+ (sqrt (fma (* a c) -4 (* b b))) b)) a)
10.8b
(/ (fma -4 (* a c) 0) (+ (sqrt (fma (* a c) -4 (* b b))) b))
24.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
101×*-un-lft-identity
68×add-sqr-sqrt
67×add-cube-cbrt
21×associate-/l*
17×distribute-lft-out
11×add-cbrt-cube add-exp-log
10×associate-/r/
associate-/r*
fma-def flip3-+ sqrt-prod flip-+ div-inv add-log-exp
pow1
expm1-log1p-u cbrt-undiv div-exp insert-posit16 log1p-expm1-u
clear-num frac-2neg
+-commutative rem-sqrt-square sum-log sqrt-pow1 pow1/2 associate-/l/
Counts
4 → 166
Calls
4 calls:
6.0ms
(+ (sqrt (fma (* a c) -4 (* b b))) b)
19.0ms
(/ (/ (fma -4 (* a c) 0) (+ (sqrt (fma (* a c) -4 (* b b))) b)) a)
15.0ms
(/ (fma -4 (* a c) 0) (+ (sqrt (fma (* a c) -4 (* b b))) b))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))

series777.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(+ (sqrt (fma (* a c) -4 (* b b))) b)
278.0ms
(/ (/ (fma -4 (* a c) 0) (+ (sqrt (fma (* a c) -4 (* b b))) b)) a)
292.0ms
(/ (fma -4 (* a c) 0) (+ (sqrt (fma (* a c) -4 (* b b))) b))
104.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify2.7s

Counts
178 → 178
Iterations
IterNodes
36246
21441
1555
0246

prune2.0s

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 17.8b

localize45.0ms

Local error

Found 4 expressions with local error:

0.6b
(fma (* a c) -4 (* b b))
24.5b
(sqrt (fma (* a c) -4 (* b b)))
24.5b
(sqrt (fma (* a c) -4 (* b b)))
24.5b
(sqrt (fma (* a c) -4 (* b b)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
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 → 59
Calls
4 calls:
0.0ms
(fma (* a c) -4 (* b b))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))

series326.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(fma (* a c) -4 (* b b))
85.0ms
(sqrt (fma (* a c) -4 (* b b)))
81.0ms
(sqrt (fma (* a c) -4 (* b b)))
87.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify7.5s

Counts
71 → 71
Iterations
IterNodes
510076
41719
3412
2119
159
040

prune1.0s

Pruning

15 alts after pruning (12 fresh and 3 done)

Merged error: 17.8b

regimes506.0ms

Accuracy

94.1% (0.9b remaining)

Error of 18.2b against oracle of 17.2b and baseline of 33.2b

bsearch299.0ms

Steps
ItersRangePoint
6
9.393510413029077e+92
1.3693909217968502e+94
1.1941771483955193e+94
9
-4.397101713511905e-269
-3.9837954536011494e-278
-1.488368069126177e-277

simplify11.0ms

Iterations
IterNodes
233
133
030

end0.0ms

sample4.5s

Algorithm
intervals
Results
1.1s1029×body2560valid
951.0ms2862×body80nan
892.0ms5860×body80valid
663.0ms889×body1280valid
309.0ms469×body640valid
138.0ms107×body5120valid
79.0ms199×body320valid
37.0ms141×body160valid