Details

Time bar (total: 1.2s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0106
1106

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.9b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

32.6b
(sqrt (* (* 2.0 x) x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 pow-prod-down
add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow1/2 sqrt-prod add-cbrt-cube add-log-exp
Counts
1 → 12
Calls
1 calls:
3.0ms
(sqrt (* (* 2.0 x) x))

series4.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
0467580
1467580

prune30.0ms

Filtered
11 candidates to 15 candidates (-36.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New11415
Fresh000
Picked011
Done000
Total11516

Merged error: 0.2b

Counts
16 → 5

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.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:
8.0ms
(* x (neg (sqrt 2.0)))

series5.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04786196
14786196

prune53.0ms

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

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New31435
Fresh123
Picked011
Done011
Total32840

Merged error: 0.1b

Counts
40 → 8

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
7.0ms
(* x (neg (sqrt (sqrt 2.0))))
9.0ms
(* (* x (neg (sqrt (sqrt 2.0)))) (sqrt (sqrt 2.0)))

series11.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04827455
14827455

prune100.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New67269
Fresh055
Picked011
Done112
Total68977

Merged error: 0.1b

Counts
77 → 9

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
9.0ms
(* x (* (sqrt (sqrt 2.0)) (neg (sqrt (sqrt (sqrt 2.0))))))
14.0ms
(* (* x (* (sqrt (sqrt 2.0)) (neg (sqrt (sqrt (sqrt 2.0)))))) (sqrt (sqrt (sqrt 2.0))))

series43.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05290499

prune79.0ms

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

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New55156
Fresh336
Picked011
Done022
Total58765

Merged error: 0.1b

Counts
65 → 7

regimes143.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
07027
17027

end0.0ms

sample304.0ms

Algorithm
intervals
Results
183.0ms8000×body80valid

Profiling

Loading profile data...