Details

Time bar (total: 7.7s)

sample71.0ms

Algorithm
intervals
Results
41.0ms738×body80nan
7.0ms256×body80valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
067
197
2107
done107

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

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

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

series17.0ms

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

simplify1.5s

Counts
37 → 37
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
099427
1230396
2691382
32527382
done5000382

prune68.0ms

Filtered
25 candidates to 37 candidates (-48.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34337
Fresh000
Picked101
Done000
Total35338

Merged error: 0b

Counts
38 → 3

localize4.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 (1.0ms)

IterNodesCost
000
done00

prune6.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done000
Total033

Merged error: 0b

Counts
3 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
76×pow1
64×sqrt-pow1
44×pow-prod-down
37×add-sqr-sqrt
30×pow1/2
28×sqrt-div sqrt-prod
20×associate-*l*
19×*-un-lft-identity
18×associate-*l/
16×associate-*r*
15×add-cube-cbrt
14×pow-prod-up
add-exp-log add-cbrt-cube unswap-sqr
flip3-- pow-sqr flip--
frac-times swap-sqr
sqrt-unprod prod-exp *-commutative cbrt-unprod add-log-exp
associate-*r/ distribute-lft-out-- difference-of-squares
pow2 pow-plus rem-square-sqrt
Counts
3 → 133
Calls
3 calls:
20.0ms
(* (sqrt (* (sqrt (- x 1.0)) (sqrt x))) (sqrt (* (sqrt (- x 1.0)) (sqrt x))))
9.0ms
(* (sqrt (- x 1.0)) (sqrt x))
13.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series22.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(* (sqrt (* (sqrt (- x 1.0)) (sqrt x))) (sqrt (* (sqrt (- x 1.0)) (sqrt x))))
8.0ms
(* (sqrt (- x 1.0)) (sqrt x))
7.0ms
(* (sqrt (- x 1.0)) (sqrt x))

simplify3.1s

Counts
142 → 142
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
01672018
13431479
210771405
349611377
done50001377

prune209.0ms

Filtered
86 candidates to 142 candidates (-65.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1420142
Fresh011
Picked011
Done011
Total1423145

Merged error: 0b

Counts
145 → 3

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.3b
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
0.3b
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

rewrite44.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:
5.0ms
(sqrt (sqrt (- x 1.0)))
5.0ms
(sqrt (sqrt (- x 1.0)))
17.0ms
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
11.0ms
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

series45.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (sqrt (- x 1.0)))
7.0ms
(sqrt (sqrt (- x 1.0)))
7.0ms
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
24.0ms
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

simplify765.0ms

Counts
134 → 134
Iterations

Useful iterations: 2 (245.0ms)

IterNodesCost
02742211
17031884
221981699
done50001699

prune247.0ms

Filtered
91 candidates to 134 candidates (-47.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1340134
Fresh000
Picked011
Done022
Total1343137

Merged error: 0b

Counts
137 → 3

regimes71.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
done67

end0.0ms

sample1.4s

Algorithm
intervals
Results
714.0ms23424×body80nan
230.0ms7995×body80valid
0.0msbody160valid

Profiling

Loading profile data...