Details

Time bar (total: 15.8s)

sample73.0ms

Algorithm
intervals
Results
19.0ms187×body80valid
13.0ms36×body2560valid
9.0ms30×body1280valid
5.0ms79×body80nan
2.0ms10×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify112.0ms

Counts
1 → 1
Iterations
IterNodes
done164
6164
5160
4153
3121
264
129
014

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.9b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
0.4b
(fma (* (- a) c) 4.0 (* b b))
0.9b
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
22.6b
(sqrt (fma (* (- a) c) 4.0 (* b b)))

rewrite41.0ms

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

series534.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
84.0ms
(fma (* (- a) c) 4.0 (* b b))
150.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
148.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

simplify800.0ms

Counts
81 → 81
Iterations
IterNodes
done5000
21064
1303
0124

prune579.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (/ 1 (* a 2.0)))
0.4b
(fma (* (- a) c) 4.0 (* b b))
0.9b
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
22.6b
(sqrt (fma (* (- a) c) 4.0 (* b b)))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
13×*-un-lft-identity add-cbrt-cube
12×add-sqr-sqrt
10×prod-exp
add-cube-cbrt
pow1 associate-*r*
add-log-exp
expm1-log1p-u div-exp associate-*l* cbrt-unprod log1p-expm1-u
fma-def flip3-+ times-frac sqrt-prod flip-+
frac-times cbrt-undiv rec-exp 1-exp associate-*l/ distribute-lft-out
+-commutative rem-sqrt-square sum-log sqrt-pow1 pow1/2 pow-prod-down associate-*r/ un-div-inv *-commutative fma-udef div-inv unswap-sqr
Counts
4 → 81
Calls
4 calls:
58.0ms
(* (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (/ 1 (* a 2.0)))
0.0ms
(fma (* (- a) c) 4.0 (* b b))
10.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
2.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

series529.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(* (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (/ 1 (* a 2.0)))
100.0ms
(fma (* (- a) c) 4.0 (* b b))
128.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
120.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

simplify1.5s

Counts
93 → 93
Iterations
IterNodes
done5000
21992
1398
0154

prune555.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.9b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a))
0.2b
(* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a)
0.9b
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
22.6b
(sqrt (fma c (* (- a) 4.0) (* b b)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log
25×*-un-lft-identity
23×add-sqr-sqrt
18×add-cbrt-cube associate-*l*
17×add-cube-cbrt
16×times-frac
10×pow1 div-exp
prod-exp
add-log-exp
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u distribute-lft-out
rec-exp fma-def 1-exp associate-*r* associate-/r/ sqrt-prod associate-/l*
flip3-+ pow-prod-down associate-*l/ flip-+ div-inv pow-flip unswap-sqr
+-commutative rem-sqrt-square clear-num associate-/r* sum-log frac-2neg sqrt-pow1 pow1/2 *-commutative inv-pow
Counts
4 → 106
Calls
4 calls:
27.0ms
(/ 1 (* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a))
52.0ms
(* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a)
6.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
1.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

series537.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(/ 1 (* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a))
179.0ms
(* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a)
104.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
110.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

simplify1.7s

Counts
118 → 118
Iterations
IterNodes
done5000
22084
1488
0190

prune778.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 4.9b

localize51.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
0.9b
(+ b (sqrt (fma (* c (- a)) 4.0 (* b b))))
22.6b
(sqrt (fma (* c (- a)) 4.0 (* b b)))
22.6b
(sqrt (fma c (* (- a) 4.0) (* b b)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1 fma-def sqrt-prod
expm1-log1p-u add-cbrt-cube add-exp-log log1p-expm1-u
+-commutative rem-sqrt-square sum-log sqrt-pow1 flip3-+ pow1/2 flip-+ distribute-lft-out
Counts
4 → 64
Calls
4 calls:
10.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
11.0ms
(+ b (sqrt (fma (* c (- a)) 4.0 (* b b))))
2.0ms
(sqrt (fma (* c (- a)) 4.0 (* b b)))
2.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

series400.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
96.0ms
(+ b (sqrt (fma (* c (- a)) 4.0 (* b b))))
101.0ms
(sqrt (fma (* c (- a)) 4.0 (* b b)))
108.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

simplify2.3s

Counts
76 → 76
Iterations
IterNodes
done5000
34679
2761
1217
095

prune671.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 4.8b

regimes496.0ms

Accuracy

80.3% (5.6b remaining)

Error of 11.4b against oracle of 5.8b and baseline of 34.3b

bsearch240.0ms

Steps
ItersRangePoint
9
3.768382185355077e+69
1.107955803311012e+78
9.027398388687083e+77
8
-1.2670716760605177e-136
-3.392970635093907e-140
-1.2471576748785859e-136

simplify11.0ms

Iterations
IterNodes
done69
369
268
155
034

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.0s1045×body2560valid
719.0ms5898×body80valid
430.0ms875×body1280valid
390.0ms2811×body80nan
186.0ms448×body640valid
92.0ms227×body320valid
73.0ms121×body5120valid
17.0ms105×body160valid