Details

Time bar (total: 12.6s)

sample56.0ms

Algorithm
intervals
Results
13.0ms279×body80nan
11.0ms146×body160valid
10.0ms535×pre80true
4.0ms110×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.3b
(- (* b b) (* (* 4.0 a) c))
28.5b
(+ (- 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:
22.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
41.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
21.0ms
(- (* b b) (* (* 4.0 a) c))
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series304.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06282253
125172157
250012140

prune342.0ms

Filtered
190 candidates to 109 candidates (57.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1846190
Fresh000
Picked101
Done000
Total1856191

Merged error: 0.3b

Counts
191 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite329.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:
38.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
105.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
25.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series422.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
126.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
48.0ms
(- (* b b) (* (* 4.0 a) c))
170.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New8999908
Fresh415
Picked101
Done000
Total90410914

Merged error: 0b

Counts
914 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite279.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:
44.0ms
(* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
38.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.0ms
(- (* b b) (* (* 4.0 a) c))
106.0ms
(/ (- (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c)))) (* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))))

series365.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (* 2.0 a) (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
50.0ms
(- (* b b) (* (* 4.0 a) c))
129.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 (36.0ms)

IterNodesCost
0194021578
1500219113

prune1.5s

Filtered
859 candidates to 347 candidates (40.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New8536859
Fresh819
Picked101
Done000
Total8627869

Merged error: 0b

Counts
869 → 7

localize171.0ms

Local error

Found 4 expressions with local error:

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

rewrite715.0ms

Algorithm
rewrite-expression-head
Rules
1567×add-sqr-sqrt
1482×associate-*r*
1047×*-un-lft-identity
1002×associate-/r*
929×distribute-neg-frac
888×frac-times
674×distribute-rgt-neg-in
670×add-cube-cbrt
667×associate-/l*
638×times-frac
583×distribute-lft-neg-in
570×associate-*l*
286×unswap-sqr
197×difference-of-squares
188×distribute-lft-out--
171×*-commutative
91×sqrt-prod
64×frac-2neg clear-num
46×neg-mul-1
37×associate-*r/
24×associate-*l/
17×add-exp-log
11×add-cbrt-cube
10×add-log-exp
pow1
flip3-- div-exp prod-exp associate-/r/ flip-- div-inv
diff-log swap-sqr
cbrt-undiv sub-neg rec-exp 1-exp cbrt-unprod
associate--l- neg-sub0 pow-flip pow-prod-down neg-log distribute-rgt-neg-out inv-pow
Counts
4 → 1712
Calls
4 calls:
39.0ms
(/ 1 (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
456.0ms
(* (/ 1 (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))) (- (/ (* 4.0 (* a c)) (* 2.0 a))))
37.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(- (* b b) (* (* 4.0 a) c))

series349.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ 1 (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
127.0ms
(* (/ 1 (- (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))) (- (/ (* 4.0 (* a c)) (* 2.0 a))))
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
50.0ms
(- (* b b) (* (* 4.0 a) c))

simplify299.0ms

Algorithm
egg-herbie
Counts
1724 → 1724
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
0500132548

prune3.9s

Filtered
1724 candidates to 931 candidates (54.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New172221724
Fresh246
Picked011
Done000
Total172471731

Merged error: 0b

Counts
1731 → 7

regimes124.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
03315
14315
25215
35215

end0.0ms

sample1.4s

Algorithm
intervals
Results
329.0ms4394×body160valid
306.0ms16499×pre80true
296.0ms8499×body80nan
133.0ms3606×body80valid