Details

Time bar (total: 12.3s)

sample16.0ms

Algorithm
intervals
Results
8.0ms342×body80valid

simplify2.9s

Counts
1 → 1
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
01013
12613
26211
314410
426410
533410
637810
745610
876310
9124010
10157810
11160810
done160810

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

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

series70.0ms

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

simplify1.0s

Counts
38 → 38
Iterations

Useful iterations: 3 (172.0ms)

IterNodesCost
057482
1117473
2398411
31875408
done5001408

prune77.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

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

series62.0ms

Counts
1 → 3
Calls
1 calls:
62.0ms
(* x (- (* x 9.0) 12.0))

simplify2.5s

Counts
35 → 35
Iterations

Useful iterations: 3 (393.0ms)

IterNodesCost
083439
1174382
2678323
33457311
done5001311

prune66.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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.1b
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

rewrite25.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:
18.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)
5.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

series160.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0)))
29.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
61.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

simplify3.9s

Counts
73 → 73
Iterations

Useful iterations: 3 (653.0ms)

IterNodesCost
01001285
12481265
2898961
34805832
done5000832

prune139.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize9.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.2b
(* (* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0))) (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))

rewrite18.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:
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
5.0ms
(* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))
11.0ms
(* (* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0))) (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
29.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
126.0ms
(* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))
42.0ms
(* (* 3.0 (sqrt (fma x (- (* x 3.0) 4.0) 1.0))) (sqrt (fma x (- (* x 3.0) 4.0) 1.0)))

simplify518.0ms

Counts
79 → 79
Iterations

Useful iterations: done (515.0ms)

IterNodesCost
01121430
12841129
21049969
done5000960

prune167.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes19.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1119
done119

end0.0ms

sample393.0ms

Algorithm
intervals
Results
267.0ms10738×body80valid