Details

Time bar (total: 7.6s)

sample265.0ms

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

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.5b

localize12.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)))

rewrite81.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))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
23.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))))
23.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify69.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05493055
118262150
250022063

prune942.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.8b

localize11.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)))

rewrite79.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:
50.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series57.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06092985
123341993
250021940

prune941.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.8b

localize12.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)))

rewrite71.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:
42.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
14.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
05493056
118142150
250012063

prune1.0s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 5.8b

localize17.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)))

rewrite44.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:
33.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)))
2.0ms
(cbrt (- (* b_2 b_2) (* a c)))

series85.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)))
27.0ms
(cbrt (- (* b_2 b_2) (* a c)))

simplify181.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (165.0ms)

IterNodesCost
03521616
19031574
239561556
350011553

prune1.2s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 5.8b

regimes502.0ms

Accuracy

82.6% (4.9b remaining)

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

bsearch71.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03517
13517

end0.0ms

sample1.7s

Algorithm
intervals
Results
400.0ms1059×body2560valid
370.0ms5874×body80valid
270.0ms884×body1280valid
174.0ms2865×body80nan
108.0ms448×body640valid
54.0ms117×body5120valid
38.0ms208×body320valid
17.0ms126×body160valid