Details

Time bar (total: 5.8s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 25.512052%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
13.0ms34×body2560valid
9.0ms169×body80valid
6.0ms27×body1280valid
2.0ms11×body640valid
1.0ms10×body320valid
1.0msbody5120valid
1.0ms14×body80nan
1.0ms12×body80invalid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.4b
(- (* b b) (* 4.0 (* a c)))
24.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.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:
11.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series61.0ms

Counts
4 → 12
Calls
4 calls:
19.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)))
18.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0398888
11466803
25001798

prune172.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New791089
Fresh000
Picked101
Done000
Total801090

Merged error: 7.0b

Counts
90 → 10

localize14.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.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.4b
(- (* b b) (* 4.0 (* a c)))
24.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.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:
14.0ms
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series61.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
18.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(- (* 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

prune146.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh099
Picked011
Done000
Total9710107

Merged error: 7.0b

Counts
107 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* 4.0 (* a c)))
24.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
24.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
24.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite15.0ms

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

series53.0ms

Counts
4 → 12
Calls
4 calls:
10.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))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify74.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0144505
1524483
22276480
35002477

prune207.0ms

Filtered
55 candidates to 69 candidates (-25.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh088
Picked011
Done011
Total691079

Merged error: 7.0b

Counts
79 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

24.8b
(sqrt (* (* (cbrt (- (* b b) (* 4.0 (* a c)))) (cbrt (- (* b b) (* 4.0 (* a c))))) (cbrt (- (* b b) (* 4.0 (* a c))))))
25.7b
(cbrt (- (* b b) (* 4.0 (* a c))))
25.7b
(cbrt (- (* b b) (* 4.0 (* a c))))
25.7b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-- flip--
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
15.0ms
(sqrt (* (* (cbrt (- (* b b) (* 4.0 (* a c)))) (cbrt (- (* b b) (* 4.0 (* a c))))) (cbrt (- (* b b) (* 4.0 (* a c))))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series95.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (* (* (cbrt (- (* b b) (* 4.0 (* a c)))) (cbrt (- (* b b) (* 4.0 (* a c))))) (cbrt (- (* b b) (* 4.0 (* a c))))))
24.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
28.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
27.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify230.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03631885
19791835
249471803
350011803

prune192.0ms

Filtered
69 candidates to 101 candidates (-46.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1010101
Fresh077
Picked011
Done022
Total10110111

Merged error: 7.0b

Counts
111 → 10

regimes471.0ms

Accuracy

79.9% (5.7b remaining)

Error of 11.0b against oracle of 5.3b and baseline of 33.5b

bsearch74.0ms

Steps
ItersRangePoint
7
1.0578608633919696e+41
2.8362434248328863e+42
2.785767790428005e+42
8
-2.5251096199815413e-148
-5.2278143631965466e-151
-2.497911152346715e-148

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13716

end0.0ms

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 25.512052%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
318.0ms1045×body2560valid
274.0ms5170×body80valid
226.0ms913×body1280valid
87.0ms445×body640valid
47.0ms116×body5120valid
30.0ms208×body320valid
16.0ms310×body80invalid
16.0ms311×body80nan
10.0ms103×body160valid

Profiling

Loading profile data...