Details

Time bar (total: 7.1s)

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.292969%

Guaranteed chance to sample good point: 62.826797%

Results
12.0ms40×body2560valid
9.0ms165×body80valid
8.0ms30×body1280valid
2.0ms11×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0ms13×body80invalid
1.0ms12×body80nan
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.4b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.8b
(- (* b b) (* (* 4.0 a) c))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
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 associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0396773
11550683
25001673

prune172.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New711182
Fresh000
Picked101
Done000
Total721183

Merged error: 5.2b

Counts
83 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.4b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.8b
(- (* b b) (* (* 4.0 a) c))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
Calls
4 calls:
12.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05281585
125961372
250011305

prune165.0ms

Filtered
72 candidates to 126 candidates (-75.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh4610
Picked011
Done000
Total12710137

Merged error: 5.1b

Counts
137 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (* 2.0 a)) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.8b
(- (* b b) (* (* 4.0 a) c))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
19×add-sqr-sqrt
13×add-cbrt-cube
12×*-un-lft-identity
10×prod-exp
add-cube-cbrt add-log-exp
pow1 associate-*l*
associate-*r*
flip3-- sqrt-prod flip--
sub-neg div-exp cbrt-unprod difference-of-squares
times-frac
cbrt-undiv distribute-rgt-in frac-times rec-exp distribute-lft-in sqrt-div diff-log 1-exp associate-*r/ distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative div-inv unswap-sqr
Counts
4 → 84
Calls
4 calls:
13.0ms
(* (/ 1 (* 2.0 a)) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
6.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (/ 1 (* 2.0 a)) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
15.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
9.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0456918
12129801
25001799

prune151.0ms

Filtered
66 candidates to 96 candidates (-45.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh088
Picked011
Done011
Total9610106

Merged error: 5.1b

Counts
106 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
0.8b
(- (* b b) (* (* 4.0 a) c))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify78.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0147474
1570446
22550444
35001442

prune126.0ms

Filtered
50 candidates to 66 candidates (-32.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh077
Picked011
Done022
Total661076

Merged error: 5.1b

Counts
76 → 10

regimes489.0ms

Accuracy

83.4% (4.7b remaining)

Error of 10.2b against oracle of 5.6b and baseline of 33.7b

bsearch80.0ms

Steps
ItersRangePoint
11
1.1534937465225704e-119
4.259194109989923e-93
4.008589218560412e-98
9
-2.649169578462194e+138
-1.0148737098954316e+133
-1.1046704526757315e+133

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13716

end0.0ms

sample3.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.292969%

Guaranteed chance to sample good point: 62.826797%

Results
331.0ms1047×body2560valid
289.0ms5167×body80valid
228.0ms894×body1280valid
88.0ms429×body640valid
44.0ms119×body5120valid
37.0ms243×body320valid
20.0ms389×body80nan
18.0ms334×body80invalid
10.0ms101×body160valid

Profiling

Loading profile data...