Details

Time bar (total: 6.0s)

sample71.0ms

Algorithm
intervals
Results
18.0ms195×body80valid
17.0ms33×body2560valid
9.0ms27×body1280valid
6.0ms65×body80nan
3.0msbody5120valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite76.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:
45.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
3.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series285.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
43.0ms
(- (* b b) (* 4.0 (* a c)))
76.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify77.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05903305
121012212
250022128

prune345.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
60×add-sqr-sqrt
57×*-un-lft-identity
49×add-cube-cbrt
35×sqrt-prod
23×add-exp-log distribute-rgt-neg-in
21×distribute-lft-neg-in
13×add-cbrt-cube
11×fma-neg
10×prod-exp add-log-exp
pow1 neg-mul-1 associate-*r* associate-*l*
flip3-- flip--
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
times-frac diff-log
cbrt-undiv frac-times sub-neg rec-exp sqrt-div 1-exp associate-*l/
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 165
Calls
4 calls:
57.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
3.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series286.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
43.0ms
(- (* b b) (* 4.0 (* a c)))
77.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify88.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06563422
125942238
250012193

prune329.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite77.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:
43.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
3.0ms
(- (* b b) (* 4.0 (* a c)))
20.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
49.0ms
(- (* b b) (* 4.0 (* a c)))
81.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify76.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05903306
121012212
250022128

prune342.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
89×add-sqr-sqrt
88×*-un-lft-identity
68×add-cube-cbrt
67×times-frac
61×prod-diff
38×sqrt-prod
26×distribute-rgt-neg-in
25×add-exp-log
21×distribute-lft-neg-in
13×associate-/r* add-cbrt-cube
12×div-exp
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
neg-mul-1 flip3-- flip--
pow1
cbrt-undiv div-inv
expm1-log1p-u log1p-expm1-u
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 205
Calls
4 calls:
30.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
45.0ms
(- (* b b) (* 4.0 (* a c)))
81.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
75.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify103.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07184221
130992976
250012863

prune345.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.9b

regimes259.0ms

Accuracy

81.4% (5.2b remaining)

Error of 11.2b against oracle of 6.0b and baseline of 34.0b

bsearch356.0ms

Steps
ItersRangePoint
10
9.168682727753708e+124
1.4581761209996442e+140
1.0577517130489048e+130
10
-4.4698229087150014e-60
-7.90650715848996e-79
-3.136977041606729e-74
10
-1.003617951747773e+25
-9531903230471.172
-9.847501781463365e+24
7
-1.4072277076308412e+56
-5.8205596871901896e+54
-5.874864305580093e+54

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04732
14732

end0.0ms

sample2.0s

Algorithm
intervals
Results
549.0ms5911×body80valid
448.0ms1057×body2560valid
303.0ms865×body1280valid
231.0ms2712×body80nan
123.0ms434×body640valid
46.0ms93×body5120valid
45.0ms208×body320valid
20.0ms118×body160valid