Details

Time bar (total: 14.8s)

sample55.0ms

Algorithm
intervals
Results
34.0ms332×body80valid

simplify5.2s

Counts
1 → 1
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
01013
12713
26311
315210
441510
5117810
6431210
done500010

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l* fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 32
Calls
2 calls:
1.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
13.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

series104.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
66.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

simplify1.5s

Counts
38 → 38
Iterations

Useful iterations: done (1.5s)

IterNodesCost
057482
1124473
2414419
32134411
done5000405

prune141.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma x (- (* 9.0 x) 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
1 → 10
Calls
1 calls:
1.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series85.0ms

Counts
1 → 3
Calls
1 calls:
85.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify3.6s

Counts
13 → 13
Iterations

Useful iterations: 4 (499.0ms)

IterNodesCost
023148
143145
2111129
3418126
43492123
done5000123

prune69.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log
10×add-sqr-sqrt add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
associate-*l* fma-udef
add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in
cbrt-prod associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative unswap-sqr
Counts
3 → 64
Calls
3 calls:
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
48.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0)))
11.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

series282.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
148.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0)))
79.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

simplify1.5s

Counts
73 → 73
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01001285
12771265
21477973
done5002865

prune279.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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 fma-udef log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip--
Counts
2 → 31
Calls
2 calls:
21.0ms
(- (fma 9.0 (pow x 2) 3.0) (* 12.0 x))
1.0ms
(fma 9.0 (pow x 2) 3.0)

series134.0ms

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

simplify705.0ms

Counts
37 → 37
Iterations

Useful iterations: done (703.0ms)

IterNodesCost
052468
1132456
2629408
done5000373

prune111.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes32.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
078
188
done88

end0.0ms

sample991.0ms

Algorithm
intervals
Results
728.0ms10710×body80valid