Details

Time bar (total: 21.3s)

sample34.0ms

Algorithm
intervals
Results
18.0ms397×body80valid

simplify5.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3889
41409
51479
61649
72119
83559
98299
1026199
done50009

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 1 expressions with local error:

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

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

series120.0ms

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

simplify2.7s

Counts
36 → 36
Iterations

Useful iterations: done (2.7s)

IterNodesCost
077533
1207518
2681442
32676421
done5002397

prune95.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sum-log log1p-expm1-u
+-commutative neg-sub0 associate-+r- fma-def flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+
Counts
2 → 38
Calls
2 calls:
22.0ms
(+ (* (* x 3.0) x) (- (* 2.0 (pow x 3))))
26.0ms
(* (* x 3.0) x)

series203.0ms

Counts
2 → 6
Calls
2 calls:
153.0ms
(+ (* (* x 3.0) x) (- (* 2.0 (pow x 3))))
50.0ms
(* (* x 3.0) x)

simplify5.4s

Counts
44 → 44
Iterations

Useful iterations: 3 (3.0s)

IterNodesCost
071485
1196435
2788392
34088351
done5000351

prune140.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
unswap-sqr
Counts
2 → 40
Calls
2 calls:
15.0ms
(* (fma 2.0 (- x) 3.0) x)
41.0ms
(* x (* (fma 2.0 (- x) 3.0) x))

series237.0ms

Counts
2 → 6
Calls
2 calls:
93.0ms
(* (fma 2.0 (- x) 3.0) x)
144.0ms
(* x (* (fma 2.0 (- x) 3.0) x))

simplify1.6s

Counts
46 → 46
Iterations

Useful iterations: 3 (661.0ms)

IterNodesCost
062517
1133503
2452429
31758417
done5002417

prune100.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite558.0ms

Algorithm
rewrite-expression-head
Rules
192×prod-diff
98×distribute-rgt-in distribute-lft-in
90×add-sqr-sqrt
81×*-un-lft-identity
79×add-cube-cbrt
74×unpow-prod-down cube-prod
46×sqr-pow
40×cube-mult unpow3
18×add-exp-log add-cbrt-cube
13×associate-*r*
11×add-log-exp
pow1
difference-of-squares
prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ sum-log log1p-expm1-u
cbrt-undiv flip3-+ times-frac div-exp pow-prod-down associate-/r* flip-+
+-commutative sub-neg flip3-- fma-def associate-/r/ flip-- associate-/l/
difference-cubes associate-+r+ distribute-rgt-out frac-2neg associate-*l* clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 289
Calls
4 calls:
75.0ms
(+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0))))
38.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
137.0ms
(* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3)))
291.0ms
(/ (* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

series670.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0))))
105.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
205.0ms
(* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3)))
334.0ms
(/ (* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

simplify2.9s

Counts
301 → 301
Iterations

Useful iterations: 2 (1.3s)

IterNodesCost
042412889
19868100
239506461
done50006461

prune444.0ms

Pruning

4 alts after pruning (1 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

simplify4.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11812
22012
done2012

end0.0ms

sample717.0ms

Algorithm
intervals
Results
441.0ms12023×body80valid