Details

Time bar (total: 10.5s)

sample21.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
4.0ms256×pre80true

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 20.8b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-+ flip-+ associate-/l/
add-cube-cbrt
flip3-- flip--
pow1 associate-*l* add-log-exp
associate-*r/ associate-*r* associate-*l/
expm1-log1p-u times-frac associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in fma-def frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 80
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
8.0ms
(* (- x y) (+ x y))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series136.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* x x) (* y y))
41.0ms
(* (- x y) (+ x y))
65.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify67.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0435575
12499504
25001494

prune217.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
1794×times-frac
1230×*-un-lft-identity
977×add-sqr-sqrt
686×add-cube-cbrt
291×sqrt-prod
145×distribute-lft-out-- difference-of-squares
127×distribute-lft-out
103×associate-/l*
94×associate-/r/
51×div-inv
44×flip3-+ flip-+
28×associate-/r*
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
frac-2neg div-sub clear-num associate-/l/
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip-- hypot-def
Counts
4 → 879
Calls
4 calls:
5.0ms
(/ (hypot x y) (+ x y))
15.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
34.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
4.0ms
(sqrt (+ (* x x) (* y y)))

series351.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (hypot x y) (+ x y))
89.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
135.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
36.0ms
(sqrt (+ (* x x) (* y y)))

simplify181.0ms

Algorithm
egg-herbie
Counts
891 → 891
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0227216142
1500114529

prune2.0s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 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
(/ (- x y) (hypot x y))

rewrite70.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:
1.0ms
(hypot x y)
21.0ms
(/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y)))
5.0ms
(/ (hypot x y) (+ x y))
7.0ms
(/ (- x y) (hypot x y))

series335.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot x y)
95.0ms
(/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y)))
98.0ms
(/ (hypot x y) (+ x y))
98.0ms
(/ (- x y) (hypot x y))

simplify105.0ms

Algorithm
egg-herbie
Counts
499 → 499
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
018347484
150017310

prune1.1s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite210.0ms

Algorithm
rewrite-expression-head
Rules
2535×times-frac
1633×*-un-lft-identity
1291×add-sqr-sqrt
1041×cbrt-prod
959×add-cube-cbrt
171×distribute-lft-out
166×distribute-lft-out-- difference-of-squares
117×associate-/r/
115×div-inv
57×flip3-+ flip-+
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-div pow1/3 associate-/r*
associate-/l/
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip--
Counts
4 → 1114
Calls
4 calls:
6.0ms
(/ (- x y) (hypot x y))
26.0ms
(cbrt (/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y))))
31.0ms
(cbrt (/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y))))
26.0ms
(cbrt (/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y))))

series756.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (- x y) (hypot x y))
219.0ms
(cbrt (/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y))))
218.0ms
(cbrt (/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y))))
229.0ms
(cbrt (/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y))))

simplify218.0ms

Algorithm
egg-herbie
Counts
1126 → 1126
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
0207222784
1500122560

prune3.9s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes72.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
097
197

end0.0ms

sample491.0ms

Algorithm
intervals
Results
239.0ms8000×body80valid
113.0ms8000×pre80true