Details

Time bar (total: 4.1s)

sample37.0ms

Algorithm
intervals
Results
23.0ms622×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

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (* 4.0 b) b (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
0.0b
(+ (* a a) (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log
expm1-log1p-u unpow-prod-down pow-unpow add-cbrt-cube log1p-expm1-u
+-commutative pow-to-exp pow-pow fma-def flip3-+ pow-exp sum-log flip-+ fma-udef sqr-pow
Counts
3 → 43
Calls
3 calls:
0.0ms
(fma (* 4.0 b) b (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
3.0ms
(+ (* a a) (* b b))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series201.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(fma (* 4.0 b) b (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
26.0ms
(+ (* a a) (* b b))
103.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify110.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0226319
1972282
23693275
35001274

prune156.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

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

series438.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(hypot a b)
118.0ms
(pow (hypot a b) 2.0)
114.0ms
(pow (hypot a b) 2.0)
163.0ms
(* (pow (hypot a b) 2.0) (pow (hypot a b) 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0203545
1889501
25002490

prune303.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot a b)
0.0b
(fma (* 4.0 b) b (- (* 1 (pow (hypot a b) (* 2 2.0))) 1.0))
0.0b
(pow (hypot a b) (* 2 2.0))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u unpow-prod-down add-cbrt-cube log1p-expm1-u add-log-exp
hypot-udef
pow-to-exp pow-unpow pow-pow pow-exp sqrt-pow2 fma-udef sqr-pow
Counts
3 → 38
Calls
3 calls:
0.0ms
(hypot a b)
0.0ms
(fma (* 4.0 b) b (- (* 1 (pow (hypot a b) (* 2 2.0))) 1.0))
1.0ms
(pow (hypot a b) (* 2 2.0))

series263.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(hypot a b)
94.0ms
(fma (* 4.0 b) b (- (* 1 (pow (hypot a b) (* 2 2.0))) 1.0))
124.0ms
(pow (hypot a b) (* 2 2.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0146241
1573218
22474211
35001211

prune153.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot a b)
0.0b
(hypot a b)
0.0b
(pow (pow (hypot a b) (/ 2.0 2)) 3)
0.2b
(* (pow (pow (hypot a b) (/ 2.0 2)) 3) (pow (hypot a b) (/ 2.0 2)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
52×unpow-prod-down
47×add-sqr-sqrt
25×add-exp-log
24×unswap-sqr sqr-pow
23×cube-prod
21×pow-exp
20×associate-*l*
16×add-cube-cbrt *-un-lft-identity
15×prod-exp
13×pow-to-exp
associate-*r* add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
cube-mult hypot-udef unpow3
pow-pow pow-plus *-commutative cbrt-unprod rem-cube-cbrt
Counts
4 → 133
Calls
4 calls:
0.0ms
(hypot a b)
0.0ms
(hypot a b)
3.0ms
(pow (pow (hypot a b) (/ 2.0 2)) 3)
18.0ms
(* (pow (pow (hypot a b) (/ 2.0 2)) 3) (pow (hypot a b) (/ 2.0 2)))

series593.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot a b)
44.0ms
(hypot a b)
337.0ms
(pow (pow (hypot a b) (/ 2.0 2)) 3)
164.0ms
(* (pow (pow (hypot a b) (/ 2.0 2)) 3) (pow (hypot a b) (/ 2.0 2)))

simplify75.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
03661150
117701042
25001986

prune353.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes39.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
0197
1217
2217

end0.0ms

sample1.1s

Algorithm
intervals
Results
773.0ms20276×body80valid