Details

Time bar (total: 10.4s)

sample37.0ms

Algorithm
intervals
Results
7.0ms286×body80nan
6.0ms59×body640valid
6.0ms41×body1280valid
4.0ms123×body80valid
2.0ms22×body320valid
1.0ms11×body160valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0811
11111
21411
done1411

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
879×*-un-lft-identity
747×add-sqr-sqrt
714×add-cube-cbrt
594×prod-diff
566×sqrt-prod
74×distribute-lft-out
54×div-inv
48×sqrt-div
46×associate-/r/
24×flip3-+ flip-+
22×fma-neg
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube
associate-/l* add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip-- hypot-def
Counts
4 → 758
Calls
4 calls:
4.0ms
(sqrt (+ x 1.0))
7.0ms
(/ 1.0 (sqrt (+ x 1.0)))
6.0ms
(/ 1.0 (sqrt x))
66.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(sqrt (+ x 1.0))
83.0ms
(/ 1.0 (sqrt (+ x 1.0)))
47.0ms
(/ 1.0 (sqrt x))
147.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify1.2s

Counts
770 → 770
Iterations

Useful iterations: done (1.2s)

IterNodesCost
070140764
1147935216
2323326242
done500126138

prune1.0s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 20.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))
3.1b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
62×*-un-lft-identity
56×add-sqr-sqrt
42×prod-diff
37×add-cube-cbrt
18×add-exp-log add-cbrt-cube
10×distribute-lft-out
pow1
fma-neg associate-*r*
sqrt-div associate-*r/ associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u difference-of-squares unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out--
flip3-- associate-/r/ flip-- associate-/l/
sub-neg rem-sqrt-square frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative hypot-def div-inv associate-/l*
Counts
4 → 151
Calls
4 calls:
4.0ms
(sqrt (+ x 1.0))
55.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
14.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
28.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series471.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ x 1.0))
294.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
65.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
78.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify958.0ms

Counts
163 → 163
Iterations

Useful iterations: done (953.0ms)

IterNodesCost
02413181
16312503
224151975
done50011965

prune344.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 19.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.2b
(/ (* 1.0 (/ (- (+ x 1.0) x) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))
2.4b
(- (+ x 1.0) x)

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
28×add-sqr-sqrt
27×add-exp-log add-cbrt-cube
19×sqrt-prod
18×add-cube-cbrt
12×prod-diff
11×distribute-lft-out add-log-exp
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod
fma-def associate-*r*
associate-*l*
associate-*r/
expm1-log1p-u fma-neg sqrt-div log1p-expm1-u unswap-sqr
flip3-+ pow-prod-down flip-+
sqrt-pow1 pow1/2 diff-log sum-log associate-/r/ distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg times-frac sqrt-unprod associate--l+ clear-num associate-/r* *-commutative flip-- div-inv associate-/l/ associate-/l* difference-of-squares
Counts
4 → 123
Calls
4 calls:
20.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
37.0ms
(/ (* 1.0 (/ (- (+ x 1.0) x) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
13.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
25.0ms
(- (+ x 1.0) x)

series677.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
546.0ms
(/ (* 1.0 (/ (- (+ x 1.0) x) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
62.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(- (+ x 1.0) x)

simplify1.3s

Counts
135 → 135
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02542326
17022028
229401608
done50001587

prune332.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
35×sqrt-prod
29×add-exp-log add-sqr-sqrt add-cbrt-cube
22×distribute-lft-out
21×add-cube-cbrt
19×times-frac
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
fma-def associate-*r* associate-/r*
associate-*l* add-log-exp
associate-*r/
expm1-log1p-u flip3-+ sqrt-div associate-/r/ flip-+ log1p-expm1-u associate-/l* unswap-sqr
pow-prod-down
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 131
Calls
4 calls:
19.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
26.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
14.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
22.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

series801.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
151.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
64.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
519.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

simplify1.1s

Counts
143 → 143
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02582403
17042171
227101810
done50001800

prune311.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes47.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01426
11926
done1926

end0.0ms

sample922.0ms

Algorithm
intervals
Results
188.0ms1796×body640valid
186.0ms8031×body80nan
159.0ms1162×body1280valid
119.0ms4077×body80valid
48.0ms609×body320valid
21.0ms356×body160valid