Details

Time bar (total: 6.9s)

sample347.0ms

Algorithm
intervals
Results
72.0ms550×body80valid

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune19.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.7b

localize21.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))
7.4b
(* (* (* w w) r) r)
11.9b
(* (* w w) r)

rewrite42.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)
3.0ms
(/ 2.0 (* r r))
25.0ms
(* (* (* w w) r) r)
10.0ms
(* (* w w) r)

series194.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
24.0ms
(/ 2.0 (* r r))
33.0ms
(* (* (* w w) r) r)
32.0ms
(* (* w w) r)

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0320459
11457382
25001374

prune274.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 2.0 (* r r)) (- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0))
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))

rewrite33.0ms

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

series197.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (/ 2.0 (* r r)) (- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0))
82.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
8.0ms
(* (fabs (* w r)) (fabs (* w r)))
26.0ms
(/ 2.0 (* r r))

simplify86.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06214025
122322672
250012289

prune458.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (/ 2.0 r) r) (- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0))
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.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
474×times-frac
406×add-sqr-sqrt
400×*-un-lft-identity
309×add-cube-cbrt
224×prod-diff
46×distribute-lft-out-- difference-of-squares
43×fma-neg
29×div-inv
13×associate-/l*
12×associate--r+
11×pow1 add-exp-log add-cbrt-cube
add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv diff-log swap-sqr div-exp associate-*r* associate-*l* associate-/r*
sub-neg flip3-- frac-sub flip-- fma-udef
pow2 frac-2neg pow-plus pow-prod-down prod-exp associate--l+ clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ associate--r- unswap-sqr
Counts
4 → 402
Calls
4 calls:
60.0ms
(- (/ (/ 2.0 r) r) (- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0))
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
6.0ms
(/ (/ 2.0 r) r)
7.0ms
(* (fabs (* w r)) (fabs (* w r)))

series197.0ms

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

simplify206.0ms

Algorithm
egg-herbie
Counts
414 → 414
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0115218908
1396911394
2500111382

prune1.1s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
15×add-exp-log
14×add-sqr-sqrt *-un-lft-identity add-cbrt-cube
10×add-cube-cbrt
times-frac
associate-/r*
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u associate-/l* add-log-exp
unpow-prod-down pow-unpow
flip3-- frac-2neg associate-*r/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out-- difference-of-squares
pow-to-exp pow-pow pow-exp fma-udef unpow2 sqr-pow
Counts
4 → 84
Calls
4 calls:
11.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
0.0ms
(fma (- (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (pow (fabs (* w r)) 2) (/ 2.0 (* r r)))
1.0ms
(pow (fabs (* w r)) 2)
3.0ms
(/ 2.0 (* r r))

series224.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
136.0ms
(fma (- (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (pow (fabs (* w r)) 2) (/ 2.0 (* r r)))
8.0ms
(pow (fabs (* w r)) 2)
26.0ms
(/ 2.0 (* r r))

simplify50.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0476648
11854560
25001558

prune346.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes223.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02916
12916

end0.0ms

sample2.6s

Algorithm
intervals
Results
2.2s16915×body80valid