Details

Time bar (total: 6.9s)

sample116.0ms

Algorithm
intervals
Results
97.0ms657×body80valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize15.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.0b
(* (* a a) (- 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.9b
(* (* b b) (+ 3.0 a))

rewrite69.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:
28.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
16.0ms
(* (* a a) (- 1.0 a))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)
16.0ms
(* (* b b) (+ 3.0 a))

series303.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
49.0ms
(* (* a a) (- 1.0 a))
106.0ms
(pow (+ (* a a) (* b b)) 2.0)
37.0ms
(* (* b b) (+ 3.0 a))

simplify91.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0646990
13454779
25001776

prune331.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
(fma (pow a 2) (* (- 1.0 a) 4.0) (pow (+ (* a a) (* b b)) 2.0))
0.0b
(+ (* a a) (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.9b
(* (* b b) (+ 3.0 a))

rewrite23.0ms

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

series241.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(fma (pow a 2) (* (- 1.0 a) 4.0) (pow (+ (* a a) (* b b)) 2.0))
27.0ms
(+ (* a a) (* b b))
104.0ms
(pow (+ (* a a) (* b b)) 2.0)
35.0ms
(* (* b b) (+ 3.0 a))

simplify54.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0385464
11906409
25001398

prune285.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (* b b) (+ 3.0 a))
18.3b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
18.3b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
18.3b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
pow1 add-exp-log unpow-prod-down add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod sqr-pow
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
4 → 77
Calls
4 calls:
14.0ms
(* (* b b) (+ 3.0 a))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series487.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* b b) (+ 3.0 a))
152.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
148.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
155.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0270642
11138585
25001579

prune356.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
0.0b
(* (* a a) (- 1.0 a))
0.9b
(* (* b b) (+ 3.0 a))
1.0b
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
34×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
24×distribute-rgt-in distribute-lft-in
22×associate-+l+
14×pow1 add-exp-log add-cbrt-cube
12×associate-*r/
associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u sub-neg flip3-+ frac-add flip-+ log1p-expm1-u
flip3-- flip--
associate-+r+ associate-*l* *-commutative unswap-sqr
+-commutative fma-def sum-log fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 125
Calls
4 calls:
14.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
16.0ms
(* (* a a) (- 1.0 a))
15.0ms
(* (* b b) (+ 3.0 a))
0.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

series223.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
51.0ms
(* (* a a) (- 1.0 a))
39.0ms
(* (* b b) (+ 3.0 a))
77.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

simplify108.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06751128
13764867
25001864

prune503.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02614
12614

end0.0ms

sample3.4s

Algorithm
intervals
Results
3.0s20396×body80valid