Details

Time bar (total: 2.7s)

sample39.0ms

Algorithm
intervals
Results
24.0ms652×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.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

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.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:
7.0ms
(+ (* a a) (* b b))
6.0ms
(* 4.0 (* b b))
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)

series231.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* a a) (* b b))
30.0ms
(* 4.0 (* b b))
64.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
109.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0339438
11458396
25001385

prune221.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2 (pow a 2))
1.1b
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 39
Calls
2 calls:
6.0ms
(* 2 (pow a 2))
1.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

series103.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* 2 (pow a 2))
77.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

simplify132.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0139196
1607173
23092173
35001167

prune125.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (pow a 2))
0.0b
(* 4.0 (* b b))
0.0b
(+ (fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4)) (* 4.0 (* b b)))
1.1b
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

rewrite18.0ms

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

series197.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* 2.0 (pow a 2))
30.0ms
(* 4.0 (* b b))
62.0ms
(+ (fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4)) (* 4.0 (* b b)))
79.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

simplify42.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0291467
11199418
25001407

prune239.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes27.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample1.1s

Algorithm
intervals
Results
768.0ms20466×body80valid