Details

Time bar (total: 14.3s)

sample20.0ms

Algorithm
intervals
Results
10.0ms372×body80valid

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3809
41129
51179
61349
71779
83139
97719
1025119
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite43.0ms

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

series105.0ms

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

simplify1.9s

Counts
28 → 28
Iterations

Useful iterations: 2 (150.0ms)

IterNodesCost
057367
1161352
2594294
32367294
done5002294

prune71.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 65
Calls
3 calls:
27.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
19.0ms
(* 2.0 (pow x 3))
28.0ms
(* (* x x) 3.0)

series535.0ms

Counts
3 → 9
Calls
3 calls:
151.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
60.0ms
(* 2.0 (pow x 3))
324.0ms
(* (* x x) 3.0)

simplify1.3s

Counts
74 → 74
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0110718
1276620
21031568
done5001536

prune181.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-exp-log associate-*r*
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*l* prod-exp
unpow-prod-down cube-prod cbrt-unprod unswap-sqr
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 64
Calls
3 calls:
23.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
28.0ms
(* 2.0 (pow x 3))
28.0ms
(* x (* x 3.0))

series206.0ms

Counts
3 → 9
Calls
3 calls:
120.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
54.0ms
(* 2.0 (pow x 3))
32.0ms
(* x (* x 3.0))

simplify1.4s

Counts
73 → 73
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0105707
1271621
2994563
done5001529

prune188.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite276.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r*
23×add-exp-log
21×add-sqr-sqrt
20×add-cbrt-cube
18×pow1
12×add-cube-cbrt *-un-lft-identity prod-exp
10×cbrt-unprod
pow-prod-down
add-log-exp
sqrt-prod
unswap-sqr
associate-*l*
unpow-prod-down cube-prod
*-commutative
sum-log sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
4 → 93
Calls
4 calls:
97.0ms
(+ (* (* (* x x) (sqrt 3.0)) (sqrt 3.0)) (- (* 2.0 (pow x 3))))
21.0ms
(* 2.0 (pow x 3))
111.0ms
(* (* (* x x) (sqrt 3.0)) (sqrt 3.0))
43.0ms
(* (* x x) (sqrt 3.0))

series373.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(+ (* (* (* x x) (sqrt 3.0)) (sqrt 3.0)) (- (* 2.0 (pow x 3))))
49.0ms
(* 2.0 (pow x 3))
92.0ms
(* (* (* x x) (sqrt 3.0)) (sqrt 3.0))
59.0ms
(* (* x x) (sqrt 3.0))

simplify1.5s

Counts
105 → 105
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01381212
1353872
21341794
done5000760

prune285.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample907.0ms

Algorithm
intervals
Results
624.0ms11923×body80valid