Details

Time bar (total: 1.6s)

analyze108.0ms (6.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample980.0ms (62.2%)

Results
966.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 40 to 26 computations (35% saved)

preprocess31.0ms (1.9%)

Algorithm
egg-herbie
Rules
931×fma-def_binary64
495×fma-neg_binary64
420×associate-+l+_binary64
334×associate-+r+_binary64
241×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01846
14842
29942
328842
4113634
5373434
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (+.f64 (*.f64 (*.f64 b b) 4) (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) -1)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 b b) 4 -1))
(+.f64 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
(+.f64 (fma.f64 b (*.f64 b 4) (pow.f64 (hypot.f64 a b) 4)) -1)
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (-.f64 (*.f64 (*.f64 4 a) a) 1))
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 a a) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 a (*.f64 a 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 a (*.f64 a 4) -1))
Compiler

Compiled 19 to 12 computations (36.8% saved)

simplify22.0ms (1.4%)

Algorithm
egg-herbie
Rules
612×fma-def_binary64
603×associate-*l*_binary64
311×fma-neg_binary64
233×associate-+l+_binary64
216×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26421
319321
477917
5263417
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))

prune4.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.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)

series10.0ms (0.6%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
a
@0
(pow.f64 (hypot.f64 a b) 4)
2.0ms
b
@0
(pow.f64 (hypot.f64 a b) 4)
2.0ms
b
@-inf
(pow.f64 (hypot.f64 a b) 4)
1.0ms
a
@inf
(pow.f64 (hypot.f64 a b) 4)
1.0ms
b
@inf
(pow.f64 (hypot.f64 a b) 4)

rewrite27.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
513×pow1_binary64
473×add-log-exp_binary64
473×log1p-expm1-u_binary64
473×expm1-log1p-u_binary64
461×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11257
213537
Stop Event
node limit
Counts
1 → 14
Calls
Call 1
Inputs
(pow.f64 (hypot.f64 a b) 4)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 a b) 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 a b) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 a b)) 2) 4) (pow.f64 (cbrt.f64 (hypot.f64 a b)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 a b) 8))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 4 (log.f64 (hypot.f64 a b))))))))

simplify26.0ms (1.7%)

Algorithm
egg-herbie
Rules
759×fma-def_binary64
544×associate-+l+_binary64
495×associate-*l*_binary64
492×associate-*r*_binary64
209×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0101746
1323659
21233545
Stop Event
node limit
Counts
38 → 33
Calls
Call 1
Inputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 -1 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (*.f64 1/16 (/.f64 1 (pow.f64 b 6))))) (*.f64 5/64 (/.f64 1 (pow.f64 b 6)))) (*.f64 (pow.f64 a 8) (pow.f64 b 2)))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2))))))))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2))))))))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (*.f64 (pow.f64 b 8) (+.f64 (*.f64 -1 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 a 6))) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2))) (*.f64 5/64 (/.f64 1 (pow.f64 a 6))))))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2))))))))))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2))))))))))
Outputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 -1 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (*.f64 1/16 (/.f64 1 (pow.f64 b 6))))) (*.f64 5/64 (/.f64 1 (pow.f64 b 6)))) (*.f64 (pow.f64 a 8) (pow.f64 b 2)))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 2 (*.f64 (fma.f64 -1 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (/.f64 1/16 (pow.f64 b 6))) (/.f64 5/64 (pow.f64 b 6))) (*.f64 (*.f64 b b) (pow.f64 a 8))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 (-.f64 (/.f64 5/64 (pow.f64 b 6)) (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (/.f64 1/16 (pow.f64 b 6)))) (pow.f64 a 8))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (fma.f64 2 (*.f64 (*.f64 b b) (+.f64 (*.f64 a a) (*.f64 (fma.f64 -1 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (*.f64 (/.f64 1 (pow.f64 b 6)) 1/64)) (pow.f64 a 8)))) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2))))))))))
(fma.f64 -1/2 (pow.f64 b 4) (fma.f64 1/2 (pow.f64 b 4) (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (fma.f64 1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (/.f64 (*.f64 2 (*.f64 (*.f64 b b) (*.f64 (pow.f64 b 4) 0))) (*.f64 a a))))))))
(+.f64 (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (*.f64 (/.f64 0 (*.f64 a a)) (*.f64 b b))))) 0)
(fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2))))))))))
(fma.f64 -1/2 (pow.f64 b 4) (fma.f64 1/2 (pow.f64 b 4) (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (fma.f64 1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (/.f64 (*.f64 2 (*.f64 (*.f64 b b) (*.f64 (pow.f64 b 4) 0))) (*.f64 a a))))))))
(+.f64 (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (*.f64 (/.f64 0 (*.f64 a a)) (*.f64 b b))))) 0)
(fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (*.f64 (pow.f64 b 8) (+.f64 (*.f64 -1 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 a 6))) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2))) (*.f64 5/64 (/.f64 1 (pow.f64 a 6))))))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 2 (*.f64 (*.f64 (*.f64 a a) (pow.f64 b 8)) (fma.f64 -1 (+.f64 (/.f64 1/16 (pow.f64 a 6)) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2)) (/.f64 5/64 (pow.f64 a 6)))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 2 (*.f64 a a)) (+.f64 (*.f64 b b) (*.f64 (pow.f64 b 8) (-.f64 (/.f64 5/64 (pow.f64 a 6)) (+.f64 (/.f64 1/16 (pow.f64 a 6)) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2)))))))
(+.f64 (fma.f64 (*.f64 2 (*.f64 a a)) (fma.f64 b b (*.f64 (pow.f64 b 8) (-.f64 (*.f64 (/.f64 1 (pow.f64 a 6)) 1/64) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2)))) (pow.f64 b 4)) (pow.f64 a 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 b 4))
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2))))))))))
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (fma.f64 1/2 (pow.f64 a 4) (fma.f64 -1/2 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 2 (/.f64 (*.f64 (pow.f64 a 4) 0) (/.f64 (*.f64 b b) (*.f64 a a))))))))))
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (+.f64 (+.f64 (pow.f64 b 4) (/.f64 (/.f64 (*.f64 (pow.f64 a 6) 0) b) b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (pow.f64 a 4)))) 0))
(fma.f64 1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 -1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4))
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 b 4))
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2))))))))))
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (fma.f64 1/2 (pow.f64 a 4) (fma.f64 -1/2 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 2 (/.f64 (*.f64 (pow.f64 a 4) 0) (/.f64 (*.f64 b b) (*.f64 a a))))))))))
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (+.f64 (+.f64 (pow.f64 b 4) (/.f64 (/.f64 (*.f64 (pow.f64 a 6) 0) b) b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (pow.f64 a 4)))) 0))
(fma.f64 1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 -1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))))

prune43.0ms (2.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New32133
Fresh101
Picked101
Done000
Total34135
Error
0b
Counts
35 → 1
Alt Table
StatusErrorProgram
0b
(+.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 964 to 680 computations (29.5% saved)

localize15.0ms (0.9%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (pow.f64 b 4))
0.0b
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
3.4b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series10.0ms (0.6%)

Counts
3 → 15
Calls

18 calls:

TimeVariablePointExpression
1.0ms
b
@inf
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
1.0ms
a
@0
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
1.0ms
a
@-inf
(+.f64 (pow.f64 a 4) (pow.f64 b 4))
1.0ms
a
@inf
(+.f64 (pow.f64 a 4) (pow.f64 b 4))
1.0ms
b
@inf
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))

rewrite46.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
809×prod-diff_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
123×pow1_binary64
122×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01227
126327
2309127
Stop Event
node limit
Counts
3 → 64
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (pow.f64 b 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 6) (pow.f64 b 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 6) (pow.f64 a 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 a b))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 a b)) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 a 8) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (/.f64 (pow.f64 b 8) (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 2) (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 (*.f64 a a) (*.f64 b b)) (hypot.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (/.f64 1 (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 a 8) (pow.f64 b 8)) (/.f64 1 (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4))) (+.f64 (pow.f64 a 12) (pow.f64 b 12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 8) (pow.f64 b 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (+.f64 (pow.f64 b 8) (-.f64 (pow.f64 a 8) (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 8) (pow.f64 b 8)) (-.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12))) (neg.f64 (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 a 8) (pow.f64 b 8))) (neg.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 b 8) (pow.f64 a 8)) (-.f64 (pow.f64 b 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 (*.f64 a a) (*.f64 b b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (pow.f64 b 4)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1))))))

simplify50.0ms (3.2%)

Algorithm
egg-herbie
Rules
700×sqr-pow_binary64
684×unswap-sqr_binary64
291×associate-*l*_binary64
284×cube-prod_binary64
244×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07114
114114
225114
342114
492114
5258114
6941114
72238114
82479114
92783114
103144114
113644114
124304114
Stop Event
node limit
Counts
79 → 67
Calls
Call 1
Inputs
(pow.f64 b 4)
(pow.f64 a 4)
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(pow.f64 b 4)
(pow.f64 b 4)
Outputs
(pow.f64 b 4)
(pow.f64 a 4)
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
(pow.f64 b 4)
(pow.f64 b 4)

prune59.0ms (3.7%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New67067
Fresh000
Picked011
Done000
Total67168
Error
0b
Counts
68 → 1
Alt Table
StatusErrorProgram
0b
(+.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1874 to 1371 computations (26.8% saved)

regimes72.0ms (4.5%)

Accuracy

Total 0.0b remaining (5.5%)

Threshold costs 0.0b (5.5%)

Counts
27 → 1
Compiler

Compiled 532 to 344 computations (35.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01734
12334
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
Outputs
(+.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))

end65.0ms (4.1%)

Stop Event
done
Compiler

Compiled 76 to 58 computations (23.7% saved)

Profiling

Loading profile data...