Details

Time bar (total: 22.5s)

sample142.0ms

Algorithm
intervals
Results
52.0ms187×body80valid
29.0ms40×body2560valid
21.0ms32×body1280valid
13.0ms96×body80nan
4.0msbody640valid
2.0msbody320valid
1.0msbody5120valid
1.0msbody160valid

simplify86.0ms

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

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.2b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
1.1b
(- (sqrt (fma (* a c) -4 (* b b))) b)
1.2b
(fma (* a c) -4 (* b b))
20.1b
(sqrt (fma (* a c) -4 (* b b)))

rewrite36.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 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 → 110
Calls
4 calls:
25.0ms
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
7.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
0.0ms
(fma (* a c) -4 (* b b))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(/ (- (sqrt (fma (* a c) -4 (* b b))) b) a)
127.0ms
(- (sqrt (fma (* a c) -4 (* b b))) b)
70.0ms
(fma (* a c) -4 (* b b))
109.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify904.0ms

Counts
122 → 122
Iterations
IterNodes
32040
2712
1315
0152

prune1.4s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 20.7b

localize33.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (sqrt (fma (* a c) -4 (* b b))) b)
5.0b
(/ (/ (fma (* a c) -4 0) (+ (sqrt (fma (* a c) -4 (* b b))) b)) a)
7.1b
(/ (fma (* a c) -4 0) (+ (sqrt (fma (* a c) -4 (* b b))) b))
20.1b
(sqrt (fma (* a c) -4 (* b b)))

rewrite45.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 log1p-expm1-u
clear-num frac-2neg
+-commutative rem-sqrt-square sum-log sqrt-pow1 pow1/2 associate-/l/
Counts
4 → 162
Calls
4 calls:
6.0ms
(+ (sqrt (fma (* a c) -4 (* b b))) b)
23.0ms
(/ (/ (fma (* a c) -4 0) (+ (sqrt (fma (* a c) -4 (* b b))) b)) a)
12.0ms
(/ (fma (* a c) -4 0) (+ (sqrt (fma (* a c) -4 (* b b))) b))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))

series827.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(+ (sqrt (fma (* a c) -4 (* b b))) b)
318.0ms
(/ (/ (fma (* a c) -4 0) (+ (sqrt (fma (* a c) -4 (* b b))) b)) a)
285.0ms
(/ (fma (* a c) -4 0) (+ (sqrt (fma (* a c) -4 (* b b))) b))
104.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify2.3s

Counts
174 → 174
Iterations
IterNodes
35605
21437
1551
0242

prune1.9s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 13.5b

localize38.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma c (* -4 a) (* b b))
0.2b
(/ (* -4 a) a)
1.4b
(+ (sqrt (fma c (* -4 a) (* b b))) b)
20.1b
(sqrt (fma c (* -4 a) (* b b)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-sqr-sqrt
add-cbrt-cube add-exp-log add-cube-cbrt
fma-def sqrt-prod add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
associate-/r* times-frac
cbrt-undiv div-exp
+-commutative rem-sqrt-square clear-num sum-log frac-2neg sqrt-pow1 flip3-+ pow1/2 prod-exp cbrt-unprod flip-+ fma-udef div-inv distribute-lft-out associate-/l*
Counts
4 → 68
Calls
4 calls:
0.0ms
(fma c (* -4 a) (* b b))
14.0ms
(/ (* -4 a) a)
6.0ms
(+ (sqrt (fma c (* -4 a) (* b b))) b)
1.0ms
(sqrt (fma c (* -4 a) (* b b)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(fma c (* -4 a) (* b b))
1.0ms
(/ (* -4 a) a)
126.0ms
(+ (sqrt (fma c (* -4 a) (* b b))) b)
98.0ms
(sqrt (fma c (* -4 a) (* b b)))

simplify4.3s

Counts
80 → 80
Iterations
IterNodes
46369
31778
2640
1228
0103

prune971.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 11.0b

localize57.0ms

Local error

Found 4 expressions with local error:

15.0b
(fma (* (cbrt (sqrt (fma c (* -4 a) (* b b)))) (cbrt (sqrt (fma c (* -4 a) (* b b))))) (cbrt (sqrt (fma c (* -4 a) (* b b)))) b)
20.1b
(sqrt (fma c (* -4 a) (* b b)))
20.1b
(sqrt (fma c (* -4 a) (* b b)))
20.1b
(sqrt (fma c (* -4 a) (* 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 log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
fma-udef
Counts
4 → 55
Calls
4 calls:
0.0ms
(fma (* (cbrt (sqrt (fma c (* -4 a) (* b b)))) (cbrt (sqrt (fma c (* -4 a) (* b b))))) (cbrt (sqrt (fma c (* -4 a) (* b b)))) b)
1.0ms
(sqrt (fma c (* -4 a) (* b b)))
1.0ms
(sqrt (fma c (* -4 a) (* b b)))
1.0ms
(sqrt (fma c (* -4 a) (* b b)))

series902.0ms

Counts
4 → 12
Calls
4 calls:
597.0ms
(fma (* (cbrt (sqrt (fma c (* -4 a) (* b b)))) (cbrt (sqrt (fma c (* -4 a) (* b b))))) (cbrt (sqrt (fma c (* -4 a) (* b b)))) b)
112.0ms
(sqrt (fma c (* -4 a) (* b b)))
109.0ms
(sqrt (fma c (* -4 a) (* b b)))
84.0ms
(sqrt (fma c (* -4 a) (* b b)))

simplify1.0s

Counts
67 → 67
Iterations
IterNodes
42616
3679
2233
1119
067

prune1.0s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 11.0b

regimes408.0ms

Accuracy

96.9% (0.5b remaining)

Error of 12.6b against oracle of 12.1b and baseline of 28.9b

bsearch317.0ms

Steps
ItersRangePoint
9
1.5347927881719531e+137
5.414027326126016e+143
3.4192303804034762e+140
9
5.604957401343604e-282
5.215150851201549e-273
2.1712981559507382e-281

simplify13.0ms

Iterations
IterNodes
242
142
034

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.5s1086×body2560valid
956.0ms5910×body80valid
688.0ms918×body1280valid
493.0ms216×body320valid
456.0ms2909×body80nan
290.0ms434×body640valid
184.0ms119×body5120valid
28.0ms109×body160valid