Details

Time bar (total: 10.9s)

sample17.0ms

Algorithm
intervals
Results
8.0ms334×body80valid

simplify2.5s

Counts
1 → 1
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
01013
12713
26311
315110
429110
535610
642010
753210
869610
994410
10113910
11121810
12121910
done121910

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.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
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

rewrite17.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 fma-udef log1p-expm1-u
distribute-rgt-in sub-neg flip3-- distribute-lft-in fma-neg diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
3 → 50
Calls
3 calls:
9.0ms
(- (* x 3.0) 4.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
7.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

series125.0ms

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

simplify1.2s

Counts
59 → 59
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0100687
1214644
2505563
31884555
done5000546

prune129.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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
2 → 20
Calls
2 calls:
0.0ms
(fma x 9.0 (- 12.0))
0.0ms
(fma x (fma x 9.0 (- 12.0)) 3.0)

series85.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(fma x 9.0 (- 12.0))
41.0ms
(fma x (fma x 9.0 (- 12.0)) 3.0)

simplify984.0ms

Counts
26 → 26
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
035238
155235
2120203
3387203
41961203
done5000203

prune74.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity prod-diff
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u
associate-*l/ *-commutative
fma-neg diff-log unswap-sqr
Counts
3 → 72
Calls
3 calls:
8.0ms
(- (* x 3.0) 4.0)
31.0ms
(* x (- (* x 3.0) 4.0))
44.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

series205.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* x 3.0) 4.0)
71.0ms
(* x (- (* x 3.0) 4.0))
92.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

simplify2.6s

Counts
81 → 81
Iterations

Useful iterations: done (2.6s)

IterNodesCost
0126957
1271859
2763734
33282717
done5000698

prune159.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite298.0ms

Algorithm
rewrite-expression-head
Rules
36×pow1 add-exp-log
23×add-cbrt-cube
22×pow-prod-down prod-exp cbrt-unprod
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×associate-*r*
prod-diff
associate-*r/ associate-*l/ add-log-exp
distribute-rgt-in distribute-lft-in associate-*l*
expm1-log1p-u flip3-- flip-- log1p-expm1-u
cbrt-prod sub-neg *-commutative
fma-neg diff-log unswap-sqr
Counts
4 → 110
Calls
4 calls:
9.0ms
(- (* x 3.0) 4.0)
30.0ms
(* x (- (* x 3.0) 4.0))
62.0ms
(* (* x (- (* x 3.0) 4.0)) (* (cbrt 3.0) (cbrt 3.0)))
192.0ms
(* (* (* x (- (* x 3.0) 4.0)) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

series499.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* x 3.0) 4.0)
72.0ms
(* x (- (* x 3.0) 4.0))
199.0ms
(* (* x (- (* x 3.0) 4.0)) (* (cbrt 3.0) (cbrt 3.0)))
189.0ms
(* (* (* x (- (* x 3.0) 4.0)) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

simplify1.2s

Counts
122 → 122
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01721930
13981739
214031366
done50011246

prune240.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes16.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
done78

end0.0ms

sample424.0ms

Algorithm
intervals
Results
270.0ms10617×body80valid