Details

Time bar (total: 17.7s)

sample33.0ms

Algorithm
intervals
Results
20.0ms342×body80valid

simplify3.9s

Counts
1 → 1
Iterations

Useful iterations: 3 (33.0ms)

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

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite406.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
add-cube-cbrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ *-commutative log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ flip-+ distribute-lft-out unswap-sqr
Counts
2 → 45
Calls
2 calls:
384.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
20.0ms
(* (* x 3.0) x)

series80.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
36.0ms
(* (* x 3.0) x)

simplify3.4s

Counts
51 → 51
Iterations

Useful iterations: done (3.4s)

IterNodesCost
089627
1233614
2801480
33278455
done5001452

prune144.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

series106.0ms

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

simplify1.5s

Counts
26 → 26
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
035238
155235
2120203
3387203
41961203
done5000203

prune89.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 3 expressions with local error:

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

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity prod-diff
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u
associate-*l/ *-commutative
fma-neg diff-log unswap-sqr
Counts
3 → 72
Calls
3 calls:
9.0ms
(- (* x 3.0) 4.0)
51.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
65.0ms
(* x (- (* x 3.0) 4.0))

series304.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(- (* x 3.0) 4.0)
130.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
108.0ms
(* x (- (* x 3.0) 4.0))

simplify3.3s

Counts
81 → 81
Iterations

Useful iterations: done (3.3s)

IterNodesCost
0126957
1271859
2771734
33338699
done5001686

prune204.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 3.0 (+ (- (* 3.0 (pow x 2)) (* x 4.0)) 1.0))
0.2b
(* 3.0 (pow x 2))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×associate-*r*
add-exp-log *-un-lft-identity
add-cube-cbrt
associate-*l* add-cbrt-cube
unswap-sqr
pow1 unpow-prod-down prod-exp
expm1-log1p-u associate-*r/ *-commutative cbrt-unprod log1p-expm1-u unpow2 add-log-exp sqr-pow
distribute-rgt-in pow-to-exp distribute-lft-in flip3-+ pow-prod-down pow-exp flip-+ distribute-lft-out
Counts
2 → 54
Calls
2 calls:
139.0ms
(* 3.0 (+ (- (* 3.0 (pow x 2)) (* x 4.0)) 1.0))
19.0ms
(* 3.0 (pow x 2))

series85.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(* 3.0 (+ (- (* 3.0 (pow x 2)) (* x 4.0)) 1.0))
37.0ms
(* 3.0 (pow x 2))

simplify2.6s

Counts
60 → 60
Iterations

Useful iterations: done (2.6s)

IterNodesCost
0100702
1245671
2719586
33142531
done5000503

prune174.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes21.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
078
done78

end0.0ms

sample974.0ms

Algorithm
intervals
Results
711.0ms10699×body80valid