Details

Time bar (total: 19.4s)

sample140.0ms

Algorithm
intervals
Results
33.0ms34×body2560valid
31.0ms198×body80valid
28.0ms29×body1280valid
14.0ms91×body80nan
5.0msbody640valid
4.0msbody320valid
2.0msbody5120valid
2.0msbody160valid

simplify95.0ms

Counts
1 → 1
Iterations
IterNodes
8105
7105
6104
5102
494
377
244
125
014

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* a -4) c)
1.3b
(- (sqrt (fma b b (* (* a -4) c))) b)
1.5b
(fma b b (* (* a -4) c))
27.8b
(sqrt (fma b b (* (* a -4) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
20×add-cube-cbrt
18×prod-diff
16×sqrt-prod
10×pow1
add-cbrt-cube add-exp-log
fma-neg add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
associate-*r* pow-prod-down prod-exp cbrt-unprod
difference-of-squares
rem-sqrt-square sub-neg sqrt-pow1 flip3-- pow1/2 diff-log associate-*l* *-commutative fma-udef flip-- distribute-lft-out--
Counts
4 → 90
Calls
4 calls:
16.0ms
(* (* a -4) c)
12.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
0.0ms
(fma b b (* (* a -4) c))
2.0ms
(sqrt (fma b b (* (* a -4) c)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* a -4) c)
104.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
62.0ms
(fma b b (* (* a -4) c))
100.0ms
(sqrt (fma b b (* (* a -4) c)))

simplify1.1s

Counts
102 → 102
Iterations
IterNodes
32785
2831
1319
0146

prune740.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 12.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (fma b b (* -4 (* a c)))) b) a)
1.3b
(- (sqrt (fma b b (* -4 (* a c)))) b)
1.5b
(fma b b (* -4 (* a c)))
27.8b
(sqrt (fma b b (* -4 (* a c))))

rewrite27.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:
16.0ms
(/ (- (sqrt (fma b b (* -4 (* a c)))) b) a)
7.0ms
(- (sqrt (fma b b (* -4 (* a c)))) b)
0.0ms
(fma b b (* -4 (* a c)))
1.0ms
(sqrt (fma b b (* -4 (* a c))))

series356.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ (- (sqrt (fma b b (* -4 (* a c)))) b) a)
87.0ms
(- (sqrt (fma b b (* -4 (* a c)))) b)
58.0ms
(fma b b (* -4 (* a c)))
86.0ms
(sqrt (fma b b (* -4 (* a c))))

simplify848.0ms

Counts
126 → 126
Iterations
IterNodes
32588
2951
1403
0179

prune712.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 7.7b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sqrt (fma b b (* -4 (* a c)))) b) (/ 1 a))
1.3b
(- (sqrt (fma b b (* -4 (* a c)))) b)
1.5b
(fma b b (* -4 (* a c)))
27.8b
(sqrt (fma b b (* -4 (* a c))))

rewrite36.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:
26.0ms
(* (- (sqrt (fma b b (* -4 (* a c)))) b) (/ 1 a))
8.0ms
(- (sqrt (fma b b (* -4 (* a c)))) b)
0.0ms
(fma b b (* -4 (* a c)))
1.0ms
(sqrt (fma b b (* -4 (* a c))))

series356.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(* (- (sqrt (fma b b (* -4 (* a c)))) b) (/ 1 a))
102.0ms
(- (sqrt (fma b b (* -4 (* a c)))) b)
51.0ms
(fma b b (* -4 (* a c)))
82.0ms
(sqrt (fma b b (* -4 (* a c))))

simplify2.5s

Counts
127 → 127
Iterations
IterNodes
33135
21185
1465
0199

prune917.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 7.7b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (fma b b (* -4 (* a c)))) b)))
1.3b
(- (sqrt (fma b b (* -4 (* a c)))) b)
1.5b
(fma b b (* -4 (* a c)))
27.8b
(sqrt (fma b b (* -4 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
137×add-sqr-sqrt
110×*-un-lft-identity
84×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
24×associate-/r*
18×prod-diff
15×add-exp-log
13×distribute-lft-out--
add-cbrt-cube associate-/r/
div-exp
pow1 fma-neg add-log-exp
flip3-- div-inv flip--
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv associate-/l*
rec-exp 1-exp
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log fma-udef pow-flip inv-pow
Counts
4 → 192
Calls
4 calls:
13.0ms
(/ 1 (/ a (- (sqrt (fma b b (* -4 (* a c)))) b)))
13.0ms
(- (sqrt (fma b b (* -4 (* a c)))) b)
0.0ms
(fma b b (* -4 (* a c)))
1.0ms
(sqrt (fma b b (* -4 (* a c))))

series543.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(/ 1 (/ a (- (sqrt (fma b b (* -4 (* a c)))) b)))
135.0ms
(- (sqrt (fma b b (* -4 (* a c)))) b)
75.0ms
(fma b b (* -4 (* a c)))
119.0ms
(sqrt (fma b b (* -4 (* a c))))

simplify4.5s

Counts
204 → 204
Iterations
IterNodes
33963
21464
1644
0283

prune1.2s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.7b

regimes283.0ms

Accuracy

82.4% (4.9b remaining)

Error of 10.5b against oracle of 5.6b and baseline of 33.5b

bsearch172.0ms

Steps
ItersRangePoint
8
2.764110880089542e-64
2.3245141193625934e-60
2.0617732603635578e-61
9
-229886301330938.94
-710549284.1101115
-227369802444031.66

simplify5.0ms

Iterations
IterNodes
232
132
028

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.2s5886×body80valid
850.0ms1054×body2560valid
694.0ms908×body1280valid
463.0ms232×body320valid
429.0ms2993×body80nan
208.0ms446×body640valid
126.0ms110×body5120valid
26.0ms113×body160valid