Details

Time bar (total: 16.7s)

sample57.0ms

Algorithm
intervals
Results
12.0ms38×body2560valid
10.0ms178×body80valid
7.0ms28×body1280valid
4.0ms79×body80nan
2.0ms11×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify116.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.6b
(- (* b b) (* (* 4.0 a) c))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite246.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
19×prod-diff
18×sqrt-prod
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
times-frac associate-/l* difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 106
Calls
4 calls:
139.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
65.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
14.0ms
(- (* b b) (* (* 4.0 a) c))
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series514.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
129.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
76.0ms
(- (* b b) (* (* 4.0 a) c))
118.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.8s

Counts
118 → 118
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01952476
14802169
214411861
done50001789

prune509.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.2b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.6b
(- (* b b) (* (* 4.0 a) c))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite292.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×div-exp associate-/r*
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 pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num cbrt-unprod inv-pow
Counts
4 → 152
Calls
4 calls:
134.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
99.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
10.0ms
(- (* b b) (* (* 4.0 a) c))
33.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series600.0ms

Counts
4 → 12
Calls
4 calls:
274.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
112.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
80.0ms
(- (* b b) (* (* 4.0 a) c))
133.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.5s

Counts
164 → 164
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02614025
15873484
216523082
done50012938

prune504.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* a 2.0))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.6b
(- (* b b) (* (* 4.0 a) c))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite311.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
19×prod-diff
18×sqrt-prod
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
times-frac associate-/l* difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 106
Calls
4 calls:
194.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* a 2.0))
76.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
10.0ms
(- (* b b) (* (* 4.0 a) c))
28.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series640.0ms

Counts
4 → 12
Calls
4 calls:
258.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* a 2.0))
149.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
91.0ms
(- (* b b) (* (* 4.0 a) c))
142.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
118 → 118
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01952476
14802169
214411861
done50001789

prune525.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 5.1b

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.6b
(- (* b b) (* (* 4.0 a) c))
20.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
46×*-un-lft-identity
36×add-cube-cbrt
34×times-frac
26×add-exp-log
22×associate-*r*
19×prod-diff sqrt-prod
16×add-cbrt-cube
13×associate-*l*
div-exp prod-exp add-log-exp difference-of-squares
pow1 fma-neg
unswap-sqr
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u distribute-lft-out--
flip3-- flip--
sub-neg rec-exp sqrt-div diff-log 1-exp div-inv
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 141
Calls
4 calls:
121.0ms
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0))
74.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
10.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series677.0ms

Counts
4 → 12
Calls
4 calls:
272.0ms
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0))
157.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
104.0ms
(- (* b b) (* (* 4.0 a) c))
145.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.7s

Counts
153 → 153
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02493323
16292903
219412478
done50002409

prune681.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 5.1b

regimes339.0ms

Accuracy

84.1% (4.6b remaining)

Error of 10.1b against oracle of 5.5b and baseline of 34.3b

bsearch211.0ms

Steps
ItersRangePoint
8
4.924640387312937e-45
5.473977791176249e-42
5.2024432226242543e-45
8
-6.990724105819741e+111
-2.6156774686163576e+108
-1.569310777886352e+111

simplify10.0ms

Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
02942
13838
done3838

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.1s1087×body2560valid
959.0ms5806×body80valid
335.0ms2994×body80nan
294.0ms930×body1280valid
195.0ms446×body640valid
89.0ms210×body320valid
58.0ms117×body5120valid
14.0ms116×body160valid