Details

Time bar (total: 8.9s)

sample15.0ms

Algorithm
intervals
Results
7.0ms382×body80valid

simplify2.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2349
3699
4869
5919
61089
71509
82719
96779
1022179
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series68.0ms

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

simplify2.5s

Counts
28 → 28
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
057367
1165352
2698294
33440294
done5001294

prune42.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.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)

rewrite26.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:
7.0ms
(* 2.0 (pow x 3))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
8.0ms
(* (* x x) 3.0)

series161.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 2.0 (pow x 3))
96.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
28.0ms
(* (* x x) 3.0)

simplify570.0ms

Counts
74 → 74
Iterations

Useful iterations: done (568.0ms)

IterNodesCost
0110718
1284620
21105568
done5001566

prune133.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize8.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:
8.0ms
(* x (- 3.0 (* x 2.0)))
12.0ms
(* x (* x (- 3.0 (* x 2.0))))

series142.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(* x (- 3.0 (* x 2.0)))
73.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify1.4s

Counts
58 → 58
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
079669
1193655
2614553
32720553
done5000553

prune83.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
3.8b
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

rewrite32.0ms

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

series252.0ms

Counts
2 → 6
Calls
2 calls:
99.0ms
(* (* x 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)))

simplify903.0ms

Counts
59 → 59
Iterations

Useful iterations: 2 (331.0ms)

IterNodesCost
01131424
13701367
219211077
done50001077

prune102.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes27.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
11712
21912
done1912

end0.0ms

sample371.0ms

Algorithm
intervals
Results
239.0ms12030×body80valid