Details

Time bar (total: 4.7s)

sample624.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.867564%

Guaranteed chance to sample good point: 44.117754%

Results
24.0ms277×body80valid
5.0ms67×body80nan

simplify346.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: 20.9b

Counts
2 → 1

localize36.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.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:
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
15.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)))

simplify117.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0248644
1898606
23863590
35001586

prune203.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New66975
Fresh000
Picked101
Done000
Total67976

Merged error: 7.4b

Counts
76 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

10.6b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.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))))))
3.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)))

series60.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0227677
1876574
23665562
35003558

prune213.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh088
Picked011
Done000
Total70979

Merged error: 7.4b

Counts
79 → 9

localize26.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

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

series61.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
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify100.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0204609
1755588
23222580
35002576

prune219.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh077
Picked011
Done011
Total75984

Merged error: 7.4b

Counts
84 → 9

localize25.0ms

Local error

Found 4 expressions with local error:

5.8b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.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:
6.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
27.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

prune200.0ms

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

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New67067
Fresh066
Picked011
Done022
Total67976

Merged error: 7.4b

Counts
76 → 9

regimes293.0ms

Accuracy

92.6% (0.9b remaining)

Error of 8.7b against oracle of 7.8b and baseline of 20.0b

bsearch67.0ms

Steps
ItersRangePoint
7
1.2782701051242085e+124
3.366651077321003e+125
1.4075340652414269e+125
9
-3.6360618111710883e+118
-7.710355295872846e+111
-3.2424478290772433e+118

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04958
14958

end0.0ms

sample1.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.867564%

Guaranteed chance to sample good point: 44.117754%

Results
752.0ms8757×body80valid
177.0ms2217×body80nan

Profiling

Loading profile data...