Details

Time bar (total: 11.3s)

sample15.0ms

Algorithm
intervals
Results
7.0ms389×body80valid

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

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

simplify2.5s

Counts
36 → 36
Iterations

Useful iterations: done (2.5s)

IterNodesCost
077533
1209518
2845442
33764421
done5001415

prune68.0ms

Pruning

5 alts after pruning (5 fresh and 0 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)

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

series176.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(* 2.0 (pow x 3))
104.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
32.0ms
(* (* x x) 3.0)

simplify1.1s

Counts
81 → 81
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0116768
1297668
21155613
done5000611

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-exp-log associate-*r*
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*l* prod-exp
unpow-prod-down cube-prod cbrt-unprod unswap-sqr
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 → 71
Calls
3 calls:
7.0ms
(* 2.0 (pow x 3))
10.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
6.0ms
(* x (* x 3.0))

series179.0ms

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

simplify889.0ms

Counts
80 → 80
Iterations

Useful iterations: 2 (189.0ms)

IterNodesCost
0111757
1292668
21078608
done5001608

prune168.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

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

series157.0ms

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

simplify2.0s

Counts
60 → 60
Iterations

Useful iterations: done (2.0s)

IterNodesCost
096730
1212714
2686616
32761600
done5000594

prune120.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes19.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11812
22012
done2012

end0.0ms

sample367.0ms

Algorithm
intervals
Results
240.0ms12015×body80valid