Details

Time bar (total: 14.6s)

sample36.0ms

Algorithm
intervals
Results
17.0ms385×body80valid

simplify2.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3909
41499
51569
61759
72479
84799
912289
done50009

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite48.0ms

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

series116.0ms

Counts
1 → 3
Calls
1 calls:
116.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify1.7s

Counts
36 → 36
Iterations

Useful iterations: done (1.7s)

IterNodesCost
077533
1236520
21730456
done5001439

prune122.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 2.0) (pow x 3))
0.0b
(+ (* (* x x) 3.0) (* (- 2.0) (pow x 3)))
0.2b
(* (* x x) 3.0)

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
11×associate-*l*
10×add-cube-cbrt *-un-lft-identity add-cbrt-cube
pow1
prod-exp
add-log-exp unswap-sqr
unpow-prod-down cube-prod cbrt-unprod
distribute-lft-neg-out distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in pow-prod-down log1p-expm1-u
*-commutative sqr-pow
+-commutative cube-mult pow-to-exp neg-mul-1 fma-def flip3-+ unpow3 unsub-neg pow-exp sum-log flip-+
Counts
3 → 78
Calls
3 calls:
26.0ms
(* (- 2.0) (pow x 3))
27.0ms
(+ (* (* x x) 3.0) (* (- 2.0) (pow x 3)))
37.0ms
(* (* x x) 3.0)

series265.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(* (- 2.0) (pow x 3))
162.0ms
(+ (* (* x x) 3.0) (* (- 2.0) (pow x 3)))
46.0ms
(* (* x x) 3.0)

simplify3.6s

Counts
87 → 87
Iterations

Useful iterations: 2 (596.0ms)

IterNodesCost
0121834
1360742
22637680
done5002680

prune473.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 2.0) (pow x 3))
0.1b
(fma (* x x) 3.0 (* (- 2.0) (pow x 3)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×associate-*r*
10×associate-*l*
add-cube-cbrt *-un-lft-identity
add-exp-log
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
distribute-lft-neg-in distribute-rgt-neg-in prod-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
distribute-lft-neg-out cube-mult pow-to-exp neg-mul-1 unpow3 pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 51
Calls
2 calls:
30.0ms
(* (- 2.0) (pow x 3))
1.0ms
(fma (* x x) 3.0 (* (- 2.0) (pow x 3)))

series217.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(* (- 2.0) (pow x 3))
148.0ms
(fma (* x x) 3.0 (* (- 2.0) (pow x 3)))

simplify1.2s

Counts
57 → 57
Iterations

Useful iterations: 2 (273.0ms)

IterNodesCost
082545
1206510
21306466
done5001466

prune291.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize30.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.2b
(* x (* x (- 3.0 (* x 2.0))))

rewrite96.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:
31.0ms
(* x (- 3.0 (* x 2.0)))
60.0ms
(* x (* x (- 3.0 (* x 2.0))))

series244.0ms

Counts
2 → 6
Calls
2 calls:
119.0ms
(* x (- 3.0 (* x 2.0)))
125.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify1.7s

Counts
80 → 80
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01171119
13381105
21757981
done5000955

prune347.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes48.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify7.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11512
21912
32012
done2012

end0.0ms

sample988.0ms

Algorithm
intervals
Results
658.0ms12139×body80valid