Details

Time bar (total: 2.8s)

sample43.0ms

Algorithm
intervals
Results
26.0ms675×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0268
1518
2887
31537
43577
515727
650027

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series230.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* 4.0 (* b b))
27.0ms
(+ (* a a) (* b b))
70.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
108.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 (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
8.0ms
(+ (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)) (pow a 4))
1.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

series152.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(+ (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)) (pow a 4))
104.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

simplify99.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0115267
1540251
23031246
35001239

prune112.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
(* 4.0 (* b b))
0.0b
(+ (fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4)) (* 4.0 (* b b)))
0.7b
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
expm1-log1p-u fma-def associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
fma-udef
+-commutative associate-+l+ flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
3 → 48
Calls
3 calls:
5.0ms
(* 4.0 (* b b))
3.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))

series163.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0192359
1807325
23679308
35001301

prune162.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes107.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
0158
1158

end0.0ms

sample1.2s

Algorithm
intervals
Results
802.0ms20504×body80valid