Details

Time bar (total: 5.2s)

sample71.0ms

Algorithm
intervals
Results
16.0ms209×body80valid
11.0ms31×body1280valid
11.0ms25×body2560valid
8.0ms103×body80nan
4.0ms15×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

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

Counts
2 → 1

localize11.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))
0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
17.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series292.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
45.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0438854
11702750
25001735

prune274.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New948102
Fresh000
Picked101
Done000
Total958103

Merged error: 3.6b

Counts
103 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.4b
(- (* b b) (* (* 4.0 a) c))
0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
17.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
48×*-un-lft-identity
29×add-sqr-sqrt
28×add-cube-cbrt
25×add-exp-log
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×fma-def distribute-lft-out add-log-exp
associate-/r/
distribute-rgt-neg-in
pow1
cbrt-undiv flip3-+ flip-+ div-inv
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 134
Calls
4 calls:
14.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
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)))

series333.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
43.0ms
(- (* b b) (* (* 4.0 a) c))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05561665
127071442
250011371

prune285.0ms

Filtered
146 candidates to 90 candidates (61.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1415146
Fresh437
Picked011
Done000
Total1459154

Merged error: 3.5b

Counts
154 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1 (* 2.0 a)) (/ 1 (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.4b
(- (* b b) (* (* 4.0 a) c))
0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
17.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
333×times-frac
224×*-un-lft-identity
125×add-sqr-sqrt
124×add-cube-cbrt
87×add-exp-log
58×div-exp
50×distribute-lft-out
31×div-inv
28×distribute-rgt-neg-in
25×add-cbrt-cube
21×associate-/r*
17×associate-/r/
15×rec-exp 1-exp
13×cbrt-undiv
12×prod-exp
10×fma-def add-log-exp
flip3-+ flip-+
associate-/l*
pow1
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
flip3-- sqrt-div sum-log flip-- cbrt-unprod
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff neg-log clear-num associate-/l/
Counts
4 → 283
Calls
4 calls:
19.0ms
(/ (/ 1 (* 2.0 a)) (/ 1 (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
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)))

series333.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
295 → 295
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011424786
150014210

prune443.0ms

Filtered
295 candidates to 134 candidates (45.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2941295
Fresh167
Picked011
Done011
Total2959304

Merged error: 3.5b

Counts
304 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (/ 1 (* 2.0 a)))
0.5b
(cbrt (/ 1 (* 2.0 a)))
0.5b
(* (cbrt (/ 1 (* 2.0 a))) (cbrt (/ 1 (* 2.0 a))))
17.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
50×cbrt-prod
30×add-sqr-sqrt
23×*-un-lft-identity
21×add-cube-cbrt
18×times-frac
12×pow1 swap-sqr
10×associate-*r* associate-*l*
pow1/3 div-inv
add-exp-log cbrt-div
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
sqrt-prod
sqrt-div pow-prod-down pow-sqr pow-prod-up
pow2 frac-times rem-sqrt-square flip3-- sqrt-pow1 pow-plus pow1/2 associate-*r/ associate-*l/ prod-exp *-commutative flip-- cbrt-unprod
Counts
4 → 112
Calls
4 calls:
3.0ms
(cbrt (/ 1 (* 2.0 a)))
4.0ms
(cbrt (/ 1 (* 2.0 a)))
9.0ms
(* (cbrt (/ 1 (* 2.0 a))) (cbrt (/ 1 (* 2.0 a))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series678.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(cbrt (/ 1 (* 2.0 a)))
192.0ms
(cbrt (/ 1 (* 2.0 a)))
229.0ms
(* (cbrt (/ 1 (* 2.0 a))) (cbrt (/ 1 (* 2.0 a))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0289885
11078816
25001722

prune330.0ms

Filtered
124 candidates to 85 candidates (68.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1240124
Fresh066
Picked011
Done022
Total1249133

Merged error: 3.5b

Counts
133 → 9

regimes177.0ms

Accuracy

88.7% (3.2b remaining)

Error of 8.9b against oracle of 5.7b and baseline of 33.9b

bsearch199.0ms

Steps
ItersRangePoint
9
1.7536266209730185e+54
9.156208036690931e+61
2.5096626454411205e+56
10
8.752895080382474e-191
7.198562597133285e-172
4.980465732074938e-179
4
-2.2709498629311444e+153
-1.3123487377944479e+153
-1.5396067403637575e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04929
15129
25129

end0.0ms

sample1.4s

Algorithm
intervals
Results
300.0ms1051×body2560valid
289.0ms5872×body80valid
205.0ms896×body1280valid
148.0ms2929×body80nan
83.0ms461×body640valid
36.0ms105×body5120valid
30.0ms216×body320valid
11.0ms107×body160valid