Details

Time bar (total: 10.2s)

sample3.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.466919%

Guaranteed chance to sample good point: 84.821684%

Results
23.0ms256×body80valid
1.0ms15×body80invalid
1.0ms11×body80nan

simplify350.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.7b

Counts
2 → 1

localize35.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* 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)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0248644
1898606
23865590
35001586

prune205.0ms

Filtered
60 candidates to 75 candidates (-25.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New67875
Fresh000
Picked101
Done000
Total68876

Merged error: 7.8b

Counts
76 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

12.5b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series63.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify115.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0227677
1876574
23665562
35003558

prune219.0ms

Filtered
58 candidates to 70 candidates (-20.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh077
Picked011
Done000
Total70878

Merged error: 7.8b

Counts
78 → 8

localize29.0ms

Local error

Found 4 expressions with local error:

5.7b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

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

series108.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
28.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0377865
11397791
25001755

prune243.0ms

Filtered
60 candidates to 67 candidates (-11.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New65267
Fresh156
Picked011
Done011
Total66975

Merged error: 7.8b

Counts
75 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
32.7b
(cbrt (pow (sqrt (- (* b b) (* (* 4.0 a) c))) 3))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
15×*-un-lft-identity
13×add-sqr-sqrt
12×sqrt-prod
11×add-cube-cbrt
add-log-exp
pow1 unpow-prod-down sqrt-div cube-prod
add-exp-log add-cbrt-cube
flip3-- flip--
cube-div rem-sqrt-square cbrt-div sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 cube-mult associate-+l- distribute-rgt-neg-in flip3-+ pow1/3 unpow3 neg-log rem-cbrt-cube flip-+ sqr-pow
Counts
4 → 74
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(cbrt (pow (sqrt (- (* b b) (* (* 4.0 a) c))) 3))

series62.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (neg b) (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)))
15.0ms
(cbrt (pow (sqrt (- (* b b) (* (* 4.0 a) c))) 3))

simplify39.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0308688
11259664
25001652

prune169.0ms

Filtered
62 candidates to 86 candidates (-38.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh066
Picked011
Done022
Total86995

Merged error: 7.8b

Counts
95 → 9

regimes334.0ms

Accuracy

91.9% (0.9b remaining)

Error of 8.9b against oracle of 7.9b and baseline of 19.5b

bsearch124.0ms

Steps
ItersRangePoint
9
1.5459895330698598e+151
3.530700376421774e+156
2.0252423076498904e+151
9
-2.2921502228163733e+164
-2.9988818969355234e+157
-3.060284484342092e+157

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04958
14958

end0.0ms

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.466919%

Guaranteed chance to sample good point: 84.821684%

Results
698.0ms8000×body80valid
31.0ms377×body80nan
27.0ms324×body80invalid

Profiling

Loading profile data...