Details

Time bar (total: 2.0s)

analyze115.0ms (5.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)

sample997.0ms (50.4%)

Results
970.0ms8256×body128valid
1.0msbody128invalid

preprocess37.0ms (1.9%)

Algorithm
egg-herbie
Rules
380×rule-a-*a1_binary64
380×rule-a--a0_binary64
380×rule-a-+a0_binary64
376×rule-a-/a1_binary64
343×rule--ab--+aa+ab_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01846
112442
239742
3194342
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 b (*.f64 4 b)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) -1)
(+.f64 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (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 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 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 a (*.f64 a 4) -1))
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 a a) 4 -1))
Compiler

Compiled 19 to 12 computations (36.8% saved)

simplify20.0ms (1%)

Algorithm
egg-herbie
Rules
262×rule-*a-bc-*nega-cb_binary64
260×rule-*b-ac--*ab*bc_binary64
258×rule-a-*a1_binary64
258×rule-a--a0_binary64
258×rule-a-+a0_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01323
18621
228021
3135821
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 b (*.f64 4 b)) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 68 to 42 computations (38.2% saved)

localize11.0ms (0.6%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a a (*.f64 b b))
0.4b
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)

series6.0ms (0.3%)

Counts
2 → 48
Calls

12 calls:

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

rewrite39.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
713×rules-30_binary64
713×rules-31_binary64
713×rules-32_binary64
713×rules-33_binary64
652×rules-27_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0719
117917
2219117
Stop Event
node limit
Counts
2 → 72
Calls
Call 1
Inputs
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
(fma.f64 a a (*.f64 b b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) (*.f64 (pow.f64 (hypot.f64 a b) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a a) (pow.f64 (hypot.f64 a b) 2)) (*.f64 (pow.f64 (hypot.f64 a b) 2) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) (*.f64 (pow.f64 (hypot.f64 a b) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)) (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))))) (#(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 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (hypot.f64 a b) 2)) (neg.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2) (*.f64 (pow.f64 (hypot.f64 a b) 2) (cbrt.f64 (pow.f64 (hypot.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 a b) (*.f64 (pow.f64 (hypot.f64 a b) 2) (hypot.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (hypot.f64 a b) 2) (/.f64 1 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 3) (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4) (+.f64 0 (*.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 3) (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4) (-.f64 0 (*.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 3) (pow.f64 (pow.f64 (hypot.f64 a b) 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (pow.f64 (hypot.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (hypot.f64 a b) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (hypot.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (hypot.f64 a b) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 a b) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2)) (pow.f64 (hypot.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (hypot.f64 a b) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 a b) (hypot.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (hypot.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (hypot.f64 a b) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 3) (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) (+.f64 0 (*.f64 (pow.f64 (hypot.f64 a b) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 3) (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) (-.f64 0 (*.f64 (pow.f64 (hypot.f64 a b) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 a a) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (hypot.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (hypot.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 a b) 2)))))))

simplify31.0ms (1.6%)

Algorithm
egg-herbie
Rules
360×rule-*b-ac--*ab*bc_binary64
271×rule-+*ab*bc-*b+ac_binary64
271×rule-a-*a1_binary64
271×rule-a--a0_binary64
271×rule-a-+a0_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
018606
1116570
2356546
31571546
Stop Event
node limit
Counts
120 → 87
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 (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 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 (pow.f64 b 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))
(+.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 (pow.f64 b 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))
(+.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 (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 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 (pow.f64 a 4) (pow.f64 b 4)))
(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 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 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 a (*.f64 (*.f64 b b) a)) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 a (*.f64 (*.f64 b b) a)) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 a (*.f64 (*.f64 b b) a)) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 a (*.f64 (*.f64 b b) a)) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (pow.f64 b 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 a (*.f64 (*.f64 b b) a)) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (pow.f64 b 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 a (*.f64 (*.f64 b b) a)) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 a (*.f64 (*.f64 b b) a)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (pow.f64 b 4))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 b b (*.f64 a a))

prune119.0ms (6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New85287
Fresh000
Picked101
Done000
Total86288
Error
0b
Counts
88 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 b (*.f64 b 4) -1))
0.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 1754 to 1162 computations (33.8% saved)

localize14.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series12.0ms (0.6%)

Counts
4 → 33
Calls

24 calls:

TimeVariablePointExpression
2.0ms
a
@0
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
1.0ms
a
@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
b
@0
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
1.0ms
b
@inf
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite63.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
242×rule-nega-*a-1_binary64
151×add-sqr-sqrt_binary64
149×pow1_binary64
149×rules-30_binary64
149×rules-31_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01347
135847
2479047
Stop Event
node limit
Counts
4 → 147
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 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (pow.f64 b 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (*.f64 a b) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (*.f64 a b) 2))))) (#(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 -.f64 (pow.f64 (*.f64 a b) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (pow.f64 (*.f64 a b) 2)))))) (#(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 -.f64 (+.f64 (pow.f64 (*.f64 a b) 2) (pow.f64 (*.f64 a b) 2)) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 a a) (/.f64 1 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 b b) (/.f64 1 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (*.f64 a b) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) (pow.f64 (*.f64 a b) 4))))) (#(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 neg.f64 (neg.f64 (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 fabs.f64 (pow.f64 (*.f64 a b) 2))))) (#(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 fma.f64 (*.f64 a a) (*.f64 b b) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 a a) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 a b) 2) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a b) (*.f64 a b) 0)))) (#(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 (log.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2 (pow.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 -.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 2 (pow.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 -.f64 (+.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) (*.f64 2 (pow.f64 (*.f64 a b) 2))) (*.f64 2 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 1 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 8 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)) (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 2))))) (#(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 (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 pow.f64 (*.f64 8 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (+.f64 (pow.f64 (*.f64 a b) 2) (pow.f64 (*.f64 a b) 2)))))) (#(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 (*.f64 8 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (pow.f64 (*.f64 a b) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 2 (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 a b) 2) 2 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 2) (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (*.f64 (sqrt.f64 2) (*.f64 a b)) 0)))) (#(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 log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 2) (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (hypot.f64 (*.f64 a a) (*.f64 b b))) (hypot.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (hypot.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 (*.f64 8 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)) (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3)) (+.f64 (*.f64 8 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)) (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3))) (/.f64 1/2 (+.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 2) (-.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 2) (*.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 3) (pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 8 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)) (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3)) (+.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 2) (-.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 2) (*.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 12) (pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) 3)) (+.f64 (pow.f64 a 8) (-.f64 (*.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))) (*.f64 (pow.f64 a 4) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (hypot.f64 (*.f64 a a) (*.f64 b b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 2 (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 a b) 2) 2 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 1 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 4) 1 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1 (*.f64 2 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 2) (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.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))) (*.f64 2 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 2) (cbrt.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (pow.f64 a 4)) (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (*.f64 (sqrt.f64 2) (*.f64 a b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 (*.f64 a a) (*.f64 b b)) (hypot.f64 (*.f64 a a) (*.f64 b b)) (*.f64 2 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (hypot.f64 (*.f64 a a) (*.f64 b b))) (hypot.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) (hypot.f64 (*.f64 a a) (*.f64 b b))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (+.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)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(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 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (+.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 (neg.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) -1)))) (#(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 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (+.f64 (pow.f64 a 12) (pow.f64 b 12))) (/.f64 1/2 (+.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 4) (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3) (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 2))))) (#(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 pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1)))) (#(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 pow.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(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 fabs.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(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 (pow.f64 a 4) 1 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 4) 1 (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1 0)))) (#(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 (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))) 0)))) (#(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 fma.f64 (hypot.f64 (*.f64 a a) (*.f64 b b)) (hypot.f64 (*.f64 a a) (*.f64 b b)) 0)))) (#(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 log1p.f64 (expm1.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))))

simplify29.0ms (1.4%)

Algorithm
egg-herbie
Rules
360×rule-*b-ac--*ab*bc_binary64
254×rule-a-*a1_binary64
254×rule-a--a0_binary64
254×rule-a-+a0_binary64
254×rule-a-/a1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
015378
199378
2325366
31479366
Stop Event
node limit
Counts
180 → 156
Calls
Call 1
Inputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (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 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 (pow.f64 b 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))
(+.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 (pow.f64 b 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))
(+.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 (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))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(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)
(+.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))
(fma.f64 (*.f64 a a) (*.f64 b (+.f64 b b)) (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 a a) (fma.f64 a a (*.f64 b (+.f64 b b))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 a a) (fma.f64 a a (*.f64 b (+.f64 b b))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 a a) (fma.f64 a a (*.f64 b (+.f64 b b))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (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 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b (+.f64 b b))) (pow.f64 b 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))
(fma.f64 (*.f64 a a) (*.f64 b (+.f64 b b)) (pow.f64 b 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))
(fma.f64 (*.f64 a a) (*.f64 b (+.f64 b b)) (pow.f64 b 4))
(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)

prune230.0ms (11.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh011
Picked011
Done000
Total1562158
Error
0b
Counts
158 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 b (*.f64 b 4) -1))
0.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 4333 to 3013 computations (30.5% saved)

localize8.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite36.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
713×rules-30_binary64
713×rules-31_binary64
713×rules-32_binary64
713×rules-33_binary64
652×rules-27_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
117910
2219110
Stop Event
node limit
Counts
1 → 37
Calls
Call 1
Inputs
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) (*.f64 (pow.f64 (hypot.f64 b a) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (pow.f64 (hypot.f64 b a) 2)) (*.f64 (pow.f64 (hypot.f64 b a) 2) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) (*.f64 (pow.f64 (hypot.f64 b a) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 b a) 2) (pow.f64 (hypot.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (hypot.f64 b a) 2)) (neg.f64 (pow.f64 (hypot.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 b a) 2)) 2) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 b a) 2)) 2) (*.f64 (pow.f64 (hypot.f64 b a) 2) (cbrt.f64 (pow.f64 (hypot.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 b a) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 b a) (*.f64 (pow.f64 (hypot.f64 b a) 2) (hypot.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (hypot.f64 b a) 2) (/.f64 1 (pow.f64 (hypot.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 3) (+.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4) (+.f64 0 (*.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 3) (+.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4) (-.f64 0 (*.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 3) (pow.f64 (pow.f64 (hypot.f64 b a) 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (hypot.f64 b a) 2) (pow.f64 (hypot.f64 b a) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 b a) 2)) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (pow.f64 (hypot.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)))))))

simplify27.0ms (1.4%)

Algorithm
egg-herbie
Rules
349×rule-*b-ac--*ab*bc_binary64
259×rule-a-*a1_binary64
259×rule-a--a0_binary64
259×rule-a-+a0_binary64
259×rule-a-/a1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
017402
1110402
2338378
31503378
Stop Event
node limit
Counts
61 → 46
Calls
Call 1
Inputs
(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 (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 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 (pow.f64 a 4) (pow.f64 b 4)))
(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 (pow.f64 a 4) (pow.f64 b 4)))
(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 (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 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 (pow.f64 b 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))
(+.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 (pow.f64 b 4) (pow.f64 a 4)))
Outputs
(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 a (*.f64 a (*.f64 b b))) (pow.f64 a 4))
(*.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (pow.f64 b 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 a (*.f64 a (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (pow.f64 b 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 a (*.f64 a (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (pow.f64 b 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 a (*.f64 a (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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 a (*.f64 a (*.f64 b b))) (pow.f64 a 4))
(*.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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 a (*.f64 a (*.f64 b b))) (pow.f64 a 4))
(*.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (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)))
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)))
(fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 2 (*.f64 b b))) (pow.f64 b 4))

prune56.0ms (2.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New46046
Fresh000
Picked011
Done011
Total46248
Error
0b
Counts
48 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 b (*.f64 b 4) -1))
0.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 957 to 634 computations (33.8% saved)

regimes70.0ms (3.5%)

Accuracy

Total -0.2b remaining (-1874.5%)

Threshold costs -0.2b (-1874.5%)

Counts
23 → 1
Compiler

Compiled 477 to 297 computations (37.7% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

end54.0ms (2.7%)

Stop Event
done
Compiler

Compiled 85 to 61 computations (28.2% saved)

Profiling

Loading profile data...