Details

Time bar (total: 5.0s)

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.774996%

Results
12.0ms40×body2560valid
9.0ms158×body80valid
7.0ms29×body1280valid
3.0ms14×body640valid
1.0msbody320valid
1.0ms16×body80invalid
1.0msbody5120valid
1.0ms15×body80nan
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.0b

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.6b
(- (* b b) (* 4.0 (* a c)))
1.2b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
24.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
12.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
6.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series57.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0398888
11466803
25001798

prune168.0ms

Filtered
65 candidates to 89 candidates (-36.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New80989
Fresh000
Picked101
Done000
Total81990

Merged error: 7.7b

Counts
90 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.6b
(- (* b b) (* 4.0 (* a c)))
1.2b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
24.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.0ms

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

series60.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0463989
12033868
25001860

prune134.0ms

Filtered
64 candidates to 97 candidates (-51.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh358
Picked011
Done000
Total988106

Merged error: 7.7b

Counts
106 → 8

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune19.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New000
Fresh066
Picked011
Done011
Total088

Merged error: 7.7b

Counts
8 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* 4.0 (* a c)))
1.3b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
20.1b
(/ (+ 0 (* 1 (* 4.0 (* a c)))) (* (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a)))
24.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

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

series86.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
0501969
13066816
25003798

prune118.0ms

Filtered
63 candidates to 83 candidates (-31.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New80383
Fresh235
Picked011
Done022
Total82991

Merged error: 7.6b

Counts
91 → 9

regimes287.0ms

Accuracy

83.5% (4.7b remaining)

Error of 10.2b against oracle of 5.5b and baseline of 34.1b

bsearch64.0ms

Steps
ItersRangePoint
6
2.5731830504144937e+88
3.333515965514455e+89
1.727980085562836e+89
6
-2.2027254129205078e-111
-1.5531156665650203e-112
-1.0619873202312899e-111

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03514
13514

end0.0ms

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.774996%

Results
334.0ms1062×body2560valid
289.0ms5133×body80valid
234.0ms921×body1280valid
89.0ms446×body640valid
41.0ms109×body5120valid
34.0ms226×body320valid
20.0ms377×body80nan
18.0ms335×body80invalid
11.0ms103×body160valid

Profiling

Loading profile data...