Details

Time bar (total: 9.3s)

sample54.0ms

Algorithm
intervals
Results
13.0ms70×body640valid
10.0ms245×body80nan
8.0ms35×body1280valid
5.0ms111×body80valid
4.0ms28×body320valid
1.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.6b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
3.2b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
875×*-un-lft-identity
742×add-sqr-sqrt
712×add-cube-cbrt
594×prod-diff
562×sqrt-prod
73×distribute-lft-out
54×div-inv
46×sqrt-div associate-/r/
23×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 flip3-- diff-log frac-sub flip--
Counts
3 → 739
Calls
3 calls:
8.0ms
(/ 1.0 (sqrt (+ x 1.0)))
3.0ms
(/ 1.0 (sqrt x))
61.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ 1.0 (sqrt (+ x 1.0)))
3.0ms
(/ 1.0 (sqrt x))
9.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify235.0ms

Algorithm
egg-herbie
Counts
748 → 748
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0151724924
1419718301
2500118266

prune3.6s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 22.9b

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.2b
(* (sqrt x) (sqrt (+ x 1.0)))
3.2b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
68×sqrt-prod
58×*-un-lft-identity
51×add-sqr-sqrt
42×prod-diff
35×add-cube-cbrt
17×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 fma-neg associate-*r*
associate-*r/ associate-*l*
prod-exp cbrt-unprod add-log-exp
cbrt-undiv sqrt-div div-exp difference-of-squares unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u distribute-lft-out--
flip3-- sqrt-pow1 flip3-+ pow1/2 associate-/r/ flip-- flip-+ associate-/l/
sub-neg frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
3 → 132
Calls
3 calls:
51.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
13.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
25.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series25.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
4.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
6.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify84.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06141715
128831280
250021185

prune837.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 21.8b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
112×*-un-lft-identity
41×distribute-lft-out
36×add-sqr-sqrt
35×sqrt-prod
31×times-frac
29×add-exp-log add-cbrt-cube
28×add-cube-cbrt
11×associate-+r+
cbrt-undiv div-exp prod-diff add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out--
associate-*r* associate-/r*
associate-*l* associate-/l*
flip3-+ associate-*r/ flip-+
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u unswap-sqr
fma-def pow-prod-down associate-/l/
associate-+r- frac-2neg sqrt-pow1 pow1/2 clear-num sum-log div-inv
+-commutative sub-neg sqrt-unprod diff-log div-sub *-commutative
Counts
4 → 156
Calls
4 calls:
44.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
27.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
12.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
8.0ms
(+ x (- 1.0 x))

series41.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
26.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
4.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify105.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07991711
142361448
250011435

prune1.2s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

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

rewrite80.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:
20.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
22.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
21.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
9.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
4.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
26.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07041320
136471120
250011050

prune858.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes125.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119
1119

end0.0ms

sample1.5s

Algorithm
intervals
Results
363.0ms1918×body640valid
352.0ms8078×body80nan
281.0ms1162×body1280valid
194.0ms3989×body80valid
91.0ms628×body320valid
28.0ms303×body160valid