Details

Time bar (total: 1.8s)

analyze72.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
25%74.9%0.1%5
43.7%50%6.3%6
43.7%43.7%12.6%7
59.3%26.5%14.1%8
59.3%22.6%18%9
67.1%13.7%19.2%10
67.1%11.5%21.4%11
71%6.9%22%12
71%5.8%23.2%13
73%3.5%23.5%14

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid
0.0msbody80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
066
166

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.1b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
6.0ms
(+ (* x x) y)
4.0ms
(sqrt (+ (* x x) y))

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ (* x x) y)
6.0ms
(sqrt (+ (* x x) y))

simplify23.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05020261

prune42.0ms

Filtered
25 candidates to 32 candidates (-28.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29332
Fresh000
Picked011
Done000
Total29433

Merged error: 0.0b

Counts
33 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (neg x) (* y (/ -1/2 x)))
0.2b
(* y (/ -1/2 x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
prod-exp sum-log cbrt-unprod unswap-sqr
cbrt-undiv +-commutative neg-sub0 associate-+l- flip3-+ associate-*r/ div-exp pow-prod-down neg-log *-commutative flip-+ div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (neg x) (* y (/ -1/2 x)))
8.0ms
(* y (/ -1/2 x))

series8.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (neg x) (* y (/ -1/2 x)))
3.0ms
(* y (/ -1/2 x))

simplify51.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04975400
14975400

prune53.0ms

Filtered
35 candidates to 51 candidates (-45.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh022
Picked011
Done011
Total51455

Merged error: 0.0b

Counts
55 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) y)
7.0b
(- (pow x 4) (* y y))
22.5b
(sqrt (/ (- (pow x 4) (* y y)) (- (* x x) y)))
37.4b
(/ (- (pow x 4) (* y y)) (- (* x x) y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
49×times-frac
44×difference-of-squares
30×sqrt-prod
27×add-cube-cbrt *-un-lft-identity
10×unpow-prod-down sqr-pow
add-log-exp
add-exp-log add-cbrt-cube associate-/l*
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 → 119
Calls
4 calls:
4.0ms
(- (* x x) y)
4.0ms
(- (pow x 4) (* y y))
8.0ms
(sqrt (/ (- (pow x 4) (* y y)) (- (* x x) y)))
9.0ms
(/ (- (pow x 4) (* y y)) (- (* x x) y))

series30.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (* x x) y)
6.0ms
(- (pow x 4) (* y y))
11.0ms
(sqrt (/ (- (pow x 4) (* y y)) (- (* x x) y)))
9.0ms
(/ (- (pow x 4) (* y y)) (- (* x x) y))

simplify46.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049601958
149601958

prune180.0ms

Filtered
104 candidates to 131 candidates (-26.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1301131
Fresh011
Picked011
Done022
Total1305135

Merged error: 0b

Counts
135 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (+ y (* x x)) (+ x (sqrt y))) (/ (- (* x x) y) (- x (sqrt y))))
12.7b
(sqrt (* (/ (+ y (* x x)) (+ x (sqrt y))) (/ (- (* x x) y) (- x (sqrt y)))))
12.8b
(/ (- (* x x) y) (- x (sqrt y)))
12.8b
(/ (+ y (* x x)) (+ x (sqrt y)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
105×add-sqr-sqrt
76×*-un-lft-identity times-frac
44×add-cube-cbrt
31×difference-of-squares
30×associate-*r*
20×add-exp-log add-cbrt-cube
18×associate-*l*
10×associate-/r* sqrt-prod
pow1 distribute-lft-out--
associate-/r/
distribute-lft-out associate-/l*
cbrt-undiv div-exp
prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
flip3-- flip3-+ sqrt-div flip-- flip-+
frac-times frac-2neg sqrt-pow1 associate-*r/ pow-prod-down associate-*l/ clear-num
pow1/2 div-sub *-commutative
Counts
4 → 172
Calls
4 calls:
27.0ms
(* (/ (+ y (* x x)) (+ x (sqrt y))) (/ (- (* x x) y) (- x (sqrt y))))
14.0ms
(sqrt (* (/ (+ y (* x x)) (+ x (sqrt y))) (/ (- (* x x) y) (- x (sqrt y)))))
9.0ms
(/ (- (* x x) y) (- x (sqrt y)))
7.0ms
(/ (+ y (* x x)) (+ x (sqrt y)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (/ (+ y (* x x)) (+ x (sqrt y))) (/ (- (* x x) y) (- x (sqrt y))))
78.0ms
(sqrt (* (/ (+ y (* x x)) (+ x (sqrt y))) (/ (- (* x x) y) (- x (sqrt y)))))
7.0ms
(/ (- (* x x) y) (- x (sqrt y)))
14.0ms
(/ (+ y (* x x)) (+ x (sqrt y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
057822638

prune161.0ms

Filtered
134 candidates to 184 candidates (-37.3%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1840184
Fresh011
Picked011
Done033
Total1845189

Merged error: 0b

Counts
189 → 5

regimes247.0ms

Accuracy

99.7% (0.1b remaining)

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

bsearch56.0ms

Steps
ItersRangePoint
7
1.2799898569165748e+116
2.7571051798272293e+117
2.497175538071421e+116
9
-2.54489950956751e+160
-2.766205262501008e+151
-1.3251322205262078e+154

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02529
12529

end0.0ms

analyze73.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
25%74.9%0.1%5
43.7%50%6.3%6
43.7%43.7%12.6%7
59.3%26.5%14.1%8
59.3%22.6%18%9
67.1%13.7%19.2%10
67.1%11.5%21.4%11
71%6.9%22%12
71%5.8%23.2%13
73%3.5%23.5%14

sample344.0ms

Algorithm
intervals
Results
206.0ms8000×body80valid
4.0ms179×body80nan

Profiling

Loading profile data...