Details

Time bar (total: 15.1s)

sample21.0ms

Algorithm
intervals
Results
12.0ms347×body80valid

simplify4.0s

Counts
1 → 1
Iterations

Useful iterations: 3 (62.0ms)

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

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite24.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:
10.0ms
(- (* x 3.0) 4.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
13.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

series167.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(- (* x 3.0) 4.0)
59.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
45.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

simplify1.7s

Counts
59 → 59
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0100687
1214644
2505563
31884555
done5000546

prune174.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite2.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:
1.0ms
(fma x 9.0 (- 12.0))
1.0ms
(fma x (fma x 9.0 (- 12.0)) 3.0)

series108.0ms

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

simplify1.4s

Counts
26 → 26
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
035238
155235
2120203
3387203
41961203
done5000203

prune105.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

series109.0ms

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

simplify1.4s

Counts
26 → 26
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
035238
155235
2120203
3387203
41961203
done5000203

prune113.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite150.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:
14.0ms
(- (* x 3.0) 4.0)
36.0ms
(* x (- (* x 3.0) 4.0))
97.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

series279.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(- (* x 3.0) 4.0)
80.0ms
(* x (- (* x 3.0) 4.0))
134.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

simplify3.6s

Counts
81 → 81
Iterations

Useful iterations: done (3.6s)

IterNodesCost
0126957
1271859
2763734
33282717
done5000698

prune254.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0910
1128
done128

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.2s10765×body80valid