Details

Time bar (total: 4.0s)

sample307.0ms

Algorithm
intervals
Results
14.0ms42×body2560valid
12.0ms186×body80valid
6.0ms23×body1280valid
5.0ms79×body80nan
3.0ms14×body640valid
3.0msbody160valid
1.0msbody320valid
0.0msbody5120valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
2.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 171
Calls
4 calls:
47.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
29.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
33.0ms
(- (* b_2 b_2) (* a c))
71.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
76.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05493055
118262150
250022063

prune359.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.4b
(- (* b_2 b_2) (* a c))
2.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite93.0ms

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

series255.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
38.0ms
(- (* b_2 b_2) (* a c))
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify77.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06092985
123341993
250021940

prune328.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.5b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify6.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune10.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 5.5b

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (/ b_2 a))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*r*
10×times-frac
add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
pow1 associate-*l*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv expm1-log1p-u associate-*r/ div-exp pow-prod-down *-commutative log1p-expm1-u div-inv add-log-exp
Counts
1 → 34
Calls
1 calls:
9.0ms
(* 2 (/ b_2 a))

series18.0ms

Counts
1 → 3
Calls
1 calls:
18.0ms
(* 2 (/ b_2 a))

simplify67.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0166134
1730124
22975124
35002124

prune72.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 5.5b

regimes154.0ms

Accuracy

83.8% (4.6b remaining)

Error of 10.4b against oracle of 5.7b and baseline of 34.4b

bsearch116.0ms

Steps
ItersRangePoint
9
1.0966316111626227e+109
8.247031634266059e+117
3.669945833512195e+117
9
-4.966762827316324e-118
-1.3701001010226256e-126
-4.1515494582665793e-119

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03415
13415

end0.0ms

sample1.6s

Algorithm
intervals
Results
387.0ms5878×body80valid
349.0ms1067×body2560valid
250.0ms893×body1280valid
178.0ms2986×body80nan
97.0ms445×body640valid
47.0ms116×body5120valid
36.0ms223×body320valid
13.0ms114×body160valid