Details

Time bar (total: 1.6s)

analyze6.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
0%50%50%3
37.5%12.5%50%4
43.7%6.2%50%5
46.9%3.1%50%6
48.4%1.6%50%7
49.2%0.8%50%8
49.6%0.4%50%9
49.8%0.2%50%10
49.9%0.1%50%11
49.9%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 29 to 19 computations (34.5% saved)

sample1.0s (67.4%)

Results
1.0s8256×body128valid
Compiler

Compiled 58 to 38 computations (34.5% saved)

preprocess30.0ms (1.9%)

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.3%)

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))))

prune4.0ms (0.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
3.7b
Counts
3 → 2
Alt Table
StatusErrorProgram
3.8b
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
47.9b
(/.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))))
11.3b
(/.f64 i (pow.f64 i 3))

series4.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
i
@0
(/.f64 1/4 (-.f64 4 (/.f64 i (pow.f64 i 3))))
1.0ms
i
@0
(/.f64 i (pow.f64 i 3))
1.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))

rewrite48.0ms (3.1%)

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 log1p.f64 (expm1.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))

simplify34.0ms (2.2%)

Algorithm
egg-herbie
Rules
438×associate-*l*_binary64
438×fma-neg_binary64
413×unswap-sqr_binary64
320×cancel-sign-sub-inv_binary64
291×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041273
1104271
2285267
31068267
44284267
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))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (*.f64 4 (pow.f64 i 6)))))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (+.f64 (*.f64 16 (pow.f64 i 8)) (*.f64 4 (pow.f64 i 6))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
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))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 (*.f64 i i) -1/4) (pow.f64 i 4))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (*.f64 4 (pow.f64 i 6)))))
(neg.f64 (+.f64 (pow.f64 i 4) (fma.f64 1/4 (*.f64 i i) (*.f64 4 (pow.f64 i 6)))))
(-.f64 (neg.f64 (pow.f64 i 4)) (fma.f64 (*.f64 i i) 1/4 (*.f64 4 (pow.f64 i 6))))
(-.f64 (*.f64 i (*.f64 i -1/4)) (fma.f64 4 (pow.f64 i 6) (pow.f64 i 4)))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (+.f64 (*.f64 16 (pow.f64 i 8)) (*.f64 4 (pow.f64 i 6))))))
(neg.f64 (+.f64 (pow.f64 i 4) (fma.f64 1/4 (*.f64 i i) (fma.f64 16 (pow.f64 i 8) (*.f64 4 (pow.f64 i 6))))))
(-.f64 (neg.f64 (pow.f64 i 4)) (fma.f64 (*.f64 i i) 1/4 (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
(neg.f64 (fma.f64 (*.f64 i i) (fma.f64 i i 1/4) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
(-.f64 (*.f64 (pow.f64 i 6) -4) (fma.f64 (*.f64 i i) (fma.f64 i i 1/4) (*.f64 16 (pow.f64 i 8))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 1/16 (+.f64 (/.f64 (/.f64 1/64 i) i) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
(+.f64 (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4)))) (/.f64 1/1024 (pow.f64 i 6)))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))) (/.f64 1/1024 (pow.f64 i 6))))
(+.f64 1/16 (+.f64 (/.f64 (/.f64 1/64 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 1/16 (/.f64 (/.f64 1/64 i) i))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 1/16 (+.f64 (/.f64 (/.f64 1/64 i) i) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
(+.f64 (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4)))) (/.f64 1/1024 (pow.f64 i 6)))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))) (/.f64 1/1024 (pow.f64 i 6))))
(+.f64 1/16 (+.f64 (/.f64 (/.f64 1/64 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))))

prune49.0ms (3.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New83285
Fresh101
Picked101
Done000
Total85287
Error
0b
Counts
87 → 2
Alt Table
StatusErrorProgram
33.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 1083 to 866 computations (20% saved)

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
0.4b
(/.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
@0
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
0.0ms
i
@inf
(/.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/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))

rewrite40.0ms (2.6%)

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 log1p.f64 (expm1.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))))))

simplify33.0ms (2.1%)

Algorithm
egg-herbie
Rules
448×associate-*l*_binary64
438×fma-neg_binary64
413×unswap-sqr_binary64
320×cancel-sign-sub-inv_binary64
291×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041189
1104187
2285183
31067183
44298183
Stop Event
node limit
Counts
73 → 76
Calls
Call 1
Inputs
(*.f64 -1/4 (pow.f64 i 2))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (*.f64 4 (pow.f64 i 6)))))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (+.f64 (*.f64 16 (pow.f64 i 8)) (*.f64 4 (pow.f64 i 6))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
Outputs
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 -1/4 (*.f64 i i))
(*.f64 i (*.f64 -1/4 i))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(-.f64 (*.f64 i (*.f64 -1/4 i)) (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (*.f64 4 (pow.f64 i 6)))))
(neg.f64 (+.f64 (pow.f64 i 4) (fma.f64 1/4 (*.f64 i i) (*.f64 4 (pow.f64 i 6)))))
(-.f64 (neg.f64 (fma.f64 (*.f64 i i) 1/4 (*.f64 4 (pow.f64 i 6)))) (pow.f64 i 4))
(-.f64 (*.f64 i (*.f64 -1/4 i)) (fma.f64 4 (pow.f64 i 6) (pow.f64 i 4)))
(-.f64 (fma.f64 (pow.f64 i 6) -4 (*.f64 i (*.f64 -1/4 i))) (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (+.f64 (*.f64 1/4 (pow.f64 i 2)) (+.f64 (*.f64 16 (pow.f64 i 8)) (*.f64 4 (pow.f64 i 6))))))
(neg.f64 (+.f64 (pow.f64 i 4) (fma.f64 1/4 (*.f64 i i) (fma.f64 16 (pow.f64 i 8) (*.f64 4 (pow.f64 i 6))))))
(-.f64 (neg.f64 (pow.f64 i 4)) (fma.f64 (*.f64 i i) 1/4 (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
(neg.f64 (fma.f64 (*.f64 i i) (fma.f64 i i 1/4) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
(-.f64 (*.f64 (pow.f64 i 6) -4) (fma.f64 (*.f64 i i) (fma.f64 i i 1/4) (*.f64 16 (pow.f64 i 8))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
(+.f64 (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4)))) (/.f64 1/1024 (pow.f64 i 6)))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))) (/.f64 1/1024 (pow.f64 i 6))))
(+.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)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (+.f64 1/16 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))) (*.f64 1/256 (/.f64 1 (pow.f64 i 4))))))
(+.f64 (+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4)))) (/.f64 1/1024 (pow.f64 i 6)))
(+.f64 1/16 (+.f64 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))) (/.f64 1/1024 (pow.f64 i 6))))
(+.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)))))

prune45.0ms (2.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done000
Total76278
Error
0b
Counts
78 → 2
Alt Table
StatusErrorProgram
33.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 908 to 772 computations (15% 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
@0
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
0.0ms
i
@-inf
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))

rewrite45.0ms (2.9%)

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 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 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 log1p.f64 (expm1.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 i (*.f64 i -1/4) (neg.f64 (pow.f64 i 4)))))))))

simplify30.0ms (1.9%)

Algorithm
egg-herbie
Rules
1054×fma-neg_binary64
490×distribute-rgt-neg-in_binary64
462×fma-def_binary64
380×cancel-sign-sub-inv_binary64
242×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014154
131136
280136
3259136
4911136
52330136
64019136
Stop Event
node limit
Counts
52 → 46
Calls
Call 1
Inputs
(*.f64 -1/4 (pow.f64 i 2))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(*.f64 -1 (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(*.f64 -1 (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (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 i (*.f64 i -1/4))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(*.f64 -1 (pow.f64 i 4))
(neg.f64 (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(*.f64 -1 (pow.f64 i 4))
(neg.f64 (pow.f64 i 4))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 1/4 (pow.f64 i 2))))
(neg.f64 (+.f64 (pow.f64 i 4) (*.f64 (*.f64 i i) 1/4)))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(*.f64 i (*.f64 i (neg.f64 (fma.f64 i i 1/4))))
(*.f64 i (*.f64 i (-.f64 -1/4 (*.f64 i i))))

prune25.0ms (1.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New46046
Fresh000
Picked011
Done011
Total46248
Error
0b
Counts
48 → 2
Alt Table
StatusErrorProgram
33.1b
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (pow.f64 i 2))))
Compiler

Compiled 741 to 536 computations (27.7% saved)

regimes23.0ms (1.5%)

Accuracy

Total 0.4b remaining (97.7%)

Threshold costs 0.4b (97.7%)

Counts
16 → 1
Compiler

Compiled 179 to 128 computations (28.5% saved)

simplify3.0ms (0.2%)

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))))

end48.0ms (3.1%)

Stop Event
done
Compiler

Compiled 40 to 34 computations (15% saved)

Profiling

Loading profile data...