Details

Time bar (total: 4.1s)

sample16.0ms

Algorithm
intervals
Results
6.0ms354×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1233
2303
3313
4313

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.3b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (* y y))
5.0b
(* x (+ 1.0 (* y y)))

rewrite23.0ms

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

series98.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(+ 1.0 (* y y))
58.0ms
(* x (+ 1.0 (* y y)))

simplify99.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0176185
1831149
23617145
35001144

prune111.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 5.1b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

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

series226.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* x (sqrt (+ 1.0 (* y y))))
64.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
47.0ms
(sqrt (+ 1.0 (* y y)))
51.0ms
(sqrt (+ 1.0 (* y y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0318722
11367620
25002595

prune308.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 5.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite207.0ms

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

series944.0ms

Counts
4 → 12
Calls
4 calls:
537.0ms
(* (* (* x (sqrt (sqrt (+ 1.0 (* y y))))) (hypot (sqrt 1.0) y)) (sqrt (sqrt (+ 1.0 (* y y)))))
310.0ms
(* (* x (sqrt (sqrt (+ 1.0 (* y y))))) (hypot (sqrt 1.0) y))
49.0ms
(sqrt (+ 1.0 (* y y)))
47.0ms
(sqrt (+ 1.0 (* y y)))

simplify80.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05031174
122851049
25001930

prune378.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (hypot (sqrt 1.0) y))
0.0b
(hypot (sqrt 1.0) y)
0.0b
(hypot (sqrt 1.0) y)
0.1b
(* (hypot (sqrt 1.0) y) (* x (hypot (sqrt 1.0) y)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l*
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
hypot-udef *-commutative
unswap-sqr
Counts
4 → 60
Calls
4 calls:
7.0ms
(* x (hypot (sqrt 1.0) y))
0.0ms
(hypot (sqrt 1.0) y)
0.0ms
(hypot (sqrt 1.0) y)
17.0ms
(* (hypot (sqrt 1.0) y) (* x (hypot (sqrt 1.0) y)))

series566.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(* x (hypot (sqrt 1.0) y))
101.0ms
(hypot (sqrt 1.0) y)
99.0ms
(hypot (sqrt 1.0) y)
210.0ms
(* (hypot (sqrt 1.0) y) (* x (hypot (sqrt 1.0) y)))

simplify124.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0213439
1803361
23698352
35002344

prune210.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes99.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0136
1136

end0.0ms

sample388.0ms

Algorithm
intervals
Results
179.0ms10591×body80valid