Details

Time bar (total: 19.3s)

sample59.0ms

Algorithm
intervals
Results
30.0ms274×body80valid
5.0ms69×body80nan

simplify192.0ms

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

prune22.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.1b

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

rewrite46.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))))
16.0ms
(- (sqrt (fma c (* a -4) (* b b))) b)
2.0ms
(sqrt (fma c (* a -4) (* b b)))
3.0ms
(sqrt (fma c (* a -4) (* b b)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(- (- b) (sqrt (fma c (* a -4) (* b b))))
110.0ms
(- (sqrt (fma c (* a -4) (* b b))) b)
91.0ms
(sqrt (fma c (* a -4) (* b b)))
118.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify2.8s

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

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

rewrite9.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))
2.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)))

series687.0ms

Counts
4 → 12
Calls
4 calls:
379.0ms
(fma (sqrt (sqrt (fma c (* a -4) (* b b)))) (sqrt (sqrt (fma c (* a -4) (* b b)))) (- b))
99.0ms
(sqrt (fma c (* a -4) (* b b)))
99.0ms
(sqrt (fma c (* a -4) (* b b)))
110.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify1.9s

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

prune629.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.1b

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

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

series499.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(sqrt (fma c (* a -4) (* b b)))
130.0ms
(sqrt (fma c (* a -4) (* b b)))
133.0ms
(sqrt (fma c (* a -4) (* b b)))
121.0ms
(sqrt (fma c (* a -4) (* b b)))

simplify3.6s

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

prune629.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.1b

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

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

series722.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sqrt (fma c (* a -4) (* b b)))
241.0ms
(cbrt (fma c (* a -4) (* b b)))
204.0ms
(cbrt (fma c (* a -4) (* b b)))
190.0ms
(cbrt (fma c (* a -4) (* b b)))

simplify1.9s

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

prune881.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.1b

regimes368.0ms

Accuracy

79.9% (1.5b remaining)

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

bsearch119.0ms

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

simplify14.0ms

Iterations
IterNodes
done48
148
042

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.4s8711×body80valid
306.0ms2933×body80nan