Details

Time bar (total: 18.5s)

sample34.0ms

Algorithm
intervals
Results
8.0ms238×body80nan
6.0ms60×body1280valid
4.0ms41×body640valid
3.0ms123×body80valid
2.0ms24×body320valid
0.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations
IterNodes
done10
210
19
06

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

localize12.0ms

Local error

Found 1 expressions with local error:

2.7b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
57×sqrt-prod
50×*-un-lft-identity
42×prod-diff
37×add-sqr-sqrt
29×add-cube-cbrt
distribute-lft-out
fma-neg
difference-of-squares
distribute-lft-out-- add-log-exp
expm1-log1p-u pow1 sub-neg flip3-- add-cbrt-cube diff-log add-exp-log log1p-expm1-u flip--
Counts
1 → 70
Calls
1 calls:
61.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series112.0ms

Counts
1 → 3
Calls
1 calls:
112.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify3.0s

Counts
73 → 73
Iterations
IterNodes
done5000
34574
2871
1272
0119

prune202.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
16×add-sqr-sqrt add-cube-cbrt
fma-def
associate-/r*
add-cbrt-cube add-exp-log associate-/l* add-log-exp
flip3-+ flip-+
expm1-log1p-u pow1 associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative clear-num sum-log frac-2neg div-exp div-inv
Counts
2 → 75
Calls
2 calls:
27.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
75.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series306.0ms

Counts
2 → 6
Calls
2 calls:
115.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
191.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify1.2s

Counts
81 → 81
Iterations
IterNodes
done5000
21689
1380
0147

prune379.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
0.1b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.1b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.3b
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

rewrite526.0ms

Algorithm
rewrite-expression-head
Rules
597×*-un-lft-identity
420×sqrt-prod
256×distribute-lft-out
247×times-frac
130×add-sqr-sqrt
99×add-cube-cbrt
71×swap-sqr
33×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-cbrt-cube add-exp-log
sqrt-pow1 flip3-+ pow1/2 flip-+ unswap-sqr
associate-/l*
div-inv
sqrt-div pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp associate-/l/
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square clear-num frac-2neg div-exp
pow2 frac-times rem-square-sqrt pow-plus sqrt-unprod associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod
Counts
4 → 324
Calls
4 calls:
80.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
86.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
59.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
272.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
511.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
211.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
259.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
188.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify2.6s

Counts
336 → 336
Iterations
IterNodes
done5000
23825
1784
0327

prune1.3s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
1122×*-un-lft-identity
908×sqrt-prod
774×times-frac
460×distribute-lft-out
310×add-sqr-sqrt
292×add-cube-cbrt
46×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
15×flip3-+ flip-+
12×div-inv
11×add-cbrt-cube add-exp-log
hypot-def
pow1
expm1-log1p-u cbrt-undiv div-exp log1p-expm1-u add-log-exp
associate-/l/
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2
Counts
4 → 563
Calls
4 calls:
61.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
38.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
62.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
164.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series1.2s

Counts
4 → 12
Calls
4 calls:
257.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
254.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
470.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
210.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify1.9s

Counts
575 → 575
Iterations
IterNodes
done5000
11171
0459

prune2.0s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes82.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done13
213
112
09

end0.0ms

sample2.0s

Algorithm
intervals
Results
694.0ms4033×body80valid
334.0ms1784×body1280valid
271.0ms8087×body80nan
204.0ms1272×body640valid
139.0ms618×body320valid
20.0ms293×body160valid