Details

Time bar (total: 5.4s)

sample59.0ms

Algorithm
intervals
Results
13.0ms256×body80nan
11.0ms146×body160valid
10.0ms512×pre80true
5.0ms48×body320valid
2.0ms62×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.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: 42.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series304.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
110.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
80.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

prune244.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New993102
Fresh000
Picked101
Done000
Total1003103

Merged error: 0.2b

Counts
103 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(sqrt (- (* 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))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff flip-+
Counts
4 → 158
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
13.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))

series450.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
181.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
149.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

simplify128.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
06742663
134712411
250012406

prune455.0ms

Filtered
170 candidates to 117 candidates (68.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1646170
Fresh112
Picked101
Done000
Total1667173

Merged error: 0b

Counts
173 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(sqrt (- (* 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))))) (/ 1 (* 2.0 a)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
58×*-un-lft-identity
51×add-exp-log
46×times-frac
30×add-cube-cbrt
27×associate-*l* add-cbrt-cube
20×prod-exp
16×div-exp
14×distribute-lft-out-- difference-of-squares
10×sqrt-prod
cbrt-undiv cbrt-unprod
pow1 distribute-rgt-neg-in associate-*r* associate-/r*
add-log-exp
expm1-log1p-u rec-exp flip3-- 1-exp associate-/r/ flip-- log1p-expm1-u
div-inv associate-/l*
sqrt-div associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 153
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))

series448.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
182.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
147.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))

simplify153.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07662388
142392056
250012056

prune418.0ms

Filtered
165 candidates to 110 candidates (66.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1650165
Fresh066
Picked011
Done000
Total1657172

Merged error: 0b

Counts
172 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
152×add-exp-log
120×prod-diff
92×add-sqr-sqrt add-cbrt-cube
89×*-un-lft-identity
85×add-cube-cbrt
73×prod-exp
64×sqrt-prod
62×distribute-rgt-in distribute-lft-in
46×div-exp
41×cbrt-unprod
37×distribute-rgt-neg-in
36×distribute-lft-neg-in
26×cbrt-undiv
12×neg-mul-1
10×pow1
rec-exp 1-exp
associate-*r*
flip3-- times-frac associate-*l* associate-/r/ flip--
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u associate-/l* add-log-exp
div-inv
sub-neg pow-flip frac-2neg sqrt-div pow-prod-down associate-*l/ clear-num associate-/r* distribute-lft-out-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative inv-pow unswap-sqr
Counts
4 → 270
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
23.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series319.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
144.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
87.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012908003
150025743

prune348.0ms

Filtered
282 candidates to 96 candidates (34.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2820282
Fresh055
Picked011
Done011
Total2827289

Merged error: 0b

Counts
289 → 7

regimes106.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
13114
23114

end0.0ms

sample1.5s

Algorithm
intervals
Results
359.0ms4844×body160valid
310.0ms16358×pre80true
301.0ms8358×body80nan
146.0ms1319×body320valid
68.0ms1837×body80valid