Details

Time bar (total: 14.4s)

sample25.0ms

Algorithm
intervals
Results
12.0ms374×body80valid

simplify4.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3809
41129
51179
61349
71779
83139
97719
1025119
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series89.0ms

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

simplify2.4s

Counts
28 → 28
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
057367
1161352
2594294
32367294
done5002294

prune71.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 65
Calls
3 calls:
23.0ms
(* 2.0 (pow x 3))
28.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
34.0ms
(* (* x x) 3.0)

series199.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* 2.0 (pow x 3))
115.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
45.0ms
(* (* x x) 3.0)

simplify1.4s

Counts
74 → 74
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0110718
1275620
21029568
done5001536

prune124.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
flip3-- associate-*r/ *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 40
Calls
2 calls:
21.0ms
(* (- 3.0 (* 2.0 x)) x)
41.0ms
(* x (* (- 3.0 (* 2.0 x)) x))

series168.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(* (- 3.0 (* 2.0 x)) x)
93.0ms
(* x (* (- 3.0 (* 2.0 x)) x))

simplify1.6s

Counts
46 → 46
Iterations

Useful iterations: 3 (692.0ms)

IterNodesCost
068533
1166519
2580449
32290433
done5000433

prune111.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

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

series512.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x)))
144.0ms
(* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)
126.0ms
(* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x))
175.0ms
(/ (* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)) (+ 3.0 (* 2.0 x)))

simplify1.4s

Counts
93 → 93
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01331974
13661899
215891537
done50021343

prune241.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes41.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11712
21912
done1912

end0.0ms

sample751.0ms

Algorithm
intervals
Results
510.0ms12104×body80valid