Details

Time bar (total: 15.8s)

sample141.0ms

Algorithm
intervals
Results
36.0ms681×body80nan
9.0ms256×body80valid

simplify64.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
067
197
2107
done107

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 1 expressions with local error:

0.5b
(* (sqrt (- x 1.0)) (sqrt x))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*l*
*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*l/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 34
Calls
1 calls:
56.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series141.0ms

Counts
1 → 3
Calls
1 calls:
140.0ms
(* (sqrt (- x 1.0)) (sqrt x))

simplify3.1s

Counts
37 → 37
Iterations

Useful iterations: done (3.1s)

IterNodesCost
083387
1181354
2435338
3983335
42401334
done5001332

prune150.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize12.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune8.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite243.0ms

Algorithm
rewrite-expression-head
Rules
51×sqrt-prod
38×add-sqr-sqrt
28×*-un-lft-identity
20×associate-*l*
18×pow1 sqrt-div
12×add-cube-cbrt
11×add-exp-log add-cbrt-cube
10×pow-prod-down associate-*l/
difference-of-squares
sqrt-pow1 pow1/2 associate-*r*
flip3-- flip--
frac-times flip3-+ prod-exp cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- add-log-exp unswap-sqr
sqrt-unprod
rem-sqrt-square associate-*r/ *-commutative
Counts
4 → 110
Calls
4 calls:
28.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
29.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
124.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
52.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

series2.1s

Counts
4 → 12
Calls
4 calls:
209.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
224.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
1.3s
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
399.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

simplify2.2s

Counts
122 → 122
Iterations

Useful iterations: done (2.2s)

IterNodesCost
03682664
19702244
230042116
done50002114

prune454.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 1 expressions with local error:

31.0b
(sqrt (* x (- x 1.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
15.0ms
(sqrt (* x (- x 1.0)))

series49.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(sqrt (* x (- x 1.0)))

simplify3.5s

Counts
16 → 16
Iterations

Useful iterations: 4 (485.0ms)

IterNodesCost
051154
1113138
2252128
3564126
41365125
53387125
done5001125

prune61.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes33.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
177
done77

end0.0ms

sample3.4s

Algorithm
intervals
Results
2.1s24345×body80nan
459.0ms7991×body80valid
1.0msbody160valid