Details

Time bar (total: 12.1s)

sample36.0ms

Algorithm
intervals
Results
20.0ms341×body80valid

simplify4.3s

Counts
1 → 1
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
01013
12713
26311
315210
441510
5117810
6431210
done500010

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

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

series196.0ms

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

simplify1.3s

Counts
59 → 59
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0100687
1239647
2891572
done5000562

prune206.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite72.0ms

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

series156.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(- (* x 9.0) 12.0)
96.0ms
(* x (- (* x 9.0) 12.0))

simplify961.0ms

Counts
56 → 56
Iterations

Useful iterations: done (958.0ms)

IterNodesCost
095644
1242558
21159490
done5002489

prune182.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 9.0 (pow x 2)) (* 12.0 x))
0.3b
(* 9.0 (pow x 2))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-exp
pow1 expm1-log1p-u log1p-expm1-u unpow2 sqr-pow
pow-to-exp sub-neg flip3-- fma-neg diff-log prod-diff pow-exp *-commutative flip-- cbrt-unprod
Counts
2 → 45
Calls
2 calls:
13.0ms
(- (* 9.0 (pow x 2)) (* 12.0 x))
14.0ms
(* 9.0 (pow x 2))

series129.0ms

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

simplify949.0ms

Counts
51 → 51
Iterations

Useful iterations: done (947.0ms)

IterNodesCost
083500
1200456
2870409
done5000377

prune151.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

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

series355.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- (* x 3.0) 4.0)
117.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0)))
69.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
108.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

simplify1.7s

Counts
94 → 94
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01431490
13921439
219571124
done50001017

prune290.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes26.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
089
1119
done119

end0.0ms

sample883.0ms

Algorithm
intervals
Results
639.0ms10776×body80valid