Details

Time bar (total: 2.8m)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 17.8b

localize12.0ms

Local error

Found 1 expressions with local error:

17.9b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
frac-times flip3-+ flip-+
add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity times-frac associate-/r* flip--
cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
pow1 expm1-log1p-u frac-2neg prod-exp clear-num cbrt-unprod log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 33
Calls
1 calls:
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series59.0ms

Counts
1 → 3
Calls
1 calls:
59.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0279306
11480261
25001254

prune93.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite144.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:
12.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
40.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
5.0ms
(/ (hypot x y) (+ x y))
4.0ms
(sqrt (+ (* x x) (* y y)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
122.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
86.0ms
(/ (hypot x y) (+ x y))
36.0ms
(sqrt (+ (* x x) (* y y)))

simplify172.0ms

Algorithm
egg-herbie
Counts
891 → 891
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0227216142
1500314529

prune1.7s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
1059×times-frac
757×*-un-lft-identity
593×add-sqr-sqrt
411×add-cube-cbrt
103×associate-/l*
91×distribute-lft-out-- difference-of-squares
82×distribute-lft-out
59×associate-/r/
33×div-inv
27×flip3-+ flip-+
25×associate-/r*
19×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg div-sub clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- flip--
Counts
3 → 571
Calls
3 calls:
12.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
27.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (hypot x y))
6.0ms
(/ (hypot x y) (+ x y))

series269.0ms

Counts
3 → 9
Calls
3 calls:
85.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
91.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (hypot x y))
93.0ms
(/ (hypot x y) (+ x y))

simplify104.0ms

Algorithm
egg-herbie
Counts
580 → 580
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
017528207
150017913

prune1.2s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.1s

Algorithm
rewrite-expression-head
Rules
163899×times-frac
89252×*-un-lft-identity
69320×add-sqr-sqrt
69240×add-cube-cbrt
32761×prod-diff
9921×distribute-lft-out
7706×associate-/r/
4772×div-inv
3301×flip3-+ flip-+
181×fma-neg
121×associate-/l*
76×distribute-lft-out--
27×add-exp-log add-cbrt-cube
24×associate-/r*
16×difference-of-squares
15×cbrt-undiv div-exp
distribute-rgt-out--
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
associate-/l/
sub-neg flip3-- diff-log frac-sub flip-- sub-div
Counts
4 → 33665
Calls
4 calls:
18.0ms
(/ (/ y (/ (hypot x y) (+ x y))) (hypot x y))
1.8s
(- (/ (/ x (/ (hypot x y) (+ x y))) (hypot x y)) (/ (/ y (/ (hypot x y) (+ x y))) (hypot x y)))
23.0ms
(/ (/ x (/ (hypot x y) (+ x y))) (hypot x y))
8.0ms
(/ x (/ (hypot x y) (+ x y)))

series417.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ (/ y (/ (hypot x y) (+ x y))) (hypot x y))
149.0ms
(- (/ (/ x (/ (hypot x y) (+ x y))) (hypot x y)) (/ (/ y (/ (hypot x y) (+ x y))) (hypot x y)))
82.0ms
(/ (/ x (/ (hypot x y) (+ x y))) (hypot x y))
106.0ms
(/ x (/ (hypot x y) (+ x y)))

simplify21.3s

Algorithm
egg-herbie
Counts
33677 → 33677
Iterations

Useful iterations: 0 (130.0ms)

IterNodesCost
0253282565236

prune2.3m

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes44.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

sample446.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid
96.0ms8000×pre80true