Details

Time bar (total: 20.4s)

sample19.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 23.2b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.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:
16.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
5.0ms
(/ (fma x x (* y y)) (+ x y))

series132.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06402000
127371832
250011825

prune336.0ms

Filtered
174 candidates to 117 candidates (67.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

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

rewrite38.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)
13.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
6.0ms
(/ (hypot x y) (+ x y))
15.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series308.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0378858
11715740
25001733

prune253.0ms

Filtered
129 candidates to 96 candidates (74.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
894×times-frac
604×*-un-lft-identity
476×add-sqr-sqrt
354×add-cube-cbrt
64×distribute-lft-out
61×distribute-lft-out-- difference-of-squares
43×associate-/r/
42×div-inv
27×associate-/l*
25×associate-/r*
21×flip3-+ flip-+
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg div-sub clear-num associate-/l/
hypot-udef flip3-- flip--
Counts
4 → 487
Calls
4 calls:
0.0ms
(hypot x y)
9.0ms
(/ (- x y) (hypot x y))
26.0ms
(/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y)))
5.0ms
(/ (hypot x y) (+ x y))

series312.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
499 → 499
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
018347484
150017312

prune1.0s

Filtered
499 candidates to 325 candidates (65.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite954.0ms

Algorithm
rewrite-expression-head
Rules
20297×times-frac
10558×*-un-lft-identity
8834×add-sqr-sqrt
7200×add-cube-cbrt
923×div-inv
862×distribute-lft-out
817×distribute-lft-out-- difference-of-squares
590×associate-/r/
373×associate-/r*
287×flip3-+ flip-+
141×add-exp-log
121×div-exp
61×add-cbrt-cube
41×cbrt-undiv
39×associate-/l*
25×1-exp
10×rec-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
4 → 5406
Calls
4 calls:
8.0ms
(/ (- x y) (hypot x y))
159.0ms
(/ (/ 1 1) (/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y))))
23.0ms
(/ (/ (hypot x y) (+ x y)) (/ (- x y) (hypot x y)))
5.0ms
(/ (hypot x y) (+ x y))

series379.0ms

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

simplify1.2s

Algorithm
egg-herbie
Counts
5418 → 5418
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05983133899

prune14.6s

Filtered
5418 candidates to 3620 candidates (66.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes45.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
0149
1149

end0.0ms

sample470.0ms

Algorithm
intervals
Results
229.0ms8000×body80valid
104.0ms8000×pre80true