Details

Time bar (total: 17.8s)

sample87.0ms

Algorithm
intervals
Results
21.0ms41×body2560valid
15.0ms178×body80valid
12.0ms29×body1280valid
8.0ms93×body80nan
5.0ms17×body640valid
1.0msbody160valid
1.0msbody5120valid
1.0msbody320valid

simplify87.0ms

Counts
1 → 1
Iterations
IterNodes
done105
7105
6104
5102
494
379
243
125
014

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.2b

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
1.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def add-cube-cbrt add-log-exp
add-cbrt-cube add-exp-log
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
neg-sub0 cbrt-undiv sum-log flip3-+ flip3-- sqrt-div div-exp associate-+l- flip-+ flip-- associate-/l/
+-commutative rem-sqrt-square clear-num associate-/r* neg-mul-1 sub-neg frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
72.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
27.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
7.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series417.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
93.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
64.0ms
(- (* b b) (* (* 4.0 a) c))
109.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.5s

Counts
102 → 102
Iterations
IterNodes
done5002
21448
1442
0167

prune700.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.1b

localize45.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* a 2.0) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
1.7b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
2.0b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
60×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
25×add-exp-log
20×sqrt-prod
19×prod-diff
13×add-cbrt-cube
12×associate-/r* div-exp
10×difference-of-squares
associate-/r/
add-log-exp
flip3-- fma-neg flip--
pow1
cbrt-undiv div-inv distribute-lft-out--
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp prod-exp associate-/l*
sub-neg sqrt-div diff-log
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 cbrt-unprod pow-flip inv-pow
Counts
4 → 152
Calls
4 calls:
53.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
63.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
7.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series502.0ms

Counts
4 → 12
Calls
4 calls:
231.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
114.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
51.0ms
(- (* b b) (* (* 4.0 a) c))
105.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.8s

Counts
164 → 164
Iterations
IterNodes
done5004
22030
1660
0261

prune870.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.0b

localize51.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* a 2.0) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)))
1.7b
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
2.5b
(fma b b (- (* (* 4.0 a) c)))
23.9b
(sqrt (fma b b (- (* (* 4.0 a) c))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
60×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
25×add-exp-log
20×sqrt-prod
18×prod-diff
13×add-cbrt-cube
12×associate-/r* div-exp
10×difference-of-squares
associate-/r/
pow1 fma-neg add-log-exp
cbrt-undiv flip3-- div-inv flip-- distribute-lft-out--
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp prod-exp associate-/l*
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log cbrt-unprod fma-udef pow-flip inv-pow
Counts
4 → 144
Calls
4 calls:
21.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)))
17.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
1.0ms
(fma b b (- (* (* 4.0 a) c)))
3.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

series588.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)))
135.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
77.0ms
(fma b b (- (* (* 4.0 a) c)))
152.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

simplify2.1s

Counts
156 → 156
Iterations
IterNodes
done5000
21687
1568
0239

prune905.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (* a 2.0)) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b))
1.7b
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
2.5b
(fma b b (- (* (* 4.0 a) c)))
23.9b
(sqrt (fma b b (- (* (* 4.0 a) c))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
54×prod-diff
50×*-un-lft-identity
46×add-cube-cbrt
35×sqrt-prod
23×add-exp-log
20×distribute-rgt-in distribute-lft-in
13×add-cbrt-cube
10×prod-exp
pow1 associate-*l*
fma-neg associate-*r* add-log-exp
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u difference-of-squares
sub-neg times-frac flip3-- flip--
frac-times cbrt-undiv rec-exp 1-exp associate-*r/ distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down associate-*l/ *-commutative fma-udef div-inv unswap-sqr
Counts
4 → 146
Calls
4 calls:
57.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b))
9.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
0.0ms
(fma b b (- (* (* 4.0 a) c)))
1.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

series580.0ms

Counts
4 → 12
Calls
4 calls:
246.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b))
126.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
100.0ms
(fma b b (- (* (* 4.0 a) c)))
108.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

simplify2.0s

Counts
158 → 158
Iterations
IterNodes
done5004
21816
1628
0226

prune759.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.0b

regimes463.0ms

Accuracy

85.3% (4.3b remaining)

Error of 10.1b against oracle of 5.8b and baseline of 34.9b

bsearch238.0ms

Steps
ItersRangePoint
10
8.767897341253802e-114
4.657027509742155e-104
4.6129908231112306e-104
9
-6.117539429929052e+154
-3.6285784997486435e+148
-3.6803290429888884e+148

simplify17.0ms

Iterations
IterNodes
done48
248
140
028

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.2s1115×body2560valid
757.0ms2954×body80nan
535.0ms5809×body80valid
336.0ms902×body1280valid
170.0ms454×body640valid
93.0ms105×body5120valid
45.0ms210×body320valid
19.0ms126×body160valid