Details

Time bar (total: 19.4s)

sample41.0ms

Algorithm
intervals
Results
21.0ms342×body80valid

simplify6.2s

Counts
1 → 1
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
01013
12713
26311
315210
441510
5117810
6431210
done500010

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

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

series131.0ms

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

simplify1.9s

Counts
38 → 38
Iterations

Useful iterations: done (1.9s)

IterNodesCost
057482
1124473
2414419
32134411
done5000405

prune237.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

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

series78.0ms

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

simplify3.8s

Counts
13 → 13
Iterations

Useful iterations: 4 (572.0ms)

IterNodesCost
023148
143145
2111129
3418126
43492123
done5000123

prune79.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
25×distribute-rgt-in distribute-lft-in
18×prod-diff
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- *-commutative flip-- log1p-expm1-u add-log-exp
unswap-sqr
Counts
2 → 74
Calls
2 calls:
50.0ms
(* x (- (* x 3.0) 4.0))
85.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

series248.0ms

Counts
2 → 6
Calls
2 calls:
107.0ms
(* x (- (* x 3.0) 4.0))
141.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

simplify1.7s

Counts
80 → 80
Iterations

Useful iterations: 2 (427.0ms)

IterNodesCost
01441197
13861035
22049895
done5001895

prune327.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r*
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
flip3-+ associate-*r/ *-commutative distribute-rgt-neg-out flip-+
+-commutative distribute-rgt-in fma-def distribute-lft-in unsub-neg sum-log unswap-sqr
Counts
3 → 60
Calls
3 calls:
27.0ms
(+ (* (* x 3.0) x) (* x (- 4.0)))
95.0ms
(* 3.0 (+ (* (* x 3.0) x) (* x (- 4.0))))
35.0ms
(* (* x 3.0) x)

series352.0ms

Counts
3 → 9
Calls
3 calls:
141.0ms
(+ (* (* x 3.0) x) (* x (- 4.0)))
171.0ms
(* 3.0 (+ (* (* x 3.0) x) (* x (- 4.0))))
40.0ms
(* (* x 3.0) x)

simplify2.3s

Counts
69 → 69
Iterations

Useful iterations: done (2.3s)

IterNodesCost
097836
1300771
21966653
done5001609

prune401.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
188
done88

end0.0ms

sample1.1s

Algorithm
intervals
Results
816.0ms10780×body80valid