Details

Time bar (total: 10.1s)

sample15.0ms

Algorithm
intervals
Results
7.0ms371×body80valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2349
3779
41149
51219
61389
71829
83079
97239
1022459
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)))

rewrite15.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:
14.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.6s

Counts
36 → 36
Iterations

Useful iterations: done (2.6s)

IterNodesCost
077533
1209518
2845442
33764421
done5000415

prune67.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

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

simplify1.7s

Counts
80 → 80
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01171119
12491105
2737949
33021899
done5000881

prune124.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sum-log log1p-expm1-u
+-commutative neg-sub0 associate-+r- fma-def flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
12.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
8.0ms
(* (* x x) 3.0)

series130.0ms

Counts
2 → 6
Calls
2 calls:
102.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
27.0ms
(* (* x x) 3.0)

simplify1.1s

Counts
45 → 45
Iterations

Useful iterations: done (1.1s)

IterNodesCost
071493
1198438
2856392
done5000357

prune108.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

0.2b
(fma (* x x) 3.0 (- (* 2.0 (pow x 3))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (* x x) 3.0 (- (* 2.0 (pow x 3))))

series113.0ms

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

simplify1.2s

Counts
13 → 13
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
023182
145182
2120160
3378134
42029134
done5001134

prune26.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes19.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1109
done109

end0.0ms

sample351.0ms

Algorithm
intervals
Results
231.0ms11863×body80valid