Details

Time bar (total: 9.3s)

sample62.0ms

Algorithm
intervals
Results
13.0ms268×body80nan
12.0ms112×body320valid
9.0ms524×pre80true
7.0ms102×body160valid
2.0ms15×body640valid
1.0ms27×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
28.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt
116×*-un-lft-identity
60×times-frac
42×unswap-sqr
36×add-cube-cbrt associate-*l*
30×difference-of-squares
28×distribute-lft-out
24×sqrt-prod
18×associate-*r*
14×distribute-rgt-neg-in
12×associate-/r* *-commutative distribute-lft-out--
10×add-log-exp
add-exp-log add-cbrt-cube
swap-sqr
pow1 associate-/l*
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num cbrt-unprod div-inv
Counts
4 → 178
Calls
4 calls:
21.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(- (* b b) (* (* 4.0 a) c))
39.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series301.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
48.0ms
(- (* b b) (* (* 4.0 a) c))
103.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify73.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06282253
125172157
250012140

prune316.0ms

Filtered
190 candidates to 109 candidates (57.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1864190
Fresh000
Picked101
Done000
Total1874191

Merged error: 0.1b

Counts
191 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite345.0ms

Algorithm
rewrite-expression-head
Rules
1801×*-un-lft-identity
1346×times-frac
946×add-sqr-sqrt
408×distribute-lft-out--
400×distribute-lft-out
385×add-cube-cbrt
377×associate-*l*
217×difference-of-squares
168×associate-*r*
101×distribute-rgt-neg-in sqrt-prod
74×unswap-sqr
69×associate-/l*
59×*-commutative
28×associate-/r/
26×associate-/r*
23×associate-/l/
18×add-exp-log add-cbrt-cube
16×flip3-- flip--
15×div-inv
10×add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg diff-log div-sub swap-sqr clear-num
associate-+l- sub-neg flip3-+ prod-exp cbrt-unprod flip-+
associate--l- neg-sub0 neg-log
Counts
4 → 896
Calls
4 calls:
22.0ms
(- (* b b) (* (* 4.0 a) c))
33.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
109.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
87.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
122.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
168.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify226.0ms

Algorithm
egg-herbie
Counts
908 → 908
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0174024064
1500222948

prune1.3s

Filtered
908 candidates to 285 candidates (31.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New9026908
Fresh213
Picked101
Done000
Total9057912

Merged error: 0b

Counts
912 → 7

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.1b
(* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.3b
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))))

rewrite294.0ms

Algorithm
rewrite-expression-head
Rules
1193×*-un-lft-identity
666×times-frac
606×add-sqr-sqrt
461×associate-*l*
447×distribute-rgt-neg-in
420×associate-*r*
406×distribute-lft-neg-in
304×distribute-lft-out
257×add-cube-cbrt
240×distribute-lft-out--
98×unswap-sqr
97×difference-of-squares
58×neg-mul-1
43×*-commutative
41×sqrt-prod
37×associate-/r*
18×add-exp-log add-cbrt-cube associate-/l*
10×add-log-exp
pow1
prod-exp cbrt-unprod distribute-neg-frac
sub-neg distribute-neg-in flip3-- associate-*r/ flip--
cbrt-undiv diff-log swap-sqr div-exp pow-prod-down
neg-sub0 distribute-rgt-in distribute-lft-in associate-/r/ associate-/l/
associate--l- frac-2neg flip3-+ div-sub distribute-frac-neg neg-log clear-num distribute-rgt-neg-out flip-+ div-inv
Counts
4 → 847
Calls
4 calls:
24.0ms
(- (* b b) (* (* 4.0 a) c))
34.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
50.0ms
(* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
110.0ms
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))))

series358.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
111.0ms
(* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
127.0ms
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))))

simplify201.0ms

Algorithm
egg-herbie
Counts
859 → 859
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0194021578
1500219113

prune1.6s

Filtered
859 candidates to 347 candidates (40.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New8563859
Fresh336
Picked011
Done000
Total8597866

Merged error: 0b

Counts
866 → 7

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(* a (sqrt (- (* b b) (* (* 4.0 a) c))))
0.1b
(+ (* 2.0 (* a b)) (* 2.0 (* a (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.3b
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (+ (* 2.0 (* a b)) (* 2.0 (* a (sqrt (- (* b b) (* (* 4.0 a) c)))))))

rewrite315.0ms

Algorithm
rewrite-expression-head
Rules
893×*-un-lft-identity
468×distribute-lft-out
427×associate-*r*
425×associate-*l*
360×times-frac
263×add-sqr-sqrt
169×add-cube-cbrt
147×distribute-lft-neg-in distribute-rgt-neg-in
96×distribute-lft-out--
87×*-commutative
40×distribute-rgt-out
38×unswap-sqr
30×difference-of-squares
25×sqrt-prod
21×neg-mul-1
20×associate-/r*
18×associate-/l*
add-exp-log add-cbrt-cube add-log-exp
pow1 swap-sqr
flip3-+ flip-+
flip3-- sqrt-div associate-*r/ associate-/r/ flip-- associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 sub-neg frac-2neg diff-log div-sub distribute-frac-neg div-exp pow-prod-down prod-exp clear-num sum-log cbrt-unprod div-inv
Counts
4 → 522
Calls
4 calls:
22.0ms
(- (* b b) (* (* 4.0 a) c))
32.0ms
(* a (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(+ (* 2.0 (* a b)) (* 2.0 (* a (sqrt (- (* b b) (* (* 4.0 a) c))))))
131.0ms
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (+ (* 2.0 (* a b)) (* 2.0 (* a (sqrt (- (* b b) (* (* 4.0 a) c)))))))

series434.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
84.0ms
(* a (sqrt (- (* b b) (* (* 4.0 a) c))))
113.0ms
(+ (* 2.0 (* a b)) (* 2.0 (* a (sqrt (- (* b b) (* (* 4.0 a) c))))))
189.0ms
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (+ (* 2.0 (* a b)) (* 2.0 (* a (sqrt (- (* b b) (* (* 4.0 a) c)))))))

simplify192.0ms

Algorithm
egg-herbie
Counts
534 → 534
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
0102110656
143888865
250028798

prune809.0ms

Filtered
534 candidates to 191 candidates (35.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New5331534
Fresh145
Picked101
Done101
Total5365541

Merged error: 0b

Counts
541 → 5

regimes95.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
04932
15632
26232
36232

end0.0ms

sample1.7s

Algorithm
intervals
Results
407.0ms3553×body320valid
302.0ms16112×pre80true
297.0ms8112×body80nan
232.0ms3003×body160valid
84.0ms523×body640valid
35.0ms921×body80valid