Details

Time bar (total: 31.7s)

sample17.0ms

Algorithm
intervals
Results
10.0ms371×body80valid

simplify3.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2349
3719
4949
5999
61169
71719
83339
910039
1032679
done50009

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize5.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in add-cube-cbrt sub-neg *-un-lft-identity distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 25
Calls
1 calls:
12.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series74.0ms

Counts
1 → 3
Calls
1 calls:
74.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify4.4s

Counts
28 → 28
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
057367
1171352
2763294
34711294
done5000294

prune51.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.1b
(* x (* x (- 3.0 (* x 2.0))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
sub-neg associate-*r/ associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 52
Calls
2 calls:
7.0ms
(* x (- 3.0 (* x 2.0)))
12.0ms
(* x (* x (- 3.0 (* x 2.0))))

series142.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(* x (- 3.0 (* x 2.0)))
74.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify3.7s

Counts
58 → 58
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
079669
1200655
2848553
34470553
done5000553

prune81.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(+ (* x (* 3.0 x)) (- (* 2.0 (pow x 3))))
0.2b
(* x (* 3.0 x))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
sum-log
+-commutative neg-sub0 associate-+r- flip3-+ associate-*r* unsub-neg neg-log *-commutative flip-+
Counts
2 → 33
Calls
2 calls:
6.0ms
(+ (* x (* 3.0 x)) (- (* 2.0 (pow x 3))))
6.0ms
(* x (* 3.0 x))

series127.0ms

Counts
2 → 6
Calls
2 calls:
101.0ms
(+ (* x (* 3.0 x)) (- (* 2.0 (pow x 3))))
26.0ms
(* x (* 3.0 x))

simplify17.9s

Counts
39 → 39
Iterations

Useful iterations: 3 (455.0ms)

IterNodesCost
065444
1184399
2790357
34781319
done5000319

prune74.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
0.1b
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
0.1b
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
0.2b
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
13×associate-*r*
11×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*l* prod-exp cbrt-unprod add-log-exp
associate-*r/
cbrt-undiv div-exp associate-/r/
sub-neg flip3-- associate-/r* flip--
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ difference-of-squares unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 92
Calls
4 calls:
3.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
10.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
17.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
9.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

series472.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
101.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
153.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
163.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify859.0ms

Counts
104 → 104
Iterations

Useful iterations: 2 (147.0ms)

IterNodesCost
01402256
14152187
221261755
done50011755

prune187.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes30.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11812
22012
done2012

end0.0ms

sample350.0ms

Algorithm
intervals
Results
227.0ms11863×body80valid