Details

Time bar (total: 3.5s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms256×pre80true

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: 20.9b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
160×*-un-lft-identity
116×add-sqr-sqrt
78×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 168
Calls
2 calls:
31.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
12.0ms
(/ (fma x x (* y y)) (+ x y))

series128.0ms

Counts
2 → 6
Calls
2 calls:
66.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
63.0ms
(/ (fma x x (* y y)) (+ x y))

simplify75.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06402000
127371832
250011825

prune336.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
32×add-sqr-sqrt
30×times-frac
23×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
cbrt-undiv div-exp
pow1 associate-/r* associate-/r/
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
flip3-- div-sub pow-prod-down *-commutative flip--
Counts
3 → 107
Calls
3 calls:
28.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
12.0ms
(/ (hypot x y) (+ x y))
33.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series248.0ms

Counts
3 → 9
Calls
3 calls:
84.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
83.0ms
(/ (hypot x y) (+ x y))
81.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0372831
11709716
25001709

prune220.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))) 3))
0.0b
(/ (hypot x y) (+ x y))
0.0b
(* (hypot x y) (/ (hypot x y) (+ x y)))
0.0b
(pow (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))) 3)

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
45×add-sqr-sqrt times-frac
32×add-cube-cbrt
26×cbrt-prod
21×add-exp-log add-cbrt-cube
20×unpow-prod-down cube-prod
18×associate-*r*
associate-/r/
pow1 distribute-lft-out
cbrt-undiv div-exp div-inv
associate-*r/
expm1-log1p-u pow-exp prod-exp associate-/r* cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp rem-cube-cbrt difference-of-squares
pow-unpow associate-*l* associate-/l*
cube-div cube-mult flip3-+ unpow3 flip-+ unswap-sqr sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 pow-prod-down clear-num *-commutative rem-cbrt-cube
Counts
4 → 158
Calls
4 calls:
12.0ms
(cbrt (pow (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))) 3))
14.0ms
(/ (hypot x y) (+ x y))
29.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
24.0ms
(pow (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))) 3)

series353.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (pow (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))) 3))
80.0ms
(/ (hypot x y) (+ x y))
83.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
95.0ms
(pow (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))) 3)

simplify64.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04881380
122811289
250011277

prune338.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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)))
1.5b
(log1p (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))

rewrite76.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
expm1-log1p-u associate-/r* associate-/r/
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
log1p-udef flip3-- div-sub log1p-expm1 pow-prod-down *-commutative flip--
Counts
4 → 118
Calls
4 calls:
31.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
12.0ms
(/ (hypot x y) (+ x y))
29.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
1.0ms
(log1p (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))

series387.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
80.0ms
(/ (hypot x y) (+ x y))
80.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
143.0ms
(log1p (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0399954
11769821
25002813

prune310.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01610
11610

end0.0ms

sample512.0ms

Algorithm
intervals
Results
217.0ms8000×body80valid
106.0ms8000×pre80true