Details

Time bar (total: 16.0s)

sample41.0ms

Algorithm
intervals
Results
23.0ms350×body80valid

simplify4.2s

Counts
1 → 1
Iterations

Useful iterations: 3 (58.0ms)

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

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

series192.0ms

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

simplify2.2s

Counts
59 → 59
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0100687
1214644
2505563
31884555
done5000546

prune215.0ms

Pruning

6 alts after pruning (5 fresh and 1 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)

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

series119.0ms

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

simplify1.4s

Counts
26 → 26
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
035238
155235
2120203
3387203
41961203
done5000203

prune102.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
expm1-log1p-u associate-*l/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
2 → 36
Calls
2 calls:
22.0ms
(+ (* (- (* 9.0 x) 12.0) x) 3.0)
39.0ms
(* (- (* 9.0 x) 12.0) x)

series142.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* (- (* 9.0 x) 12.0) x) 3.0)
101.0ms
(* (- (* 9.0 x) 12.0) x)

simplify2.5s

Counts
42 → 42
Iterations

Useful iterations: 3 (847.0ms)

IterNodesCost
073487
1191449
2587406
32210401
done5000401

prune148.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
sqrt-prod
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
*-commutative fma-udef unswap-sqr
Counts
4 → 67
Calls
4 calls:
1.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
1.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
18.0ms
(* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))
41.0ms
(* (* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0))) (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))

series419.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
54.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
227.0ms
(* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))
82.0ms
(* (* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0))) (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))

simplify2.7s

Counts
79 → 79
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01121430
12781125
2818969
33052959
done5000956

prune305.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes31.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

sample1.0s

Algorithm
intervals
Results
751.0ms10727×body80valid