Details

Time bar (total: 6.4s)

sample74.0ms

Algorithm
intervals
Results
19.0ms554×pre80true
14.0ms149×body160valid
13.0ms298×body80nan
6.0ms45×body320valid
3.0ms62×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

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: 44.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
40.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite30.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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
44.0ms
(- (* b b) (* (* 4.0 a) c))
107.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify53.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0438854
11702750
25002735

prune239.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New993102
Fresh000
Picked011
Done000
Total994103

Merged error: 0.2b

Counts
103 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
123×add-sqr-sqrt *-un-lft-identity
90×times-frac
79×add-cube-cbrt
61×prod-diff
41×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
11×fma-neg
10×add-log-exp
associate-/r*
cbrt-undiv neg-mul-1 div-exp
associate-/r/
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 231
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
17.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

series444.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(- (* b b) (* (* 4.0 a) c))
178.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
144.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

simplify153.0ms

Algorithm
egg-herbie
Counts
243 → 243
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
08325100
139673830
250013828

prune515.0ms

Filtered
243 candidates to 137 candidates (56.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2358243
Fresh112
Picked101
Done101
Total2389247

Merged error: 0b

Counts
247 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (fma b b (- 0 (* 4.0 (* a c)))))
0.1b
(- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c))))))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c)))))))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c))))))) (* 2.0 a))

rewrite47.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
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv
associate-/l/
frac-2neg 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 → 230
Calls
4 calls:
2.0ms
(sqrt (fma b b (- 0 (* 4.0 (* a c)))))
9.0ms
(- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c))))))
10.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c)))))))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c))))))) (* 2.0 a))

series494.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(sqrt (fma b b (- 0 (* 4.0 (* a c)))))
84.0ms
(- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c))))))
180.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c)))))))
152.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (fma b b (- 0 (* 4.0 (* a c))))))) (* 2.0 a))

simplify129.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07675084
131663826
250013733

prune459.0ms

Filtered
242 candidates to 132 candidates (54.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2420242
Fresh088
Picked011
Done000
Total2429251

Merged error: 0b

Counts
251 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))))) (* 2.0 a))
0.6b
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
0.7b
(pow (- (* b b) (* (* 4.0 a) c)) 3)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
166×add-sqr-sqrt
138×times-frac
96×*-un-lft-identity
60×difference-of-squares
56×add-cube-cbrt
52×cbrt-prod
50×sqrt-prod
42×associate-/l*
20×distribute-lft-out--
19×add-exp-log add-cbrt-cube
16×unpow-prod-down cube-prod
12×associate-/r* sqr-pow
10×distribute-rgt-neg-in
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
cube-div expm1-log1p-u log1p-expm1-u div-inv add-log-exp
pow-unpow associate-/l/
cube-mult cbrt-div frac-2neg unpow3 prod-exp clear-num cbrt-unprod
pow-to-exp pow-pow flip3-+ pow1/3 pow-exp rem-cbrt-cube flip-+ rem-cube-cbrt
Counts
4 → 217
Calls
4 calls:
19.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
27.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))))) (* 2.0 a))
5.0ms
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
5.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3)

series457.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
141.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))))) (* 2.0 a))
47.0ms
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
89.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3)

simplify161.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 2 (121.0ms)

IterNodesCost
08804267
145663879
250013878

prune622.0ms

Filtered
229 candidates to 144 candidates (62.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2281229
Fresh167
Picked011
Done011
Total2299238

Merged error: 0b

Counts
238 → 9

regimes125.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
13413
24013
34013

end0.0ms

sample1.9s

Algorithm
intervals
Results
461.0ms16159×pre80true
449.0ms4897×body160valid
376.0ms8159×body80nan
178.0ms1321×body320valid
84.0ms1782×body80valid