Details

Time bar (total: 5.1s)

sample45.0ms

Algorithm
intervals
Results
8.0ms35×body2560valid
7.0ms191×body80valid
7.0ms35×body1280valid
4.0ms115×body80nan
2.0ms11×body640valid
1.0msbody5120valid
1.0msbody160valid
0.0msbody320valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.2b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
74.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
27.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
44.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
65.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify75.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05903305
121012212
250022128

prune538.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.2b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/r*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/r/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 156
Calls
4 calls:
43.0ms
(/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
28.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
13.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series332.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
40.0ms
(- (* b b) (* 4.0 (* a c)))
68.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
65.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify74.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05463279
120652181
250022098

prune321.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 5.8b

localize17.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
40×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
pow1 neg-mul-1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 141
Calls
4 calls:
30.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
10.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series252.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
62.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
59.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
63.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify59.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03753011
112731987
250011900

prune371.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 5.8b

localize16.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
40×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
pow1 neg-mul-1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 141
Calls
4 calls:
27.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
13.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series255.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
64.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
65.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
61.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify64.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03753008
112731987
250011900

prune368.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 5.8b

regimes343.0ms

Accuracy

84.5% (4.4b remaining)

Error of 9.9b against oracle of 5.5b and baseline of 34.0b

bsearch102.0ms

Steps
ItersRangePoint
9
1.7695728335377845e+74
3.738006738925262e+80
2.910803917041586e+80
8
-2.4986524154890664e-82
-7.620401823751653e-85
-2.4336717856540716e-82

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03616
13616

end0.0ms

sample1.2s

Algorithm
intervals
Results
260.0ms1061×body2560valid
228.0ms5906×body80valid
167.0ms913×body1280valid
107.0ms2949×body80nan
69.0ms465×body640valid
29.0ms97×body5120valid
21.0ms196×body320valid
9.0ms119×body160valid