Details

Time bar (total: 18.6s)

sample56.0ms

Algorithm
intervals
Results
12.0ms60×body1280valid
10.0ms238×body80nan
7.0ms41×body640valid
5.0ms123×body80valid
3.0ms24×body320valid
1.0msbody160valid

simplify8.0ms

Counts
1 → 1
Iterations
IterNodes
done10
210
19
06

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

localize14.0ms

Local error

Found 1 expressions with local error:

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

rewrite53.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:
50.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series76.0ms

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

simplify1.9s

Counts
73 → 73
Iterations
IterNodes
done5001
31899
2630
1272
0119

prune152.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
103×*-un-lft-identity
43×distribute-lft-out
32×sqrt-prod
30×times-frac
17×add-sqr-sqrt add-cube-cbrt
fma-def distribute-lft-out--
associate-/r*
associate-/l*
add-cbrt-cube add-exp-log add-log-exp
flip3-+ flip-+
expm1-log1p-u pow1 associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative clear-num associate-+r- sum-log frac-2neg div-sub div-exp div-inv
Counts
2 → 83
Calls
2 calls:
33.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
119.0ms
(/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))

series347.0ms

Counts
2 → 6
Calls
2 calls:
113.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
233.0ms
(/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify2.9s

Counts
89 → 89
Iterations
IterNodes
done5000
33761
21167
1390
0150

prune373.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite692.0ms

Algorithm
rewrite-expression-head
Rules
1133×*-un-lft-identity
638×sqrt-prod
468×distribute-lft-out
377×times-frac
145×add-sqr-sqrt
121×swap-sqr
114×add-cube-cbrt
92×distribute-lft-out--
39×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-cbrt-cube add-exp-log associate-/l*
sqrt-pow1 flip3-+ pow1/2 flip-+ unswap-sqr
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 associate-+r- frac-2neg div-sub div-exp
pow2 frac-times rem-square-sqrt pow-plus sqrt-unprod associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod
Counts
4 → 408
Calls
4 calls:
83.0ms
(sqrt (/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x))))
114.0ms
(/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
89.0ms
(/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
371.0ms
(* (sqrt (/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
477.0ms
(sqrt (/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x))))
192.0ms
(/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
220.0ms
(/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
203.0ms
(* (sqrt (/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 (- x x)) (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify2.6s

Counts
420 → 420
Iterations
IterNodes
done5001
22170
1776
0330

prune1.3s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

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

rewrite387.0ms

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity
708×sqrt-prod
594×times-frac
280×distribute-lft-out
270×add-sqr-sqrt
252×add-cube-cbrt
36×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
14×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
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2
associate-/l/
Counts
4 → 461
Calls
4 calls:
75.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
40.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
59.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
152.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series1.1s

Counts
4 → 12
Calls
4 calls:
198.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
217.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
481.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
215.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify2.1s

Counts
473 → 473
Iterations
IterNodes
done5000
22669
11075
0448

prune1.3s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes68.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done12
112
09

end1.0ms

sample1.8s

Algorithm
intervals
Results
577.0ms4033×body80valid
348.0ms1784×body1280valid
334.0ms8087×body80nan
153.0ms1272×body640valid
63.0ms293×body160valid
56.0ms618×body320valid