Details

Time bar (total: 5.9s)

sample42.0ms

Algorithm
intervals
Results
7.0ms35×body2560valid
6.0ms181×body80valid
6.0ms33×body1280valid
4.0msbody5120valid
3.0ms92×body80nan
2.0ms17×body640valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.8b
(- (* b b) (* (* 3.0 a) c))
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series300.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
43.0ms
(- (* b b) (* (* 3.0 a) c))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0433855
11670751
25001736

prune288.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 7.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.2b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
11.7b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
19.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series480.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
147.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
181.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify147.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
08255119
137383863
250013860

prune538.0ms

Filtered
244 candidates to 141 candidates (57.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
16.1b
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
190×add-sqr-sqrt
188×times-frac
163×*-un-lft-identity
121×add-cube-cbrt
94×add-exp-log
85×associate-*r*
61×prod-diff
58×add-cbrt-cube
49×div-exp
43×sqrt-prod
31×distribute-rgt-neg-in
27×cbrt-undiv
26×associate-*l*
25×prod-exp
21×distribute-lft-neg-in
20×distribute-lft-out-- difference-of-squares
15×cbrt-unprod
11×fma-neg
10×add-log-exp
div-inv unswap-sqr
pow1 neg-mul-1 associate-/r/
flip3-- flip--
expm1-log1p-u rec-exp 1-exp log1p-expm1-u
diff-log
sub-neg sqrt-div
associate--l- neg-sub0 frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ *-commutative
Counts
4 → 288
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
56.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 3.0 a) c))
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
154.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify70.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015105648
150024129

prune688.0ms

Filtered
300 candidates to 163 candidates (54.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
16.2b
(* (/ 1 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
214×add-exp-log
202×add-sqr-sqrt
197×times-frac
168×*-un-lft-identity
121×add-cube-cbrt
120×div-exp
85×associate-*r*
65×prod-exp
61×prod-diff
58×add-cbrt-cube
43×sqrt-prod
31×distribute-rgt-neg-in
27×cbrt-undiv
26×associate-*l*
25×rec-exp 1-exp
21×distribute-lft-neg-in
20×distribute-lft-out-- difference-of-squares
15×cbrt-unprod
12×unswap-sqr
11×fma-neg
10×add-log-exp
div-inv
pow1 neg-mul-1 associate-/r/
flip3-- flip--
expm1-log1p-u log1p-expm1-u
diff-log
sub-neg sqrt-div
associate--l- neg-sub0 frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ *-commutative
Counts
4 → 322
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
57.0ms
(* (/ 1 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 3.0 a) c))
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
154.0ms
(* (/ 1 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify76.0ms

Algorithm
egg-herbie
Counts
334 → 334
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
016436157
150014727

prune670.0ms

Filtered
334 candidates to 161 candidates (48.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.9b

regimes339.0ms

Accuracy

85.9% (4.3b remaining)

Error of 10.0b against oracle of 5.7b and baseline of 36.1b

bsearch103.0ms

Steps
ItersRangePoint
9
1.4411111155905935e-45
3.477369949839467e-39
5.998855237299608e-44
7
-4.333566438159085e+154
-4.450998173879583e+152
-4.987323159316817e+152

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03917
13917

end0.0ms

sample1.1s

Algorithm
intervals
Results
235.0ms1057×body2560valid
216.0ms5836×body80valid
154.0ms878×body1280valid
99.0ms2892×body80nan
68.0ms459×body640valid
36.0ms135×body5120valid
30.0ms245×body320valid
7.0ms96×body160valid