Details

Time bar (total: 4.9s)

sample41.0ms

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

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

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.4b
(- (* b b) (* (* 4.0 a) c))
2.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.4b
(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:
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
4.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series278.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
41.0ms
(- (* b b) (* (* 4.0 a) c))
73.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0438854
11702750
25001735

prune249.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New957102
Fresh000
Picked011
Done000
Total958103

Merged error: 6.4b

Counts
103 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
0.4b
(- (* b b) (* (* 4.0 a) c))
2.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
19×*-un-lft-identity
14×add-sqr-sqrt
13×add-cbrt-cube
11×add-cube-cbrt
10×fma-def prod-exp add-log-exp
pow1 associate-*r*
distribute-rgt-neg-in associate-*l*
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u distribute-lft-out
distribute-lft-neg-in flip3-+ times-frac sqrt-prod flip-+
cbrt-undiv frac-times rec-exp flip3-- sqrt-div 1-exp associate-*l/ sum-log flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 100
Calls
4 calls:
15.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
4.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series295.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
46.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05141011
12322856
25001843

prune262.0ms

Filtered
112 candidates to 84 candidates (75.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1102112
Fresh156
Picked101
Done011
Total1128120

Merged error: 6.4b

Counts
120 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
20×fma-def *-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt add-log-exp
distribute-rgt-neg-in
pow1 distribute-lft-neg-in sqrt-prod
add-exp-log expm1-log1p-u sqrt-div sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 88
Calls
4 calls:
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series291.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0234668
1888610
23709588
35001584

prune339.0ms

Filtered
100 candidates to 88 candidates (88.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh066
Picked011
Done011
Total1008108

Merged error: 6.4b

Counts
108 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.7b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
9.9b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite61.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:
11.0ms
(- (- 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))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
147.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
179.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify146.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
08295119
137633863
250013860

prune492.0ms

Filtered
244 candidates to 141 candidates (57.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2413244
Fresh145
Picked011
Done112
Total2439252

Merged error: 6.3b

Counts
252 → 9

regimes248.0ms

Accuracy

82.2% (5.1b remaining)

Error of 10.6b against oracle of 5.4b and baseline of 34.2b

bsearch124.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03525
13525

end0.0ms

sample1.2s

Algorithm
intervals
Results
267.0ms1077×body2560valid
250.0ms5829×body80valid
181.0ms881×body1280valid
122.0ms3043×body80nan
74.0ms445×body640valid
33.0ms111×body5120valid
29.0ms248×body320valid
10.0ms124×body160valid