Details

Time bar (total: 15.3s)

sample78.0ms

Algorithm
intervals
Results
18.0ms277×body80nan
17.0ms59×body640valid
13.0ms38×body1280valid
10.0ms134×body80valid
4.0ms18×body320valid
1.0msbody160valid

simplify13.0ms

Counts
1 → 1
Iterations
IterNodes
done17
217
113
08

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.6b

localize57.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1))
0.1b
(/ 1 (sqrt (+ x 1)))
0.2b
(/ 1 (sqrt x))
3.0b
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
1063×times-frac
902×*-un-lft-identity
788×add-sqr-sqrt
714×add-cube-cbrt
594×prod-diff
580×sqrt-prod
74×distribute-lft-out
56×div-inv
48×sqrt-div
46×associate-/r/
25×difference-of-squares
24×flip3-+ flip-+
22×fma-neg
13×associate-/r* distribute-lft-out--
12×add-exp-log
pow1
add-cbrt-cube
pow-flip associate-/l* add-log-exp
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u
sqrt-pow1 pow1/2
cbrt-undiv rec-exp clear-num frac-2neg 1-exp hypot-def inv-pow
rem-sqrt-square sub-neg flip3-- diff-log frac-sub flip--
Counts
4 → 793
Calls
4 calls:
5.0ms
(sqrt (+ x 1))
9.0ms
(/ 1 (sqrt (+ x 1)))
6.0ms
(/ 1 (sqrt x))
47.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

series185.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(sqrt (+ x 1))
41.0ms
(/ 1 (sqrt (+ x 1)))
43.0ms
(/ 1 (sqrt x))
74.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

simplify1.2s

Counts
805 → 805
Iterations
IterNodes
done2000
22000
11435
0651

prune2.3s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 18.1b

localize37.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x 1))
0.1b
(/ 1 (sqrt (+ x 1)))
9.5b
(- (pow x -1/2) (/ 1 (sqrt (+ x 1))))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
236×*-un-lft-identity
209×add-sqr-sqrt
189×prod-diff
180×times-frac
174×add-cube-cbrt
110×sqrt-prod
89×unpow-prod-down
33×sqr-pow
26×distribute-lft-out
18×sqrt-div
16×associate-/r/
15×difference-of-squares
flip3-+ flip-+ div-inv
associate-/r* fma-neg add-exp-log
pow1
add-cbrt-cube add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u pow-flip associate-/l*
sqrt-pow1 pow1/2 div-exp hypot-def distribute-lft-out--
cbrt-undiv rem-sqrt-square rec-exp clear-num sub-neg frac-2neg flip3-- diff-log 1-exp flip-- inv-pow
Counts
3 → 303
Calls
3 calls:
5.0ms
(sqrt (+ x 1))
14.0ms
(/ 1 (sqrt (+ x 1)))
51.0ms
(- (pow x -1/2) (/ 1 (sqrt (+ x 1))))

series189.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(sqrt (+ x 1))
49.0ms
(/ 1 (sqrt (+ x 1)))
99.0ms
(- (pow x -1/2) (/ 1 (sqrt (+ x 1))))

simplify1.4s

Counts
312 → 312
Iterations
IterNodes
done2003
32003
21883
1949
0401

prune1.4s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 18.1b

localize20.0ms

Local error

Found 1 expressions with local error:

3.0b
(- (pow x -1/2) (pow (+ x 1) -1/2))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
65×unpow-prod-down
56×prod-diff
54×*-un-lft-identity
45×add-sqr-sqrt
33×add-cube-cbrt
22×sqr-pow
difference-of-squares
distribute-lft-out
fma-neg
distribute-lft-out-- add-log-exp
expm1-log1p-u pow1 sub-neg flip3-- add-cbrt-cube diff-log add-exp-log insert-posit16 log1p-expm1-u flip--
Counts
1 → 90
Calls
1 calls:
38.0ms
(- (pow x -1/2) (pow (+ x 1) -1/2))

series122.0ms

Counts
1 → 3
Calls
1 calls:
122.0ms
(- (pow x -1/2) (pow (+ x 1) -1/2))

simplify937.0ms

Counts
93 → 93
Iterations
IterNodes
done2003
32003
21016
1414
0188

prune244.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

localize55.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2)))
0.4b
(fma (pow x -1/2) (pow x -1/2) (* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2))))
7.0b
(- (* (/ 1 x) (pow x -1/2)) (/ (/ 1 (+ 1 x)) (sqrt (+ 1 x))))
15.7b
(/ (- (* (/ 1 x) (pow x -1/2)) (/ (/ 1 (+ 1 x)) (sqrt (+ 1 x)))) (fma (pow x -1/2) (pow x -1/2) (* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2)))))

rewrite240.0ms

Algorithm
rewrite-expression-head
Rules
244×times-frac
209×*-un-lft-identity
132×add-sqr-sqrt prod-diff
120×add-cube-cbrt
86×sqrt-prod
44×distribute-lft-out
27×associate-*l*
18×associate-/r/
15×add-exp-log
11×flip3-+ add-cbrt-cube flip-+ div-inv
pow1 add-log-exp
associate-*r* unswap-sqr
expm1-log1p-u sqrt-div prod-exp insert-posit16 log1p-expm1-u
associate-/r* div-exp associate-*l/ associate-/l* associate-/l/
frac-times cbrt-undiv flip3-- associate-*r/ frac-sub cbrt-unprod flip--
distribute-rgt-in rec-exp clear-num sub-neg frac-2neg distribute-lft-in fma-neg diff-log 1-exp div-sub pow-prod-down *-commutative fma-udef
Counts
4 → 256
Calls
4 calls:
115.0ms
(* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2)))
0.0ms
(fma (pow x -1/2) (pow x -1/2) (* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2))))
34.0ms
(- (* (/ 1 x) (pow x -1/2)) (/ (/ 1 (+ 1 x)) (sqrt (+ 1 x))))
82.0ms
(/ (- (* (/ 1 x) (pow x -1/2)) (/ (/ 1 (+ 1 x)) (sqrt (+ 1 x)))) (fma (pow x -1/2) (pow x -1/2) (* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2)))))

series683.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2)))
163.0ms
(fma (pow x -1/2) (pow x -1/2) (* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2))))
95.0ms
(- (* (/ 1 x) (pow x -1/2)) (/ (/ 1 (+ 1 x)) (sqrt (+ 1 x))))
290.0ms
(/ (- (* (/ 1 x) (pow x -1/2)) (/ (/ 1 (+ 1 x)) (sqrt (+ 1 x)))) (fma (pow x -1/2) (pow x -1/2) (* (/ 1 (sqrt (+ 1 x))) (+ (/ 1 (sqrt (+ 1 x))) (pow x -1/2)))))

simplify2.5s

Counts
268 → 268
Iterations
IterNodes
done2000
12000
0877

prune1.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

regimes35.0ms

Accuracy

97.2% (0.5b remaining)

Error of 1.4b against oracle of 0.9b and baseline of 19.7b

bsearch31.0ms

Steps
ItersRangePoint
6
3231.8276777318033
48819.349325626084
7750.30240499724

simplify4.0ms

Iterations
IterNodes
done30
130
025

end0.0ms

sample2.3s

Algorithm
intervals
Results
721.0ms8141×body80nan
545.0ms1839×body640valid
448.0ms1108×body1280valid
263.0ms4109×body80valid
128.0ms630×body320valid
35.0ms314×body160valid