Details

Time bar (total: 5.5s)

sample13.0ms

Algorithm
intervals
Results
6.0ms257×body80valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
048
186
2126
3136
done136

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.1b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

27.0b
(sqrt (* x (+ x x)))

rewrite5.0ms

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

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(sqrt (* x (+ x x)))

simplify1.1s

Counts
16 → 16
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
033132
166102
213891
339589
4194689
done500189

prune40.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New9716
Fresh000
Picked101
Done000
Total10717

Merged error: 0.1b

Counts
17 → 7

localize6.0ms

Local error

Found 1 expressions with local error:

27.0b
(pow (* x (+ x x)) 1/2)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log
pow-unpow
add-sqr-sqrt add-cube-cbrt pow-pow *-un-lft-identity pow-exp
pow-to-exp unpow-prod-down pow-prod-down prod-exp add-cbrt-cube unpow1/2 add-log-exp sqr-pow
Counts
1 → 18
Calls
1 calls:
6.0ms
(pow (* x (+ x x)) 1/2)

series28.0ms

Counts
1 → 3
Calls
1 calls:
28.0ms
(pow (* x (+ x x)) 1/2)

simplify870.0ms

Counts
21 → 21
Iterations

Useful iterations: 4 (248.0ms)

IterNodesCost
049197
1111167
2244161
3677149
42300140
done5000140

prune40.0ms

Filtered
11 candidates to 21 candidates (-90.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New20121
Fresh066
Picked011
Done000
Total20828

Merged error: 0.1b

Counts
28 → 8

localize7.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (* x (+ x x))))
0.5b
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
27.0b
(sqrt (* x (+ x x)))
27.0b
(sqrt (* x (+ x x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-pow1
71×pow1
33×sqrt-prod
32×sqrt-div
26×add-sqr-sqrt
25×pow-prod-down
22×pow1/2
20×associate-*r/
14×pow-prod-up
13×add-cube-cbrt *-un-lft-identity
flip3-+ swap-sqr flip-+
pow-sqr
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
frac-times add-log-exp unswap-sqr
associate-*l/
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 124
Calls
4 calls:
6.0ms
(sqrt (sqrt (* x (+ x x))))
19.0ms
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
5.0ms
(sqrt (* x (+ x x)))
6.0ms
(sqrt (* x (+ x x)))

series18.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (sqrt (* x (+ x x))))
4.0ms
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
4.0ms
(sqrt (* x (+ x x)))
4.0ms
(sqrt (* x (+ x x)))

simplify1.1s

Counts
136 → 136
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01271941
12541202
28651029
33629961
done5000949

prune115.0ms

Filtered
73 candidates to 136 candidates (-86.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh246
Picked011
Done011
Total1377144

Merged error: 0.1b

Counts
144 → 7

localize3.0ms

Local error

Found 1 expressions with local error:

0.4b
(* x (sqrt 2))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*r*
add-cube-cbrt *-un-lft-identity sqrt-prod
pow1 add-exp-log associate-*l* add-cbrt-cube
unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
Counts
1 → 22
Calls
1 calls:
5.0ms
(* x (sqrt 2))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(* x (sqrt 2))

simplify1.6s

Counts
25 → 25
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
037158
171144
2159136
3228133
4297133
5468133
61016133
73890133
done5000133

prune32.0ms

Filtered
14 candidates to 25 candidates (-78.6%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New22325
Fresh044
Picked011
Done022
Total221032

Merged error: 0.1b

Counts
32 → 10

regimes57.0ms

Accuracy

99.1% (0.3b remaining)

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

bsearch12.0ms

Steps
ItersRangePoint
8
-7.67443757966827e-305
8.126837495347253e-308
1.9786006080648e-310

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
11816
22016
done2016

end0.0ms

sample345.0ms

Algorithm
intervals
Results
195.0ms8006×body80valid

Profiling

Loading profile data...