Details

Time bar (total: 10.8s)

sample373.0ms

Algorithm
intervals
Results
48.0ms546×body80valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
02229
15129
215229
364128
4296128
done500028

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.8b

localize19.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))
4.8b
(* (* (* w w) r) r)
9.8b
(* (* w w) r)

rewrite92.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)
8.0ms
(/ 2.0 (* r r))
56.0ms
(* (* (* w w) r) r)
25.0ms
(* (* w w) r)

series197.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
30.0ms
(/ 2.0 (* r r))
32.0ms
(* (* (* w w) r) r)
27.0ms
(* (* w w) r)

simplify2.0s

Counts
89 → 89
Iterations

Useful iterations: done (2.0s)

IterNodesCost
0128982
1293962
21009802
33247766
done5000758

prune269.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize17.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.3b
(* (fabs (* w r)) (fabs (* w r)))
0.5b
(/ 2.0 (* r r))

rewrite120.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:
103.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))
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
6.0ms
(* (fabs (* w r)) (fabs (* w r)))
8.0ms
(/ 2.0 (* r r))

series197.0ms

Counts
4 → 12
Calls
4 calls:
83.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))
80.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
9.0ms
(* (fabs (* w r)) (fabs (* w r)))
25.0ms
(/ 2.0 (* r r))

simplify773.0ms

Counts
108 → 108
Iterations

Useful iterations: done (769.0ms)

IterNodesCost
01783903
13952614
211562171
done50001845

prune334.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.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.2b
(/ (/ 2.0 r) r)
0.3b
(* (fabs (* w r)) (fabs (* w r)))

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
71×*-un-lft-identity
62×add-sqr-sqrt
58×add-cube-cbrt
13×associate-/l*
12×prod-diff
11×pow1 add-exp-log add-cbrt-cube
add-log-exp
div-inv distribute-lft-out
expm1-log1p-u fma-neg log1p-expm1-u
cbrt-undiv swap-sqr div-exp associate-*r* associate-*l* associate-/r*
diff-log fma-udef distribute-lft-out--
pow2 sub-neg flip3-- frac-2neg pow-plus pow-prod-down prod-exp associate--l+ clear-num sum-log pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ associate--r+ difference-of-squares unswap-sqr
Counts
4 → 145
Calls
4 calls:
228.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))
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
12.0ms
(/ (/ 2.0 r) r)
7.0ms
(* (fabs (* w r)) (fabs (* w r)))

series199.0ms

Counts
4 → 12
Calls
4 calls:
84.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))
81.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
25.0ms
(/ (/ 2.0 r) r)
9.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify849.0ms

Counts
157 → 157
Iterations

Useful iterations: done (843.0ms)

IterNodesCost
02754580
16023245
215632776
done50002438

prune488.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (fabs (* w r))) (pow (sqrt (fabs (* w r))) 3))
0.6b
(pow (sqrt (fabs (* w r))) 3)
3.7b
(sqrt (fabs (* w r)))
3.7b
(sqrt (fabs (* w r)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
31×sqrt-prod
18×add-cube-cbrt *-un-lft-identity associate-*r*
16×unpow-prod-down cube-prod
12×unswap-sqr
10×add-exp-log
pow1
add-cbrt-cube
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-unpow pow-pow sqrt-pow1 pow1/2 prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
*-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 115
Calls
4 calls:
22.0ms
(* (sqrt (fabs (* w r))) (pow (sqrt (fabs (* w r))) 3))
3.0ms
(pow (sqrt (fabs (* w r))) 3)
1.0ms
(sqrt (fabs (* w r)))
1.0ms
(sqrt (fabs (* w r)))

series49.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (sqrt (fabs (* w r))) (pow (sqrt (fabs (* w r))) 3))
21.0ms
(pow (sqrt (fabs (* w r))) 3)
9.0ms
(sqrt (fabs (* w r)))
10.0ms
(sqrt (fabs (* w r)))

simplify888.0ms

Counts
127 → 127
Iterations

Useful iterations: done (885.0ms)

IterNodesCost
0861647
11831364
26981021
done50001004

prune344.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes359.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02434
12934
done2934

end0.0ms

sample1.4s

Algorithm
intervals
Results
860.0ms17113×body80valid