Details

Time bar (total: 19.5s)

sample56.0ms

Algorithm
intervals
Results
24.0ms288×body80valid
7.0ms87×body80nan

simplify232.0ms

Counts
1 → 1
Iterations
IterNodes
done170
7170
6168
5164
4157
3132
276
139
020

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.6b

localize160.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (sqrt (fma c (* a -4) (* b b))) b)
1.0b
(- (- b) (sqrt (fma c (* a -4) (* b b))))
24.3b
(sqrt (fma c (* a -4) (* b b)))
24.3b
(sqrt (fma c (* a -4) (* b b)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
78×prod-diff
71×add-sqr-sqrt
67×*-un-lft-identity
61×add-cube-cbrt
50×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
16×fma-neg
10×add-log-exp
neg-mul-1
pow1
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u difference-of-squares
diff-log distribute-lft-out--
rem-sqrt-square sub-neg sqrt-pow1 flip3-- pow1/2 flip--
associate--l- neg-sub0 neg-log
Counts
4 → 165
Calls
4 calls:
26.0ms
(- (sqrt (fma c (* a -4) (* b b))) b)
22.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
3.0ms
(sqrt (fma c (* a -4) (* b b)))
3.0ms
(sqrt (fma c (* a -4) (* b b)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(- (sqrt (fma c (* a -4) (* b b))) b)
134.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
114.0ms
(sqrt (fma c (* a -4) (* b b)))
124.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify2.8s

Counts
177 → 177
Iterations
IterNodes
done5014
33014
2995
1426
0194

prune1.2s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.3b

localize140.0ms

Local error

Found 4 expressions with local error:

15.7b
(fma (sqrt (sqrt (fma c (* a -4) (* b b)))) (sqrt (sqrt (fma c (* a -4) (* b b)))) (- b))
24.3b
(sqrt (fma c (* a -4) (* b b)))
24.3b
(sqrt (fma c (* a -4) (* b b)))
24.3b
(sqrt (fma c (* a -4) (* b b)))

rewrite4.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 (sqrt (sqrt (fma c (* a -4) (* b b)))) (sqrt (sqrt (fma c (* a -4) (* b b)))) (- b))
1.0ms
(sqrt (fma c (* a -4) (* b b)))
1.0ms
(sqrt (fma c (* a -4) (* b b)))
1.0ms
(sqrt (fma c (* a -4) (* b b)))

series678.0ms

Counts
4 → 12
Calls
4 calls:
395.0ms
(fma (sqrt (sqrt (fma c (* a -4) (* b b)))) (sqrt (sqrt (fma c (* a -4) (* b b)))) (- b))
91.0ms
(sqrt (fma c (* a -4) (* b b)))
92.0ms
(sqrt (fma c (* a -4) (* b b)))
100.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify1.9s

Counts
71 → 71
Iterations
IterNodes
done5002
42885
3715
2243
1112
065

prune612.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.8b

localize220.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (fma c (* a -4) (* b b))))
11.4b
(fma 1 (sqrt (fma c (* a -4) (* b b))) (- (* (cbrt b) (* (cbrt b) (cbrt b)))))
24.3b
(sqrt (fma c (* a -4) (* b b)))
24.3b
(sqrt (fma c (* a -4) (* b b)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
53×add-sqr-sqrt
51×*-un-lft-identity
47×add-cube-cbrt
37×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
neg-mul-1
pow1
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2 diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg flip3-- neg-log fma-udef flip--
Counts
4 → 134
Calls
4 calls:
13.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
1.0ms
(fma 1 (sqrt (fma c (* a -4) (* b b))) (- (* (cbrt b) (* (cbrt b) (cbrt b)))))
11.0ms
(sqrt (fma c (* a -4) (* b b)))
2.0ms
(sqrt (fma c (* a -4) (* b b)))

series526.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
162.0ms
(fma 1 (sqrt (fma c (* a -4) (* b b))) (- (* (cbrt b) (* (cbrt b) (cbrt b)))))
130.0ms
(sqrt (fma c (* a -4) (* b b)))
131.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify2.6s

Counts
146 → 146
Iterations
IterNodes
done5001
32024
2707
1342
0163

prune2.0s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.7b

localize170.0ms

Local error

Found 4 expressions with local error:

24.3b
(sqrt (fma c (* a -4) (* b b)))
25.1b
(cbrt (fma c (* a -4) (* b b)))
25.1b
(cbrt (fma c (* a -4) (* b b)))
25.1b
(cbrt (fma c (* a -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 c (* a -4) (* b b)))
1.0ms
(cbrt (fma c (* a -4) (* b b)))
1.0ms
(cbrt (fma c (* a -4) (* b b)))
2.0ms
(cbrt (fma c (* a -4) (* b b)))

series872.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(sqrt (fma c (* a -4) (* b b)))
261.0ms
(cbrt (fma c (* a -4) (* b b)))
269.0ms
(cbrt (fma c (* a -4) (* b b)))
237.0ms
(cbrt (fma c (* a -4) (* b b)))

simplify1.8s

Counts
70 → 70
Iterations
IterNodes
done5019
43363
3861
2279
1124
068

prune696.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 13.7b

regimes344.0ms

Accuracy

85.4% (1.1b remaining)

Error of 13.4b against oracle of 12.3b and baseline of 19.8b

bsearch106.0ms

Steps
ItersRangePoint
9
6.2301214455520334e+75
1.9082112581546424e+85
1.6691257204922504e+85

simplify9.0ms

Iterations
IterNodes
done31
131
029

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.1s8705×body80valid
344.0ms2845×body80nan