Details

Time bar (total: 5.5s)

analyze13.0ms (0.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
0%0%50%50%0%0%0%1
0%0%50%50%0%0%0%2
0%0%50%50%0%0%0%3
62.5%31.2%18.7%50%0%0%0%4
81.3%40.6%9.4%50%0%0%0%5
90.6%45.3%4.7%50%0%0%0%6
95.3%47.6%2.3%50%0%0%0%7
97.7%48.8%1.2%50%0%0%0%8
98.8%49.4%0.6%50%0%0%0%9
99.4%49.7%0.3%50%0%0%0%10
99.7%49.8%0.1%50%0%0%0%11
99.9%49.9%0.1%50%0%0%0%12
Compiler

Compiled 29 to 19 computations (34.5% saved)

sample2.2s (39.8%)

Results
2.2s8256×body256valid
Bogosity

preprocess57.0ms (1%)

Algorithm
egg-herbie
Rules
579×associate-/r*_binary64
516×cancel-sign-sub-inv_binary64
496×distribute-rgt-in_binary64
478×distribute-lft-in_binary64
434×associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
14026
220017
3134113
4377413
5622013
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 i (*.f64 i (*.f64 i i))) (*.f64 (+.f64 (*.f64 4 (*.f64 i i)) -1) (*.f64 4 (*.f64 i i))))
(*.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))))
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Compiler

Compiled 27 to 18 computations (33.3% saved)

simplify46.0ms (0.8%)

Algorithm
egg-herbie
Rules
579×associate-/r*_binary64
516×cancel-sign-sub-inv_binary64
496×distribute-rgt-in_binary64
478×distribute-lft-in_binary64
434×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01131
14026
220017
3134113
4377413
5622013
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 i (*.f64 i (*.f64 i i))) (*.f64 (+.f64 (*.f64 4 (*.f64 i i)) -1) (*.f64 4 (*.f64 i i))))
(*.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))))
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))

eval1.0ms (0%)

Compiler

Compiled 35 to 23 computations (34.3% saved)

prune2.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.7b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
46.3b
(/.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))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Compiler

Compiled 36 to 25 computations (30.6% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 4 (/.f64 -1 (*.f64 i i)))
0.5b
(/.f64 -1 (*.f64 i i))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Compiler

Compiled 29 to 17 computations (41.4% saved)

series4.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite80.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
518×unpow-prod-down_binary64
386×log-prod_binary64
305×exp-prod_binary64
256×prod-exp_binary64
243×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0930
120325
2251425
Stop Event
node limit
Counts
3 → 154
Calls
Call 1
Inputs
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
(/.f64 -1 (*.f64 i i))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/4 (/.f64 1 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))) (cbrt.f64 (*.f64 1/16 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/16 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) -2))) (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) (/.f64 1/2 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/4 (/.f64 1 (neg.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/4 (pow.f64 (/.f64 1 (neg.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 -1 (pow.f64 i -2) 4)) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -6) 64)) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -6) 64)) 1) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1/4 (-.f64 16 (pow.f64 i -4))) 1) (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 1/16 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) -2)) 1/4) 1/3) (cbrt.f64 (/.f64 1 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 5/2) 1/3) (cbrt.f64 (/.f64 1/2 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 1/4) 3) (/.f64 1 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 2) 3) (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 -1 (pow.f64 i -2) 4) 4)) 2) -1) (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/16 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) -2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 -1 (pow.f64 i -2) 4) 4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (fma.f64 -1 (pow.f64 i -2) 4) 4) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 2)) (cbrt.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))) (sqrt.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/16 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 1/2 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 -1 (pow.f64 i -2) 4) 4)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))) 1) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (neg.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (neg.f64 (pow.f64 i -2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (neg.f64 (pow.f64 i -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (neg.f64 (pow.f64 i -2))))) (log.f64 (sqrt.f64 (exp.f64 (neg.f64 (pow.f64 i -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (neg.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 (neg.f64 (pow.f64 i -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (neg.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (neg.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 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -1) i) (/.f64 (sqrt.f64 -1) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -2) -1)))) (#(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) (pow.f64 (/.f64 1 i) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 i) (/.f64 -1 i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 i) i)) (pow.f64 (neg.f64 (pow.f64 (cbrt.f64 i) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (neg.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (neg.f64 (pow.f64 i -2)))) 2) 3) (cbrt.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (neg.f64 (pow.f64 i -2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (neg.f64 (pow.f64 i -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 -1) 2) (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 i (neg.f64 i))) 2) -1) (cbrt.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (neg.f64 (*.f64 (cbrt.f64 i) i)) -1) (pow.f64 (pow.f64 (cbrt.f64 i) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 -1 1/3) (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 i -4) -1) 1/3) (cbrt.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 i -4) (cbrt.f64 (pow.f64 i -4))) 1/3) (cbrt.f64 (cbrt.f64 (neg.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (neg.f64 (pow.f64 i -2)) 5/2) 1/3) (cbrt.f64 (/.f64 (sqrt.f64 -1) i)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.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 (neg.f64 (pow.f64 i -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -1) i) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i (neg.f64 i)) -1)))) (#(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 (exp.f64 1) (log.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (neg.f64 (pow.f64 i -2)))) 2)) (cbrt.f64 (log.f64 (neg.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (neg.f64 (pow.f64 i -2))))) (sqrt.f64 (log.f64 (neg.f64 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 i -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (neg.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 expm1.f64 (log1p.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (neg.f64 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (neg.f64 (pow.f64 i -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (neg.f64 (pow.f64 i -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 -1) i)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 i (neg.f64 i))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1 (pow.f64 i -6))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (neg.f64 (pow.f64 i -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (neg.f64 (pow.f64 i -2))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 -1 i)) (*.f64 (log.f64 i) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 16 (+.f64 4 (pow.f64 i -2))) (/.f64 (pow.f64 i -4) (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1 (pow.f64 i -2) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1 (pow.f64 i -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)) (pow.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)) 2) (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)) (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1 (pow.f64 i -6) 64) (/.f64 1 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1 (pow.f64 i -6) 64) (pow.f64 (/.f64 1 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 16 (pow.f64 i -4)) (/.f64 1 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 16 (pow.f64 i -4)) (pow.f64 (/.f64 1 (+.f64 4 (pow.f64 i -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fma.f64 -1 (pow.f64 i -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 -1 (pow.f64 i -2) 4) (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 2) 1/3) (cbrt.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 2) 3) (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2))) (fma.f64 -1 (pow.f64 i -6) 64)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (pow.f64 i -2)) (-.f64 16 (pow.f64 i -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (pow.f64 i -6) 64) (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (pow.f64 i -6) 64) (+.f64 (pow.f64 i -4) (-.f64 16 (*.f64 -4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 16 (pow.f64 i -4)) (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 -1 (pow.f64 i -6) 64)) (neg.f64 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 16 (pow.f64 i -4))) (neg.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 i -4) 16) (fma.f64 -1 (pow.f64 i -2) -4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (+.f64 16 (pow.f64 i -4)) (*.f64 -4 (pow.f64 i -2))) (fma.f64 -1 (pow.f64 i -6) 64)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 4 (pow.f64 i -2)) (-.f64 16 (pow.f64 i -4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 2)) (cbrt.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4)))) (sqrt.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 -1 (pow.f64 i -2) 4) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 -1 (pow.f64 i -2) 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -1 (pow.f64 i -2) 4)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (pow.f64 i -2) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 i -2)) 1 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (pow.f64 i -2)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (neg.f64 (pow.f64 i -2))) (cbrt.f64 (pow.f64 i -4)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 i -4)) (cbrt.f64 (neg.f64 (pow.f64 i -2))) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 -1) i) (/.f64 (sqrt.f64 -1) i) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 i -2) -1 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 -1 i) (/.f64 1 i) 4)))))

simplify47.0ms (0.8%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
472×distribute-lft-out_binary64
413×unswap-sqr_binary64
412×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040369
194366
2221366
3664366
43240366
Stop Event
node limit
Counts
190 → 174
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 (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 (pow.f64 i 2))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.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 (*.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))
(-.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 -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 -1/4 (*.f64 i i) (-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -16 (pow.f64 i 8))) (pow.f64 i 4)))
(-.f64 (*.f64 -16 (pow.f64 i 8)) (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (*.f64 4 (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/64 (*.f64 i i)) (+.f64 1/16 (/.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 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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)))))
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/64 (*.f64 i i)) (+.f64 1/16 (/.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 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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 -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 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))

localize33.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1)
0.1b
(*.f64 (*.f64 i i) (*.f64 i i))
17.0b
(/.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))
42.2b
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
Compiler

Compiled 73 to 39 computations (46.6% saved)

series5.0ms (0.1%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
i
@0
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
1.0ms
i
@inf
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
0.0ms
i
@inf
(*.f64 (*.f64 i i) (*.f64 i i))
0.0ms
i
@0
(*.f64 (*.f64 i i) (*.f64 i i))
0.0ms
i
@0
(/.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))

rewrite91.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
775×log-prod_binary64
508×prod-diff_binary64
288×fma-def_binary64
260×log-div_binary64
217×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01161
125548
2396548
Stop Event
node limit
Counts
4 → 190
Calls
Call 1
Inputs
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
(/.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 i i) (*.f64 i i))
(-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i)))) (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i)))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 i (*.f64 (pow.f64 i 3) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 i i) (/.f64 1 (*.f64 4 (/.f64 (*.f64 i i) (*.f64 i i)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i 3) (*.f64 i (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2) (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) (*.f64 (*.f64 i (cbrt.f64 i)) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (*.f64 (/.f64 i i) (/.f64 i 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 i 4)) (/.f64 1 (*.f64 -4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (*.f64 i i)) (pow.f64 i 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2 (/.f64 (pow.f64 i 4) i)) (/.f64 1 (+.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (/.f64 (pow.f64 i 4) (*.f64 i (+.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i 2) (/.f64 (pow.f64 i 3) (*.f64 i (+.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) 2) (/.f64 (*.f64 i i) (*.f64 i (+.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) 2) (/.f64 i (*.f64 i (+.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) 2) (/.f64 (*.f64 i (cbrt.f64 i)) (*.f64 i (+.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i (+.f64 i i)) (/.f64 (pow.f64 i 3) (+.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) (+.f64 i i)) (/.f64 i (+.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 i i)) (*.f64 1/2 (/.f64 (pow.f64 i 4) i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) (+.f64 i i)) (/.f64 (*.f64 i (cbrt.f64 i)) (+.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i 1) (/.f64 (pow.f64 i 3) (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) 1) (/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4))) (*.f64 i i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) 1) (/.f64 i (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) 1) (/.f64 (*.f64 i (cbrt.f64 i)) (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i 4) (/.f64 (pow.f64 i 3) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) 4) (/.f64 (*.f64 i i) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/4 (/.f64 (pow.f64 i 4) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) 4) (/.f64 i (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) 4) (/.f64 (*.f64 i (cbrt.f64 i)) (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i (cbrt.f64 (*.f64 16 (pow.f64 i 4)))) (/.f64 (pow.f64 i 3) (pow.f64 (cbrt.f64 (+.f64 i i)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) (cbrt.f64 (*.f64 16 (pow.f64 i 4)))) (/.f64 (*.f64 i i) (pow.f64 (cbrt.f64 (+.f64 i i)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (*.f64 16 (pow.f64 i 4)))) (/.f64 (pow.f64 i 4) (pow.f64 (cbrt.f64 (+.f64 i i)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) (cbrt.f64 (*.f64 16 (pow.f64 i 4)))) (/.f64 i (pow.f64 (cbrt.f64 (+.f64 i i)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) (cbrt.f64 (*.f64 16 (pow.f64 i 4)))) (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i (*.f64 i 4)) (/.f64 (pow.f64 i 3) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) (*.f64 i 4)) (/.f64 (*.f64 i i) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 i 4)) (/.f64 (pow.f64 i 4) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) (*.f64 i 4)) (/.f64 i i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) (*.f64 i 4)) (/.f64 (*.f64 i (cbrt.f64 i)) i))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (/.f64 (*.f64 i i) (pow.f64 i 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 i 4) (*.f64 -4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (pow.f64 (*.f64 i i) 4) (*.f64 16 (pow.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (pow.f64 i 4) 3) (pow.f64 (+.f64 i i) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))) (cbrt.f64 (exp.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i 4) (/.f64 1 (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i 4) (*.f64 (/.f64 1/4 (*.f64 i i)) (/.f64 1 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (/.f64 1 (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))) (pow.f64 (cbrt.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))) 2) (cbrt.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2) (*.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) (/.f64 1 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))) (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (*.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (/.f64 1 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (pow.f64 i 4)) (/.f64 1/4 (*.f64 i i))) (/.f64 1 (fma.f64 -4 (*.f64 i i) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 i (*.f64 i 4) -1)) (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 i (fma.f64 i (*.f64 i 4) -1)) (/.f64 (pow.f64 i 3) (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 i i) (fma.f64 i (*.f64 i 4) -1)) (/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 3) (fma.f64 i (*.f64 i 4) -1)) (/.f64 i (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 i (cbrt.f64 i)) 2) (fma.f64 i (*.f64 i 4) -1)) (/.f64 (*.f64 i (cbrt.f64 i)) (*.f64 i (*.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 4) 1) (/.f64 (/.f64 1/4 (*.f64 i i)) (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2) 1) (/.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) 1) (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 4) (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2)) (/.f64 (/.f64 1/4 (*.f64 i i)) (cbrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2)) (/.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (cbrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2) (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2)) (cbrt.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2)) (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (cbrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 4) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))) (/.f64 (/.f64 1/4 (*.f64 i i)) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))) (/.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))) (/.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i 4) (fma.f64 i 2 1)) (/.f64 (/.f64 1/4 (*.f64 i i)) (fma.f64 i 2 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 i 2 1)) (/.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (fma.f64 i 2 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) 2) (fma.f64 i 2 1)) (/.f64 (cbrt.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i)))) (fma.f64 i 2 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (fma.f64 i 2 1)) (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (fma.f64 i 2 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (+.f64 (pow.f64 (+.f64 i i) 6) -1)) (fma.f64 16 (pow.f64 i 4) (fma.f64 (*.f64 4 i) i 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (fma.f64 16 (pow.f64 i 4) -1)) (fma.f64 (*.f64 4 i) i 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (/.f64 i i) (/.f64 i 2)) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 i (*.f64 i 4) -1) (*.f64 4 (/.f64 (*.f64 i i) (pow.f64 i 4)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) (fma.f64 -4 (*.f64 i i) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 i 4) (/.f64 1/4 (*.f64 i i))) 3) (pow.f64 (fma.f64 i (*.f64 i 4) -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (pow.f64 i 4) (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 i 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 i 4))) (cbrt.f64 (exp.f64 (pow.f64 i 4))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 i 4)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 i 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 i 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 i 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i i) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 i 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 i 4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i (cbrt.f64 i)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 i i) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 i 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 i 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 i)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 i 4)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 i (*.f64 i 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 i (*.f64 i 4) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 i (*.f64 i 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 i (*.f64 i 4) -1))) (cbrt.f64 (exp.f64 (fma.f64 i (*.f64 i 4) -1))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 i (*.f64 i 4) -1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 i (*.f64 i 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 i (*.f64 i 4) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 i (*.f64 i 4) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2) (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 i (*.f64 i 4) -1)) (sqrt.f64 (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 i i) 6) -1) (/.f64 1 (fma.f64 16 (pow.f64 i 4) (fma.f64 (*.f64 4 i) i 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 16 (pow.f64 i 4) -1) (/.f64 1 (fma.f64 (*.f64 4 i) i 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 i 2 1) (fma.f64 i 2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 i 2 -1) (fma.f64 i 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 16 (pow.f64 i 4) (fma.f64 (*.f64 4 i) i 1)) (+.f64 (pow.f64 (+.f64 i i) 6) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 4 i) i 1) (fma.f64 16 (pow.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 i i) 6) -1) (fma.f64 16 (pow.f64 i 4) (fma.f64 (*.f64 4 i) i 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 i i) 6) -1) (fma.f64 16 (pow.f64 i 4) (-.f64 1 (*.f64 (*.f64 i (*.f64 i 4)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 16 (pow.f64 i 4) -1) (fma.f64 (*.f64 4 i) i 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 i i) 6) -1)) (neg.f64 (fma.f64 16 (pow.f64 i 4) (fma.f64 (*.f64 4 i) i 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 16 (pow.f64 i 4) -1)) (neg.f64 (fma.f64 (*.f64 4 i) i 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 i (*.f64 i 4) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 i (*.f64 i 4) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 i (*.f64 i 4) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 i (*.f64 i 4) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 i (*.f64 i 4) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 i (*.f64 i 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 i (*.f64 i 4) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 (*.f64 i (*.f64 i 4)) (fma.f64 i (*.f64 i 4) -1))) (sqrt.f64 (fma.f64 -4 (*.f64 i i) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (*.f64 (sqrt.f64 (fma.f64 i (*.f64 i 4) -1)) (+.f64 i i)) (sqrt.f64 (fma.f64 -4 (*.f64 i i) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 2 (log.f64 (+.f64 i i))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log.f64 (+.f64 i i)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (*.f64 2 (log.f64 (+.f64 i i))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 i (*.f64 i 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 i (*.f64 i 4) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 i (*.f64 i 4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i i) 4 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 i (+.f64 i i)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (*.f64 i (+.f64 i i)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 i i) (+.f64 i i) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i (*.f64 i 4)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 i (*.f64 i 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 i i) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 i i)) 2) (cbrt.f64 (*.f64 16 (pow.f64 i 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 i i)) 2) (*.f64 (cbrt.f64 (+.f64 i i)) (+.f64 i i)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 16 (pow.f64 i 4))) (pow.f64 (cbrt.f64 (+.f64 i i)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 16 (pow.f64 i 4))) (*.f64 (pow.f64 (cbrt.f64 (+.f64 i i)) 2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 i i)) (*.f64 (sqrt.f64 (+.f64 i i)) (+.f64 i i)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i (+.f64 i i)) 2 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 i 4) i -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 i i) (sqrt.f64 (+.f64 i i))) (sqrt.f64 (+.f64 i i)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 i i) (pow.f64 (cbrt.f64 (+.f64 i i)) 2)) (cbrt.f64 (+.f64 i i)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 i) i -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (*.f64 i (cbrt.f64 i))) (pow.f64 (cbrt.f64 i) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 i 4) 1) i -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 i 4) (pow.f64 (cbrt.f64 i) 2)) (cbrt.f64 i) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 i 4) (sqrt.f64 i)) (sqrt.f64 i) -1)))))

simplify47.0ms (0.9%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
667×fma-neg_binary64
473×distribute-lft-out_binary64
413×unswap-sqr_binary64
410×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
042405
199402
2230402
3684402
43301402
Stop Event
node limit
Counts
238 → 211
Calls
Call 1
Inputs
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (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))))))
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
-1
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(*.f64 4 (pow.f64 i 2))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(*.f64 4 (pow.f64 i 2))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
Outputs
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.f64 i i))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (*.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))
(-.f64 (*.f64 (*.f64 i i) -1/4) (pow.f64 i 4))
(*.f64 i (-.f64 (*.f64 i -1/4) (pow.f64 i 3)))
(-.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))
(-.f64 (fma.f64 i (*.f64 i -1/4) (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4))
(fma.f64 i (-.f64 (*.f64 i -1/4) (pow.f64 i 3)) (*.f64 -4 (pow.f64 i 6)))
(-.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 -16 (pow.f64 i 8) (fma.f64 i (-.f64 (*.f64 i -1/4) (pow.f64 i 3)) (*.f64 -4 (pow.f64 i 6))))
(fma.f64 -16 (pow.f64 i 8) (-.f64 (*.f64 -4 (pow.f64 i 6)) (*.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 1/16 (/.f64 (/.f64 1/64 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 (/.f64 1/64 i) i) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (/.f64 (/.f64 1/64 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 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 1/16 (+.f64 (/.f64 (/.f64 1/64 i) i) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (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 1/16 (/.f64 (/.f64 1/64 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 (/.f64 1/64 i) i) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (/.f64 (/.f64 1/64 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 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 1/16 (+.f64 (/.f64 (/.f64 1/64 i) i) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4)))))
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
(pow.f64 i 4)
-1
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(*.f64 4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 4)
(*.f64 i (*.f64 i 4))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(*.f64 4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 4)
(*.f64 i (*.f64 i 4))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)

eval174.0ms (3.1%)

Compiler

Compiled 7596 to 5437 computations (28.4% saved)

prune80.0ms (1.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3796385
Fresh000
Picked101
Done011
Total3807387
Error
0b
Counts
387 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
17.5b
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
0.8b
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
33.2b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
31.8b
(*.f64 (/.f64 (*.f64 i i) (fma.f64 i (*.f64 i 4) -1)) (/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4))))
31.3b
(*.f64 i (*.f64 i -1/4))
32.7b
1/16
Compiler

Compiled 138 to 98 computations (29% saved)

localize17.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i)))
0.3b
(*.f64 (/.f64 1 i) (/.f64 -1 i))
0.7b
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
Compiler

Compiled 39 to 30 computations (23.1% saved)

series3.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
i
@0
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
0.0ms
i
@inf
(*.f64 (/.f64 1 i) (/.f64 -1 i))
0.0ms
i
@inf
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
0.0ms
i
@-inf
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
0.0ms
i
@0
(*.f64 (/.f64 1 i) (/.f64 -1 i))

rewrite73.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
967×pow1_binary64
911×add-log-exp_binary64
909×log1p-expm1-u_binary64
909×expm1-log1p-u_binary64
110×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01130
124221
2306521
Stop Event
node limit
Counts
3 → 89
Calls
Call 1
Inputs
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
(*.f64 (/.f64 1 i) (/.f64 -1 i))
(+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i)))
Outputs
((#(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 1 (/.f64 1/4 (+.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)))) (cbrt.f64 (/.f64 1/16 (pow.f64 (+.f64 4 (pow.f64 i -2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/16 (pow.f64 (+.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 (+.f64 (neg.f64 (pow.f64 i -2)) -4)))))) (#(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 (pow.f64 i -2) 3))) (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (-.f64 16 (pow.f64 (pow.f64 i -2) 2))) (+.f64 4 (pow.f64 i -2)))))) (#(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 (+.f64 4 (pow.f64 i -2)) 4) -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 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)))))))) (#(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 -.f64 (exp.f64 (log1p.f64 (pow.f64 i -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 i i))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (neg.f64 i) (neg.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (neg.f64 (*.f64 i i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (neg.f64 i) i))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 i (neg.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 i i) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 i (/.f64 1 i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 i i))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 i) (neg.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 i) i))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 i (neg.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (/.f64 i (/.f64 1 i)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 i) i)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 i) (neg.f64 i))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 i -2)) (/.f64 i (/.f64 1 (cbrt.f64 i))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 i -1/2) (/.f64 i (pow.f64 i -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 1 i) (sqrt.f64 i)) (sqrt.f64 i))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 1 i) 1) i)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 1 i) (pow.f64 (cbrt.f64 i) 2)) (cbrt.f64 i))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 i -2)))) (#(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 -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i i) -1)))) (#(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 (pow.f64 (pow.f64 i -2) 3) 1/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 (pow.f64 (pow.f64 i -2) 3))))) (#(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 exp.f64 (log.f64 (pow.f64 i -2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 4 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 4 (pow.f64 i -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 16 (+.f64 4 (pow.f64 i -2))) (/.f64 (pow.f64 (pow.f64 i -2) 2) (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 4 (pow.f64 i -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 4 (pow.f64 i -2))) (pow.f64 (cbrt.f64 (+.f64 4 (pow.f64 i -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 4 (pow.f64 i -2))) 2) (cbrt.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 4 (pow.f64 i -2))) (sqrt.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3)) (/.f64 1 (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 16 (pow.f64 (pow.f64 i -2) 2)) (/.f64 1 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4))) (+.f64 64 (pow.f64 (pow.f64 i -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (pow.f64 i -2)) (-.f64 16 (pow.f64 (pow.f64 i -2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3)) (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3)) (+.f64 (pow.f64 (pow.f64 i -2) 2) (-.f64 16 (*.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 16 (pow.f64 (pow.f64 i -2) 2)) (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3))) (neg.f64 (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 16 (pow.f64 (pow.f64 i -2) 2))) (+.f64 (neg.f64 (pow.f64 i -2)) -4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 64 (pow.f64 (pow.f64 i -2) 3)) (+.f64 16 (+.f64 (pow.f64 (pow.f64 i -2) 2) (*.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 i -2) 2) 16) (-.f64 (pow.f64 i -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 4 (pow.f64 i -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 4 (pow.f64 i -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 4 (pow.f64 i -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 i -2) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 i) (/.f64 1 i) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (pow.f64 i -2) 2)) (cbrt.f64 (pow.f64 i -2)) 4)))))

simplify42.0ms (0.8%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
472×distribute-lft-out_binary64
413×unswap-sqr_binary64
412×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040369
194366
2221366
3664366
43240366
Stop Event
node limit
Counts
125 → 108
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 (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 (pow.f64 i 2))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.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 (*.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))
(-.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 -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 -1/4 (*.f64 i i) (-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -16 (pow.f64 i 8))) (pow.f64 i 4)))
(-.f64 (*.f64 -16 (pow.f64 i 8)) (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (*.f64 4 (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/64 (*.f64 i i)) (+.f64 1/16 (/.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 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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)))))
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/64 (*.f64 i i)) (+.f64 1/16 (/.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 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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 -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 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))

localize25.0ms (0.5%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
0.1b
(/.f64 (/.f64 1/64 i) i)
Compiler

Compiled 19 to 13 computations (31.6% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
i
@0
(/.f64 (/.f64 1/64 i) i)
0.0ms
i
@inf
(/.f64 (/.f64 1/64 i) i)
0.0ms
i
@0
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
0.0ms
i
@inf
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
0.0ms
i
@-inf
(/.f64 (/.f64 1/64 i) i)

rewrite61.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
866×pow1_binary64
822×add-log-exp_binary64
822×log1p-expm1-u_binary64
822×expm1-log1p-u_binary64
809×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify110.0ms (2%)

Algorithm
egg-herbie
Rules
1115×associate-/r/_binary64
627×*-commutative_binary64
565×sqr-pow_binary64
434×unswap-sqr_binary64
336×cube-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011183
120183
232183
355183
4127183
5424183
62000183
73631183
83877183
94174183
104490183
114868183
125332183
136565183
147544183
Stop Event
node limit
Counts
90 → 71
Calls
Call 1
Inputs
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (pow.f64 i 2))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
Outputs
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 (/.f64 1/64 i) i)
(+.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 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 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))
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 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 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))
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 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 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))

localize46.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1)
0.0b
(*.f64 1/4 (*.f64 i i))
17.0b
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
Compiler

Compiled 47 to 31 computations (34% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite81.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
616×log-prod_binary64
448×prod-diff_binary64
335×pow-prod-down_binary64
282×pow2_binary64
240×pow-unpow_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify75.0ms (1.4%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
473×distribute-lft-out_binary64
413×unswap-sqr_binary64
410×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040270
193267
2218267
3654267
43212267
Stop Event
node limit
Counts
102 → 95
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 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.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 (*.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))
(-.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 -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 -4 (pow.f64 i 6) (fma.f64 -16 (pow.f64 i 8) (-.f64 (*.f64 -1/4 (*.f64 i i)) (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 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.f64 1/256 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.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)))))
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 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.f64 1/256 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.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 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))

localize23.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (/.f64 (*.f64 i i) (fma.f64 i (*.f64 i 4) -1)) (/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4))))
17.0b
(/.f64 (*.f64 i i) (fma.f64 i (*.f64 i 4) -1))
31.0b
(/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4)))
Compiler

Compiled 60 to 32 computations (46.7% saved)

series5.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite158.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
616×log-prod_binary64
404×pow-prod-down_binary64
292×pow2_binary64
281×pow-unpow_binary64
207×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify52.0ms (0.9%)

Algorithm
egg-herbie
Rules
779×times-frac_binary64
752×fma-def_binary64
605×distribute-rgt-neg-in_binary64
555×distribute-lft-neg-in_binary64
546×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058380
1152377
2369377
31083377
44966377
Stop Event
node limit
Counts
164 → 157
Calls
Call 1
Inputs
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
(*.f64 -1 (pow.f64 i 2))
(+.f64 (*.f64 -4 (pow.f64 i 4)) (*.f64 -1 (pow.f64 i 2)))
(+.f64 (*.f64 -16 (pow.f64 i 6)) (+.f64 (*.f64 -4 (pow.f64 i 4)) (*.f64 -1 (pow.f64 i 2))))
(+.f64 (*.f64 -16 (pow.f64 i 6)) (+.f64 (*.f64 -4 (pow.f64 i 4)) (+.f64 (*.f64 -64 (pow.f64 i 8)) (*.f64 -1 (pow.f64 i 2)))))
1/4
(+.f64 1/4 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) 1/4))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 6))) 1/4)))
1/4
(+.f64 1/4 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) 1/4))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 6))) 1/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 (*.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
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
1/4
(*.f64 -1 (pow.f64 i 2))
(neg.f64 (*.f64 i i))
(*.f64 i (neg.f64 i))
(+.f64 (*.f64 -4 (pow.f64 i 4)) (*.f64 -1 (pow.f64 i 2)))
(fma.f64 -4 (pow.f64 i 4) (neg.f64 (*.f64 i i)))
(-.f64 (*.f64 -4 (pow.f64 i 4)) (*.f64 i i))
(+.f64 (*.f64 -16 (pow.f64 i 6)) (+.f64 (*.f64 -4 (pow.f64 i 4)) (*.f64 -1 (pow.f64 i 2))))
(fma.f64 -16 (pow.f64 i 6) (fma.f64 -4 (pow.f64 i 4) (neg.f64 (*.f64 i i))))
(-.f64 (fma.f64 -16 (pow.f64 i 6) (*.f64 -4 (pow.f64 i 4))) (*.f64 i i))
(-.f64 (fma.f64 -4 (pow.f64 i 4) (*.f64 -16 (pow.f64 i 6))) (*.f64 i i))
(-.f64 (*.f64 -4 (pow.f64 i 4)) (fma.f64 i i (*.f64 (pow.f64 i 6) 16)))
(+.f64 (*.f64 -16 (pow.f64 i 6)) (+.f64 (*.f64 -4 (pow.f64 i 4)) (+.f64 (*.f64 -64 (pow.f64 i 8)) (*.f64 -1 (pow.f64 i 2)))))
(fma.f64 -16 (pow.f64 i 6) (fma.f64 -4 (pow.f64 i 4) (fma.f64 -64 (pow.f64 i 8) (neg.f64 (*.f64 i i)))))
(fma.f64 -16 (pow.f64 i 6) (-.f64 (fma.f64 -4 (pow.f64 i 4) (*.f64 -64 (pow.f64 i 8))) (*.f64 i i)))
(fma.f64 -4 (pow.f64 i 4) (fma.f64 -16 (pow.f64 i 6) (-.f64 (*.f64 -64 (pow.f64 i 8)) (*.f64 i i))))
(fma.f64 -16 (pow.f64 i 6) (fma.f64 -4 (pow.f64 i 4) (-.f64 (*.f64 -64 (pow.f64 i 8)) (*.f64 i i))))
1/4
(+.f64 1/4 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/4 (/.f64 1/16 (*.f64 i i)))
(+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) 1/4))
(+.f64 (/.f64 1/64 (pow.f64 i 4)) (+.f64 1/4 (/.f64 1/16 (*.f64 i i))))
(+.f64 1/4 (+.f64 (/.f64 1/16 (*.f64 i i)) (/.f64 1/64 (pow.f64 i 4))))
(+.f64 (/.f64 1/16 (*.f64 i i)) (+.f64 1/4 (/.f64 1/64 (pow.f64 i 4))))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 6))) 1/4)))
(+.f64 (/.f64 1/16 (*.f64 i i)) (+.f64 (/.f64 1/64 (pow.f64 i 4)) (+.f64 1/4 (/.f64 1/256 (pow.f64 i 6)))))
(+.f64 (+.f64 1/4 (/.f64 1/256 (pow.f64 i 6))) (+.f64 (/.f64 1/16 (*.f64 i i)) (/.f64 1/64 (pow.f64 i 4))))
(+.f64 1/4 (+.f64 (/.f64 1/64 (pow.f64 i 4)) (+.f64 (/.f64 1/16 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 6)))))
1/4
(+.f64 1/4 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/4 (/.f64 1/16 (*.f64 i i)))
(+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) 1/4))
(+.f64 (/.f64 1/64 (pow.f64 i 4)) (+.f64 1/4 (/.f64 1/16 (*.f64 i i))))
(+.f64 1/4 (+.f64 (/.f64 1/16 (*.f64 i i)) (/.f64 1/64 (pow.f64 i 4))))
(+.f64 (/.f64 1/16 (*.f64 i i)) (+.f64 1/4 (/.f64 1/64 (pow.f64 i 4))))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 i 2))) (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 i 4))) (+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 6))) 1/4)))
(+.f64 (/.f64 1/16 (*.f64 i i)) (+.f64 (/.f64 1/64 (pow.f64 i 4)) (+.f64 1/4 (/.f64 1/256 (pow.f64 i 6)))))
(+.f64 (+.f64 1/4 (/.f64 1/256 (pow.f64 i 6))) (+.f64 (/.f64 1/16 (*.f64 i i)) (/.f64 1/64 (pow.f64 i 4))))
(+.f64 1/4 (+.f64 (/.f64 1/64 (pow.f64 i 4)) (+.f64 (/.f64 1/16 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 6)))))
(*.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))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(*.f64 i (-.f64 (*.f64 i -1/4) (pow.f64 i 3)))
(+.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))
(-.f64 (fma.f64 i (*.f64 i -1/4) (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4))
(-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 i (*.f64 i -1/4))) (pow.f64 i 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) (-.f64 (fma.f64 i (*.f64 i -1/4) (*.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 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6))) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4))))
(+.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))))
(+.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 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6))) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4))))
(+.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))))
(+.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)))))

eval537.0ms (9.7%)

Compiler

Compiled 7938 to 5533 computations (30.3% saved)

prune128.0ms (2.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New4904494
Fresh101
Picked101
Done235
Total4947501
Error
0b
Counts
501 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
17.5b
(/.f64 (*.f64 (*.f64 i i) 1/4) (fma.f64 i (*.f64 i 4) -1))
17.5b
(/.f64 (*.f64 1/4 (*.f64 i i)) (+.f64 (*.f64 i (*.f64 i 4)) -1))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i))))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
33.2b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
31.3b
(*.f64 i (*.f64 i -1/4))
32.7b
1/16
Compiler

Compiled 64 to 48 computations (25% saved)

localize26.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i)))
0.1b
(/.f64 (/.f64 1 i) (neg.f64 i))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i))))
Compiler

Compiled 34 to 22 computations (35.3% saved)

series5.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite113.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
942×pow1_binary64
890×add-log-exp_binary64
889×log1p-expm1-u_binary64
889×expm1-log1p-u_binary64
107×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01036
122821
2313021
Stop Event
node limit
Counts
3 → 90
Calls
Call 1
Inputs
(/.f64 1/4 (+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i))))
(/.f64 (/.f64 1 i) (neg.f64 i))
(+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4)))) 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 1 (/.f64 -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)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))) (pow.f64 (cbrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))) 2) (cbrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))) (sqrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/4 (/.f64 1 (+.f64 (pow.f64 i -2) -4)))))) (#(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 (pow.f64 i -2) 3))) (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/4 (+.f64 16 (pow.f64 (pow.f64 i -2) 2))) (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 4 (pow.f64 i -2)) 4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -1/4 (+.f64 (pow.f64 i -2) -4))))))))
((#(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 (/.f64 1 i) (/.f64 1 i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 i -2)) 2) (cbrt.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 i -2)) (pow.f64 (cbrt.f64 (pow.f64 i -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 i -2)) (/.f64 (/.f64 1 i) (cbrt.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 i -2)) (*.f64 (/.f64 1 (cbrt.f64 i)) (/.f64 1 i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -1/2) (/.f64 (/.f64 1 i) (sqrt.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 i -1/2) (*.f64 (pow.f64 i -1/2) (/.f64 1 i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 i) (pow.f64 i -1/2)) (pow.f64 i -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 i -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 i)) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i -1/2) 1) (/.f64 (pow.f64 i -1/2) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 i -2)) (pow.f64 (cbrt.f64 i) 2)) (cbrt.f64 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i -1/2) (pow.f64 (cbrt.f64 i) 2)) (/.f64 (pow.f64 i -1/2) (cbrt.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 i -2)) (sqrt.f64 i)) (/.f64 (/.f64 1 (cbrt.f64 i)) (sqrt.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 i -2)) -1) (/.f64 (/.f64 1 (cbrt.f64 i)) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 i -1/2) -1) (/.f64 (pow.f64 i -1/2) i))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 i) (cbrt.f64 (pow.f64 i -2))) (/.f64 1 (cbrt.f64 i)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 i -2)))) (#(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 -2) 1)))) (#(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 (pow.f64 (pow.f64 i -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 i i) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 i -2))))) (#(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 (pow.f64 (pow.f64 i -2) 3))))) (#(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 exp.f64 (log.f64 (pow.f64 i -2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 4 (pow.f64 i -2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 4 (pow.f64 i -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 16 (+.f64 4 (pow.f64 i -2))) (/.f64 (pow.f64 (pow.f64 i -2) 2) (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 4 (pow.f64 i -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 4 (pow.f64 i -2))) (cbrt.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 2)) (cbrt.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 4 (pow.f64 i -2))) (sqrt.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3)) (/.f64 1 (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 16 (pow.f64 (pow.f64 i -2) 2)) (/.f64 1 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4))) (+.f64 64 (pow.f64 (pow.f64 i -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (pow.f64 i -2)) (+.f64 16 (pow.f64 (pow.f64 i -2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3)) (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3)) (+.f64 (pow.f64 (pow.f64 i -2) 2) (-.f64 16 (*.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 16 (pow.f64 (pow.f64 i -2) 2)) (+.f64 4 (pow.f64 i -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 64 (pow.f64 (pow.f64 i -2) 3))) (neg.f64 (+.f64 16 (*.f64 (pow.f64 i -2) (-.f64 (pow.f64 i -2) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 16 (pow.f64 (pow.f64 i -2) 2))) (+.f64 (pow.f64 i -2) -4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 64 (pow.f64 (pow.f64 i -2) 3)) (+.f64 16 (+.f64 (pow.f64 (pow.f64 i -2) 2) (*.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 i -2) 2) 16) (-.f64 (pow.f64 i -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 4 (pow.f64 i -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 4 (pow.f64 i -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 4 (pow.f64 i -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 4 (pow.f64 i -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 4 (pow.f64 i -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 4 (pow.f64 i -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 i -2) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 i) (/.f64 1 i) 4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (pow.f64 i -2)) 2) (cbrt.f64 (pow.f64 i -2)) 4)))))

simplify59.0ms (1.1%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
472×distribute-lft-out_binary64
413×unswap-sqr_binary64
412×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040369
194366
2221366
3664366
43240366
Stop Event
node limit
Counts
126 → 110
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 (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 (pow.f64 i 2))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.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 (*.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))
(-.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 -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 -1/4 (*.f64 i i) (-.f64 (fma.f64 -4 (pow.f64 i 6) (*.f64 -16 (pow.f64 i 8))) (pow.f64 i 4)))
(-.f64 (*.f64 -16 (pow.f64 i 8)) (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (*.f64 4 (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/64 (*.f64 i i)) (+.f64 1/16 (/.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 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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)))))
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/64 (*.f64 i i)) (+.f64 1/16 (/.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 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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 -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 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
4
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
(-.f64 4 (/.f64 1 (pow.f64 i 2)))
(-.f64 4 (/.f64 1 (*.f64 i i)))
(+.f64 4 (/.f64 -1 (*.f64 i i)))

localize29.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 i (*.f64 i 4)) -1)
0.0b
(*.f64 1/4 (*.f64 i i))
17.0b
(/.f64 (*.f64 1/4 (*.f64 i i)) (+.f64 (*.f64 i (*.f64 i 4)) -1))
Compiler

Compiled 41 to 25 computations (39% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite96.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
599×log-prod_binary64
331×pow-prod-down_binary64
293×pow2_binary64
227×prod-diff_binary64
210×pow-unpow_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify55.0ms (1%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
667×fma-neg_binary64
472×distribute-lft-out_binary64
413×unswap-sqr_binary64
410×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040273
196270
2223270
3663270
43258270
Stop Event
node limit
Counts
138 → 133
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))))))
-1
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(*.f64 4 (pow.f64 i 2))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(*.f64 4 (pow.f64 i 2))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
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 -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))
(-.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 -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))
(-.f64 (fma.f64 -4 (pow.f64 i 6) (fma.f64 -16 (pow.f64 i 8) (*.f64 -1/4 (*.f64 i i)))) (pow.f64 i 4))
(-.f64 (*.f64 -16 (pow.f64 i 8)) (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (*.f64 4 (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 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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)))))
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 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.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)))))
-1
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(*.f64 4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 4)
(*.f64 i (*.f64 i 4))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(*.f64 4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 4)
(*.f64 i (*.f64 i 4))
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)
(-.f64 (*.f64 4 (pow.f64 i 2)) 1)
(fma.f64 4 (*.f64 i i) -1)
(fma.f64 (*.f64 i i) 4 -1)
(fma.f64 i (*.f64 i 4) -1)

localize25.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 i i) 1/4)
17.0b
(/.f64 (*.f64 (*.f64 i i) 1/4) (fma.f64 i (*.f64 i 4) -1))
Compiler

Compiled 34 to 20 computations (41.2% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite83.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
487×log-prod_binary64
371×exp-prod_binary64
322×prod-exp_binary64
264×pow-prod-down_binary64
250×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify55.0ms (1%)

Algorithm
egg-herbie
Rules
691×cancel-sign-sub-inv_binary64
657×fma-neg_binary64
473×distribute-lft-out_binary64
413×unswap-sqr_binary64
410×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040270
193267
2218267
3654267
43212267
Stop Event
node limit
Counts
104 → 97
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 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 1/4 (pow.f64 i 2))
(*.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 (*.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))
(-.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 -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 -4 (pow.f64 i 6) (fma.f64 -16 (pow.f64 i 8) (-.f64 (*.f64 -1/4 (*.f64 i i)) (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 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.f64 1/256 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.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)))))
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 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (/.f64 1/256 (pow.f64 i 4)))))
(+.f64 1/16 (+.f64 (/.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 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))
(*.f64 1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) 1/4)
(*.f64 i (*.f64 i 1/4))

eval258.0ms (4.7%)

Compiler

Compiled 5592 to 4153 computations (25.7% saved)

prune83.0ms (1.5%)

Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New3590359
Fresh011
Picked011
Done055
Total3597366
Error
0b
Counts
366 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
17.5b
(/.f64 (*.f64 (*.f64 i i) 1/4) (fma.f64 i (*.f64 i 4) -1))
17.5b
(/.f64 (*.f64 1/4 (*.f64 i i)) (+.f64 (*.f64 i (*.f64 i 4)) -1))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i))))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
33.2b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
31.3b
(*.f64 i (*.f64 i -1/4))
32.7b
1/16
Compiler

Compiled 64 to 48 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune7.0ms (0.1%)

Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done066
Total077
Error
0b
Counts
7 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
17.5b
(/.f64 (*.f64 (*.f64 i i) 1/4) (fma.f64 i (*.f64 i 4) -1))
17.5b
(/.f64 (*.f64 1/4 (*.f64 i i)) (+.f64 (*.f64 i (*.f64 i 4)) -1))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i))))
0.7b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
33.2b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
31.3b
(*.f64 i (*.f64 i -1/4))
32.7b
1/16
Compiler

Compiled 64 to 48 computations (25% saved)

regimes38.0ms (0.7%)

Counts
12 → 1
Calls
Call 1
Inputs
1/16
1/16
(*.f64 i (*.f64 i -1/4))
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
(/.f64 1/4 (+.f64 4 (/.f64 (/.f64 1 i) (neg.f64 i))))
(/.f64 1/4 (+.f64 4 (*.f64 (/.f64 1 i) (/.f64 -1 i))))
(/.f64 (*.f64 1/4 (*.f64 i i)) (+.f64 (*.f64 i (*.f64 i 4)) -1))
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
(/.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 i) 1/4) (fma.f64 i (*.f64 i 4) -1))
(*.f64 (/.f64 (*.f64 i i) (fma.f64 i (*.f64 i 4) -1)) (/.f64 (*.f64 i i) (*.f64 i (*.f64 i 4))))
Outputs
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Calls

3 calls:

14.0ms
i
9.0ms
(/.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))
8.0ms
(/.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))
Results
ErrorSegmentsBranch
0.7b1i
0.7b1(/.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))
0.7b1(/.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 184 to 120 computations (34.8% saved)

regimes19.0ms (0.3%)

Counts
4 → 2
Calls
Call 1
Inputs
1/16
1/16
(*.f64 i (*.f64 i -1/4))
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
Outputs
(*.f64 i (*.f64 i -1/4))
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
Calls

1 calls:

17.0ms
i
Results
ErrorSegmentsBranch
0.9b2i
Compiler

Compiled 17 to 12 computations (29.4% saved)

bsearch44.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
43.0ms
0.47298990335889374
27.14319977486631
Compiler

Compiled 30 to 20 computations (33.3% saved)

regimes17.0ms (0.3%)

Counts
3 → 2
Calls
Call 1
Inputs
1/16
1/16
(*.f64 i (*.f64 i -1/4))
Outputs
(*.f64 i (*.f64 i -1/4))
1/16
Calls

1 calls:

15.0ms
i
Results
ErrorSegmentsBranch
1.0b2i
Compiler

Compiled 10 to 7 computations (30% saved)

bsearch37.0ms (0.7%)

Algorithm
binary-search
Steps
TimeLeftRight
36.0ms
0.47298990335889374
27.14319977486631
Compiler

Compiled 30 to 20 computations (33.3% saved)

regimes4.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
1/16
1/16
Outputs
1/16
Calls

1 calls:

3.0ms
i
Results
ErrorSegmentsBranch
32.7b1i
Compiler

Compiled 5 to 4 computations (20% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02251
12651
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
(if (<=.f64 i 8520628610068483/18014398509481984) (*.f64 i (*.f64 i -1/4)) (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)))
(if (<=.f64 i 8520628610068483/18014398509481984) (*.f64 i (*.f64 i -1/4)) 1/16)
1/16
Outputs
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
(if (<=.f64 i 8520628610068483/18014398509481984) (*.f64 i (*.f64 i -1/4)) (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)))
(if (<=.f64 i 8520628610068483/18014398509481984) (*.f64 i (*.f64 i -1/4)) 1/16)
1/16
Compiler

Compiled 40 to 30 computations (25% saved)

soundness96.0ms (1.7%)

Algorithm
egg-herbie
Rules
579×associate-/r*_binary64
516×cancel-sign-sub-inv_binary64
496×distribute-rgt-in_binary64
478×distribute-lft-in_binary64
434×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01131
14026
220017
3134113
4377413
5622013
Stop Event
node limit
Compiler

Compiled 627 to 388 computations (38.1% saved)

end35.0ms (0.6%)

Compiler

Compiled 37 to 27 computations (27% saved)

Profiling

Loading profile data...