Details

Time bar (total: 5.7s)

sample30.0ms

Algorithm
intervals
Results
14.0ms464×body80valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0811
1159
2239
3259
done259

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 2.0) (* x x))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
4.0ms
(+ (* x 2.0) (* x x))
6.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x 2.0) (* x x))
6.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))

simplify869.0ms

Counts
31 → 31
Iterations

Useful iterations: 3 (279.0ms)

IterNodesCost
057440
1183353
2817308
32689302
done5000302

prune42.0ms

Filtered
23 candidates to 31 candidates (-34.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh011
Picked011
Done000
Total30333

Merged error: 0.0b

Counts
33 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ 2.0 x))
0.0b
(+ (* y y) (* x (+ 2.0 x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
6.0ms
(* x (+ 2.0 x))
8.0ms
(+ (* y y) (* x (+ 2.0 x)))

series12.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* x (+ 2.0 x))
7.0ms
(+ (* y y) (* x (+ 2.0 x)))

simplify809.0ms

Counts
42 → 42
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
070422
1209401
2708351
32293351
done5001351

prune48.0ms

Filtered
30 candidates to 42 candidates (-40.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done011
Total42345

Merged error: 0.0b

Counts
45 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (* x (+ 2.0 x)) (pow y 2)))
0.0b
(+ (* x (+ 2.0 x)) (pow y 2))
0.0b
(+ (* x (+ 2.0 x)) (pow y 2))
0.1b
(* (sqrt (+ (* x (+ 2.0 x)) (pow y 2))) (sqrt (+ (* x (+ 2.0 x)) (pow y 2))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
14×sqrt-div
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 flip3-+ pow1/2 flip-+
swap-sqr add-log-exp
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times associate-+l+ unswap-sqr
pow-prod-down pow-sqr
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ sum-log
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
8.0ms
(sqrt (+ (* x (+ 2.0 x)) (pow y 2)))
8.0ms
(+ (* x (+ 2.0 x)) (pow y 2))
8.0ms
(+ (* x (+ 2.0 x)) (pow y 2))
20.0ms
(* (sqrt (+ (* x (+ 2.0 x)) (pow y 2))) (sqrt (+ (* x (+ 2.0 x)) (pow y 2))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(sqrt (+ (* x (+ 2.0 x)) (pow y 2)))
7.0ms
(+ (* x (+ 2.0 x)) (pow y 2))
6.0ms
(+ (* x (+ 2.0 x)) (pow y 2))
7.0ms
(* (sqrt (+ (* x (+ 2.0 x)) (pow y 2))) (sqrt (+ (* x (+ 2.0 x)) (pow y 2))))

simplify989.0ms

Counts
110 → 110
Iterations

Useful iterations: done (986.0ms)

IterNodesCost
01022423
12171742
28251576
330561488
done50001470

prune184.0ms

Filtered
71 candidates to 110 candidates (-54.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1091110
Fresh000
Picked011
Done022
Total1094113

Merged error: 0b

Counts
113 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* x (+ 2.0 x)) (pow y 2))))
0.2b
(* (fabs (cbrt (+ (* x (+ 2.0 x)) (pow y 2)))) (sqrt (cbrt (+ (* x (+ 2.0 x)) (pow y 2)))))
0.6b
(cbrt (+ (* x (+ 2.0 x)) (pow y 2)))
0.6b
(cbrt (+ (* x (+ 2.0 x)) (pow y 2)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
9.0ms
(sqrt (cbrt (+ (* x (+ 2.0 x)) (pow y 2))))
13.0ms
(* (fabs (cbrt (+ (* x (+ 2.0 x)) (pow y 2)))) (sqrt (cbrt (+ (* x (+ 2.0 x)) (pow y 2)))))
8.0ms
(cbrt (+ (* x (+ 2.0 x)) (pow y 2)))
8.0ms
(cbrt (+ (* x (+ 2.0 x)) (pow y 2)))

series176.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (cbrt (+ (* x (+ 2.0 x)) (pow y 2))))
53.0ms
(* (fabs (cbrt (+ (* x (+ 2.0 x)) (pow y 2)))) (sqrt (cbrt (+ (* x (+ 2.0 x)) (pow y 2)))))
40.0ms
(cbrt (+ (* x (+ 2.0 x)) (pow y 2)))
44.0ms
(cbrt (+ (* x (+ 2.0 x)) (pow y 2)))

simplify977.0ms

Counts
86 → 86
Iterations

Useful iterations: 3 (410.0ms)

IterNodesCost
01962380
14662221
213952016
339331725
done50001725

prune317.0ms

Filtered
69 candidates to 86 candidates (-24.6%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New86086
Fresh000
Picked011
Done033
Total86490

Merged error: 0b

Counts
90 → 4

regimes208.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
done1111

end0.0ms

sample862.0ms

Algorithm
intervals
Results
451.0ms14506×body80valid

Profiling

Loading profile data...