Details

Time bar (total: 4.9s)

analyze7.0ms (0.2%)

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

Compiled 29 to 19 computations (34.5% saved)

sample2.1s (43.7%)

Results
2.1s8256×body256valid

preprocess109.0ms (2.2%)

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)

simplify56.0ms (1.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: 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))))

eval2.0ms (0%)

Compiler

Compiled 35 to 23 computations (34.3% saved)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 36 to 25 computations (30.6% saved)

localize19.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 29 to 17 computations (41.4% saved)

series40.0ms (0.8%)

Counts
3 → 36
Calls

9 calls:

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

rewrite171.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
521×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 (*.f64 i i))
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
(+.f64 4 (/.f64 -1 (*.f64 i i)))
Outputs
((#(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 (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 -1 1/3) (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 -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 (*.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 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))) (pow.f64 (cbrt.f64 (/.f64 1/4 (fma.f64 -1 (pow.f64 i -2) 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/4 (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 (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)))))

simplify65.0ms (1.3%)

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
3662366
43230366
Stop Event
node limit
Counts
190 → 174
Calls
Call 1
Inputs
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (pow.f64 i 2))
(*.f64 -1/4 (pow.f64 i 2))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(/.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 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(/.f64 -1 (pow.f64 i 2))
(/.f64 -1 (*.f64 i i))
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 (*.f64 i i) -1/4)
(*.f64 i (*.f64 i -1/4))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 (*.f64 i i) -1/4))
(-.f64 (*.f64 (*.f64 i i) -1/4) (pow.f64 i 4))
(-.f64 (*.f64 i (*.f64 i -1/4)) (pow.f64 i 4))
(*.f64 i (fma.f64 i -1/4 (neg.f64 (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 -4 (pow.f64 i 6) (*.f64 i (*.f64 i -1/4))) (pow.f64 i 4))
(fma.f64 i (*.f64 i -1/4) (fma.f64 -4 (pow.f64 i 6) (neg.f64 (pow.f64 i 4))))
(-.f64 (*.f64 -4 (pow.f64 i 6)) (*.f64 (*.f64 i i) (fma.f64 i i 1/4)))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (fma.f64 -1 (pow.f64 i 4) (fma.f64 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6)))))
(fma.f64 -16 (pow.f64 i 8) (-.f64 (fma.f64 (*.f64 i i) -1/4 (*.f64 -4 (pow.f64 i 6))) (pow.f64 i 4)))
(-.f64 (fma.f64 -16 (pow.f64 i 8) (fma.f64 -4 (pow.f64 i 6) (*.f64 i (*.f64 i -1/4)))) (pow.f64 i 4))
(-.f64 (fma.f64 i (*.f64 i -1/4) (fma.f64 -4 (pow.f64 i 6) (*.f64 -16 (pow.f64 i 8)))) (pow.f64 i 4))
(fma.f64 -4 (pow.f64 i 6) (fma.f64 -16 (pow.f64 i 8) (*.f64 i (fma.f64 i -1/4 (neg.f64 (pow.f64 i 3))))))
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 (/.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/256 (pow.f64 i 4)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4)))))
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 (/.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/256 (pow.f64 i 4)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.f64 (/.f64 1/64 (*.f64 i i)) (+.f64 (/.f64 1/1024 (pow.f64 i 6)) (+.f64 1/16 (/.f64 1/256 (pow.f64 i 4)))))
(/.f64 -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)))

localize63.0ms (1.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 i i) (*.f64 i i))
16.5b
(/.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))
43.8b
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
Compiler

Compiled 73 to 39 computations (46.6% saved)

series7.0ms (0.1%)

Counts
3 → 36
Calls

9 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)))
1.0ms
i
@inf
(*.f64 (*.f64 i i) (*.f64 i i))
1.0ms
i
@0
(*.f64 (*.f64 i i) (*.f64 i i))
1.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))

rewrite122.0ms (2.5%)

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
01151
125540
2396540
Stop Event
node limit
Counts
3 → 131
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))
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))))))

simplify113.0ms (2.3%)

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
040318
193315
2218315
3652315
43251315
Stop Event
node limit
Counts
167 → 148
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)
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 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))
(fma.f64 -4 (pow.f64 i 6) (*.f64 i (-.f64 (*.f64 i -1/4) (pow.f64 i 3))))
(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)))
(fma.f64 -16 (pow.f64 i 8) (fma.f64 -4 (pow.f64 i 6) (*.f64 i (-.f64 (*.f64 i -1/4) (pow.f64 i 3)))))
(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))))
(-.f64 (fma.f64 i (*.f64 i -1/4) (fma.f64 -4 (pow.f64 i 6) (*.f64 -16 (pow.f64 i 8)))) (pow.f64 i 4))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 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 (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 (/.f64 1/64 i) i)) 1/16)
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/64 (*.f64 i i))))
(+.f64 (/.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 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 (/.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/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
(+.f64 (*.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 (/.f64 1/256 (pow.f64 i 4)) (/.f64 (/.f64 1/64 i) i)) 1/16)
(+.f64 1/16 (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/256 (pow.f64 i 4))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
(+.f64 (/.f64 1/256 (pow.f64 i 4)) (+.f64 (+.f64 1/16 (/.f64 1/1024 (pow.f64 i 6))) (/.f64 1/64 (*.f64 i i))))
(+.f64 (/.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 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 (/.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/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))
(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)

eval298.0ms (6.1%)

Compiler

Compiled 5869 to 4523 computations (22.9% saved)

prune65.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3175322
Fresh000
Picked101
Done011
Total3186324
Error
0b
Counts
324 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
30.7b
1/16
33.8b
(*.f64 i (*.f64 i -1/4))
31.1b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
32.8b
(/.f64 (*.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i)))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
17.0b
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
Compiler

Compiled 66 to 46 computations (30.3% saved)

localize5.0ms (0.1%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

localize10.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 13 computations (31.6% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 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
@-inf
(/.f64 (/.f64 1/64 i) i)

rewrite66.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
578×pow1_binary64
546×add-log-exp_binary64
546×log1p-expm1-u_binary64
546×expm1-log1p-u_binary64
536×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify164.0ms (3.3%)

Algorithm
egg-herbie
Rules
1140×associate-/r*_binary64
1082×sqr-pow_binary64
560×cube-prod_binary64
554×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11184
22084
33584
47584
522484
683484
7204284
8220884
9239284
10260084
11289984
12329284
13377184
14433784
15502384
16585684
17624684
18653884
19681684
20689084
21692684
Stop Event
node limit
Counts
47 → 37
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))
Outputs
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))
(/.f64 1/64 (pow.f64 i 2))
(/.f64 1/64 (*.f64 i i))

localize18.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
16.5b
(/.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.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
i
@-inf
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
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))

rewrite103.0ms (2.1%)

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
01119
124517
2325917
Stop Event
node limit
Counts
1 → 61
Calls
Call 1
Inputs
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 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 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))))))

simplify39.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
410×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
038186
190183
2211183
3637183
43179183
Stop Event
node limit
Counts
73 → 76
Calls
Call 1
Inputs
(*.f64 -1/4 (pow.f64 i 2))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6))))
(+.f64 (*.f64 -16 (pow.f64 i 8)) (+.f64 (*.f64 -1 (pow.f64 i 4)) (+.f64 (*.f64 -1/4 (pow.f64 i 2)) (*.f64 -4 (pow.f64 i 6)))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
1/16
(+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (*.f64 1/64 (/.f64 1 (pow.f64 i 2)))))
(+.f64 (*.f64 1/256 (/.f64 1 (pow.f64 i 4))) (+.f64 1/16 (+.f64 (*.f64 1/1024 (/.f64 1 (pow.f64 i 6))) (*.f64 1/64 (/.f64 1 (pow.f64 i 2))))))
Outputs
(*.f64 -1/4 (pow.f64 i 2))
(*.f64 -1/4 (*.f64 i i))
(+.f64 (*.f64 -1 (pow.f64 i 4)) (*.f64 -1/4 (pow.f64 i 2)))
(fma.f64 -1 (pow.f64 i 4) (*.f64 -1/4 (*.f64 i i)))
(-.f64 (*.f64 -1/4 (*.f64 i i)) (pow.f64 i 4))
(+.f64 (*.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 (*.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 (/.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/1024 (pow.f64 i 6)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.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/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 (/.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/1024 (pow.f64 i 6)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.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/64 (*.f64 i i)) (+.f64 (/.f64 1/256 (pow.f64 i 4)) (/.f64 1/1024 (pow.f64 i 6)))))

localize25.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.5b
(/.f64 1/4 (*.f64 i i))
16.5b
(/.f64 (*.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i)))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
31.9b
(*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i)))
Compiler

Compiled 77 to 40 computations (48.1% saved)

series71.0ms (1.4%)

Counts
3 → 36
Calls

9 calls:

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

rewrite103.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
825×log-prod_binary64
457×prod-diff_binary64
262×fma-def_binary64
239×log1p-udef_binary64
238×expm1-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify58.0ms (1.2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
040282
192279
2215279
3645279
43176279
Stop Event
node limit
Counts
154 → 136
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/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
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/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))
(fma.f64 i (fma.f64 -1/4 i (neg.f64 (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 -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 -1/4 (*.f64 i i) (*.f64 -4 (pow.f64 i 6)))) (pow.f64 i 4))
(-.f64 (fma.f64 -1/4 (*.f64 i i) (fma.f64 -16 (pow.f64 i 8) (*.f64 -4 (pow.f64 i 6)))) (pow.f64 i 4))
(-.f64 (*.f64 -16 (pow.f64 i 8)) (fma.f64 (*.f64 i 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 (/.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 (/.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/256 (pow.f64 i 4)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.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)))))
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 (*.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/256 (pow.f64 i 4)) (+.f64 (/.f64 1/64 (*.f64 i i)) (/.f64 1/1024 (pow.f64 i 6)))))
(+.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/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)
(/.f64 1/4 (pow.f64 i 2))
(/.f64 1/4 (*.f64 i i))
(/.f64 (/.f64 1/4 i) i)

eval428.0ms (8.7%)

Compiler

Compiled 4927 to 3447 computations (30% saved)

prune103.0ms (2.1%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New2481249
Fresh101
Picked011
Done044
Total2496255
Error
0b
Counts
255 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.8b
(*.f64 i (*.f64 i -1/4))
31.1b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
30.7b
1/16
32.8b
(/.f64 (*.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i)))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
17.0b
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
0.2b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Compiler

Compiled 66 to 46 computations (30.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune5.0ms (0.1%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done055
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.8b
(*.f64 i (*.f64 i -1/4))
31.1b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
30.7b
1/16
32.8b
(/.f64 (*.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i)))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
17.0b
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
0.2b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Compiler

Compiled 66 to 46 computations (30.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune5.0ms (0.1%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done055
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.8b
(*.f64 i (*.f64 i -1/4))
31.1b
(+.f64 1/16 (/.f64 (/.f64 1/64 i) i))
30.7b
1/16
32.8b
(/.f64 (*.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.f64 1/4 (*.f64 i i)))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
17.0b
(/.f64 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
0.2b
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Compiler

Compiled 66 to 46 computations (30.3% saved)

regimes45.0ms (0.9%)

Counts
8 → 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 (*.f64 1/4 (*.f64 i i)) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
(/.f64 (*.f64 (*.f64 i i) (*.f64 (*.f64 i i) (/.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))
Outputs
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
Calls

3 calls:

26.0ms
i
7.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))
7.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.2b1i
0.2b1(/.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.2b1(/.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 141 to 90 computations (36.2% saved)

regimes31.0ms (0.6%)

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:

29.0ms
i
Results
ErrorSegmentsBranch
1.3b2i
Compiler

Compiled 17 to 12 computations (29.4% saved)

bsearch54.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
53.0ms
0.34130006069293956
4.2146016285945445
Compiler

Compiled 30 to 20 computations (33.3% saved)

regimes18.0ms (0.4%)

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:

16.0ms
i
Results
ErrorSegmentsBranch
1.5b2i
Compiler

Compiled 10 to 7 computations (30% saved)

bsearch53.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
52.0ms
0.34130006069293956
4.2146016285945445
Compiler

Compiled 30 to 20 computations (33.3% saved)

regimes10.0ms (0.2%)

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:

9.0ms
i
Results
ErrorSegmentsBranch
30.7b1i
Compiler

Compiled 5 to 4 computations (20% saved)

simplify7.0ms (0.2%)

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 6295874871944193024/18446744073709551616) (*.f64 i (*.f64 i -1/4)) (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)))
(if (<=.f64 i 6295874871944193024/18446744073709551616) (*.f64 i (*.f64 i -1/4)) 1/16)
1/16
Outputs
(/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))
(if (<=.f64 i 6295874871944193024/18446744073709551616) (*.f64 i (*.f64 i -1/4)) (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)))
(if (<=.f64 i 6148315304633001/18014398509481984) (*.f64 i (*.f64 i -1/4)) (+.f64 1/16 (/.f64 (/.f64 1/64 i) i)))
(if (<=.f64 i 6295874871944193024/18446744073709551616) (*.f64 i (*.f64 i -1/4)) 1/16)
(if (<=.f64 i 6148315304633001/18014398509481984) (*.f64 i (*.f64 i -1/4)) 1/16)
1/16
Compiler

Compiled 40 to 30 computations (25% saved)

soundness139.0ms (2.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
Compiler

Compiled 627 to 388 computations (38.1% saved)

end57.0ms (1.2%)

Compiler

Compiled 37 to 27 computations (27% saved)

Profiling

Loading profile data...