Details

Time bar (total: 2.0s)

sample14.0ms

Algorithm
intervals
Results
5.0ms247×body80valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody320valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ sum-log add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
Counts
1 → 17
Calls
1 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(+ x (/ (fabs (- y x)) 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune48.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (sqrt x) (sqrt x) (/ (fabs (- y x)) 2.0))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (sqrt x) (sqrt x) (/ (fabs (- y x)) 2.0))

series101.0ms

Counts
1 → 3
Calls
1 calls:
101.0ms
(fma (sqrt x) (sqrt x) (/ (fabs (- y x)) 2.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
088117
1275101
2132695
3500192

prune35.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (fabs (- y x)) 2.0) x)
0.1b
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
9.7b
(+ (pow x 3) (pow (/ (fabs (- y x)) 2.0) 3))
40.5b
(/ (+ (pow x 3) (pow (/ (fabs (- y x)) 2.0) 3)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
114×*-un-lft-identity
67×add-sqr-sqrt
64×times-frac
62×add-cube-cbrt
39×prod-diff
25×distribute-lft-out
23×unpow-prod-down cube-prod
13×fma-neg
12×fma-def
associate-/l*
add-log-exp
add-exp-log add-cbrt-cube
sum-cubes div-inv
pow1 expm1-log1p-u log1p-expm1-u
associate-/r*
flip3-+ flip-+ associate-/l/ difference-of-squares
cbrt-undiv +-commutative cube-mult sub-neg flip3-- frac-2neg diff-log unpow3 div-exp clear-num sum-log flip-- fma-udef distribute-lft-out-- sqr-pow
Counts
4 → 165
Calls
4 calls:
9.0ms
(- (/ (fabs (- y x)) 2.0) x)
1.0ms
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
20.0ms
(+ (pow x 3) (pow (/ (fabs (- y x)) 2.0) 3))
27.0ms
(/ (+ (pow x 3) (pow (/ (fabs (- y x)) 2.0) 3)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- (/ (fabs (- y x)) 2.0) x)
40.0ms
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
39.0ms
(+ (pow x 3) (pow (/ (fabs (- y x)) 2.0) 3))
73.0ms
(/ (+ (pow x 3) (pow (/ (fabs (- y x)) 2.0) 3)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04682652
118312257
250012233

prune466.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
0.1b
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
30.7b
(/ (+ x (/ (fabs (- y x)) 2.0)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)))
30.7b
(* (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)) (/ (+ x (/ (fabs (- y x)) 2.0)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt
16×associate-*r*
11×add-exp-log add-cbrt-cube
distribute-lft-out
pow1
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod fma-udef div-inv associate-/l/ unswap-sqr
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
4 → 92
Calls
4 calls:
1.0ms
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
1.0ms
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
8.0ms
(/ (+ x (/ (fabs (- y x)) 2.0)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)))
11.0ms
(* (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)) (/ (+ x (/ (fabs (- y x)) 2.0)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))))

series155.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
40.0ms
(fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))
47.0ms
(/ (+ x (/ (fabs (- y x)) 2.0)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)))
26.0ms
(* (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x)) (/ (+ x (/ (fabs (- y x)) 2.0)) (fma (/ (fabs (- y x)) 2.0) (- (/ (fabs (- y x)) 2.0) x) (* x x))))

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03302248
116041996
250011715

prune236.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes60.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample298.0ms

Algorithm
intervals
Results
148.0ms7713×body80valid
9.0ms78×body640valid
8.0ms91×body1280valid
5.0ms51×body2560valid
3.0ms53×body320valid
1.0ms16×body160valid