Details

Time bar (total: 5.4s)

sample38.0ms

Algorithm
intervals
Results
7.0ms181×body80valid
6.0ms29×body2560valid
4.0ms26×body1280valid
4.0ms105×body80nan
2.0ms14×body640valid
1.0msbody5120valid
1.0ms10×body160valid
0.0msbody320valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.4b
(- (* b b) (* (* 3.0 a) c))
2.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.4b
(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:
14.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)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
47.0ms
(- (* b b) (* (* 3.0 a) c))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0433855
11670751
25001736

prune255.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: 6.4b

Counts
103 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
0.4b
(- (* b b) (* (* 3.0 a) c))
2.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite35.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:
13.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)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) a)
42.0ms
(- (* b b) (* (* 3.0 a) c))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify70.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06432037
124921929
250011905

prune351.0ms

Filtered
169 candidates to 121 candidates (71.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1672169
Fresh279
Picked011
Done000
Total16910179

Merged error: 6.4b

Counts
179 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
0.4b
(- (* b b) (* (* 3.0 a) c))
2.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt *-un-lft-identity
31×times-frac
26×add-exp-log
24×add-cube-cbrt
19×associate-*r*
16×add-cbrt-cube
13×associate-*l*
10×fma-def add-log-exp
div-exp prod-exp distribute-lft-out
pow1 distribute-rgt-neg-in
unswap-sqr
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
distribute-lft-neg-in sqrt-prod
rec-exp flip3-- sqrt-div 1-exp sum-log flip-- div-inv
+-commutative neg-sub0 frac-times associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down neg-log associate-*l/ *-commutative flip-+
Counts
4 → 124
Calls
4 calls:
19.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 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)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
44.0ms
(- (* b b) (* (* 3.0 a) c))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06451311
131291145
250011130

prune290.0ms

Filtered
136 candidates to 98 candidates (72.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh088
Picked011
Done011
Total13610146

Merged error: 6.4b

Counts
146 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.8b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.9b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
21.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite54.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))))
16.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)))

series503.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
172.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
179.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify149.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
08255119
137383863
250013860

prune474.0ms

Filtered
244 candidates to 141 candidates (57.8%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New2404244
Fresh077
Picked011
Done022
Total24014254

Merged error: 6.3b

Counts
254 → 14

regimes774.0ms

Accuracy

82.3% (5.0b remaining)

Error of 10.5b against oracle of 5.4b and baseline of 34.0b

bsearch114.0ms

Steps
ItersRangePoint
10
9.690537272714817e-102
1.7794146904278537e-90
1.761458221173807e-90
8
-1.0818597257815559e+95
-2.772945999025709e+91
-8.176952505904844e+94

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.1s

Algorithm
intervals
Results
238.0ms1078×body2560valid
220.0ms5828×body80valid
154.0ms880×body1280valid
103.0ms3042×body80nan
67.0ms446×body640valid
33.0ms111×body5120valid
26.0ms248×body320valid
11.0ms124×body160valid