Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
8.0ms359×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1233
2303
3313
4313

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.6b

localize4.0ms

Local error

Found 1 expressions with local error:

5.3b
(* x (+ 1.0 (* y y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
15.0ms
(* x (+ 1.0 (* y y)))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(* x (+ 1.0 (* y y)))

simplify89.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0148123
1742103
23453100
35001100

prune56.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.4b

localize5.0ms

Local error

Found 1 expressions with local error:

5.3b
(* (+ 1.0 (* y y)) x)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*l/
expm1-log1p-u flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
16.0ms
(* (+ 1.0 (* y y)) x)

series33.0ms

Counts
1 → 3
Calls
1 calls:
33.0ms
(* (+ 1.0 (* y y)) x)

simplify66.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0122119
156295
2283490
3500190

prune55.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ 1.0 (* y y))) x)
0.1b
(* (sqrt (+ 1.0 (* y y))) (* (sqrt (+ 1.0 (* y y))) x))
5.2b
(sqrt (+ 1.0 (* y y)))
5.2b
(sqrt (+ 1.0 (* y y)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×sqrt-div
13×pow1 sqrt-prod
12×associate-*l*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*l/
flip3-+ flip-+
expm1-log1p-u frac-times associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ *-commutative hypot-def unswap-sqr
Counts
4 → 93
Calls
4 calls:
18.0ms
(* (sqrt (+ 1.0 (* y y))) x)
44.0ms
(* (sqrt (+ 1.0 (* y y))) (* (sqrt (+ 1.0 (* y y))) x))
5.0ms
(sqrt (+ 1.0 (* y y)))
6.0ms
(sqrt (+ 1.0 (* y y)))

series185.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(* (sqrt (+ 1.0 (* y y))) x)
30.0ms
(* (sqrt (+ 1.0 (* y y))) (* (sqrt (+ 1.0 (* y y))) x))
41.0ms
(sqrt (+ 1.0 (* y y)))
39.0ms
(sqrt (+ 1.0 (* y y)))

simplify43.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0328729
11197629
25001600

prune265.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 5.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (sqrt (sqrt (+ 1.0 (* y y)))) x) (hypot (sqrt 1.0) y))
0.1b
(* (sqrt (sqrt (+ 1.0 (* y y)))) (* (* (sqrt (sqrt (+ 1.0 (* y y)))) x) (hypot (sqrt 1.0) y)))
5.2b
(sqrt (+ 1.0 (* y y)))
5.2b
(sqrt (+ 1.0 (* y y)))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
32×sqrt-div
20×pow1
18×add-exp-log associate-*l/ add-cbrt-cube
15×sqrt-prod
14×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity associate-*l*
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
expm1-log1p-u frac-times associate-*r* log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ *-commutative hypot-def
Counts
4 → 95
Calls
4 calls:
41.0ms
(* (* (sqrt (sqrt (+ 1.0 (* y y)))) x) (hypot (sqrt 1.0) y))
135.0ms
(* (sqrt (sqrt (+ 1.0 (* y y)))) (* (* (sqrt (sqrt (+ 1.0 (* y y)))) x) (hypot (sqrt 1.0) y)))
8.0ms
(sqrt (+ 1.0 (* y y)))
5.0ms
(sqrt (+ 1.0 (* y y)))

series792.0ms

Counts
4 → 12
Calls
4 calls:
459.0ms
(* (* (sqrt (sqrt (+ 1.0 (* y y)))) x) (hypot (sqrt 1.0) y))
250.0ms
(* (sqrt (sqrt (+ 1.0 (* y y)))) (* (* (sqrt (sqrt (+ 1.0 (* y y)))) x) (hypot (sqrt 1.0) y)))
43.0ms
(sqrt (+ 1.0 (* y y)))
38.0ms
(sqrt (+ 1.0 (* y y)))

simplify71.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06111229
125621040
25001988

prune331.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes66.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
096
196

end0.0ms

sample405.0ms

Algorithm
intervals
Results
185.0ms10734×body80valid