Details

Time bar (total: 4.9s)

sample278.0ms

Algorithm
intervals
Results
7.0ms206×body80valid
6.0ms32×body2560valid
4.0ms103×body80nan
3.0ms23×body1280valid
2.0ms19×body640valid
0.0msbody320valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

prune4.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: 33.7b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.8b
(- (* b_2 b_2) (* a c))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
23.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
68.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
38.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0389850
11366779
25001753

prune272.0ms

Filtered
112 candidates to 88 candidates (78.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10111112
Fresh000
Picked101
Done000
Total10211113

Merged error: 6.1b

Counts
113 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.8b
(- (* b_2 b_2) (* a c))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite35.0ms

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

series250.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
69.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
35.0ms
(- (* b_2 b_2) (* a c))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0479897
12066778
25003729

prune252.0ms

Filtered
116 candidates to 91 candidates (78.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh2810
Picked011
Done000
Total11710127

Merged error: 6.1b

Counts
127 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.8b
(- (* b_2 b_2) (* a c))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
137×add-sqr-sqrt
110×*-un-lft-identity
84×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
24×associate-/r*
19×prod-diff
15×add-exp-log
13×distribute-lft-out--
associate-/r/ add-cbrt-cube
add-log-exp
flip3-- fma-neg div-exp flip--
pow1
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv associate-/l*
sub-neg rec-exp sqrt-div diff-log 1-exp
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 196
Calls
4 calls:
13.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
8.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
32.0ms
(- (* b_2 b_2) (* a c))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify91.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06582518
129482155
250022004

prune280.0ms

Filtered
208 candidates to 104 candidates (50.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2062208
Fresh178
Picked011
Done011
Total20711218

Merged error: 6.1b

Counts
218 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 a) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.8b
(- (* b_2 b_2) (* a c))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
789×times-frac
507×add-sqr-sqrt
420×*-un-lft-identity
334×add-cube-cbrt
86×difference-of-squares
58×sqrt-prod
44×add-exp-log
43×distribute-lft-out--
40×div-inv
32×div-exp
29×associate-/r/
24×associate-/r*
19×prod-diff
17×flip3-- flip--
16×add-cbrt-cube
13×associate-/l*
cbrt-undiv rec-exp 1-exp add-log-exp
fma-neg
pow1
expm1-log1p-u log1p-expm1-u
sub-neg sqrt-div diff-log
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 457
Calls
4 calls:
24.0ms
(/ (/ 1 a) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
8.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ (/ 1 a) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
31.0ms
(- (* b_2 b_2) (* a c))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify113.0ms

Algorithm
egg-herbie
Counts
469 → 469
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
017757995
150027502

prune800.0ms

Filtered
469 candidates to 265 candidates (56.5%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New4690469
Fresh088
Picked011
Done022
Total46911480

Merged error: 6.1b

Counts
480 → 11

regimes237.0ms

Accuracy

82% (5.1b remaining)

Error of 10.5b against oracle of 5.4b and baseline of 33.9b

bsearch90.0ms

Steps
ItersRangePoint
10
2.319058093766752e-122
4.8666627780759835e-109
5.807942761752216e-116
8
-2.7230751788376357e+101
-3.525651047217798e+97
-8.43375075978364e+100

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample989.0ms

Algorithm
intervals
Results
206.0ms1056×body2560valid
187.0ms5771×body80valid
150.0ms956×body1280valid
87.0ms2944×body80nan
56.0ms480×body640valid
27.0ms115×body5120valid
20.0ms227×body320valid
7.0ms111×body160valid