Details

Time bar (total: 11.9s)

sample19.0ms

Algorithm
intervals
Results
10.0ms389×body80valid

simplify3.2s

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

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

series82.0ms

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

simplify2.9s

Counts
36 → 36
Iterations

Useful iterations: done (2.9s)

IterNodesCost
077533
1209518
2845442
33756421
done5001415

prune72.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
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite29.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
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 72
Calls
3 calls:
7.0ms
(* 2.0 (pow x 3))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
11.0ms
(* (* x x) 3.0)

series179.0ms

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

simplify931.0ms

Counts
81 → 81
Iterations

Useful iterations: done (929.0ms)

IterNodesCost
0116768
1297668
21157613
done5001611

prune178.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

rewrite25.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)))
14.0ms
(* x (* x (- 3.0 (* x 2.0))))

series156.0ms

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

simplify2.0s

Counts
80 → 80
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01171119
12491105
2740949
33025899
done5000881

prune121.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
0.3b
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
0.4b
(* x (sqrt 3.0))
0.4b
(* x (sqrt 3.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
20×add-exp-log add-cbrt-cube
19×pow-prod-down
18×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
sqrt-prod add-log-exp
associate-*l*
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u unswap-sqr
*-commutative
pow-plus sum-log
+-commutative pow2 neg-sub0 associate-+r- fma-def flip3-+ swap-sqr unsub-neg neg-log flip-+
Counts
4 → 102
Calls
4 calls:
16.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
15.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
5.0ms
(* x (sqrt 3.0))
7.0ms
(* x (sqrt 3.0))

series335.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
82.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
49.0ms
(* x (sqrt 3.0))
47.0ms
(* x (sqrt 3.0))

simplify1.0s

Counts
114 → 114
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0961144
1240797
2966704
done5000668

prune222.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes35.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

sample362.0ms

Algorithm
intervals
Results
232.0ms12015×body80valid