Details

Time bar (total: 9.4s)

sample3.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.448608%

Guaranteed chance to sample good point: 84.788571%

Results
21.0ms256×body80valid
1.0ms12×body80nan
1.0msbody80invalid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.1b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.2b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
26.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

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

series50.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0231531
1915501
24084489
35002486

prune167.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New62769
Fresh000
Picked101
Done000
Total63770

Merged error: 10.1b

Counts
70 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.6b
(/ (- (neg b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
7.7b
(/ (* a c) b)
26.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt times-frac
add-log-exp
associate-/l*
pow1
cbrt-undiv div-exp associate-/r* distribute-lft-out--
distribute-rgt-neg-in sqrt-prod
flip3-- frac-2neg sqrt-div prod-exp clear-num sum-log flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out difference-of-squares
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 div-sub neg-log flip-+
Counts
4 → 81
Calls
4 calls:
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
10.0ms
(/ (- (neg b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
4.0ms
(/ (* a c) b)
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series46.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0485747
12165661
25002654

prune207.0ms

Filtered
68 candidates to 93 candidates (-36.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh246
Picked101
Done000
Total919100

Merged error: 7.9b

Counts
100 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.8b
(- (* b b) (* (* 4.0 a) c))
1.2b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
26.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.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-/r*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 69
Calls
4 calls:
12.0ms
(/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series89.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0375757
11596658
25001645

prune174.0ms

Filtered
61 candidates to 81 candidates (-32.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New76581
Fresh268
Picked101
Done000
Total791190

Merged error: 7.7b

Counts
90 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
26×add-exp-log
21×associate-*r*
16×add-cbrt-cube
15×add-sqr-sqrt times-frac
14×add-cube-cbrt
12×prod-exp
10×pow1 add-log-exp
distribute-lft-out
cbrt-unprod
distribute-rgt-neg-in div-exp
pow-prod-down sqrt-prod
cbrt-undiv rec-exp flip3-- flip3-+ sqrt-div 1-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ associate-*l* neg-log un-div-inv *-commutative div-inv
Counts
4 → 88
Calls
4 calls:
15.0ms
(* (* 2.0 c) (/ 1 (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series90.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0509953
12418795
25001767

prune130.0ms

Filtered
65 candidates to 100 candidates (-53.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New991100
Fresh01010
Picked011
Done000
Total9912111

Merged error: 7.7b

Counts
111 → 12

regimes337.0ms

Accuracy

92.1% (1.2b remaining)

Error of 7.7b against oracle of 6.6b and baseline of 21.6b

bsearch100.0ms

Steps
ItersRangePoint
8
5.899441820783755e+97
3.0961283087741996e+100
2.6668059140543547e+99
8
-4.06957223539967e+156
-3.9603737976334473e+152
-1.3487743936131755e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05743
15743

end0.0ms

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.448608%

Guaranteed chance to sample good point: 84.788571%

Results
698.0ms8000×body80valid
30.0ms344×body80nan
29.0ms329×body80invalid

Profiling

Loading profile data...