Details

Time bar (total: 9.9s)

sample57.0ms

Algorithm
intervals
Results
29.0ms278×body80valid
10.0ms101×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03618
16718
212318
316018
417518
517718
617718

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
53×add-sqr-sqrt
51×*-un-lft-identity
47×add-cube-cbrt
37×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
neg-mul-1
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 neg-log
Counts
4 → 140
Calls
4 calls:
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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
20.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify60.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04062988
114311956
250021869

prune1.2s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 7.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
3.6b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
4.9b
(/ (* a c) b)
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt times-frac associate-/r*
add-log-exp
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u distribute-lft-out--
flip3-- sqrt-prod flip--
distribute-rgt-neg-in frac-2neg sqrt-div prod-exp clear-num associate-/r/ cbrt-unprod div-inv associate-/l* difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 87
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
3.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
27.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
5.0ms
(/ (* a c) b)
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0423713
12101628
25002621

prune1.2s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
3.5b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
3.6b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×times-frac
30×add-exp-log *-un-lft-identity
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
pow1 associate-*l*
associate-/r* add-log-exp unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out--
flip3-- sqrt-prod flip-- div-inv
distribute-rgt-neg-in sqrt-div associate-/r/ difference-of-squares
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative associate-/l*
Counts
4 → 125
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
24.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
16.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
27.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify85.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07191446
136621263
250011212

prune2.0s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 6.5b

localize35.0ms

Local error

Found 4 expressions with local error:

4.1b
(cbrt (/ c (cbrt b)))
4.1b
(cbrt (/ c (cbrt b)))
4.1b
(cbrt (/ c (cbrt b)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
93×cbrt-prod
54×times-frac
45×add-sqr-sqrt
44×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div pow1/3 sqrt-prod div-inv
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 116
Calls
4 calls:
2.0ms
(cbrt (/ c (cbrt b)))
2.0ms
(cbrt (/ c (cbrt b)))
2.0ms
(cbrt (/ c (cbrt b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series88.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(cbrt (/ c (cbrt b)))
26.0ms
(cbrt (/ c (cbrt b)))
23.0ms
(cbrt (/ c (cbrt b)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify103.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0281978
1865952
23747944
35001923

prune2.6s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.5b

regimes439.0ms

Accuracy

91.9% (1.1b remaining)

Error of 8.0b against oracle of 6.9b and baseline of 20.0b

bsearch92.0ms

Steps
ItersRangePoint
7
7.8930669794294e+68
1.794276654474529e+70
1.7701741483501238e+70
9
-4.2740907516194833e+155
-3.627510837665024e+149
-1.3386170315757073e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08292
18292

end0.0ms

sample1.4s

Algorithm
intervals
Results
898.0ms8734×body80valid
282.0ms2874×body80nan