Details

Time bar (total: 17.3s)

sample80.0ms

Algorithm
intervals
Results
14.0ms29×body2560valid
14.0ms186×body80valid
10.0ms24×body1280valid
8.0ms102×body80nan
4.0ms14×body640valid
3.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify139.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12517
24616
38616
411916
512816
done12816

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.2b

localize38.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite151.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:
73.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
13.0ms
(- (* b b) (* (* 4.0 a) c))
44.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
18.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
196.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
67.0ms
(- (* b b) (* (* 4.0 a) c))
105.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
110.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.3s

Counts
102 → 102
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01671697
14501588
221151361
done50001352

prune614.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.5b

localize28.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.5b
(/ (/ (+ 0 (* (* c 4.0) a)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.9b
(/ (+ 0 (* (* c 4.0) a)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite218.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-cbrt-cube add-exp-log
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
clear-num frac-2neg sqrt-div diff-log prod-exp cbrt-unprod
associate--l- neg-sub0 rem-sqrt-square sub-neg sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
25.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
99.0ms
(/ (/ (+ 0 (* (* c 4.0) a)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
65.0ms
(/ (+ 0 (* (* c 4.0) a)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
12.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series746.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
256.0ms
(/ (/ (+ 0 (* (* c 4.0) a)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
266.0ms
(/ (+ 0 (* (* c 4.0) a)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify572.0ms

Counts
244 → 244
Iterations

Useful iterations: done (556.0ms)

IterNodesCost
033810067
18557629
done50006631

prune1.2s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.4b

localize72.0ms

Local error

Found 4 expressions with local error:

10.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
11.1b
(/ (+ 0 (* (* c 4.0) a)) (- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
12×times-frac
10×fma-neg prod-diff
add-log-exp
distribute-lft-neg-in pow1 distribute-rgt-neg-in add-cbrt-cube add-exp-log sqrt-prod
difference-of-squares
expm1-log1p-u associate-/r* flip3-- sqrt-div log1p-expm1-u flip--
associate-/l*
rem-sqrt-square neg-mul-1 sqrt-pow1 pow1/2 diff-log associate-/r/ associate-/l/
associate--l- neg-sub0 cbrt-undiv clear-num sub-neg frac-2neg flip3-+ div-exp neg-log flip-+ div-inv
Counts
4 → 108
Calls
4 calls:
13.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
34.0ms
(/ (+ 0 (* (* c 4.0) a)) (- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series640.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
326.0ms
(/ (+ 0 (* (* c 4.0) a)) (- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))))
112.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
101.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.8s

Counts
120 → 120
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01904229
14852517
228922380
done50012379

prune854.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite180.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:
91.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
13.0ms
(- (* b b) (* (* 4.0 a) c))
57.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series466.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
71.0ms
(- (* b b) (* (* 4.0 a) c))
127.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
99.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify2.4s

Counts
164 → 164
Iterations

Useful iterations: done (2.4s)

IterNodesCost
02614025
16743498
233053147
done50003072

prune689.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.4b

regimes483.0ms

Accuracy

85.6% (3.9b remaining)

Error of 9.4b against oracle of 5.5b and baseline of 32.8b

bsearch394.0ms

Steps
ItersRangePoint
7
1.9371672431899034e+133
5.16149553175908e+134
2.1254018088008333e+133
9
1.657231371314425e-305
1.760208242016082e-296
1.495170435206392e-301
9
-3.792961868720521e+75
-7.261872368850313e+67
-3.5695008721667037e+75

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03969
14867
24967
done4967

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.3s5961×body80valid
707.0ms1054×body2560valid
366.0ms877×body1280valid
271.0ms2946×body80nan
245.0ms455×body640valid
64.0ms97×body5120valid
52.0ms214×body320valid
17.0ms111×body160valid