Details

Time bar (total: 11.8s)

sample32.0ms

Algorithm
intervals
Results
6.0ms61×body640valid
5.0ms237×body80nan
5.0ms39×body1280valid
3.0ms133×body80valid
1.0ms11×body320valid
1.0ms12×body160valid

simplify6.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
21411
done1411

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.7b

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

rewrite211.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:
9.0ms
(sqrt (+ x 1.0))
14.0ms
(/ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ 1.0 (sqrt x))
95.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series291.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
78.0ms
(/ 1.0 (sqrt (+ x 1.0)))
38.0ms
(/ 1.0 (sqrt x))
145.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify1.9s

Counts
770 → 770
Iterations

Useful iterations: done (1.8s)

IterNodesCost
070140764
1153135216
2301226244
done500120672

prune663.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 19.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
15×*-un-lft-identity sqrt-prod
11×add-exp-log add-cube-cbrt add-cbrt-cube
pow1
associate-*r*
sqrt-div associate-*l* add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u unswap-sqr
sqrt-pow1 flip3-+ times-frac pow1/2 pow-prod-down flip-+ associate-/l*
cbrt-undiv flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod associate-/l/ distribute-lft-out
sub-neg rem-sqrt-square frac-2neg fma-neg sqrt-unprod diff-log div-sub prod-diff clear-num associate-/r* *-commutative hypot-def div-inv
Counts
4 → 98
Calls
4 calls:
8.0ms
(sqrt (+ x 1.0))
51.0ms
(/ (- (* 1.0 (sqrt (+ x 1.0))) (* (sqrt x) 1.0)) (* (sqrt x) (sqrt (+ x 1.0))))
30.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
19.0ms
(- (* 1.0 (sqrt (+ x 1.0))) (* (sqrt x) 1.0))

series443.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (+ x 1.0))
259.0ms
(/ (- (* 1.0 (sqrt (+ x 1.0))) (* (sqrt x) 1.0)) (* (sqrt x) (sqrt (+ x 1.0))))
53.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
95.0ms
(- (* 1.0 (sqrt (+ x 1.0))) (* (sqrt x) 1.0))

simplify1.4s

Counts
110 → 110
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02041790
15571653
218681321
done50001277

prune308.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 18.3b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite266.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
22×add-sqr-sqrt
18×times-frac
16×*-un-lft-identity
14×add-cube-cbrt
12×cbrt-undiv div-exp associate-/l*
11×sqrt-prod
10×associate-*r/
pow1 associate-/r/
associate-*r* prod-exp cbrt-unprod
associate-*l* add-log-exp
flip3-+ flip-+
expm1-log1p-u sqrt-div log1p-expm1-u div-inv unswap-sqr
div-sub pow-prod-down associate-/l/
flip3-- frac-2neg sqrt-pow1 pow1/2 associate--l+ clear-num associate-/r* flip--
distribute-rgt-in sub-neg distribute-lft-in fma-neg sqrt-unprod diff-log prod-diff *-commutative distribute-lft-out
Counts
4 → 128
Calls
4 calls:
96.0ms
(/ (- (* (* 1.0 1.0) (+ x 1.0)) (* x (* 1.0 1.0))) (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
100.0ms
(/ (/ (- (* (* 1.0 1.0) (+ x 1.0)) (* x (* 1.0 1.0))) (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
27.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
38.0ms
(- (* (* 1.0 1.0) (+ x 1.0)) (* x (* 1.0 1.0)))

series701.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(/ (- (* (* 1.0 1.0) (+ x 1.0)) (* x (* 1.0 1.0))) (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
495.0ms
(/ (/ (- (* (* 1.0 1.0) (+ x 1.0)) (* x (* 1.0 1.0))) (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
58.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
3.0ms
(- (* (* 1.0 1.0) (+ x 1.0)) (* x (* 1.0 1.0)))

simplify1.6s

Counts
140 → 140
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02893978
18403760
238292747
done50002704

prune390.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
27×*-un-lft-identity
24×add-sqr-sqrt
19×sqrt-prod
18×times-frac
16×add-cube-cbrt
12×cbrt-undiv div-exp associate-/l*
10×associate-*r/
pow1 associate-/r/
fma-def associate-*r* prod-exp cbrt-unprod
flip3-+ associate-*l* flip-+ distribute-lft-out add-log-exp
expm1-log1p-u sqrt-div log1p-expm1-u div-inv unswap-sqr
pow-prod-down
frac-2neg sqrt-pow1 pow1/2 clear-num associate-/r*
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 129
Calls
4 calls:
37.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
31.0ms
(/ 1.0 (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
55.0ms
(/ (/ 1.0 (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
31.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
146.0ms
(/ 1.0 (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
495.0ms
(/ (/ 1.0 (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
54.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify1.2s

Counts
141 → 141
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02682572
17162230
228051845
done50001806

prune327.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes53.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
11729
done1729

end0.0ms

sample887.0ms

Algorithm
intervals
Results
169.0ms1758×body640valid
164.0ms7989×body80nan
134.0ms1129×body1280valid
107.0ms4137×body80valid
49.0ms650×body320valid
15.0ms326×body160valid