Details

Time bar (total: 11.0s)

sample28.0ms

Algorithm
intervals
Results
15.0ms374×body80valid

simplify2.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3829
41219
51269
61459
72149
84479
913499
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite52.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:
51.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series113.0ms

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

simplify882.0ms

Counts
28 → 28
Iterations

Useful iterations: done (881.0ms)

IterNodesCost
057367
1180354
21206308
done5000294

prune47.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-exp-log associate-*r* associate-*l*
10×add-cube-cbrt *-un-lft-identity add-cbrt-cube
pow1
prod-exp
add-log-exp unswap-sqr
unpow-prod-down cube-prod cbrt-unprod
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down
*-commutative sqr-pow
+-commutative cube-mult pow-to-exp neg-mul-1 flip3-+ unpow3 unsub-neg pow-exp sum-log flip-+
Counts
3 → 71
Calls
3 calls:
23.0ms
(* (- 2.0) (pow x 3))
19.0ms
(+ (* 3.0 (* x x)) (* (- 2.0) (pow x 3)))
19.0ms
(* 3.0 (* x x))

series184.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(* (- 2.0) (pow x 3))
105.0ms
(+ (* 3.0 (* x x)) (* (- 2.0) (pow x 3)))
27.0ms
(* 3.0 (* x x))

simplify2.1s

Counts
80 → 80
Iterations

Useful iterations: 2 (523.0ms)

IterNodesCost
0113779
1351711
22429633
done5003633

prune178.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite82.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:
30.0ms
(* x (- 3.0 (* x 2.0)))
49.0ms
(* x (* x (- 3.0 (* x 2.0))))

series209.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(* x (- 3.0 (* x 2.0)))
114.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify840.0ms

Counts
58 → 58
Iterations

Useful iterations: done (838.0ms)

IterNodesCost
079669
1230655
21261585
done5000573

prune130.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
14×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*l* prod-exp cbrt-unprod
associate-*r/
cbrt-undiv div-exp associate-/r/
associate-/r* add-log-exp
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ pow-prod-down *-commutative flip-- flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg clear-num associate-/l* difference-of-squares
Counts
3 → 79
Calls
3 calls:
60.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
58.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
41.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

series575.0ms

Counts
3 → 9
Calls
3 calls:
109.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
223.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
243.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify1.7s

Counts
88 → 88
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01331992
14161942
224661576
done50011572

prune289.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes24.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify9.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11512
21912
32012
done2012

end0.0ms

sample893.0ms

Algorithm
intervals
Results
599.0ms12074×body80valid