Details

Time bar (total: 5.2s)

sample55.0ms

Algorithm
intervals
Results
33.0ms666×body80valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
0.1b
(* (* a a) (- 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
1.2b
(* (* b b) (+ 3.0 a))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
18×prod-diff
15×pow1 add-exp-log
14×add-cbrt-cube
13×distribute-rgt-in distribute-lft-in
associate-*r*
fma-def
unpow-prod-down pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr sqr-pow
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 114
Calls
4 calls:
62.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
37.0ms
(* (* a a) (- 1.0 a))
10.0ms
(pow (+ (* a a) (* b b)) 2.0)
31.0ms
(* (* b b) (+ 3.0 a))

series309.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
55.0ms
(* (* a a) (- 1.0 a))
107.0ms
(pow (+ (* a a) (* b b)) 2.0)
34.0ms
(* (* b b) (+ 3.0 a))

simplify91.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0646990
13454779
25001776

prune335.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
1.2b
(* (* b b) (+ 3.0 a))
8.5b
(sqrt (+ (* a a) (* b b)))
8.5b
(sqrt (+ (* a a) (* b b)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
add-exp-log *-un-lft-identity add-cbrt-cube
add-cube-cbrt
sqrt-prod
expm1-log1p-u sqrt-div associate-*r* log1p-expm1-u add-log-exp
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ hypot-def
distribute-rgt-in distribute-lft-in associate-*l* *-commutative fma-udef distribute-lft-out unswap-sqr
Counts
4 → 72
Calls
4 calls:
0.0ms
(fma (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
30.0ms
(* (* b b) (+ 3.0 a))
9.0ms
(sqrt (+ (* a a) (* b b)))
8.0ms
(sqrt (+ (* a a) (* b b)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(fma (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
37.0ms
(* (* b b) (+ 3.0 a))
37.0ms
(sqrt (+ (* a a) (* b b)))
43.0ms
(sqrt (+ (* a a) (* b b)))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0319601
11533527
25002514

prune335.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
0.0b
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
0.1b
(* (* a a) (- 1.0 a))
1.2b
(* (* b b) (+ 3.0 a))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×*-un-lft-identity
22×add-cube-cbrt
18×associate-*r/ prod-diff
16×pow1 add-exp-log add-cbrt-cube
14×distribute-rgt-in distribute-lft-in
12×associate-*r*
fma-def pow-prod-down prod-exp cbrt-unprod
add-log-exp
flip3-+ associate-*l* flip-+
expm1-log1p-u frac-add log1p-expm1-u
unpow-prod-down flip3-- *-commutative flip-- unswap-sqr
sub-neg associate-+r+
+-commutative sum-log distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 123
Calls
4 calls:
83.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
20.0ms
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
33.0ms
(* (* a a) (- 1.0 a))
33.0ms
(* (* b b) (+ 3.0 a))

series288.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
133.0ms
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
55.0ms
(* (* a a) (- 1.0 a))
35.0ms
(* (* b b) (+ 3.0 a))

simplify125.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08031174
14633958
25001958

prune401.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* b (+ 3.0 a))
0.0b
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* b (* b (+ 3.0 a))))))
0.1b
(* (* a a) (- 1.0 a))
0.2b
(* b (* b (+ 3.0 a)))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
22×add-cube-cbrt
18×prod-diff
17×distribute-rgt-in distribute-lft-in
16×pow1 add-exp-log add-cbrt-cube
10×associate-*r*
associate-*r/
fma-def associate-*l* pow-prod-down prod-exp cbrt-unprod
add-log-exp
expm1-log1p-u log1p-expm1-u
unpow-prod-down flip3-+ *-commutative flip-+
sub-neg associate-+r+ unswap-sqr
+-commutative flip3-- sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 120
Calls
4 calls:
19.0ms
(* b (+ 3.0 a))
19.0ms
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* b (* b (+ 3.0 a))))))
36.0ms
(* (* a a) (- 1.0 a))
26.0ms
(* b (* b (+ 3.0 a)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* b (+ 3.0 a))
136.0ms
(+ (pow (hypot a b) (* 2 2.0)) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* b (* b (+ 3.0 a))))))
52.0ms
(* (* a a) (- 1.0 a))
37.0ms
(* b (* b (+ 3.0 a)))

simplify85.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0614939
13354725
25001722

prune350.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes86.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
02813
12813

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.0s20539×body80valid