Details

Time bar (total: 3.6s)

sample18.0ms

Algorithm
intervals
Results
9.0ms383×body80valid

simplify154.0ms

Counts
1 → 1

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

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

series122.0ms

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

simplify103.0ms

Counts
28 → 28

prune58.0ms

Pruning

5 alts after pruning (5 fresh and 0 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)

rewrite74.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:
31.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
20.0ms
(* 2.0 (pow x 3))
20.0ms
(* (* x x) 3.0)

series216.0ms

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

simplify65.0ms

Counts
74 → 74

prune176.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite77.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)))
46.0ms
(* x (* x (- 3.0 (* x 2.0))))

series207.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(* x (- 3.0 (* x 2.0)))
111.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify94.0ms

Counts
58 → 58

prune98.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

rewrite122.0ms

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

series649.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
131.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
198.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
235.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify65.0ms

Counts
104 → 104

prune280.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes25.0ms

Accuracy

-38.1% (0.2b remaining)

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

bsearch0.0ms

simplify117.0ms

end0.0ms

sample744.0ms

Algorithm
intervals
Results
499.0ms12118×body80valid