Details

Time bar (total: 1.1s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14

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.6b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

32.3b
(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:
4.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 (50.0ms)

IterNodesCost
0481891
1481891

prune38.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.4b
(* 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)))

series4.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04872196
14872196

prune57.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New32335
Fresh044
Picked011
Done011
Total32941

Merged error: 0.0b

Counts
41 → 9

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (* (cbrt (sqrt 2)) (neg (cbrt (sqrt 2)))))
0.2b
(* (* x (* (cbrt (sqrt 2)) (neg (cbrt (sqrt 2))))) (cbrt (sqrt 2)))

rewrite20.0ms

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

series40.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04822407
14822407

prune94.0ms

Filtered
31 candidates to 53 candidates (-71.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New52153
Fresh066
Picked101
Done022
Total53962

Merged error: 0.0b

Counts
62 → 9

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

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

series43.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04849556
14849556

prune101.0ms

Filtered
33 candidates to 62 candidates (-87.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New62062
Fresh066
Picked011
Done022
Total62971

Merged error: 0.0b

Counts
71 → 9

regimes56.0ms

Accuracy

98.9% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 31.6b

bsearch11.0ms

Steps
ItersRangePoint
9
-6.429731566315822e-304
4.394327582231361e-307
1.18320777133784e-310

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03716
13716

end0.0ms

sample295.0ms

Algorithm
intervals
Results
191.0ms8000×body80valid

Profiling

Loading profile data...