Details

Time bar (total: 20.5s)

sample500.0ms

Algorithm
intervals
Results
420.0ms69×body80nan
54.0ms274×body80valid

simplify203.0ms

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

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.1b

localize160.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (fma c (* a -4) (* b b))))
1.0b
(- (sqrt (fma c (* a -4) (* b b))) b)
19.8b
(sqrt (fma c (* a -4) (* b b)))
19.8b
(sqrt (fma c (* a -4) (* b b)))

rewrite35.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:
20.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
10.0ms
(- (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)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
114.0ms
(- (sqrt (fma c (* a -4) (* b b))) b)
111.0ms
(sqrt (fma c (* a -4) (* b b)))
105.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify2.4s

Counts
177 → 177
Iterations
IterNodes
done5000
33147
2965
1427
0194

prune1.2s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 10.7b

localize120.0ms

Local error

Found 4 expressions with local error:

19.0b
(fma (sqrt (sqrt (fma c (* a -4) (* b b)))) (sqrt (sqrt (fma c (* a -4) (* b b)))) (- b))
19.8b
(sqrt (fma c (* a -4) (* b b)))
19.8b
(sqrt (fma c (* a -4) (* b b)))
19.8b
(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)))

series698.0ms

Counts
4 → 12
Calls
4 calls:
403.0ms
(fma (sqrt (sqrt (fma c (* a -4) (* b b)))) (sqrt (sqrt (fma c (* a -4) (* b b)))) (- b))
89.0ms
(sqrt (fma c (* a -4) (* b b)))
93.0ms
(sqrt (fma c (* a -4) (* b b)))
114.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify1.9s

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

prune620.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.1b

localize170.0ms

Local error

Found 4 expressions with local error:

19.8b
(sqrt (fma c (* a -4) (* b b)))
19.8b
(sqrt (fma c (* a -4) (* b b)))
19.8b
(sqrt (fma c (* a -4) (* b b)))
19.8b
(sqrt (fma c (* a -4) (* b b)))

rewrite8.0ms

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

series403.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(sqrt (fma c (* a -4) (* b b)))
87.0ms
(sqrt (fma c (* a -4) (* b b)))
107.0ms
(sqrt (fma c (* a -4) (* b b)))
93.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify4.0s

Counts
76 → 76
Iterations
IterNodes
done5000
91082
8418
7255
6196
5169
4135
389
253
138
028

prune661.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.1b

localize158.0ms

Local error

Found 4 expressions with local error:

19.8b
(sqrt (fma c (* a -4) (* b b)))
20.7b
(cbrt (fma c (* a -4) (* b b)))
20.7b
(cbrt (fma c (* a -4) (* b b)))
20.7b
(cbrt (fma c (* a -4) (* b b)))

rewrite71.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)))

series791.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(sqrt (fma c (* a -4) (* b b)))
230.0ms
(cbrt (fma c (* a -4) (* b b)))
225.0ms
(cbrt (fma c (* a -4) (* b b)))
235.0ms
(cbrt (fma c (* a -4) (* b b)))

simplify1.7s

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

prune794.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.1b

regimes383.0ms

Accuracy

79.9% (1.5b remaining)

Error of 13.9b against oracle of 12.4b and baseline of 19.7b

bsearch149.0ms

Steps
ItersRangePoint
6
4.8498614244770303e+48
2.0602804194761557e+49
2.0410715251838527e+49

simplify26.0ms

Iterations
IterNodes
done48
148
042

end0.0ms

sample2.9s

Algorithm
intervals
Results
2.0s8711×body80valid
575.0ms2933×body80nan