Details

Time bar (total: 5.2s)

sample308.0ms

Algorithm
intervals
Results
16.0ms194×body80valid
14.0ms36×body2560valid
8.0ms25×body1280valid
8.0ms100×body80nan
6.0ms13×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.8b
(- (* b_2 b_2) (* a c))
24.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
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 → 91
Calls
4 calls:
34.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
21.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
33.0ms
(- (* b_2 b_2) (* a c))
74.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0368965
11241910
25001901

prune277.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.8b
(- (* b_2 b_2) (* a c))
24.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×*-un-lft-identity
13×add-exp-log add-cube-cbrt associate-*r*
11×times-frac
10×add-log-exp
add-cbrt-cube
pow1 associate-*l*
flip3-- sqrt-prod flip--
prod-exp distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
frac-times sub-neg distribute-rgt-neg-in 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 → 89
Calls
4 calls:
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
53.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
82.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
36.0ms
(- (* b_2 b_2) (* a c))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0428881
11823791
25001771

prune254.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b_2 b_2) (* a c))
1.4b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
15.1b
(* (/ 1 a) (* a c))
24.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
16×*-un-lft-identity add-cbrt-cube
13×add-sqr-sqrt associate-*l*
12×add-cube-cbrt prod-exp
10×pow1 add-log-exp
times-frac
cbrt-unprod
div-exp
pow-prod-down sqrt-prod
cbrt-undiv rec-exp flip3-- sqrt-div 1-exp sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r* neg-log associate-*l/ *-commutative flip-+ div-inv
Counts
4 → 79
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
12.0ms
(* (/ 1 a) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* b_2 b_2) (* a c))
73.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(* (/ 1 a) (* a c))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0416490
11971383
25002371

prune245.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (* (/ 1 a) 0) (* (/ 1 1) c)) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
0.8b
(- (* b_2 b_2) (* a c))
1.4b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
24.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/r*
flip3-+ sqrt-prod flip-+ associate-/l/ associate-/l*
flip3-- sqrt-div associate-*l/ sum-log associate-/r/ flip--
cbrt-undiv +-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-exp neg-log frac-add clear-num div-inv
Counts
4 → 82
Calls
4 calls:
39.0ms
(/ (+ (* (/ 1 a) 0) (* (/ 1 1) c)) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
3.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(/ (+ (* (/ 1 a) 0) (* (/ 1 1) c)) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
37.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04171012
11833872
25001844

prune263.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.7b

regimes194.0ms

Accuracy

96.3% (0.9b remaining)

Error of 6.4b against oracle of 5.5b and baseline of 29.5b

bsearch192.0ms

Steps
ItersRangePoint
7
6.714891876596302e+121
1.686395921989292e+123
2.8930707274762056e+122
8
3.503395113734112e-306
2.2860026354415495e-302
1.3179246153427595e-303
8
-5.9769678902734345e+158
-1.9689745148643392e+154
-2.0079720992890853e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04424
14824
25224
35224

end0.0ms

sample1.9s

Algorithm
intervals
Results
485.0ms5865×body80valid
428.0ms1094×body2560valid
282.0ms873×body1280valid
221.0ms2925×body80nan
123.0ms452×body640valid
55.0ms102×body5120valid
48.0ms239×body320valid
18.0ms116×body160valid