Details

Time bar (total: 4.6s)

sample63.0ms

Algorithm
intervals
Results
48.0ms620×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0268
1518
2887
31537
43577
515727
650027

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-cbrt-cube
fma-def add-log-exp
unpow-prod-down
expm1-log1p-u log1p-expm1-u
pow-unpow associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ sum-log flip-+ sqr-pow
pow-to-exp pow-pow associate-*r* pow-exp *-commutative unswap-sqr
Counts
4 → 74
Calls
4 calls:
3.0ms
(+ (* a a) (* b b))
28.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
6.0ms
(* 4.0 (* b b))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)

series231.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* a a) (* b b))
69.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
27.0ms
(* 4.0 (* b b))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0339438
11458396
25002385

prune220.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (hypot a b) 2.0)
0.0b
(pow (hypot a b) 2.0)
0.0b
(* 4.0 (* b b))
0.3b
(* (pow (hypot a b) 2.0) (pow (hypot a b) 2.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
24×unpow-prod-down
23×add-exp-log
17×add-cube-cbrt *-un-lft-identity
12×prod-exp sqr-pow
11×pow1 add-cbrt-cube
10×associate-*l* unswap-sqr
pow-to-exp associate-*r* pow-exp
swap-sqr
pow-unpow
expm1-log1p-u pow-prod-down cbrt-unprod log1p-expm1-u add-log-exp
hypot-udef pow-pow *-commutative sqrt-pow2
pow2 pow-sqr pow-prod-up
Counts
4 → 115
Calls
4 calls:
1.0ms
(pow (hypot a b) 2.0)
1.0ms
(pow (hypot a b) 2.0)
6.0ms
(* 4.0 (* b b))
9.0ms
(* (pow (hypot a b) 2.0) (pow (hypot a b) 2.0))

series440.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(pow (hypot a b) 2.0)
119.0ms
(pow (hypot a b) 2.0)
31.0ms
(* 4.0 (* b b))
173.0ms
(* (pow (hypot a b) 2.0) (pow (hypot a b) 2.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0273599
11131543
25001532

prune294.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot a b)
0.0b
(+ (* (pow 1 2.0) (pow (hypot a b) (* 2 2.0))) (* 4.0 (* b b)))
0.0b
(pow (hypot a b) (* 2 2.0))
0.0b
(* 4.0 (* b b))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log
add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
expm1-log1p-u log1p-expm1-u
unpow-prod-down associate-*l* pow-prod-down prod-exp cbrt-unprod
hypot-udef
+-commutative pow-to-exp pow-unpow pow-pow fma-def flip3-+ associate-*r* pow-exp sum-log *-commutative sqrt-pow2 flip-+ unswap-sqr sqr-pow
Counts
4 → 63
Calls
4 calls:
0.0ms
(hypot a b)
4.0ms
(+ (* (pow 1 2.0) (pow (hypot a b) (* 2 2.0))) (* 4.0 (* b b)))
1.0ms
(pow (hypot a b) (* 2 2.0))
7.0ms
(* 4.0 (* b b))

series288.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(hypot a b)
91.0ms
(+ (* (pow 1 2.0) (pow (hypot a b) (* 2 2.0))) (* 4.0 (* b b)))
123.0ms
(pow (hypot a b) (* 2 2.0))
30.0ms
(* 4.0 (* b b))

simplify48.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0292392
11276343
25002329

prune222.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)) (pow a 4))
0.0b
(* 2 (pow a 2))
1.8b
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
*-un-lft-identity
add-exp-log associate-*r*
add-cube-cbrt
add-cbrt-cube add-log-exp
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u fma-def associate-*l* prod-exp log1p-expm1-u
fma-udef unpow2 sqr-pow
+-commutative pow-to-exp associate-+l+ flip3-+ pow-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out
Counts
3 → 57
Calls
3 calls:
5.0ms
(+ (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)) (pow a 4))
6.0ms
(* 2 (pow a 2))
0.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

series152.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(+ (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)) (pow a 4))
24.0ms
(* 2 (pow a 2))
74.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

simplify35.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0215372
1947344
25002343

prune355.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes31.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
0229
1229

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.6s20512×body80valid