Details

Time bar (total: 14.4s)

sample41.0ms

Algorithm
intervals
Results
16.0ms385×body80valid

simplify2.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3829
41219
51269
61459
72149
84479
913499
done50019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 1 expressions with local error:

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

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

series133.0ms

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

simplify1.1s

Counts
28 → 28
Iterations

Useful iterations: done (1.1s)

IterNodesCost
057367
1180354
21206308
done5000294

prune107.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-exp-log associate-*r* 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 distribute-rgt-neg-in pow-prod-down
*-commutative sqr-pow
+-commutative cube-mult pow-to-exp neg-mul-1 flip3-+ unpow3 unsub-neg pow-exp sum-log flip-+
Counts
3 → 71
Calls
3 calls:
30.0ms
(* (- 2.0) (pow x 3))
27.0ms
(+ (* 3.0 (* x x)) (* (- 2.0) (pow x 3)))
27.0ms
(* 3.0 (* x x))

series258.0ms

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

simplify2.4s

Counts
80 → 80
Iterations

Useful iterations: 2 (573.0ms)

IterNodesCost
0113779
1351711
22429633
done5003633

prune335.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

rewrite75.0ms

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

series224.0ms

Counts
2 → 6
Calls
2 calls:
106.0ms
(* x (- 3.0 (* x 2.0)))
117.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify1.0s

Counts
58 → 58
Iterations

Useful iterations: done (1.0s)

IterNodesCost
079669
1230655
21261585
done5000573

prune262.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
0.1b
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
0.2b
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
4.8b
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

rewrite275.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
11×pow1 add-sqr-sqrt
10×distribute-rgt-in distribute-lft-in associate-*r/
add-cube-cbrt *-un-lft-identity
sub-neg prod-exp cbrt-unprod
associate-*l* add-log-exp
associate-*r*
flip3-- pow-prod-down flip--
cbrt-undiv times-frac div-exp associate-/r*
associate-/r/ *-commutative associate-/l/ difference-of-squares
frac-2neg flip3-+ diff-log clear-num flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 93
Calls
4 calls:
18.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
56.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
82.0ms
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
112.0ms
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

series826.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
187.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
210.0ms
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
313.0ms
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

simplify2.5s

Counts
105 → 105
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01432176
14452101
227011751
done50011739

prune552.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes55.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify10.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11512
21912
32012
done2012

end0.0ms

sample1.1s

Algorithm
intervals
Results
754.0ms12139×body80valid