Details

Time bar (total: 18.5s)

sample30.0ms

Algorithm
intervals
Results
7.0ms60×body1280valid
6.0ms243×body80nan
3.0ms132×body80valid
3.0ms33×body640valid
2.0ms23×body320valid
0.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
2.3b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
61×sqrt-prod
54×*-un-lft-identity
42×add-sqr-sqrt prod-diff
31×add-cube-cbrt
distribute-lft-out
fma-neg
add-log-exp difference-of-squares
pow1 distribute-lft-out--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+ hypot-def
Counts
2 → 89
Calls
2 calls:
12.0ms
(sqrt (+ x 1.0))
126.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series129.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(sqrt (+ x 1.0))
91.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify2.5s

Counts
95 → 95
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01371993
13011432
26771124
31959950
done5000846

prune214.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
27×sqrt-prod
21×distribute-lft-out
20×add-sqr-sqrt
18×times-frac
17×add-cube-cbrt
fma-def associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1
expm1-log1p-u 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 → 84
Calls
3 calls:
19.0ms
(sqrt (+ x 1.0))
36.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
43.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

series292.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(sqrt (+ x 1.0))
70.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
177.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

simplify2.0s

Counts
93 → 93
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01581171
13641060
2967972
32933955
done5000954

prune320.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite398.0ms

Algorithm
rewrite-expression-head
Rules
297×*-un-lft-identity
274×sqrt-prod
157×times-frac
119×add-sqr-sqrt
116×distribute-lft-out
88×add-cube-cbrt
41×swap-sqr
27×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
flip3-+ flip-+ div-inv
associate-/l*
sqrt-div pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 258
Calls
4 calls:
51.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
41.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
46.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
242.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
538.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
250.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
218.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
209.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

simplify1.6s

Counts
270 → 270
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03176276
16744462
221054194
done50004091

prune882.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite931.0ms

Algorithm
rewrite-expression-head
Rules
884×sqrt-prod
683×*-un-lft-identity
517×times-frac
435×add-sqr-sqrt
244×distribute-lft-out
240×add-cube-cbrt
127×swap-sqr
87×associate-*l*
64×associate-*r*
31×unswap-sqr
22×add-exp-log sqrt-div add-cbrt-cube
18×pow1 associate-/r*
14×associate-/r/
12×associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv frac-times sqrt-undiv associate-*r/ div-exp pow-prod-down
prod-exp cbrt-unprod
expm1-log1p-u sqrt-pow1 associate-*l/ log1p-expm1-u add-log-exp
frac-2neg pow1/2 sqrt-unprod clear-num *-commutative
pow2 pow-plus rem-square-sqrt pow-sqr pow-prod-up
Counts
4 → 533
Calls
4 calls:
63.0ms
(/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
79.0ms
(/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
341.0ms
(* (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))) (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))
391.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (* (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))) (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))))

series2.0s

Counts
4 → 12
Calls
4 calls:
558.0ms
(/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
950.0ms
(/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
231.0ms
(* (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))) (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))
230.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (* (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))) (/ (sqrt 1.0) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))))

simplify2.5s

Counts
545 → 545
Iterations

Useful iterations: done (2.5s)

IterNodesCost
041317557
1111514642
2330412125
done500111688

prune1.6s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes72.0ms

Accuracy

0% (0.1b 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
199
done99

end0.0ms

sample1.5s

Algorithm
intervals
Results
481.0ms1686×body1280valid
289.0ms7865×body80nan
210.0ms1261×body640valid
185.0ms4165×body80valid
57.0ms605×body320valid
17.0ms283×body160valid