Details

Time bar (total: 2.6s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%74.9%25.1%0
0%74.9%25.1%1
37.5%37.5%25.1%2
37.5%18.7%43.8%3
46.8%9.4%43.8%4
51.5%4.7%43.8%5
51.5%2.3%46.1%6
52.7%1.2%46.1%7
53.3%0.6%46.1%8
53.3%0.3%46.4%9
53.4%0.1%46.4%10
53.5%0.1%46.4%11
53.5%0%46.5%12
53.5%0%46.5%13
53.5%0%46.5%14
Compiler

Compiled 71 to 33 computations (53.5% saved)

sample1.5s (58.8%)

Results
1.5s8256×body128valid
0.0msbody128invalid

preprocess30.0ms (1.1%)

Algorithm
egg-herbie
Rules
642×distribute-lft-out_binary64
588×associate-/l*_binary64
406×associate-/r*_binary64
400×*-commutative_binary64
244×distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03275
17459
225141
3120837
4239437
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
Outputs
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (fma.f64 2 (fabs.f64 x) (*.f64 2/3 (*.f64 (fabs.f64 x) (*.f64 x x)))) (*.f64 1/5 (*.f64 (fabs.f64 x) (*.f64 (*.f64 x x) (*.f64 x x))))) (*.f64 1/21 (*.f64 (fabs.f64 x) (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)))))))
(fabs.f64 (/.f64 (fma.f64 1/21 (*.f64 (*.f64 x x) (*.f64 (*.f64 x x) (pow.f64 (fabs.f64 x) 3))) (fma.f64 1/5 (*.f64 (*.f64 x x) (pow.f64 (fabs.f64 x) 3)) (*.f64 (fabs.f64 x) (+.f64 2 (*.f64 (*.f64 2/3 x) x))))) (sqrt.f64 (PI.f64))))
(fabs.f64 (/.f64 (*.f64 (fabs.f64 x) (+.f64 (fma.f64 2/3 (*.f64 x x) 2) (fma.f64 1/5 (pow.f64 (fabs.f64 x) 4) (*.f64 1/21 (pow.f64 (fabs.f64 x) 6))))) (sqrt.f64 (PI.f64))))
(fabs.f64 (*.f64 (/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64))) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))
Compiler

Compiled 68 to 31 computations (54.4% saved)

simplify21.0ms (0.8%)

Algorithm
egg-herbie
Rules
642×distribute-lft-out_binary64
588×associate-/l*_binary64
406×associate-/r*_binary64
400×*-commutative_binary64
244×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03275
17459
225141
3120837
4239437
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
Outputs
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (fma.f64 2 (fabs.f64 x) (*.f64 2/3 (*.f64 (fabs.f64 x) (*.f64 x x)))) (*.f64 1/5 (*.f64 (fabs.f64 x) (*.f64 (*.f64 x x) (*.f64 x x))))) (*.f64 1/21 (*.f64 (fabs.f64 x) (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)))))))
(fabs.f64 (/.f64 (fma.f64 1/21 (*.f64 (*.f64 x x) (*.f64 (*.f64 x x) (pow.f64 (fabs.f64 x) 3))) (fma.f64 1/5 (*.f64 (*.f64 x x) (pow.f64 (fabs.f64 x) 3)) (*.f64 (fabs.f64 x) (+.f64 2 (*.f64 (*.f64 2/3 x) x))))) (sqrt.f64 (PI.f64))))
(fabs.f64 (/.f64 (*.f64 (fabs.f64 x) (+.f64 (fma.f64 2/3 (*.f64 x x) 2) (fma.f64 1/5 (pow.f64 (fabs.f64 x) 4) (*.f64 1/21 (pow.f64 (fabs.f64 x) 6))))) (sqrt.f64 (PI.f64))))
(fabs.f64 (*.f64 (/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64))) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))

prune5.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
0.5b
(fabs.f64 (*.f64 (/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64))) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))
Compiler

Compiled 278 to 149 computations (46.4% saved)

localize23.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))
0.1b
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
0.2b
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0b
(sqrt.f64 (PI.f64))

series8.0ms (0.3%)

Counts
4 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
1.0ms
x
@-inf
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0ms
x
@inf
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0ms
x
@0
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0ms
x
@-inf
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))

rewrite50.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
633×log-prod_binary64
240×expm1-udef_binary64
240×log1p-udef_binary64
196×log-pow_binary64
155×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01938
134422
2357422
Stop Event
node limit
Counts
4 → 77
Calls
Call 1
Inputs
(sqrt.f64 (PI.f64))
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
(*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (PI.f64)))) (cbrt.f64 (exp.f64 (sqrt.f64 (PI.f64)))))) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (PI.f64))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (PI.f64))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (PI.f64))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (PI.f64)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (PI.f64)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (PI.f64))) (cbrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (PI.f64) 1/4) (pow.f64 (PI.f64) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (PI.f64) 2))) (sqrt.f64 (cbrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (PI.f64) 2)) 1/2) (pow.f64 (cbrt.f64 (PI.f64)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (PI.f64) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (PI.f64)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (PI.f64) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (PI.f64))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (PI.f64) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (PI.f64) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (PI.f64)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (PI.f64))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3))) (cbrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/3 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 2/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/9 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 x) (log.f64 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log.f64 2/3)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/5) (pow.f64 x 5))) (cbrt.f64 (pow.f64 (exp.f64 1/5) (pow.f64 x 5))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/5) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/5) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/5) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/5 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/5 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/5 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/5 (pow.f64 x 5))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (pow.f64 x 5) 2) 1/25))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/5) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/5 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/5 (pow.f64 x 5))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 x 4))) (cbrt.f64 (exp.f64 (pow.f64 x 4))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 4)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 x 4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 x 4)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 x 4) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 x 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (pow.f64 x 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 4 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 4 (log.f64 x)) 1))))))

simplify71.0ms (2.7%)

Algorithm
egg-herbie
Rules
684×sqr-pow_binary64
547×unswap-sqr_binary64
346×associate-*l*_binary64
321×*-commutative_binary64
285×pow-sqr_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
013288
130288
263288
3139288
4336264
51123264
62276264
72417264
82609216
92875216
103218216
113670216
124251216
134985216
Stop Event
node limit
Counts
113 → 82
Calls
Call 1
Inputs
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 (fabs.f64 x) 4)
Outputs
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
(*.f64 1/5 (pow.f64 x 5))
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)
(pow.f64 (fabs.f64 x) 4)
(pow.f64 x 4)

prune243.0ms (9.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh011
Picked011
Done000
Total1013104
Error
0b
Counts
104 → 3
Alt Table
StatusErrorProgram
0.1b
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
0.5b
(fabs.f64 (*.f64 (/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64))) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))
1.0b
(fabs.f64 (*.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sqrt.f64 (PI.f64))))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
Compiler

Compiled 6803 to 2793 computations (58.9% saved)

localize15.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/21 (pow.f64 x 6))
0.1b
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
0.3b
(/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64)))
1.0b
(sqrt.f64 (PI.f64))

series7.0ms (0.3%)

Counts
3 → 24
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
1.0ms
x
@0
(/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64)))
1.0ms
x
@0
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
1.0ms
x
@inf
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
0.0ms
x
@inf
(/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64)))

rewrite48.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
534×log-prod_binary64
220×expm1-udef_binary64
220×log1p-udef_binary64
185×log-pow_binary64
142×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01430
130028
2345528
Stop Event
node limit
Counts
3 → 81
Calls
Call 1
Inputs
(/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 1/21 (pow.f64 x 6))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 x (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 x (sqrt.f64 (PI.f64))))) (cbrt.f64 (exp.f64 (/.f64 x (sqrt.f64 (PI.f64))))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (sqrt.f64 (PI.f64)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (sqrt.f64 (PI.f64))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 (PI.f64) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (sqrt.f64 (PI.f64))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))) (cbrt.f64 (/.f64 (*.f64 x x) (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (*.f64 x x) (PI.f64))) (cbrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (pow.f64 (PI.f64) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))) (sqrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (pow.f64 (PI.f64) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (PI.f64) -1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) 1) (/.f64 (cbrt.f64 x) (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (PI.f64))) (/.f64 x (cbrt.f64 (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (PI.f64))) (cbrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (PI.f64))) (/.f64 (sqrt.f64 x) (cbrt.f64 (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (PI.f64) 1/4)) (/.f64 x (pow.f64 (PI.f64) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (pow.f64 (PI.f64) 1/4)) (/.f64 (cbrt.f64 x) (pow.f64 (PI.f64) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (sqrt.f64 (PI.f64))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (sqrt.f64 (PI.f64))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (sqrt.f64 (PI.f64)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (PI.f64)) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 x x) (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (sqrt.f64 (PI.f64))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (sqrt.f64 (PI.f64))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (PI.f64) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (sqrt.f64 (PI.f64)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (sqrt.f64 (PI.f64)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/21 (pow.f64 x 6)) (*.f64 1/5 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/5 (pow.f64 x 4)) 1) (*.f64 1/21 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))))) (cbrt.f64 (exp.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) (pow.f64 (cbrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) 2) (cbrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) (sqrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/5 (pow.f64 x 4)) 3) (pow.f64 (*.f64 1/21 (pow.f64 x 6)) 3)) (fma.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/5 (pow.f64 x 4)) (-.f64 (*.f64 (pow.f64 x 12) 1/441) (*.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/5 (pow.f64 x 4))) (*.f64 (pow.f64 x 12) 1/441)) (-.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6)) (exp.f64 (*.f64 1/5 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/21 (pow.f64 x 6)))) (exp.f64 (*.f64 1/5 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/5 (pow.f64 x 4))) (+.f64 1 (expm1.f64 (*.f64 1/21 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/21 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6))) (cbrt.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/21 (pow.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/21 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/21 (pow.f64 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (cbrt.f64 1/21)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/21) (pow.f64 x 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 12) 1/441))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/21) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/21 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/21 (pow.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/21 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/21 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/21 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/21 (pow.f64 x 6))) 1))))))

simplify67.0ms (2.6%)

Algorithm
egg-herbie
Rules
518×sqr-pow_binary64
487×associate-*l*_binary64
467×unswap-sqr_binary64
440×fma-def_binary64
300×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
017291
132291
256291
3123267
4399267
51478267
62932267
73281267
83564267
93846267
104213267
114692267
Stop Event
node limit
Counts
105 → 86
Calls
Call 1
Inputs
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 1/5 (pow.f64 x 4))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 1/21 (pow.f64 x 6))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 1/21 (pow.f64 x 6))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
Outputs
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 (fabs.f64 x) (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 x (sqrt.f64 (/.f64 1 (PI.f64))))
(*.f64 1/5 (pow.f64 x 4))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(*.f64 1/21 (pow.f64 x 6))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(*.f64 1/21 (pow.f64 x 6))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))
(+.f64 (*.f64 1/5 (pow.f64 x 4)) (*.f64 1/21 (pow.f64 x 6)))
(fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/21 (*.f64 x x) 1/5))

prune168.0ms (6.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh011
Picked011
Done011
Total1123115
Error
0b
Counts
115 → 3
Alt Table
StatusErrorProgram
0.1b
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
0.5b
(fabs.f64 (*.f64 (/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64))) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))
1.0b
(fabs.f64 (*.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sqrt.f64 (PI.f64))))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
Compiler

Compiled 3433 to 2166 computations (36.9% saved)

localize26.0ms (1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
0.2b
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (PI.f64))))
1.0b
(sqrt.f64 (PI.f64))

series0.0ms (0%)

Counts
1 → 0

rewrite28.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
331×pow1_binary64
320×add-sqr-sqrt_binary64
308×add-log-exp_binary64
308×expm1-log1p-u_binary64
307×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1784
28734
Stop Event
node limit
Counts
1 → 23
Calls
Call 1
Inputs
(expm1.f64 (log1p.f64 (sqrt.f64 (PI.f64))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (PI.f64)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (PI.f64))) (cbrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (PI.f64) 1/4) (pow.f64 (PI.f64) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (PI.f64)) 2)) (sqrt.f64 (cbrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (PI.f64)) 2) 1/2) (pow.f64 (cbrt.f64 (PI.f64)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) (+.f64 (sqrt.f64 (PI.f64)) 1)) (+.f64 1 (*.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) (+.f64 (sqrt.f64 (PI.f64)) 1)) 1) (+.f64 (+.f64 (sqrt.f64 (PI.f64)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (PI.f64) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (PI.f64)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (PI.f64) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (PI.f64))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (PI.f64) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (PI.f64))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (PI.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (PI.f64) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (PI.f64))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (PI.f64))))))))

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
23 → 23
Calls
Call 1
Inputs
Outputs

prune94.0ms (3.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New85085
Fresh000
Picked011
Done022
Total85388
Error
0b
Counts
88 → 3
Alt Table
StatusErrorProgram
0.1b
(fabs.f64 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
0.5b
(fabs.f64 (*.f64 (/.f64 (fabs.f64 x) (sqrt.f64 (PI.f64))) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))
1.0b
(fabs.f64 (*.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sqrt.f64 (PI.f64))))) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x))))))
Compiler

Compiled 5972 to 2224 computations (62.8% saved)

regimes133.0ms (5.1%)

Accuracy

Total -40.5b remaining (-35074.9%)

Threshold costs -40.5b (-35074.9%)

Counts
30 → 1
Compiler

Compiled 1593 to 727 computations (54.4% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02136
12836
23336
Stop Event
saturated
Calls
Call 1
Inputs
(fabs.f64 (*.f64 (*.f64 x (pow.f64 (PI.f64) -1/2)) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))
Outputs
(fabs.f64 (*.f64 (*.f64 x (pow.f64 (PI.f64) -1/2)) (+.f64 (fma.f64 1/5 (pow.f64 x 4) (*.f64 1/21 (pow.f64 x 6))) (fma.f64 2/3 (*.f64 x x) 2))))

end26.0ms (1%)

Stop Event
done
Compiler

Compiled 50 to 40 computations (20% saved)

Profiling

Loading profile data...