Details

Time bar (total: 2.8s)

analyze3.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
62.5%12.5%25%4
68.7%6.2%25%5
71.8%3.1%25%6
73.4%1.6%25%7
74.2%0.8%25%8
74.6%0.4%25%9
74.8%0.2%25%10
74.9%0.1%25%11
74.9%0%25%12
74.9%0%25%13
74.9%0%25%14

sample23.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
088
188

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ x (+ 1.0 (sqrt (+ x 1.0))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
14×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 61
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series27.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
7.0ms
(+ 1.0 (sqrt (+ x 1.0)))
16.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify25.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
049631021
149631021

prune125.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New67370
Fresh000
Picked011
Done000
Total67471

Merged error: 0b

Counts
71 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.3b
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.4b
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
0.8b
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
106×times-frac
101×*-un-lft-identity
71×sqrt-prod
65×add-cube-cbrt
32×add-exp-log
27×associate-*r* associate-*l*
20×add-cbrt-cube
15×distribute-lft-out unswap-sqr
14×associate-/r*
11×div-exp
10×sqrt-div
pow1
prod-exp associate-/r/
cbrt-undiv associate-/l*
flip3-+ flip-+
cbrt-unprod div-inv add-log-exp
rec-exp pow-flip 1-exp
frac-2neg sqrt-pow1 pow1/2 clear-num
frac-times rem-sqrt-square associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 205
Calls
4 calls:
5.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
33.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
8.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series76.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
31.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
15.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
19.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050354229

prune465.0ms

Filtered
131 candidates to 217 candidates (-65.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2170217
Fresh022
Picked011
Done011
Total2174221

Merged error: 0b

Counts
221 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.2b
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
56×add-sqr-sqrt
52×times-frac
39×add-cube-cbrt sqrt-prod
30×associate-*r*
15×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/l* add-log-exp unswap-sqr
flip3-+ associate-/r* associate-/r/ flip-+
cbrt-undiv sqrt-div div-exp prod-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
4 → 132
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
17.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series52.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
27.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
7.0ms
(+ 1.0 (sqrt (+ x 1.0)))
15.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049702333
149702333

prune204.0ms

Filtered
92 candidates to 144 candidates (-56.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1431144
Fresh101
Picked101
Done022
Total1453148

Merged error: 0b

Counts
148 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))
0.0b
(sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))
0.1b
(* (* (sqrt x) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))))
0.2b
(* (sqrt x) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
185×sqrt-prod
116×*-un-lft-identity
104×times-frac
98×add-sqr-sqrt
68×add-cube-cbrt
66×associate-*r*
24×distribute-lft-out
18×pow1
11×add-exp-log add-cbrt-cube
10×pow-prod-down
associate-/r/ unswap-sqr
sqrt-pow1 pow1/2 sqrt-div associate-*l*
rem-sqrt-square
flip3-+ associate-*r/ prod-exp cbrt-unprod flip-+ div-inv add-log-exp
sqrt-unprod
*-commutative
frac-times associate-*l/
Counts
4 → 202
Calls
4 calls:
9.0ms
(sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))
11.0ms
(sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))
25.0ms
(* (* (sqrt x) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))))
18.0ms
(* (sqrt x) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))))

series110.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))
33.0ms
(sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))
15.0ms
(* (* (sqrt x) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))))
33.0ms
(* (sqrt x) (sqrt (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))))

simplify89.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049474665
149474665

prune468.0ms

Filtered
130 candidates to 214 candidates (-64.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2140214
Fresh000
Picked011
Done022
Total2143217

Merged error: 0b

Counts
217 → 3

regimes74.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088
188

end0.0ms

sample692.0ms

Algorithm
intervals
Results
216.0ms7998×body80valid
0.0msbody1280valid

Profiling

Loading profile data...