Details

Time bar (total: 13.6s)

sample18.0ms

Algorithm
intervals
Results
9.0ms373×body80valid

simplify2.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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

series93.0ms

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

simplify676.0ms

Counts
28 → 28
Iterations

Useful iterations: done (675.0ms)

IterNodesCost
057367
1180354
21206308
done5000294

prune43.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

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

rewrite59.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:
18.0ms
(* (- 2.0) (pow x 3))
17.0ms
(+ (* 3.0 (* x x)) (* (- 2.0) (pow x 3)))
18.0ms
(* 3.0 (* x x))

series169.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (- 2.0) (pow x 3))
102.0ms
(+ (* 3.0 (* x x)) (* (- 2.0) (pow x 3)))
27.0ms
(* 3.0 (* x x))

simplify1.8s

Counts
80 → 80
Iterations

Useful iterations: 2 (398.0ms)

IterNodesCost
0113779
1351711
22429633
done5003633

prune226.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-sqr-sqrt
22×associate-*l*
20×add-cbrt-cube
18×pow1
14×add-cube-cbrt *-un-lft-identity associate-*r*
12×prod-exp
10×cbrt-unprod
pow-prod-down
sqrt-prod
add-log-exp unswap-sqr
unpow-prod-down cube-prod
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in *-commutative
sqr-pow
+-commutative cube-mult pow-to-exp neg-mul-1 flip3-+ unpow3 unsub-neg pow-exp sum-log flip-+
Counts
4 → 99
Calls
4 calls:
27.0ms
(* (- 2.0) (pow x 3))
75.0ms
(+ (* (sqrt 3.0) (* (sqrt 3.0) (* x x))) (* (- 2.0) (pow x 3)))
59.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (* x x)))
34.0ms
(* (sqrt 3.0) (* x x))

series406.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (- 2.0) (pow x 3))
191.0ms
(+ (* (sqrt 3.0) (* (sqrt 3.0) (* x x))) (* (- 2.0) (pow x 3)))
101.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (* x x)))
66.0ms
(* (sqrt 3.0) (* x x))

simplify2.2s

Counts
111 → 111
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01361256
1408953
22790872
done5001856

prune347.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize24.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 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.1b
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

rewrite125.0ms

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

series411.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
121.0ms
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
217.0ms
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify3.3s

Counts
75 → 75
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01201688
14081620
235661306
done50011300

prune149.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
199
done99

end0.0ms

sample775.0ms

Algorithm
intervals
Results
527.0ms11928×body80valid