Details

Time bar (total: 7.0s)

sample58.0ms

Algorithm
intervals
Results
13.0ms193×body80valid
11.0ms33×body2560valid
8.0ms30×body1280valid
6.0ms102×body80nan
2.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.5b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.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:
45.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
17.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (* b_2 b_2) (* a c))
15.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05493055
118262150
250022063

prune890.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.8b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.8b
(- (* b_2 b_2) (* a c))
1.0b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite84.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:
53.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
17.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
8.0ms
(- (* b_2 b_2) (* a c))
15.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06092985
123341993
250021940

prune890.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.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:
44.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
17.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (* b_2 b_2) (* a c))
15.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05493055
118262150
250022063

prune957.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 5.8b

localize15.0ms

Local error

Found 4 expressions with local error:

23.7b
(sqrt (* (* (cbrt (- (* b_2 b_2) (* a c))) (cbrt (- (* b_2 b_2) (* a c)))) (cbrt (- (* b_2 b_2) (* a c)))))
24.5b
(cbrt (- (* b_2 b_2) (* a c)))
24.5b
(cbrt (- (* b_2 b_2) (* a c)))
24.5b
(cbrt (- (* b_2 b_2) (* a c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-- flip--
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 97
Calls
4 calls:
35.0ms
(sqrt (* (* (cbrt (- (* b_2 b_2) (* a c))) (cbrt (- (* b_2 b_2) (* a c)))) (cbrt (- (* b_2 b_2) (* a c)))))
2.0ms
(cbrt (- (* b_2 b_2) (* a c)))
2.0ms
(cbrt (- (* b_2 b_2) (* a c)))
3.0ms
(cbrt (- (* b_2 b_2) (* a c)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (* (* (cbrt (- (* b_2 b_2) (* a c))) (cbrt (- (* b_2 b_2) (* a c)))) (cbrt (- (* b_2 b_2) (* a c)))))
22.0ms
(cbrt (- (* b_2 b_2) (* a c)))
22.0ms
(cbrt (- (* b_2 b_2) (* a c)))
25.0ms
(cbrt (- (* b_2 b_2) (* a c)))

simplify183.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (169.0ms)

IterNodesCost
03521616
19031574
239561556
350011553

prune1.1s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 5.8b

regimes478.0ms

Accuracy

82.6% (4.9b remaining)

Error of 10.8b against oracle of 5.9b and baseline of 33.9b

bsearch65.0ms

Steps
ItersRangePoint
7
7.8930669794294e+68
1.794276654474529e+70
1.7701741483501238e+70
9
-1.8496456666423901e-16
-6.821017948976997e-23
-6.931537337855704e-23

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.6s

Algorithm
intervals
Results
367.0ms1059×body2560valid
341.0ms5874×body80valid
257.0ms884×body1280valid
157.0ms2865×body80nan
103.0ms448×body640valid
49.0ms117×body5120valid
35.0ms208×body320valid
14.0ms126×body160valid