Details

Time bar (total: 17.1s)

sample109.0ms

Algorithm
intervals
Results
25.0ms102×body80nan
17.0ms186×body80valid
16.0ms29×body2560valid
11.0ms24×body1280valid
5.0ms14×body640valid
4.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify80.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01417
12517
24616
38716
412016
512916
done12916

prune22.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.2b

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

rewrite153.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:
90.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
7.0ms
(- (* b b) (* 4.0 (* a c)))
36.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
17.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series474.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
62.0ms
(- (* b b) (* 4.0 (* a c)))
151.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
87.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.1s

Counts
102 → 102
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01651697
14481588
218731361
done50011352

prune681.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.5b

localize62.0ms

Local error

Found 4 expressions with local error:

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

rewrite293.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:
38.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
136.0ms
(/ (/ (+ 0 (* a (* c 4.0))) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
90.0ms
(/ (+ 0 (* a (* c 4.0))) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
17.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series778.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
201.0ms
(/ (/ (+ 0 (* a (* c 4.0))) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
312.0ms
(/ (+ 0 (* a (* c 4.0))) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
122.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify559.0ms

Counts
244 → 244
Iterations

Useful iterations: done (541.0ms)

IterNodesCost
033710067
18547629
done50006631

prune1.3s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.4b

localize71.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 (* a (* c 4.0))) (- (- 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))))

rewrite124.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:
23.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
59.0ms
(/ (+ 0 (* a (* c 4.0))) (- (- 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))))
19.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series573.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
264.0ms
(/ (+ 0 (* a (* c 4.0))) (- (- b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))))))
84.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
136.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.6s

Counts
120 → 120
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01894229
14842517
228982380
done50012379

prune851.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.4b

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

rewrite149.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:
59.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
7.0ms
(- (* b b) (* 4.0 (* a c)))
58.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series538.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
83.0ms
(- (* b b) (* 4.0 (* a c)))
128.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
118.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify2.1s

Counts
164 → 164
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02594025
16713498
235623147
done50003072

prune740.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.4b

regimes515.0ms

Accuracy

85.5% (3.9b remaining)

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

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

simplify12.0ms

Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
03969
14867
24967
done4967

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.2s5961×body80valid
795.0ms877×body1280valid
605.0ms1054×body2560valid
246.0ms2946×body80nan
204.0ms455×body640valid
56.0ms97×body5120valid
46.0ms214×body320valid
16.0ms111×body160valid