Details

Time bar (total: 9.6s)

sample286.0ms

Algorithm
intervals
Results
20.0ms797×body80nan
5.0ms255×body80valid
0.0msbody160valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
067
197
2107
done107

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite17.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:
15.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series83.0ms

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

simplify2.7s

Counts
37 → 37
Iterations

Useful iterations: done (2.7s)

IterNodesCost
083387
1182356
2451338
31104335
42909334
done5000332

prune74.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (+ 0.5 (/ 0.125 x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt
diff-log distribute-lft-out--
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- sum-log add-cbrt-cube flip-- distribute-lft-out associate--r+ difference-of-squares
Counts
1 → 17
Calls
1 calls:
17.0ms
(- x (+ 0.5 (/ 0.125 x)))

series20.0ms

Counts
1 → 3
Calls
1 calls:
20.0ms
(- x (+ 0.5 (/ 0.125 x)))

simplify1.4s

Counts
20 → 20
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
042229
1102220
2243200
3764200
42958200
done5001200

prune33.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (- x 1.0)))
0.1b
(sqrt (sqrt (- x 1.0)))
0.2b
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
0.4b
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
66×sqrt-prod
40×add-sqr-sqrt
36×sqrt-div
24×*-un-lft-identity
22×associate-*l*
20×pow1
16×add-cube-cbrt
13×sqrt-pow1
11×add-exp-log add-cbrt-cube
10×pow-prod-down associate-*l/
flip3-- pow1/2 flip--
associate-*r*
unswap-sqr
frac-times rem-sqrt-square prod-exp cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
sqrt-unprod
associate-*r/ *-commutative
Counts
4 → 122
Calls
4 calls:
4.0ms
(sqrt (sqrt (- x 1.0)))
4.0ms
(sqrt (sqrt (- x 1.0)))
37.0ms
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
17.0ms
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

series557.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(sqrt (sqrt (- x 1.0)))
103.0ms
(sqrt (sqrt (- x 1.0)))
69.0ms
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
280.0ms
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

simplify1.1s

Counts
134 → 134
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02311970
15651661
215841523
done50011495

prune303.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (- x 1.0)))
0.2b
(* (sqrt (- x 1.0)) x)
0.2b
(* (sqrt (sqrt (- x 1.0))) (pow (* (sqrt (- x 1.0)) x) (/ 1 2)))
22.6b
(pow (* (sqrt (- x 1.0)) x) (/ 1 2))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
39×sqrt-prod
26×*-un-lft-identity
20×add-cube-cbrt
19×associate-*l*
17×add-exp-log
13×pow-unpow
12×pow1
10×sqrt-div
times-frac
associate-*r* add-cbrt-cube unswap-sqr
prod-exp
sqrt-pow1 sqr-pow
associate-*l/ pow-exp add-log-exp
flip3-- pow-prod-down flip-- distribute-lft-out-- difference-of-squares
pow-to-exp unpow-prod-down rem-sqrt-square pow-pow pow1/2 *-commutative cbrt-unprod
div-inv
Counts
4 → 114
Calls
4 calls:
4.0ms
(sqrt (sqrt (- x 1.0)))
13.0ms
(* (sqrt (- x 1.0)) x)
19.0ms
(* (sqrt (sqrt (- x 1.0))) (pow (* (sqrt (- x 1.0)) x) (/ 1 2)))
6.0ms
(pow (* (sqrt (- x 1.0)) x) (/ 1 2))

series494.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(sqrt (sqrt (- x 1.0)))
90.0ms
(* (sqrt (- x 1.0)) x)
72.0ms
(* (sqrt (sqrt (- x 1.0))) (pow (* (sqrt (- x 1.0)) x) (/ 1 2)))
222.0ms
(pow (* (sqrt (- x 1.0)) x) (/ 1 2))

simplify972.0ms

Counts
126 → 126
Iterations

Useful iterations: done (969.0ms)

IterNodesCost
02831966
16701655
218771585
done50011581

prune299.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes13.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

sample1.1s

Algorithm
intervals
Results
577.0ms23802×body80nan
154.0ms7989×body80valid
0.0ms11×body160valid