Details

Time bar (total: 13.3s)

sample14.0ms

Algorithm
intervals
Results
7.0ms398×body80valid

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2349
3779
41149
51219
61389
71829
83079
97239
1022539
done50019

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

rewrite19.0ms

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

series79.0ms

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

simplify2.7s

Counts
36 → 36
Iterations

Useful iterations: done (2.7s)

IterNodesCost
077533
1209518
2845442
33756421
done5001415

prune55.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
25×distribute-rgt-in distribute-lft-in
18×prod-diff
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- *-commutative flip-- log1p-expm1-u add-log-exp
unswap-sqr
Counts
2 → 74
Calls
2 calls:
8.0ms
(* x (- 3.0 (* x 2.0)))
13.0ms
(* x (* x (- 3.0 (* x 2.0))))

series149.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(* x (- 3.0 (* x 2.0)))
77.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify1.8s

Counts
80 → 80
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01171119
12491105
2740949
33025899
done5000881

prune103.0ms

Pruning

5 alts after pruning (4 fresh and 1 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 (pow x 2)) (- (* 2.0 (pow x 3))))
0.2b
(* 3.0 (pow x 2))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down unswap-sqr
add-cbrt-cube add-log-exp
associate-*l* prod-exp
cube-prod sqr-pow
pow1 expm1-log1p-u log1p-expm1-u
pow-to-exp pow-exp sum-log *-commutative cbrt-unprod unpow2
+-commutative neg-sub0 cube-mult associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log flip-+
Counts
3 → 80
Calls
3 calls:
7.0ms
(* 2.0 (pow x 3))
4.0ms
(+ (* 3.0 (pow x 2)) (- (* 2.0 (pow x 3))))
6.0ms
(* 3.0 (pow x 2))

series164.0ms

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

simplify867.0ms

Counts
89 → 89
Iterations

Useful iterations: done (865.0ms)

IterNodesCost
0128835
1307733
21027656
done5001622

prune171.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite409.0ms

Algorithm
rewrite-expression-head
Rules
576×prod-diff
490×distribute-rgt-in distribute-lft-in
237×add-sqr-sqrt
227×*-un-lft-identity
225×add-cube-cbrt
218×unpow-prod-down cube-prod
126×sqr-pow
120×cube-mult unpow3
20×add-exp-log add-cbrt-cube
14×associate-*r*
11×pow1
10×associate-*r/
difference-of-squares
prod-exp cbrt-unprod
sub-neg associate-*l* add-log-exp
expm1-log1p-u pow-prod-down log1p-expm1-u
cbrt-undiv flip3-- times-frac div-exp associate-/r* flip--
flip3-+ associate-/r/ *-commutative flip-+ associate-/l/
difference-cubes +-commutative distribute-rgt-out fma-def frac-2neg clear-num sum-log div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 686
Calls
4 calls:
58.0ms
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
10.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
90.0ms
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
202.0ms
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

series595.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
77.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
143.0ms
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
243.0ms
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

simplify2.1s

Counts
698 → 698
Iterations

Useful iterations: done (2.1s)

IterNodesCost
071732432
1132319382
2374417906
done500117330

prune349.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1109
done109

end0.0ms

sample339.0ms

Algorithm
intervals
Results
220.0ms12123×body80valid