Details

Time bar (total: 5.1s)

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.887207%

Guaranteed chance to sample good point: 87.744179%

Results
28.0ms280×body80valid
1.0ms10×body80nan

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: 17.9b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.9b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(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:
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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series60.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0248644
1898606
23863590
35001586

prune187.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New70575
Fresh000
Picked101
Done000
Total71576

Merged error: 7.4b

Counts
76 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

9.9b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
6.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)))

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

simplify105.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0221722
1829631
23533612
35001592

prune204.0ms

Filtered
58 candidates to 72 candidates (-24.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh044
Picked011
Done000
Total72577

Merged error: 7.4b

Counts
77 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.7b
(/ (* 2.0 c) (+ (neg b) (- (* 2.0 (/ (* a c) b)) b)))
5.4b
(/ (* a c) b)
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite31.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 associate-/r* add-log-exp
pow1
cbrt-undiv div-exp sqrt-prod distribute-lft-out
distribute-rgt-neg-in
flip3-- frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 81
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(/ (* 2.0 c) (+ (neg b) (- (* 2.0 (/ (* a c) b)) b)))
6.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series59.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0437737
12029649
25002647

prune167.0ms

Filtered
65 candidates to 93 candidates (-43.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh033
Picked101
Done011
Total92698

Merged error: 6.6b

Counts
98 → 6

localize29.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.2b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
3.7b
(/ (* 2.0 c) (+ (neg b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×*-un-lft-identity
33×times-frac
30×add-exp-log
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1 associate-*l*
unswap-sqr
associate-/r*
sqrt-prod distribute-lft-out
distribute-rgt-neg-in div-inv
flip3-- sqrt-div diff-log associate-/r/ flip-- distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 119
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
16.0ms
(/ (* 2.0 c) (+ (neg b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
10.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
29.0ms
(/ (* 2.0 c) (+ (neg b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07321435
135961249
250011207

prune207.0ms

Filtered
94 candidates to 131 candidates (-39.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1283131
Fresh134
Picked101
Done011
Total1307137

Merged error: 6.6b

Counts
137 → 7

regimes263.0ms

Accuracy

92% (1.1b remaining)

Error of 7.8b against oracle of 6.7b and baseline of 20.3b

bsearch68.0ms

Steps
ItersRangePoint
8
1.4124388747746146e+74
4.519657777834926e+78
3.51661619369134e+78
9
-2.0949095195854536e+144
-1.9299706833650245e+135
-1.4297659363794198e+136

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06377
16377

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.887207%

Guaranteed chance to sample good point: 87.744179%

Results
794.0ms8734×body80valid
30.0ms351×body80nan

Profiling

Loading profile data...