Details

Time bar (total: 1.3s)

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
0246
1246

prune6.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: 30.7b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

29.5b
(sqrt (* x (+ x x)))

rewrite9.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:
9.0ms
(sqrt (* x (+ x x)))

series4.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0472691
1472691

prune30.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh000
Picked011
Done000
Total13417

Merged error: 0.1b

Counts
17 → 4

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)))

simplify49.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04933196
14933196

prune57.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New32335
Fresh022
Picked011
Done011
Total32739

Merged error: 0.0b

Counts
39 → 7

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* x (neg (sqrt 2))))
0.2b
(* (sqrt (* x (neg (sqrt 2)))) (sqrt (* x (neg (sqrt 2)))))
0.4b
(* x (neg (sqrt 2)))
0.4b
(* x (neg (sqrt 2)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
60×pow1
36×associate-*r*
30×sqrt-pow1
26×add-sqr-sqrt
23×pow-prod-down
20×add-cube-cbrt *-un-lft-identity
17×sqrt-prod
12×distribute-lft-neg-in distribute-rgt-neg-in
11×pow1/2
10×add-exp-log associate-*l* pow-prod-up add-cbrt-cube
pow-sqr
swap-sqr add-log-exp
prod-exp *-commutative cbrt-unprod unswap-sqr
neg-mul-1 distribute-rgt-neg-out
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 124
Calls
4 calls:
3.0ms
(sqrt (* x (neg (sqrt 2))))
11.0ms
(* (sqrt (* x (neg (sqrt 2)))) (sqrt (* x (neg (sqrt 2)))))
6.0ms
(* x (neg (sqrt 2)))
8.0ms
(* x (neg (sqrt 2)))

series22.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(sqrt (* x (neg (sqrt 2))))
8.0ms
(* (sqrt (* x (neg (sqrt 2)))) (sqrt (* x (neg (sqrt 2)))))
4.0ms
(* x (neg (sqrt 2)))
5.0ms
(* x (neg (sqrt 2)))

simplify56.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04939834
14939834

prune192.0ms

Filtered
75 candidates to 136 candidates (-81.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1351136
Fresh044
Picked011
Done022
Total1358143

Merged error: 0.0b

Counts
143 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow (sqrt (sqrt (* x (neg (sqrt 2))))) 3) (sqrt (sqrt (* x (neg (sqrt 2))))))
0.4b
(pow (sqrt (sqrt (* x (neg (sqrt 2))))) 3)
0.4b
(* x (neg (sqrt 2)))
0.4b
(* x (neg (sqrt 2)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
47×sqrt-prod
39×associate-*r*
28×add-cube-cbrt *-un-lft-identity
26×associate-*l*
18×unpow-prod-down cube-prod
14×pow1 add-exp-log unswap-sqr
12×distribute-lft-neg-in distribute-rgt-neg-in
11×add-cbrt-cube
pow-pow sqrt-pow1
prod-exp
add-log-exp sqr-pow
pow-unpow pow-prod-down *-commutative cbrt-unprod
cube-mult pow-to-exp neg-mul-1 pow1/2 unpow3 pow-exp distribute-rgt-neg-out
pow-plus pow-prod-up sqrt-pow2 rem-cube-cbrt
Counts
4 → 154
Calls
4 calls:
13.0ms
(* (pow (sqrt (sqrt (* x (neg (sqrt 2))))) 3) (sqrt (sqrt (* x (neg (sqrt 2))))))
6.0ms
(pow (sqrt (sqrt (* x (neg (sqrt 2))))) 3)
6.0ms
(* x (neg (sqrt 2)))
6.0ms
(* x (neg (sqrt 2)))

series44.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (pow (sqrt (sqrt (* x (neg (sqrt 2))))) 3) (sqrt (sqrt (* x (neg (sqrt 2))))))
25.0ms
(pow (sqrt (sqrt (* x (neg (sqrt 2))))) 3)
7.0ms
(* x (neg (sqrt 2)))
5.0ms
(* x (neg (sqrt 2)))

simplify53.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
048791485
148791485

prune268.0ms

Filtered
87 candidates to 166 candidates (-90.8%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1651166
Fresh044
Picked101
Done033
Total1668174

Merged error: 0.0b

Counts
174 → 8

regimes52.0ms

Accuracy

98.9% (0.3b remaining)

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

bsearch11.0ms

Steps
ItersRangePoint
8
-2.108987186232941e-308
3.475854176635498e-306
2.733144583135e-311

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07416
17416

end0.0ms

sample305.0ms

Algorithm
intervals
Results
203.0ms8000×body80valid

Profiling

Loading profile data...