Details

Time bar (total: 1.0s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1126

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 33.9b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

32.6b
(sqrt (* x (+ x x)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-+ add-log-exp
Counts
1 → 13
Calls
1 calls:
5.0ms
(sqrt (* x (+ x x)))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(sqrt (* x (+ x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0481891
1481891

prune37.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New11516
Fresh000
Picked011
Done000
Total11617

Merged error: 0.2b

Counts
17 → 6

localize4.0ms

Local error

Found 1 expressions with local error:

0.5b
(* x (neg (sqrt 2)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*r*
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
pow1 add-exp-log associate-*l* add-cbrt-cube
neg-mul-1 pow-prod-down prod-exp *-commutative distribute-rgt-neg-out cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 32
Calls
1 calls:
6.0ms
(* x (neg (sqrt 2)))

series5.0ms

Counts
1 → 3
Calls
1 calls:
5.0ms
(* x (neg (sqrt 2)))

simplify43.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04872196
14872196

prune58.0ms

Filtered
21 candidates to 35 candidates (-66.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New31435
Fresh134
Picked011
Done011
Total32941

Merged error: 0.1b

Counts
41 → 9

localize6.0ms

Local error

Found 2 expressions with local error:

0.2b
(* x (neg (sqrt (sqrt 2))))
0.3b
(* (* x (neg (sqrt (sqrt 2)))) (sqrt (sqrt 2)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
31×associate-*r*
27×sqrt-prod
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
*-commutative distribute-rgt-neg-out add-log-exp
distribute-lft-neg-out neg-mul-1 unswap-sqr
Counts
2 → 63
Calls
2 calls:
8.0ms
(* x (neg (sqrt (sqrt 2))))
10.0ms
(* (* x (neg (sqrt (sqrt 2)))) (sqrt (sqrt 2)))

series11.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* x (neg (sqrt (sqrt 2))))
4.0ms
(* (* x (neg (sqrt (sqrt 2)))) (sqrt (sqrt 2)))

simplify59.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04842455
14842455

prune104.0ms

Filtered
35 candidates to 69 candidates (-97.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New67269
Fresh066
Picked011
Done112
Total681078

Merged error: 0.1b

Counts
78 → 10

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(* x (* (sqrt (sqrt 2)) (neg (sqrt (sqrt (sqrt 2))))))
0.3b
(* (* x (* (sqrt (sqrt 2)) (neg (sqrt (sqrt (sqrt 2)))))) (sqrt (sqrt (sqrt 2))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
16×pow1 add-exp-log add-cbrt-cube
13×associate-*r*
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l* distribute-rgt-neg-out
*-commutative add-log-exp
distribute-lft-neg-out
Counts
2 → 50
Calls
2 calls:
12.0ms
(* x (* (sqrt (sqrt 2)) (neg (sqrt (sqrt (sqrt 2))))))
15.0ms
(* (* x (* (sqrt (sqrt 2)) (neg (sqrt (sqrt (sqrt 2)))))) (sqrt (sqrt (sqrt 2))))

series40.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(* x (* (sqrt (sqrt 2)) (neg (sqrt (sqrt (sqrt 2))))))
5.0ms
(* (* x (* (sqrt (sqrt 2)) (neg (sqrt (sqrt (sqrt 2)))))) (sqrt (sqrt (sqrt 2))))

simplify57.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05270496

prune83.0ms

Filtered
30 candidates to 56 candidates (-86.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New55156
Fresh347
Picked011
Done022
Total58866

Merged error: 0.1b

Counts
66 → 8

regimes50.0ms

Accuracy

99.2% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 31.2b

bsearch12.0ms

Steps
ItersRangePoint
9
-2.1086826833733962e-305
7.940780469190808e-305
2.5365652372159e-311

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06927
16927

end0.0ms

sample300.0ms

Algorithm
intervals
Results
177.0ms8000×body80valid

Profiling

Loading profile data...