Details

Time bar (total: 16.6s)

sample78.0ms

Algorithm
intervals
Results
13.0ms36×body2560valid
11.0ms179×body80valid
7.0ms28×body1280valid
4.0ms79×body80nan
3.0ms15×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify80.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.6b
(- (* b b) (* (* 4.0 a) c))
21.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite204.0ms

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

series490.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
135.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
58.0ms
(- (* b b) (* (* 4.0 a) c))
119.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.3s

Counts
102 → 102
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01671697
14331584
214861361
done50001347

prune515.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.3b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
0.5b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.6b
(- (* b b) (* (* 4.0 a) c))
21.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite201.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:
79.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
87.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
10.0ms
(- (* b b) (* (* 4.0 a) c))
18.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series460.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
113.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
51.0ms
(- (* b b) (* (* 4.0 a) c))
85.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.2s

Counts
164 → 164
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02614025
15873484
216523082
done50012938

prune398.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
0.6b
(- (* b b) (* (* 4.0 a) c))
21.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 66
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- (* b b) (* (* 4.0 a) c))
86.0ms
(- (* b b) (* (* 4.0 a) c))
101.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
103.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify2.6s

Counts
78 → 78
Iterations

Useful iterations: done (2.6s)

IterNodesCost
0711146
11681050
2574952
32407952
done5000936

prune863.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.2b

localize42.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
4.5b
(/ (/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
8.9b
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite229.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff flip-+
Counts
4 → 158
Calls
4 calls:
12.0ms
(- (* b b) (* (* 4.0 a) c))
104.0ms
(/ (/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
89.0ms
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
12.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series714.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (* b b) (* (* 4.0 a) c))
246.0ms
(/ (/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
269.0ms
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
134.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.7s

Counts
170 → 170
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02625076
16444511
227154181
done50024179

prune814.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.2b

regimes315.0ms

Accuracy

83.4% (4.7b remaining)

Error of 10.5b against oracle of 5.7b and baseline of 34.3b

bsearch151.0ms

Steps
ItersRangePoint
5
1.8656011488683937e-53
5.89324344694736e-53
2.649990358912619e-53
7
-3.4482088762076956e+69
-1.445974953615168e+68
-1.5665772347360486e+69

simplify6.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.1s5914×body80valid
658.0ms1022×body2560valid
470.0ms872×body1280valid
362.0ms2922×body80nan
203.0ms467×body640valid
130.0ms125×body5120valid
55.0ms236×body320valid
17.0ms109×body160valid