Details

Time bar (total: 3.4s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
2.0ms66×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize5.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
26×*-un-lft-identity
17×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 71
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))))

series211.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(sqrt (+ x 1.0))
43.0ms
(+ 1.0 (sqrt (+ x 1.0)))
138.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0334508
11222457
25002445

prune152.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77380
Fresh000
Picked011
Done000
Total77481

Merged error: 0b

Counts
81 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
62×add-sqr-sqrt
46×*-un-lft-identity
40×sqrt-pow1
32×sqrt-div
31×pow1
28×add-cube-cbrt
20×pow1/2
18×swap-sqr
10×associate-*r* associate-*l*
flip3-+ times-frac pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube distribute-lft-out
pow-prod-down pow-sqr
expm1-log1p-u frac-times rem-sqrt-square log1p-expm1-u add-log-exp
associate-/r* associate-/l*
associate-*r/ associate-*l/ associate-/r/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod div-inv
Counts
4 → 169
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ x 1.0)))
4.0ms
(sqrt (sqrt (+ x 1.0)))
4.0ms
(/ x (+ 1.0 (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))))
17.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

series341.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(sqrt (sqrt (+ x 1.0)))
85.0ms
(sqrt (sqrt (+ x 1.0)))
140.0ms
(/ x (+ 1.0 (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))))
30.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

simplify72.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05301344
123961172
250011118

prune303.0ms

Filtered
181 candidates to 101 candidates (55.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1810181
Fresh022
Picked011
Done011
Total1814185

Merged error: 0b

Counts
185 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
0.2b
(pow (sqrt (+ x 1.0)) 3)
3.3b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
5.8b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
62×sqrt-div
43×add-sqr-sqrt
34×sqrt-prod
32×flip3-+ flip-+
31×add-cube-cbrt
28×associate-*r/ distribute-lft-out
27×times-frac
23×unpow-prod-down cube-prod
21×pow1
16×frac-sub
12×frac-times
11×swap-sqr
add-exp-log sqrt-pow1 pow1/2 associate-/r* add-cbrt-cube
associate-*l/
associate-*r* associate-*l*
add-log-exp
pow-prod-up
expm1-log1p-u sum-cubes log1p-expm1-u sub-div unswap-sqr
pow-unpow pow-pow pow-prod-down pow-sqr associate-/l*
cube-div associate-/r/
cbrt-undiv pow2 cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- frac-2neg pow-plus fma-neg sqrt-unprod diff-log unpow3 div-exp prod-diff pow-exp prod-exp clear-num rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod div-inv rem-cube-cbrt sqr-pow
Counts
4 → 194
Calls
4 calls:
10.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
5.0ms
(pow (sqrt (+ x 1.0)) 3)
12.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
19.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
65.0ms
(pow (sqrt (+ x 1.0)) 3)
64.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
187.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify133.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
08251791
141261518
250011510

prune429.0ms

Filtered
206 candidates to 109 candidates (52.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2060206
Fresh011
Picked011
Done022
Total2064210

Merged error: 0b

Counts
210 → 4

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
59×add-sqr-sqrt
52×times-frac
40×add-cube-cbrt
39×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
expm1-log1p-u flip3-+ associate-/r* associate-/r/ flip-+ log1p-expm1-u
fma-def
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 hypot-def
Counts
4 → 144
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(+ 1.0 (sqrt (+ x 1.0)))
16.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series492.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(sqrt (+ x 1.0))
286.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
46.0ms
(+ 1.0 (sqrt (+ x 1.0)))
131.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05541324
123241174
250011140

prune278.0ms

Filtered
156 candidates to 102 candidates (65.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1560156
Fresh000
Picked011
Done033
Total1564160

Merged error: 0b

Counts
160 → 4

regimes36.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
084
184

end0.0ms

sample330.0ms

Algorithm
intervals
Results
165.0ms7990×body80valid
45.0ms2595×body80nan
1.0ms10×body1280valid