Details

Time bar (total: 8.5s)

sample24.0ms

Algorithm
intervals
Results
13.0ms452×body80valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0811
1159
2239
3259
done259

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
11.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
3.0ms
(+ (* x 2.0) (* x x))

series88.0ms

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

simplify1.5s

Counts
31 → 31
Iterations

Useful iterations: 3 (363.0ms)

IterNodesCost
057440
1183340
2845308
32941302
done5000302

prune65.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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-+l+ 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:
9.0ms
(* x (+ 2.0 x))
5.0ms
(+ (* x (+ 2.0 x)) (* y y))

series78.0ms

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

simplify3.2s

Counts
42 → 42
Iterations

Useful iterations: 3 (458.0ms)

IterNodesCost
069422
1209388
2923356
34137350
done5000350

prune77.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×pow1
18×sqrt-prod
16×*-un-lft-identity
14×add-cube-cbrt
12×sqrt-div
10×associate-*r*
flip3-+ associate-*l* flip-+
add-exp-log sqrt-pow1 pow1/2 swap-sqr add-cbrt-cube add-log-exp
pow-prod-up unswap-sqr
frac-times associate-+r+ associate-*r/ pow-prod-down
distribute-rgt-in distribute-lft-in pow-sqr
+-commutative associate-*l/ prod-exp sum-log *-commutative cbrt-unprod
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out
Counts
4 → 106
Calls
4 calls:
9.0ms
(* x (+ 2.0 x))
3.0ms
(+ (* y y) (* x (+ 2.0 x)))
3.0ms
(+ (* y y) (* x (+ 2.0 x)))
19.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

series139.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* x (+ 2.0 x))
30.0ms
(+ (* y y) (* x (+ 2.0 x)))
34.0ms
(+ (* y y) (* x (+ 2.0 x)))
31.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

simplify645.0ms

Counts
118 → 118
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
01282344
12981667
213011465
done50011465

prune222.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* 2.0 x))
0.0b
(+ (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
0.1b
(* x (+ (pow 2.0 3) (pow x 3)))
12.0b
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
associate-*r*
add-cube-cbrt add-log-exp
pow1
distribute-lft-out
unpow-prod-down flip3-+ cube-prod associate-*r/ flip-+
times-frac associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in sub-neg flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in diff-log pow-prod-down clear-num sum-log sum-cubes *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
4 → 77
Calls
4 calls:
3.0ms
(- (* x x) (* 2.0 x))
61.0ms
(+ (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
48.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
31.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

series463.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (* x x) (* 2.0 x))
105.0ms
(+ (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
96.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
203.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

simplify961.0ms

Counts
89 → 89
Iterations

Useful iterations: 2 (172.0ms)

IterNodesCost
01571798
14811522
222981360
done50011360

prune228.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes45.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
079
1109
done109

end0.0ms

sample564.0ms

Algorithm
intervals
Results
340.0ms14328×body80valid