Details

Time bar (total: 1.6s)

sample18.0ms

Algorithm
intervals
Results
6.0ms256×body80valid
2.0ms82×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.3b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) y)
20.0b
(sqrt (+ (* x x) y))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
3.0ms
(+ (* x x) y)
4.0ms
(sqrt (+ (* x x) y))

series9.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ (* x x) y)
5.0ms
(sqrt (+ (* x x) y))

simplify50.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0139151
1485141
21555139
35002138

prune45.0ms

Filtered
32 candidates to 25 candidates (21.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29332
Fresh000
Picked011
Done000
Total29433

Merged error: 0b

Counts
33 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) y)
6.4b
(- (pow x 4) (pow y 2))
20.0b
(sqrt (/ (- (pow x 4) (pow y 2)) (- (* x x) y)))
36.6b
(/ (- (pow x 4) (pow y 2)) (- (* x x) y))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
224×add-sqr-sqrt
154×difference-of-squares
129×times-frac
70×unpow-prod-down sqrt-prod sqr-pow
67×*-un-lft-identity
47×add-cube-cbrt
30×unpow2
16×associate-/l*
10×distribute-lft-out--
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- flip--
associate-/r* associate-/r/
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 221
Calls
4 calls:
4.0ms
(- (* x x) y)
7.0ms
(- (pow x 4) (pow y 2))
15.0ms
(sqrt (/ (- (pow x 4) (pow y 2)) (- (* x x) y)))
14.0ms
(/ (- (pow x 4) (pow y 2)) (- (* x x) y))

series33.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- (* x x) y)
6.0ms
(- (pow x 4) (pow y 2))
11.0ms
(sqrt (/ (- (pow x 4) (pow y 2)) (- (* x x) y)))
12.0ms
(/ (- (pow x 4) (pow y 2)) (- (* x x) y))

simplify70.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
07412680
121542403
250022249

prune287.0ms

Filtered
233 candidates to 131 candidates (43.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2330233
Fresh022
Picked011
Done011
Total2334237

Merged error: 0b

Counts
237 → 4

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (* 1/2 (/ y x)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+
Counts
1 → 11
Calls
1 calls:
2.0ms
(+ x (* 1/2 (/ y x)))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(+ x (* 1/2 (/ y x)))

simplify106.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08376
129768
2110168
3389168
4500168

prune18.0ms

Filtered
14 candidates to 10 candidates (28.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done022
Total14418

Merged error: 0b

Counts
18 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (* -1/2 (/ y x)) x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity diff-log add-cbrt-cube flip--
Counts
1 → 12
Calls
1 calls:
4.0ms
(- (* -1/2 (/ y x)) x)

series5.0ms

Counts
1 → 3
Calls
1 calls:
5.0ms
(- (* -1/2 (/ y x)) x)

simplify35.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
07982
123172
2117671
3500271

prune14.0ms

Filtered
15 candidates to 10 candidates (33.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New15015
Fresh000
Picked011
Done033
Total15419

Merged error: 0b

Counts
19 → 4

regimes236.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 21.1b

bsearch24.0ms

Steps
ItersRangePoint
8
4.991469713158339e+118
1.4397148158376798e+121
7.77236651271924e+119
9
-3.342138097628254e+158
-1.8215798574764598e+151
-3.1739164343125006e+152

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0229
1229

end0.0ms

sample506.0ms

Algorithm
intervals
Results
192.0ms8000×body80valid
62.0ms2699×body80nan

Profiling

Loading profile data...