Details

Time bar (total: 8.4s)

sample29.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
6.0ms256×pre80overflowed

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 22.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
21.3b
(/ (fma x x (* y y)) (+ x y))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
117×add-sqr-sqrt
79×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-- div-sub flip-- fma-udef
Counts
3 → 178
Calls
3 calls:
0.0ms
(fma x x (* y y))
19.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
6.0ms
(/ (fma x x (* y y)) (+ x y))

series169.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(fma x x (* y y))
65.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
68.0ms
(/ (fma x x (* y y)) (+ x y))

simplify87.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06522043
129391866
250011860

prune362.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot x y)
0.0b
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
0.0b
(/ (hypot x y) (+ x y))
0.0b
(* (hypot x y) (/ (hypot x y) (+ x y)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
33×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
20×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
pow1 cbrt-undiv div-exp
associate-/r* associate-/r/
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* div-inv
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
hypot-udef flip3-- div-sub pow-prod-down *-commutative flip--
Counts
4 → 117
Calls
4 calls:
0.0ms
(hypot x y)
14.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
6.0ms
(/ (hypot x y) (+ x y))
16.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series310.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(hypot x y)
88.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
87.0ms
(/ (hypot x y) (+ x y))
87.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

simplify50.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0378858
11715740
25001733

prune254.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (* (hypot x y) (log1p (expm1 (/ (hypot x y) (+ x y))))))
0.0b
(log1p (expm1 (/ (hypot x y) (+ x y))))
0.0b
(* (hypot x y) (log1p (expm1 (/ (hypot x y) (+ x y)))))
0.5b
(expm1 (/ (hypot x y) (+ x y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1
times-frac log1p-expm1-u associate-/l*
expm1-log1p-u add-log-exp
associate-*r* associate-*l*
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ distribute-lft-out-- difference-of-squares
log1p-udef expm1-log1p flip3-- frac-2neg div-sub log1p-expm1 pow-prod-down clear-num associate-/r* *-commutative flip-- div-inv expm1-udef unswap-sqr
Counts
4 → 72
Calls
4 calls:
10.0ms
(/ (- x y) (* (hypot x y) (log1p (expm1 (/ (hypot x y) (+ x y))))))
0.0ms
(log1p (expm1 (/ (hypot x y) (+ x y))))
3.0ms
(* (hypot x y) (log1p (expm1 (/ (hypot x y) (+ x y)))))
0.0ms
(expm1 (/ (hypot x y) (+ x y)))

series573.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(/ (- x y) (* (hypot x y) (log1p (expm1 (/ (hypot x y) (+ x y))))))
122.0ms
(log1p (expm1 (/ (hypot x y) (+ x y))))
164.0ms
(* (hypot x y) (log1p (expm1 (/ (hypot x y) (+ x y)))))
121.0ms
(expm1 (/ (hypot x y) (+ x y)))

simplify105.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0227676
1875548
24581540
35001540

prune192.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y)))
0.0b
(/ (hypot x y) (+ x y))
0.0b
(/ (- x y) (hypot x y))
0.0b
(/ 1 (/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y))))

rewrite344.0ms

Algorithm
rewrite-expression-head
Rules
5295×times-frac
3100×*-un-lft-identity
2516×add-sqr-sqrt
1962×add-cube-cbrt
373×associate-/r*
292×distribute-lft-out
277×distribute-lft-out-- difference-of-squares
200×associate-/r/
195×div-inv
97×flip3-+ flip-+
64×add-exp-log
44×div-exp
38×add-cbrt-cube
29×associate-/l*
23×cbrt-undiv
pow1 rec-exp 1-exp
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
flip3-- pow-flip div-sub flip-- inv-pow
Counts
4 → 1902
Calls
4 calls:
23.0ms
(/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y)))
6.0ms
(/ (hypot x y) (+ x y))
9.0ms
(/ (- x y) (hypot x y))
85.0ms
(/ 1 (/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y)))
87.0ms
(/ (hypot x y) (+ x y))
89.0ms
(/ (- x y) (hypot x y))
91.0ms
(/ 1 (/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y))))

simplify356.0ms

Algorithm
egg-herbie
Counts
1914 → 1914
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500134978

prune4.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes41.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
0138
1138

end0.0ms

sample789.0ms

Algorithm
intervals
Results
452.0ms8000×body80valid
187.0ms8000×pre80overflowed