Details

Time bar (total: 8.3s)

sample15.0ms

Algorithm
intervals
Results
6.0ms256×body80valid
1.0ms76×body80nan

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
068
188
done88

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
fma-def associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
8.0ms
(+ 1.0 (sqrt (+ x 1.0)))
17.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series188.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(+ 1.0 (sqrt (+ x 1.0)))
142.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify1.7s

Counts
58 → 58
Iterations

Useful iterations: 3 (737.0ms)

IterNodesCost
0121771
1289722
2918665
34852657
done5000657

prune126.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma 1 1.0 (sqrt (+ x 1.0)))
2.0ms
(/ x (fma 1 1.0 (sqrt (+ x 1.0))))

series197.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(fma 1 1.0 (sqrt (+ x 1.0)))
148.0ms
(/ x (fma 1 1.0 (sqrt (+ x 1.0))))

simplify2.0s

Counts
45 → 45
Iterations

Useful iterations: 3 (640.0ms)

IterNodesCost
0107696
1236618
2794561
34558554
done5000554

prune107.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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.2b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
7.3b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite113.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:
22.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
8.0ms
(pow (sqrt (+ x 1.0)) 3)
14.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
60.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series330.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)
63.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
185.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify1.2s

Counts
206 → 206
Iterations

Useful iterations: done (1.2s)

IterNodesCost
03264145
17782987
230392729
done50002725

prune454.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
54×add-sqr-sqrt
52×times-frac
38×add-cube-cbrt
35×sqrt-prod
30×associate-*r*
14×distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-*l* associate-/l* unswap-sqr
pow1 add-log-exp
associate-/r* associate-/r/
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 125
Calls
3 calls:
11.0ms
(+ 1.0 (sqrt (+ x 1.0)))
19.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
48.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series455.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ 1.0 (sqrt (+ x 1.0)))
285.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
130.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify694.0ms

Counts
134 → 134
Iterations

Useful iterations: done (685.0ms)

IterNodesCost
01992185
15111925
217441759
done50011750

prune249.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1109
done109

end0.0ms

sample340.0ms

Algorithm
intervals
Results
172.0ms7998×body80valid
46.0ms2640×body80nan
0.0msbody1280valid