Details

Time bar (total: 5.2s)

sample37.0ms

Algorithm
intervals
Results
8.0ms37×body2560valid
6.0ms180×body80valid
4.0ms23×body1280valid
3.0ms75×body80nan
2.0ms17×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify12.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.1b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite32.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:
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series305.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0433855
11670751
25001736

prune247.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9210102
Fresh000
Picked101
Done000
Total9310103

Merged error: 5.9b

Counts
103 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
2.5b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
8.7b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite60.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:
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
18.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
13.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series461.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
142.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
175.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify146.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08255119
137383863
250013860

prune447.0ms

Filtered
244 candidates to 141 candidates (57.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2413244
Fresh279
Picked101
Done000
Total24410254

Merged error: 5.8b

Counts
254 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
2.5b
(/ (* (+ 0 (* 3.0 (* a c))) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))
8.7b
(* (+ 0 (* 3.0 (* a c))) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
23.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
82×add-sqr-sqrt
75×*-un-lft-identity
60×prod-diff
58×add-cube-cbrt
48×add-exp-log
37×sqrt-prod
30×add-cbrt-cube
27×associate-*r*
25×distribute-rgt-neg-in
24×times-frac
21×distribute-lft-neg-in
17×prod-exp
16×div-exp
10×fma-neg
cbrt-undiv cbrt-unprod
distribute-lft-out-- add-log-exp difference-of-squares
pow1 neg-mul-1
associate-/l/
expm1-log1p-u frac-times flip3-+ associate-*l/ flip-+ log1p-expm1-u
rec-exp flip3-- 1-exp associate-*l* flip-- unswap-sqr
sqrt-div diff-log associate-*r/ associate-/r/ un-div-inv div-inv
associate--l- neg-sub0 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down neg-log clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 200
Calls
4 calls:
11.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
18.0ms
(/ (* (+ 0 (* 3.0 (* a c))) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))
20.0ms
(* (+ 0 (* 3.0 (* a c))) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
7.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series471.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
151.0ms
(/ (* (+ 0 (* 3.0 (* a c))) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))
174.0ms
(* (+ 0 (* 3.0 (* a c))) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09104210
150022933

prune401.0ms

Filtered
212 candidates to 112 candidates (52.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2120212
Fresh099
Picked011
Done000
Total21210222

Merged error: 5.8b

Counts
222 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
0.6b
(- (* b b) (* (* 3.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
116×*-un-lft-identity
65×add-sqr-sqrt
64×add-cube-cbrt
26×distribute-lft-out
19×associate-/l*
16×distribute-rgt-neg-in
10×fma-def add-log-exp
add-exp-log add-cbrt-cube
pow1 div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv distribute-lft-neg-in div-exp associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- sqrt-div div-sub sum-log flip--
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff neg-log clear-num flip-+ associate-/l/
Counts
4 → 157
Calls
4 calls:
17.0ms
(/ (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
4.0ms
(- (* b b) (* (* 3.0 a) c))
9.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:
111.0ms
(/ (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
45.0ms
(- (* b b) (* (* 3.0 a) c))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06432037
124921929
250011905

prune322.0ms

Filtered
169 candidates to 121 candidates (71.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh088
Picked011
Done011
Total16811179

Merged error: 5.8b

Counts
179 → 11

regimes425.0ms

Accuracy

80.5% (5.3b remaining)

Error of 10.7b against oracle of 5.4b and baseline of 32.7b

bsearch115.0ms

Steps
ItersRangePoint
9
7.30455191105786e-90
1.8075577067303308e-84
1.4297233981116778e-84
7
-2.501148282372368e+59
-1.593441833549377e+57
-2.21751057489785e+59

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.1s

Algorithm
intervals
Results
225.0ms1050×body2560valid
218.0ms5823×body80valid
161.0ms883×body1280valid
96.0ms2908×body80nan
66.0ms488×body640valid
25.0ms243×body320valid
24.0ms91×body5120valid
9.0ms132×body160valid