Details

Time bar (total: 16.5s)

sample109.0ms

Algorithm
intervals
Results
17.0ms36×body2560valid
15.0ms187×body80valid
11.0ms30×body1280valid
6.0ms79×body80nan
3.0ms10×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify137.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

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

rewrite69.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:
51.0ms
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
1.0ms
(fma (* (- a) c) 4.0 (* b b))
12.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
3.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

series481.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(/ (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (* 2.0 a))
88.0ms
(fma (* (- a) c) 4.0 (* b b))
118.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
128.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

simplify813.0ms

Counts
81 → 81
Iterations
IterNodes
done5000
21064
1303
0124

prune573.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.0b

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

rewrite71.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:
53.0ms
(* (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (/ 1 (* a 2.0)))
1.0ms
(fma (* (- a) c) 4.0 (* b b))
12.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
2.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

series440.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(* (+ b (sqrt (fma (* (- a) c) 4.0 (* b b)))) (/ 1 (* a 2.0)))
89.0ms
(fma (* (- a) c) 4.0 (* b b))
102.0ms
(+ b (sqrt (fma (* (- a) c) 4.0 (* b b))))
118.0ms
(sqrt (fma (* (- a) c) 4.0 (* b b)))

simplify1.9s

Counts
93 → 93
Iterations
IterNodes
done5000
21992
1398
0154

prune734.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.9b

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

rewrite98.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:
33.0ms
(/ 1 (* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a))
51.0ms
(* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a)
10.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
2.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

series581.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(/ 1 (* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a))
192.0ms
(* (/ 2.0 (+ b (sqrt (fma c (* (- a) 4.0) (* b b))))) a)
119.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
115.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

simplify1.4s

Counts
118 → 118
Iterations
IterNodes
done5000
22084
1488
0190

prune766.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 4.9b

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

rewrite36.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:
21.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
9.0ms
(+ b (sqrt (fma (* c (- a)) 4.0 (* b b))))
1.0ms
(sqrt (fma (* c (- a)) 4.0 (* b b)))
2.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

series466.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(+ b (sqrt (fma c (* (- a) 4.0) (* b b))))
103.0ms
(+ b (sqrt (fma (* c (- a)) 4.0 (* b b))))
130.0ms
(sqrt (fma (* c (- a)) 4.0 (* b b)))
134.0ms
(sqrt (fma c (* (- a) 4.0) (* b b)))

simplify2.8s

Counts
76 → 76
Iterations
IterNodes
done5000
34679
2761
1217
095

prune834.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 4.8b

regimes494.0ms

Accuracy

80.3% (5.6b remaining)

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

bsearch188.0ms

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

simplify22.0ms

Iterations
IterNodes
done69
369
268
155
034

end0.0ms

sample3.4s

Algorithm
intervals
Results
922.0ms1045×body2560valid
709.0ms5898×body80valid
541.0ms875×body1280valid
301.0ms2811×body80nan
182.0ms448×body640valid
70.0ms121×body5120valid
52.0ms227×body320valid
19.0ms105×body160valid