Details

Time bar (total: 14.6s)

sample18.0ms

Algorithm
intervals
Results
7.0ms255×body80valid
2.0ms85×body80nan
0.0msbody1280valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
done88

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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.1b
(/ x (+ 1.0 (sqrt (+ x 1.0))))

rewrite80.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:
8.0ms
(sqrt (+ x 1.0))
17.0ms
(+ 1.0 (sqrt (+ x 1.0)))
53.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series283.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(sqrt (+ x 1.0))
68.0ms
(+ 1.0 (sqrt (+ x 1.0)))
161.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify2.9s

Counts
80 → 80
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
0146959
1333886
2955819
33899808
done5000808

prune274.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(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.4b
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.7b
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite364.0ms

Algorithm
rewrite-expression-head
Rules
116×add-sqr-sqrt
106×times-frac
101×*-un-lft-identity
72×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-+
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp pow-flip 1-exp
frac-2neg sqrt-pow1 pow1/2 clear-num hypot-def
frac-times rem-sqrt-square associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 215
Calls
4 calls:
47.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
202.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
46.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
56.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
184.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
193.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
593.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
300.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify1.6s

Counts
227 → 227
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03104760
17944193
224383556
done50003512

prune467.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize35.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (/ (pow (/ x (sqrt 1.0)) 3) (pow (+ (sqrt 1.0) 1.0) 2)) 1/8 (fma (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3)) (/ x (+ (sqrt 1.0) 1.0))))
8.6b
(fma -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))) (fma (/ (pow (/ x (sqrt 1.0)) 3) (pow (+ (sqrt 1.0) 1.0) 2)) 1/8 (fma (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3)) (/ x (+ (sqrt 1.0) 1.0)))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma (/ (pow (/ x (sqrt 1.0)) 3) (pow (+ (sqrt 1.0) 1.0) 2)) 1/8 (fma (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3)) (/ x (+ (sqrt 1.0) 1.0))))
0.0ms
(fma -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))) (fma (/ (pow (/ x (sqrt 1.0)) 3) (pow (+ (sqrt 1.0) 1.0) 2)) 1/8 (fma (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3)) (/ x (+ (sqrt 1.0) 1.0)))))

series1.7s

Counts
2 → 6
Calls
2 calls:
1.1s
(fma (/ (pow (/ x (sqrt 1.0)) 3) (pow (+ (sqrt 1.0) 1.0) 2)) 1/8 (fma (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3)) (/ x (+ (sqrt 1.0) 1.0))))
627.0ms
(fma -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))) (fma (/ (pow (/ x (sqrt 1.0)) 3) (pow (+ (sqrt 1.0) 1.0) 2)) 1/8 (fma (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3)) (/ x (+ (sqrt 1.0) 1.0)))))

simplify1.9s

Counts
26 → 26
Iterations

Useful iterations: done (1.9s)

IterNodesCost
0551344
11171326
24491156
328501135
done50011129

prune174.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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.1b
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

rewrite217.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:
15.0ms
(sqrt (+ x 1.0))
49.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
20.0ms
(+ 1.0 (sqrt (+ x 1.0)))
123.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series621.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (+ x 1.0))
369.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
48.0ms
(+ 1.0 (sqrt (+ x 1.0)))
162.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify1.4s

Counts
156 → 156
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02242373
15452089
217801913
done50001885

prune423.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes78.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
done88

end0.0ms

sample701.0ms

Algorithm
intervals
Results
360.0ms7997×body80valid
99.0ms2731×body80nan
1.0msbody1280valid