Details

Time bar (total: 7.8s)

sample16.0ms

Algorithm
intervals
Results
7.0ms371×body80valid

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2349
3799
41229
51299
61469
72049
83739
910629
1033459
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:
13.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series86.0ms

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

simplify547.0ms

Counts
36 → 36
Iterations

Useful iterations: done (545.0ms)

IterNodesCost
077533
1215518
2945442
done5000430

prune75.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 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))))

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

series169.0ms

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

simplify920.0ms

Counts
80 → 80
Iterations

Useful iterations: done (917.0ms)

IterNodesCost
01171119
12571105
21045949
done5000925

prune153.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 2))
0.0b
(+ (* 3.0 x) (- (* 2.0 (pow x 2))))
0.1b
(* x (+ (* 3.0 x) (- (* 2.0 (pow x 2)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×associate-*r*
10×add-exp-log
add-cube-cbrt *-un-lft-identity
add-cbrt-cube add-log-exp
associate-*l*
pow1 unswap-sqr
unpow-prod-down prod-exp
expm1-log1p-u log1p-expm1-u
flip3-+ associate-*r/ sum-log *-commutative cbrt-unprod flip-+ unpow2 sqr-pow
+-commutative neg-sub0 distribute-rgt-in pow-to-exp associate-+r- fma-def distribute-lft-in unsub-neg pow-prod-down neg-log pow-exp
Counts
3 → 71
Calls
3 calls:
6.0ms
(* 2.0 (pow x 2))
4.0ms
(+ (* 3.0 x) (- (* 2.0 (pow x 2))))
13.0ms
(* x (+ (* 3.0 x) (- (* 2.0 (pow x 2)))))

series213.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* 2.0 (pow x 2))
77.0ms
(+ (* 3.0 x) (- (* 2.0 (pow x 2))))
107.0ms
(* x (+ (* 3.0 x) (- (* 2.0 (pow x 2)))))

simplify815.0ms

Counts
80 → 80
Iterations

Useful iterations: 2 (121.0ms)

IterNodesCost
0115935
1316843
21503739
done5000739

prune207.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series143.0ms

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

simplify550.0ms

Counts
53 → 53
Iterations

Useful iterations: done (548.0ms)

IterNodesCost
085560
1223495
2957440
done5000405

prune127.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01214
12212
22412
done2412

end0.0ms

sample362.0ms

Algorithm
intervals
Results
229.0ms11863×body80valid