Details

Time bar (total: 7.1s)

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.280762%

Guaranteed chance to sample good point: 62.857376%

Results
9.0ms33×body2560valid
8.0ms161×body80valid
5.0ms25×body1280valid
4.0ms27×body640valid
1.0ms21×body80nan
1.0msbody320valid
0.0ms10×body80invalid
0.0msbody5120valid
0.0msbody160valid

simplify362.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.6b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
0.6b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
10.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify138.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0338783
11216724
24971703
35001703

prune148.0ms

Filtered
69 candidates to 92 candidates (-33.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New811192
Fresh000
Picked101
Done000
Total821193

Merged error: 5.3b

Counts
93 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b_2 b_2) (* a c))
4.0b
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
8.3b
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
154×add-sqr-sqrt
153×*-un-lft-identity
89×add-cube-cbrt
32×distribute-lft-out-- difference-of-squares
30×associate-/l*
19×sqrt-prod
16×distribute-rgt-neg-in
11×add-exp-log add-cbrt-cube
10×associate-/r* associate-/r/
flip3-- flip--
div-inv add-log-exp
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 200
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
15.0ms
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
11.0ms
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series107.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
41.0ms
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
47.0ms
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify104.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07083365
132313197
250013171

prune229.0ms

Filtered
142 candidates to 212 candidates (-49.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2102212
Fresh4610
Picked011
Done000
Total2149223

Merged error: 5.2b

Counts
223 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

4.0b
(/ (/ (* (/ a (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
20.3b
(sqrt (- (* b_2 b_2) (* a c)))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
55×add-sqr-sqrt
52×*-un-lft-identity
36×add-cube-cbrt
29×add-exp-log
28×cbrt-prod
20×add-cbrt-cube
16×associate-/l*
15×cbrt-undiv div-exp
13×sqrt-prod
cbrt-div associate-/r/ distribute-lft-out-- difference-of-squares
pow1 flip3-- flip--
sqrt-div
div-inv
distribute-rgt-neg-in prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r*
frac-2neg clear-num associate-/l/
Counts
4 → 135
Calls
4 calls:
35.0ms
(/ (/ (* (/ a (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series88.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (/ (* (/ a (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
14.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify89.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06963504
132283280
250023262

prune159.0ms

Filtered
111 candidates to 147 candidates (-32.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1470147
Fresh077
Picked011
Done011
Total1479156

Merged error: 5.2b

Counts
156 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.4b
(- (* b_2 b_2) (* a c))
15.8b
(/ (* a c) (* a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-log-exp
*-un-lft-identity
pow1 add-cube-cbrt
cbrt-undiv flip3-- div-exp prod-exp sqrt-prod flip-- cbrt-unprod
diff-log
sub-neg sqrt-div associate-*r/ associate-/r/ distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 times-frac pow1/2 neg-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 68
Calls
4 calls:
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(/ (* a c) (* a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
39.0ms
(/ (* a c) (* a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0389714
11961576
25002565

prune76.0ms

Filtered
57 candidates to 80 candidates (-40.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh156
Picked011
Done112
Total81889

Merged error: 5.2b

Counts
89 → 8

regimes249.0ms

Accuracy

95.5% (1.1b remaining)

Error of 6.7b against oracle of 5.6b and baseline of 29.3b

bsearch116.0ms

Steps
ItersRangePoint
8
9.608890786502778e+149
4.3356485419085283e+154
1.1830319413214954e+150
9
-8.902695874747848e-234
-8.087944061124773e-243
-1.3677778830552216e-242
10
-3.9962543486986324e+65
-2.175728114863298e+54
-3.9577108661634927e+65

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04424
14424

end0.0ms

sample2.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.280762%

Guaranteed chance to sample good point: 62.857376%

Results
266.0ms1055×body2560valid
240.0ms5161×body80valid
176.0ms853×body1280valid
81.0ms488×body640valid
35.0ms117×body5120valid
26.0ms212×body320valid
22.0ms506×body80nan
14.0ms114×body160valid
8.0ms175×body80invalid

Profiling

Loading profile data...