Details

Time bar (total: 22.2s)

sample225.0ms

Algorithm
intervals
Results
114.0ms551×body80valid

simplify2.6s

Counts
1 → 1
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
02229
15129
215229
364128
4296128
done500028

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.7b

localize33.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
0.5b
(/ 2.0 (* r r))
5.7b
(* (* (* w w) r) r)
9.2b
(* (* w w) r)

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
18×pow1
10×prod-exp cbrt-unprod
add-sqr-sqrt pow-prod-down
add-cube-cbrt *-un-lft-identity
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-/l*
cbrt-undiv div-exp associate-*l* *-commutative
frac-2neg clear-num associate-/r* fma-udef div-inv unswap-sqr
Counts
4 → 77
Calls
4 calls:
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
9.0ms
(/ 2.0 (* r r))
120.0ms
(* (* (* w w) r) r)
42.0ms
(* (* w w) r)

series298.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
29.0ms
(/ 2.0 (* r r))
45.0ms
(* (* (* w w) r) r)
38.0ms
(* (* w w) r)

simplify3.3s

Counts
89 → 89
Iterations

Useful iterations: done (3.3s)

IterNodesCost
0128982
1293962
21009802
33247766
done5000758

prune464.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.1b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ 3.0 (/ 2.0 (* r r))) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
0.1b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.5b
(/ 2.0 (* r r))

rewrite265.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
22×add-sqr-sqrt
18×add-cube-cbrt
12×prod-diff
11×pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-out
expm1-log1p-u fma-neg log1p-expm1-u
times-frac swap-sqr associate-*r* associate-*l* associate-/l*
cbrt-undiv diff-log div-exp prod-exp cbrt-unprod fma-udef distribute-lft-out--
pow2 sub-neg flip3-- frac-2neg pow-plus pow-prod-down associate--l+ clear-num associate-/r* sum-log pow-sqr *-commutative pow-prod-up flip-- div-inv associate--r+ difference-of-squares unswap-sqr
Counts
4 → 96
Calls
4 calls:
231.0ms
(- (+ 3.0 (/ 2.0 (* r r))) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
1.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
14.0ms
(* (fabs (* w r)) (fabs (* w r)))
13.0ms
(/ 2.0 (* r r))

series312.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(- (+ 3.0 (/ 2.0 (* r r))) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
114.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
14.0ms
(* (fabs (* w r)) (fabs (* w r)))
50.0ms
(/ 2.0 (* r r))

simplify1.3s

Counts
108 → 108
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01783903
13952614
211562171
done50001845

prune630.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize44.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (+ 3.0 (/ 2.0 (* r r))) (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2))) 4.5)
0.1b
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2))
0.4b
(pow (fabs (* w r)) 2)
0.5b
(/ 2.0 (* r r))

rewrite864.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
30×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt
18×add-cbrt-cube
13×prod-diff prod-exp add-log-exp
11×associate-*l*
times-frac div-exp associate-*r* associate--l+
unpow-prod-down
pow1 diff-log cbrt-unprod
cbrt-undiv expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u unswap-sqr
pow-unpow fma-neg associate-/l* unpow2 sqr-pow
sub-neg flip3-- associate-/r/ flip-- div-inv distribute-lft-out-- difference-of-squares
associate--l- pow-pow frac-2neg associate-*l/ clear-num associate-/r* sum-log *-commutative distribute-lft-out
Counts
4 → 127
Calls
4 calls:
742.0ms
(- (- (+ 3.0 (/ 2.0 (* r r))) (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2))) 4.5)
92.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2))
5.0ms
(pow (fabs (* w r)) 2)
16.0ms
(/ 2.0 (* r r))

series314.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(- (- (+ 3.0 (/ 2.0 (* r r))) (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2))) 4.5)
102.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2))
17.0ms
(pow (fabs (* w r)) 2)
52.0ms
(/ 2.0 (* r r))

simplify1.5s

Counts
139 → 139
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02623305
16143085
218952708
done50012462

prune858.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize44.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (fabs (* w r)) 2)
0.5b
(/ 2.0 (* r r))
11.2b
(sqrt (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2)))
11.2b
(sqrt (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log
add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow times-frac associate-/l*
cbrt-undiv sqrt-pow1 pow1/2 sqrt-div div-exp associate-*l/ sqrt-prod
pow-to-exp pow-pow frac-2neg pow-exp prod-exp clear-num associate-/r* cbrt-unprod div-inv unpow2 sqr-pow
Counts
4 → 69
Calls
4 calls:
5.0ms
(pow (fabs (* w r)) 2)
17.0ms
(/ 2.0 (* r r))
42.0ms
(sqrt (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2)))
49.0ms
(sqrt (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2)))

series928.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(pow (fabs (* w r)) 2)
55.0ms
(/ 2.0 (* r r))
453.0ms
(sqrt (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2)))
409.0ms
(sqrt (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (pow (fabs (* w r)) 2)))

simplify2.7s

Counts
81 → 81
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
01381326
13201240
29911155
346721083
done50001083

prune661.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

regimes977.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02549
13049
done3049

end0.0ms

sample3.6s

Algorithm
intervals
Results
2.8s16985×body80valid