Details

Time bar (total: 2.1s)

sample18.0ms

Algorithm
intervals
Results
9.0ms363×body80valid

simplify105.0ms

Counts
1 → 1
Iterations

Useful iterations: 8 (54.0ms)

IterNodesCost
0276
1636
21545
33235
44265
55285
66045
78325
814644
920354
1020644
1120644
done20644

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* associate-*l* prod-diff log1p-expm1-u
sub-neg flip3-- fma-neg diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
3 → 48
Calls
3 calls:
12.0ms
(- (* x 3.0) 4.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
7.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

series119.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (* x 3.0) 4.0)
33.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
42.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

simplify135.0ms

Counts
57 → 57
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0206296
1706240
24518237
35001237
done5001237

prune125.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 3.0 (* 12.0 x))
0.1b
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 30
Calls
2 calls:
6.0ms
(- 3.0 (* 12.0 x))
0.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series68.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- 3.0 (* 12.0 x))
30.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

simplify65.0ms

Counts
36 → 36
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0120170
1350149
21768148
35001131
done5001131

prune93.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 9.0 x) 12.0)
0.1b
(fma x (- (* 9.0 x) 12.0) 3.0)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- fma-neg diff-log flip-- fma-udef
Counts
2 → 28
Calls
2 calls:
9.0ms
(- (* 9.0 x) 12.0)
0.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series79.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(- (* 9.0 x) 12.0)
34.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify91.0ms

Counts
34 → 34
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0140157
1462122
22558119
35002115
done5002115

prune71.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0)))
0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.2b
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
11×add-cbrt-cube
add-sqr-sqrt pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r*
add-log-exp
expm1-log1p-u associate-*l* log1p-expm1-u
cbrt-prod prod-diff
*-commutative
sub-neg flip3-- fma-neg diff-log flip-- fma-udef unswap-sqr
Counts
4 → 75
Calls
4 calls:
9.0ms
(- (* x 3.0) 4.0)
24.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0)))
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
69.0ms
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

series250.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* x 3.0) 4.0)
95.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0)))
33.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
80.0ms
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

simplify59.0ms

Counts
87 → 87
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0327690
11450545
25002499
done5002499

prune206.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes20.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
0104
1104
done104

end0.0ms

sample409.0ms

Algorithm
intervals
Results
254.0ms10733×body80valid