Details

Time bar (total: 1.9s)

analyze8.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
0%50%50%3
31.2%18.7%50%4
40.6%9.4%50%5
45.3%4.7%50%6
47.6%2.3%50%7
48.8%1.2%50%8
49.4%0.6%50%9
49.7%0.3%50%10
49.8%0.1%50%11
49.9%0.1%50%12
49.9%0%50%13
50%0%50%14
Compiler

Compiled 29 to 19 computations (34.5% saved)

sample1.2s (62.5%)

Results
1.1s8256×body128valid
Compiler

Compiled 58 to 38 computations (34.5% saved)

preprocess33.0ms (1.8%)

Algorithm
egg-herbie
Rules
554×associate-/r*_binary64
513×distribute-rgt-in_binary64
416×associate-/r/_binary64
349×fma-def_binary64
319×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
14026
220017
3131613
4358513
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
Outputs
(/.f64 (/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
(/.f64 (/.f64 (*.f64 i (*.f64 i (*.f64 i i))) (*.f64 4 (*.f64 i i))) (+.f64 (*.f64 4 (*.f64 i i)) -1))
(*.f64 (/.f64 i (fma.f64 4 (*.f64 i i) -1)) (/.f64 (pow.f64 i 3) (*.f64 i (*.f64 i 4))))
(*.f64 (/.f64 i (fma.f64 (*.f64 i i) 4 -1)) (/.f64 i 4))
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify20.0ms (1.1%)

Algorithm
egg-herbie
Rules
554×associate-/r*_binary64
513×distribute-rgt-in_binary64
416×associate-/r/_binary64
349×fma-def_binary64
319×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01131
14026
220017
3131613
4358513
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
Outputs
(/.f64 (/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
(/.f64 (/.f64 (*.f64 i (*.f64 i (*.f64 i i))) (*.f64 4 (*.f64 i i))) (+.f64 (*.f64 4 (*.f64 i i)) -1))
(*.f64 (/.f64 i (fma.f64 4 (*.f64 i i) -1)) (/.f64 (pow.f64 i 3) (*.f64 i (*.f64 i 4))))
(*.f64 (/.f64 i (fma.f64 (*.f64 i i) 4 -1)) (/.f64 i 4))
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))

prune7.0ms (0.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
5.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
5.4b
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
46.1b
(/.f64 (/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
Compiler

Compiled 107 to 74 computations (30.8% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
8.6b
(/.f64 i (pow.f64 i 3))

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
i
@0
(/.f64 i (pow.f64 i 3))
1.0ms
i
@0
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
0.0ms
i
@inf
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
0.0ms
i
@-inf
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
0.0ms
i
@inf
(/.f64 i (pow.f64 i 3))

rewrite43.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
436×log-prod_binary64
172×expm1-udef_binary64
172×log1p-udef_binary64
168×pow1/3_binary64
150×pow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0920
121514
2267414
Stop Event
node limit
Counts
2 → 68
Calls
Call 1
Inputs
(/.f64 i (pow.f64 i 3))
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 i -2))) (cbrt.f64 (exp.f64 (pow.f64 i -2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 i -2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 i (pow.f64 i -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -2) (/.f64 i i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 i) i) (pow.f64 (/.f64 (cbrt.f64 i) i) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (cbrt.f64 i) i) 2) (/.f64 (cbrt.f64 i) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 i) 2) (*.f64 (cbrt.f64 i) (pow.f64 i -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 i) (/.f64 1 i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 i) (/.f64 i (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 i) (*.f64 (sqrt.f64 i) (pow.f64 i -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 i) (/.f64 1 (neg.f64 (pow.f64 i 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -3) i)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 i) 2) i) (/.f64 (cbrt.f64 i) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 i) i) (/.f64 (sqrt.f64 i) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 i) (*.f64 i i)) (/.f64 (sqrt.f64 i) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 i) 2) 1) (/.f64 (cbrt.f64 i) (pow.f64 i 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 i) 1) (/.f64 (sqrt.f64 i) (pow.f64 i 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 i) 2) (*.f64 i i)) (/.f64 (cbrt.f64 i) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 i 3/2)) (/.f64 i (pow.f64 i 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 i) 2) (pow.f64 i 3/2)) (/.f64 (cbrt.f64 i) (pow.f64 i 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 i -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 i -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i i) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (cbrt.f64 i) i) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 i) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (pow.f64 i 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 i i) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 i (neg.f64 (pow.f64 i 3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 i -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 1 (pow.f64 i 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -2 (log.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -2 (log.f64 i)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 i -2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))) (cbrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/4 (/.f64 1 (-.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) (pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 2) (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (sqrt.f64 (-.f64 4 (pow.f64 i -2)))) (/.f64 1/2 (sqrt.f64 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/4 (/.f64 1 (neg.f64 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 4 (pow.f64 i -2))) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 64 (/.f64 1 (pow.f64 i 6)))) (fma.f64 (pow.f64 i -2) (+.f64 (pow.f64 i -2) 4) 16))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 16 (pow.f64 (pow.f64 i -2) 2))) (+.f64 (pow.f64 i -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (sqrt.f64 (-.f64 4 (pow.f64 i -2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 16 (/.f64 (pow.f64 i -2) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 16 (/.f64 (pow.f64 i -2) 1/4)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/16 (pow.f64 (-.f64 4 (pow.f64 i -2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))

simplify28.0ms (1.5%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
413×unswap-sqr_binary64
410×fma-def_binary64
352×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
038270
190267
2211267
3639267
42987267
Stop Event
node limit
Counts
92 → 85
Calls
Call 1
Inputs
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (pow.f64 i 2))
(*.f64 -1/4 (pow.f64 i 2))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
Outputs
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(/.f64 1 (pow.f64 i 2))
(/.f64 1 (*.f64 i i))
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) -1/4)
(*.f64 i (*.f64 i -1/4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 (*.f64 i i) -1/4))
(fma.f64 (*.f64 i i) -1/4 (neg.f64 (pow.f64 i 4)))
(*.f64 (*.f64 i i) (-.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6))))
(-.f64 (fma.f64 (*.f64 i i) -1/4 (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4))
(fma.f64 -4 (pow.f64 i 6) (*.f64 (*.f64 i i) (-.f64 -1/4 (*.f64 i i))))
(-.f64 (fma.f64 i (*.f64 i -1/4) (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4))
(-.f64 (*.f64 -4 (pow.f64 i 6)) (*.f64 (*.f64 i i) (fma.f64 i i 1/4)))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (-.f64 (fma.f64 (*.f64 i i) -1/4 (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4)))
(-.f64 (fma.f64 -16 (pow.f64 i 8) (fma.f64 i (*.f64 i -1/4) (*.f64 -4 (pow.f64 i 6)))) (pow.f64 i 4))
(fma.f64 -4 (pow.f64 i 6) (fma.f64 -16 (pow.f64 i 8) (-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))))
(fma.f64 i (*.f64 i -1/4) (-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -16 (pow.f64 i 8))) (pow.f64 i 4)))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/256 (pow.f64 i 4)))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/64 (*.f64 i i))))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6))) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/256 (pow.f64 i 4)))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/64 (*.f64 i i))))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6))) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6))))

prune57.0ms (3.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh101
Picked101
Done000
Total84387
Error
0b
Counts
87 → 3
Alt Table
StatusErrorProgram
34.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
21.7b
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 (pow.f64 i -2) 2))) (+.f64 (pow.f64 i -2) 4))
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 1118 to 895 computations (19.9% saved)

localize8.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
0.2b
(/.f64 1 (pow.f64 i 2))

series2.0ms (0.1%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
0.0ms
i
@0
(/.f64 1 (pow.f64 i 2))
0.0ms
i
@-inf
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
0.0ms
i
@0
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
0.0ms
i
@inf
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
0.0ms
i
@inf
(/.f64 1 (pow.f64 i 2))

rewrite41.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
386×log-prod_binary64
246×pow2_binary64
171×expm1-udef_binary64
171×log1p-udef_binary64
168×pow1/3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
122514
2259414
Stop Event
node limit
Counts
2 → 61
Calls
Call 1
Inputs
(/.f64 1 (pow.f64 i 2))
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 i -2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 i -2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 i -2)) (cbrt.f64 (pow.f64 i -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 i -4)) (cbrt.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 i) (/.f64 1 i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 i) 2) -2) (pow.f64 (cbrt.f64 i) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 i) -2) (pow.f64 (sqrt.f64 i) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 i 4))) (cbrt.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 i -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i i) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 i -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 i -4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 i -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 i) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 i -6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 i) -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (*.f64 i (neg.f64 i))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 i -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 i -6))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -2 (log.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 i) -2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 i)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -2 (log.f64 i)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 i -2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/4 (/.f64 1 (-.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) (pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 2) (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) (sqrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/4 (/.f64 1 (neg.f64 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 4 (pow.f64 i -2))) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 64 (pow.f64 i -6))) (+.f64 16 (fma.f64 (pow.f64 i -2) 4 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/16 (pow.f64 (-.f64 4 (pow.f64 i -2)) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 16 (/.f64 (pow.f64 i -2) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 16 (/.f64 (pow.f64 i -2) 1/4)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/16 (pow.f64 (-.f64 4 (pow.f64 i -2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))

simplify25.0ms (1.4%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
413×unswap-sqr_binary64
410×fma-def_binary64
360×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
038186
190183
2211183
3639183
43051183
Stop Event
node limit
Counts
73 → 76
Calls
Call 1
Inputs
(*.f64 -1/4 (pow.f64 i 2))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
Outputs
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 -1/4 (*.f64 i i))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(*.f64 (*.f64 i i) (-.f64 -1/4 (*.f64 i i)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6))))
(-.f64 (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4))
(-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -1/4 (*.f64 i i))) (pow.f64 i 4))
(fma.f64 -4 (pow.f64 i 6) (*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i)))))
(fma.f64 (*.f64 i i) (-.f64 -1/4 (*.f64 i i)) (*.f64 -4 (pow.f64 i 6)))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (-.f64 (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4)))
(-.f64 (fma.f64 -16 (pow.f64 i 8) (fma.f64 -4 (pow.f64 i 6) (*.f64 -1/4 (*.f64 i i)))) (pow.f64 i 4))
(fma.f64 -16 (pow.f64 i 8) (fma.f64 -4 (pow.f64 i 6) (*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))))
(-.f64 (fma.f64 -4 (pow.f64 i 6) (fma.f64 -1/4 (*.f64 i i) (*.f64 -16 (pow.f64 i 8)))) (pow.f64 i 4))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/256 (pow.f64 i 4)))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/1024 (pow.f64 i 6))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4)))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 1/16 (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/256 (pow.f64 i 4)))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/1024 (pow.f64 i 6))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4)))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 1/16 (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))

prune47.0ms (2.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New75176
Fresh112
Picked011
Done000
Total76379
Error
0b
Counts
79 → 3
Alt Table
StatusErrorProgram
34.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
21.7b
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 939 to 793 computations (15.5% saved)

localize10.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.6b
(/.f64 1/4 (-.f64 16 (pow.f64 i -4)))
20.8b
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
i
@0
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))
1.0ms
i
@0
(/.f64 1/4 (-.f64 16 (pow.f64 i -4)))
1.0ms
i
@inf
(/.f64 1/4 (-.f64 16 (pow.f64 i -4)))
1.0ms
i
@-inf
(/.f64 1/4 (-.f64 16 (pow.f64 i -4)))
1.0ms
i
@inf
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))

rewrite59.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
407×prod-diff_binary64
240×log1p-udef_binary64
144×add-sqr-sqrt_binary64
142×add-log-exp_binary64
142×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
130929
2384829
Stop Event
node limit
Counts
2 → 72
Calls
Call 1
Inputs
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))
(/.f64 1/4 (-.f64 16 (pow.f64 i -4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) (/.f64 1 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (-.f64 16 (pow.f64 i -4))) (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) 1) (*.f64 (/.f64 1 (-.f64 16 (pow.f64 i -4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1/4 (/.f64 (-.f64 16 (pow.f64 i -4)) (+.f64 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 64 (/.f64 (pow.f64 i -4) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 16 (pow.f64 i -4)) (*.f64 1/4 (+.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 64 (pow.f64 i -6)) (*.f64 (-.f64 64 (/.f64 (pow.f64 i -4) 1/4)) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 i -4) -16) (*.f64 (-.f64 64 (/.f64 (pow.f64 i -4) 1/4)) (+.f64 (pow.f64 i -2) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/4 (+.f64 (pow.f64 i -2) 4)) (-.f64 16 (pow.f64 i -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 1/4 (+.f64 (pow.f64 i -2) 4))) (neg.f64 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/4 (+.f64 64 (pow.f64 i -6))) (*.f64 (-.f64 16 (pow.f64 i -4)) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/4 (+.f64 64 (pow.f64 i -6))) (*.f64 (neg.f64 (-.f64 16 (pow.f64 i -4))) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/4 (+.f64 (pow.f64 i -4) -16)) (*.f64 (-.f64 16 (pow.f64 i -4)) (+.f64 (pow.f64 i -2) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/4 (+.f64 (pow.f64 i -4) -16)) (*.f64 (neg.f64 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 64 (pow.f64 i -6)) 1/4) (*.f64 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4)) (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 i -4) -16) 1/4) (*.f64 (+.f64 (pow.f64 i -2) -4) (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 64 (pow.f64 i -6)) 1) (*.f64 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4)) (-.f64 64 (/.f64 (pow.f64 i -4) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 i -4) -16) 1) (*.f64 (+.f64 (pow.f64 i -2) -4) (-.f64 64 (/.f64 (pow.f64 i -4) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 64 (pow.f64 i -6)) -1/4) (*.f64 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4)) (neg.f64 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 i -4) -16) -1/4) (*.f64 (+.f64 (pow.f64 i -2) -4) (neg.f64 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) 3) (pow.f64 (/.f64 1 (-.f64 16 (pow.f64 i -4))) 3)) (+.f64 (*.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2))) (-.f64 (*.f64 (/.f64 1 (-.f64 16 (pow.f64 i -4))) (/.f64 1 (-.f64 16 (pow.f64 i -4)))) (*.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) (/.f64 1 (-.f64 16 (pow.f64 i -4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2))) (*.f64 (/.f64 1 (-.f64 16 (pow.f64 i -4))) (/.f64 1 (-.f64 16 (pow.f64 i -4))))) (-.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2)) (/.f64 1 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/4 (+.f64 (pow.f64 i -2) 4)) 1) (-.f64 16 (pow.f64 i -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/4 (+.f64 (pow.f64 i -2) 4)) (cbrt.f64 (pow.f64 (-.f64 16 (pow.f64 i -4)) 2))) (cbrt.f64 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/4 (+.f64 (pow.f64 i -2) 4)) (sqrt.f64 (-.f64 16 (pow.f64 i -4)))) (sqrt.f64 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/4 (+.f64 (pow.f64 i -2) 4)) (neg.f64 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 64 (pow.f64 i -6)) (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 i -4) -16) (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))) (+.f64 (pow.f64 i -2) -4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 64 (pow.f64 i -6))) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -4) -16)) (+.f64 (pow.f64 i -2) -4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 i -2) 4) -1/4) (neg.f64 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))) (+.f64 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 3) (pow.f64 (+.f64 (pow.f64 i -2) 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 (pow.f64 i -2) 4) 3) (pow.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (pow.f64 i -2) (/.f64 1 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 i -2) (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (/.f64 1 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 i -2) 4) (-.f64 16 (pow.f64 i -4))))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/4 (/.f64 1 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))) (cbrt.f64 (/.f64 1/16 (pow.f64 (-.f64 16 (pow.f64 i -4)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/16 (pow.f64 (-.f64 16 (pow.f64 i -4)) 2))) (cbrt.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (sqrt.f64 (-.f64 16 (pow.f64 i -4)))) (/.f64 1/2 (sqrt.f64 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/4 (/.f64 1 (neg.f64 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 16 (pow.f64 i -4))) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 4096 (pow.f64 i -12))) (+.f64 (+.f64 256 (pow.f64 i -8)) (*.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 256 (pow.f64 i -8))) (+.f64 16 (pow.f64 i -4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (sqrt.f64 (-.f64 16 (pow.f64 i -4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 64 (/.f64 (pow.f64 i -4) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/16 (pow.f64 (-.f64 16 (pow.f64 i -4)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4)))))))))

simplify32.0ms (1.7%)

Algorithm
egg-herbie
Rules
836×fma-def_binary64
547×times-frac_binary64
435×associate-/r*_binary64
299×fma-neg_binary64
165×*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
063372
1151369
2366369
31155369
44147369
Stop Event
node limit
Counts
96 → 101
Calls
Call 1
Inputs
(*.f64 -1/4 (pow.f64 i 2))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(*.f64 -1/4 (pow.f64 i 4))
(+.f64 (*.f64 -4 (pow.f64 i 8)) (*.f64 -1/4 (pow.f64 i 4)))
(+.f64 (*.f64 -4 (pow.f64 i 8)) (+.f64 (*.f64 -1/4 (pow.f64 i 4)) (*.f64 -64 (pow.f64 i 12))))
(+.f64 (*.f64 -1024 (pow.f64 i 16)) (+.f64 (*.f64 -4 (pow.f64 i 8)) (+.f64 (*.f64 -1/4 (pow.f64 i 4)) (*.f64 -64 (pow.f64 i 12)))))
1/64
(+.f64 1/64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))))
(+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8)))))
(+.f64 (*.f64 1/262144 (/.f64 1 (pow.f64 i 12))) (+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8))))))
1/64
(+.f64 1/64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))))
(+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8)))))
(+.f64 (*.f64 1/262144 (/.f64 1 (pow.f64 i 12))) (+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8))))))
Outputs
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 -1/4 (*.f64 i i))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6))))
(-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -1/4 (*.f64 i i))) (pow.f64 i 4))
(-.f64 (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4))
(-.f64 (*.f64 (*.f64 i i) (fma.f64 (pow.f64 i 4) -4 -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -4 (pow.f64 i 6)) (*.f64 (*.f64 i i) (fma.f64 i i 1/4)))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -1/4 (*.f64 i i))) (pow.f64 i 4)))
(-.f64 (fma.f64 -16 (pow.f64 i 8) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6)))) (pow.f64 i 4))
(fma.f64 -4 (pow.f64 i 6) (fma.f64 i (-.f64 (*.f64 -1/4 i) (pow.f64 i 3)) (*.f64 -16 (pow.f64 i 8))))
(fma.f64 -4 (pow.f64 i 6) (-.f64 (*.f64 -16 (pow.f64 i 8)) (*.f64 (*.f64 i i) (fma.f64 i i 1/4))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/256 (pow.f64 i 4)))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/1024 (pow.f64 i 6))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 1/16 (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/256 (pow.f64 i 4)))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/64 (*.f64 i i))) (/.f64 1/1024 (pow.f64 i 6))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 1/16 (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
(*.f64 -1/4 (pow.f64 i 4))
(+.f64 (*.f64 -4 (pow.f64 i 8)) (*.f64 -1/4 (pow.f64 i 4)))
(fma.f64 -4 (pow.f64 i 8) (*.f64 -1/4 (pow.f64 i 4)))
(fma.f64 -1/4 (pow.f64 i 4) (*.f64 -4 (pow.f64 i 8)))
(*.f64 (pow.f64 i 4) (fma.f64 (pow.f64 i 4) -4 -1/4))
(+.f64 (*.f64 -4 (pow.f64 i 8)) (+.f64 (*.f64 -1/4 (pow.f64 i 4)) (*.f64 -64 (pow.f64 i 12))))
(fma.f64 -4 (pow.f64 i 8) (fma.f64 -1/4 (pow.f64 i 4) (*.f64 -64 (pow.f64 i 12))))
(fma.f64 -4 (pow.f64 i 8) (fma.f64 -64 (pow.f64 i 12) (*.f64 -1/4 (pow.f64 i 4))))
(fma.f64 -1/4 (pow.f64 i 4) (fma.f64 -4 (pow.f64 i 8) (*.f64 -64 (pow.f64 i 12))))
(+.f64 (*.f64 -1024 (pow.f64 i 16)) (+.f64 (*.f64 -4 (pow.f64 i 8)) (+.f64 (*.f64 -1/4 (pow.f64 i 4)) (*.f64 -64 (pow.f64 i 12)))))
(fma.f64 -1024 (pow.f64 i 16) (fma.f64 -4 (pow.f64 i 8) (fma.f64 -1/4 (pow.f64 i 4) (*.f64 -64 (pow.f64 i 12)))))
(fma.f64 -1024 (pow.f64 i 16) (fma.f64 -4 (pow.f64 i 8) (fma.f64 -64 (pow.f64 i 12) (*.f64 -1/4 (pow.f64 i 4)))))
(fma.f64 -4 (pow.f64 i 8) (fma.f64 -1024 (pow.f64 i 16) (fma.f64 -1/4 (pow.f64 i 4) (*.f64 -64 (pow.f64 i 12)))))
(fma.f64 (pow.f64 i 4) (fma.f64 (pow.f64 i 4) -4 -1/4) (fma.f64 -64 (pow.f64 i 12) (*.f64 -1024 (pow.f64 i 16))))
1/64
(+.f64 1/64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))))
(+.f64 1/64 (/.f64 1/1024 (pow.f64 i 4)))
(+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8)))))
(+.f64 1/64 (+.f64 (/.f64 1/1024 (pow.f64 i 4)) (/.f64 1/16384 (pow.f64 i 8))))
(+.f64 (*.f64 1/262144 (/.f64 1 (pow.f64 i 12))) (+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8))))))
(+.f64 (+.f64 1/64 (+.f64 (/.f64 1/1024 (pow.f64 i 4)) (/.f64 1/16384 (pow.f64 i 8)))) (/.f64 1/262144 (pow.f64 i 12)))
(+.f64 (+.f64 1/64 (/.f64 1/1024 (pow.f64 i 4))) (+.f64 (/.f64 1/16384 (pow.f64 i 8)) (/.f64 1/262144 (pow.f64 i 12))))
(+.f64 1/64 (+.f64 (/.f64 1/1024 (pow.f64 i 4)) (+.f64 (/.f64 1/16384 (pow.f64 i 8)) (/.f64 1/262144 (pow.f64 i 12)))))
1/64
(+.f64 1/64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))))
(+.f64 1/64 (/.f64 1/1024 (pow.f64 i 4)))
(+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8)))))
(+.f64 1/64 (+.f64 (/.f64 1/1024 (pow.f64 i 4)) (/.f64 1/16384 (pow.f64 i 8))))
(+.f64 (*.f64 1/262144 (/.f64 1 (pow.f64 i 12))) (+.f64 1/64 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 4))) (*.f64 1/16384 (/.f64 1 (pow.f64 i 8))))))
(+.f64 (+.f64 1/64 (+.f64 (/.f64 1/1024 (pow.f64 i 4)) (/.f64 1/16384 (pow.f64 i 8)))) (/.f64 1/262144 (pow.f64 i 12)))
(+.f64 (+.f64 1/64 (/.f64 1/1024 (pow.f64 i 4))) (+.f64 (/.f64 1/16384 (pow.f64 i 8)) (/.f64 1/262144 (pow.f64 i 12))))
(+.f64 1/64 (+.f64 (/.f64 1/1024 (pow.f64 i 4)) (+.f64 (/.f64 1/16384 (pow.f64 i 8)) (/.f64 1/262144 (pow.f64 i 12)))))

prune71.0ms (3.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1010101
Fresh011
Picked011
Done011
Total1013104
Error
0b
Counts
104 → 3
Alt Table
StatusErrorProgram
34.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
21.7b
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 1928 to 1629 computations (15.5% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
i
@-inf
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
1.0ms
i
@inf
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
1.0ms
i
@0
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))

rewrite46.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
811×log1p-expm1-u_binary64
811×expm1-log1p-u_binary64
87×add-sqr-sqrt_binary64
85×add-log-exp_binary64
84×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
118013
2226113
Stop Event
node limit
Counts
1 → 40
Calls
Call 1
Inputs
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 i (*.f64 i -1/4)) (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 i (*.f64 i -1/4)) (*.f64 (neg.f64 (pow.f64 i 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) (fma.f64 (neg.f64 (pow.f64 i 4)) 1 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) (fma.f64 (neg.f64 (cbrt.f64 (pow.f64 i 4))) (cbrt.f64 (pow.f64 i 8)) (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) (fma.f64 (neg.f64 (*.f64 i i)) (*.f64 i i) (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (pow.f64 i 4)) (*.f64 i (*.f64 i -1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) 2) (cbrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) (sqrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 (*.f64 i i) 3) -1/64) (pow.f64 i 12)) (/.f64 1 (+.f64 (*.f64 (pow.f64 i 4) 1/16) (*.f64 (pow.f64 i 4) (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 i 4) 1/16) (pow.f64 i 8)) (/.f64 1 (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 i (sqrt.f64 -1/4)) (*.f64 i i)) (-.f64 (*.f64 i (sqrt.f64 -1/4)) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (pow.f64 i 4) 1/16) (*.f64 (pow.f64 i 4) (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4)))) (-.f64 (*.f64 (pow.f64 (*.f64 i i) 3) -1/64) (pow.f64 i 12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4)) (-.f64 (*.f64 (pow.f64 i 4) 1/16) (pow.f64 i 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (*.f64 i i) 3) -1/64) (pow.f64 i 12)) (+.f64 (*.f64 (pow.f64 i 4) 1/16) (*.f64 (pow.f64 i 4) (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 i 4) 1/16) (pow.f64 i 8)) (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 (*.f64 i i) 3) -1/64) (pow.f64 i 12))) (neg.f64 (+.f64 (*.f64 (pow.f64 i 4) 1/16) (*.f64 (pow.f64 i 4) (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 i 4) 1/16) (pow.f64 i 8))) (neg.f64 (fma.f64 i (*.f64 i -1/4) (pow.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 (*.f64 i i) 3) -1/64) (pow.f64 (neg.f64 (pow.f64 i 4)) 3)) (+.f64 (*.f64 (pow.f64 i 4) 1/16) (-.f64 (*.f64 (neg.f64 (pow.f64 i 4)) (neg.f64 (pow.f64 i 4))) (*.f64 (*.f64 i (*.f64 i -1/4)) (neg.f64 (pow.f64 i 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 i 4) 1/16) (*.f64 (neg.f64 (pow.f64 i 4)) (neg.f64 (pow.f64 i 4)))) (-.f64 (*.f64 i (*.f64 i -1/4)) (neg.f64 (pow.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i -1/4) i (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 i (*.f64 i -1/4)) (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i i) -1/4 (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) 1/16)) (cbrt.f64 (*.f64 i (*.f64 i -1/4))) (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i (sqrt.f64 -1/4)) (*.f64 i (sqrt.f64 -1/4)) (neg.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))))

simplify29.0ms (1.5%)

Algorithm
egg-herbie
Rules
777×fma-neg_binary64
514×fma-def_binary64
386×associate-*l*_binary64
342×unswap-sqr_binary64
327×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
011145
123136
251136
3142136
4492136
51882136
64349136
Stop Event
node limit
Counts
52 → 46
Calls
Call 1
Inputs
(*.f64 -1/4 (pow.f64 i 2))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(*.f64 -1 (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(*.f64 -1 (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
Outputs
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 -1/4 (*.f64 i i))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 -1 (pow.f64 i 4))
(neg.f64 (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 -1 (pow.f64 i 4))
(neg.f64 (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))

prune26.0ms (1.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New46046
Fresh000
Picked011
Done022
Total46349
Error
0b
Counts
49 → 3
Alt Table
StatusErrorProgram
34.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
21.7b
(*.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 (pow.f64 i -2) 4))
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 756 to 549 computations (27.4% saved)

regimes25.0ms (1.3%)

Accuracy

Total 0.3b remaining (99.2%)

Threshold costs 0.3b (99.2%)

Counts
17 → 1
Compiler

Compiled 203 to 150 computations (26.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-neg-frac_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11413
22013
32213
42313
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Outputs
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))

end59.0ms (3.2%)

Stop Event
done
Compiler

Compiled 54 to 46 computations (14.8% saved)

Profiling

Loading profile data...