Details

Time bar (total: 2.8s)

analyze0.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample2.0s (71.9%)

Results
1.0s2127×body2048valid
450.0ms4352×body128valid
314.0ms998×body1024valid
145.0ms507×body512valid
92.0ms272×body256valid

preprocess22.0ms (0.8%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11211
21611
32311
43211
54911
68611
712311
816611
920211
1022811
1123011
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Outputs
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11211
21611
32311
43211
54911
68611
712311
816611
920211
1022811
1123011
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Outputs
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
15.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
15.6b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(atan.f64 (+.f64 N 1))
1.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series2.0ms (0.1%)

Counts
2 → 8
Calls

6 calls:

TimeVariablePointExpression
0.0ms
N
@0
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
0.0ms
N
@-inf
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
0.0ms
N
@inf
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
0.0ms
N
@0
(atan.f64 (+.f64 N 1))
0.0ms
N
@-inf
(atan.f64 (+.f64 N 1))

rewrite42.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
828×log1p-expm1-u_binary64
828×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
82×*-un-lft-identity_binary64
82×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115617
2220217
Stop Event
node limit
Counts
2 → 56
Calls
Call 1
Inputs
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
(atan.f64 (+.f64 N 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (atan.f64 (+.f64 N 1)) (*.f64 (neg.f64 (atan.f64 N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (atan.f64 N)) 1 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 (atan.f64 N))) (pow.f64 (cbrt.f64 (atan.f64 N)) 2) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (fma.f64 (neg.f64 (sqrt.f64 (atan.f64 N))) (sqrt.f64 (atan.f64 N)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (atan.f64 N)) (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2) (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (/.f64 1 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (/.f64 1 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))) (-.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2)) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3))) (neg.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (atan.f64 N) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (pow.f64 (atan.f64 N) 2))) (neg.f64 (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (neg.f64 (atan.f64 N)) 3)) (+.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (-.f64 (*.f64 (neg.f64 (atan.f64 N)) (neg.f64 (atan.f64 N))) (*.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2) (*.f64 (neg.f64 (atan.f64 N)) (neg.f64 (atan.f64 N)))) (-.f64 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (atan.f64 (+.f64 N 1)) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan.f64 (+.f64 N 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan.f64 (+.f64 N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) (sqrt.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan.f64 (+.f64 N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan.f64 (+.f64 N 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan.f64 (+.f64 N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan.f64 (+.f64 N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan.f64 (+.f64 N 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan.f64 (+.f64 N 1))))))))

simplify16.0ms (0.6%)

Algorithm
egg-herbie
Rules
52×fma-def_binary64
43×fma-neg_binary64
23×cancel-sign-sub-inv_binary64
18×sub-neg_binary64
14×associate--r+_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0984
12068
23168
36168
48868
513468
618268
721668
825768
929368
1031968
1132168
Stop Event
saturated
Counts
64 → 60
Calls
Call 1
Inputs
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
Outputs
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N))
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N))
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N))
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (*.f64 -1 N))) (atan.f64 N))
(-.f64 (atan.f64 (-.f64 1 (neg.f64 N))) (atan.f64 N))
(-.f64 (atan.f64 (+.f64 1 N)) (atan.f64 N))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (neg.f64 N)))
(atan.f64 (+.f64 1 N))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (neg.f64 N)))
(atan.f64 (+.f64 1 N))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (neg.f64 N)))
(atan.f64 (+.f64 1 N))
(atan.f64 (-.f64 1 (*.f64 -1 N)))
(atan.f64 (-.f64 1 (neg.f64 N)))
(atan.f64 (+.f64 1 N))

prune49.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New56460
Fresh000
Picked101
Done000
Total57461
Error
14.3b
Counts
61 → 4
Alt Table
StatusErrorProgram
28.8b
(-.f64 (*.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2)) (atan.f64 N))
15.6b
(-.f64 (*.f64 1 (atan.f64 (+.f64 N 1))) (atan.f64 N))
14.4b
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
27.8b
(-.f64 (cbrt.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3)) (atan.f64 N))
Compiler

Compiled 934 to 632 computations (32.3% saved)

localize13.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
2.2b
(+.f64 N (-.f64 1 N))

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
N
@inf
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
0.0ms
N
@-inf
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
0.0ms
N
@0
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
0.0ms
N
@0
(+.f64 N (-.f64 1 N))
0.0ms
N
@-inf
(+.f64 N (-.f64 1 N))

rewrite57.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
616×fma-def_binary64
297×fma-neg_binary64
180×expm1-udef_binary64
180×log1p-udef_binary64
146×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0926
121024
2305924
Stop Event
node limit
Counts
2 → 114
Calls
Call 1
Inputs
(+.f64 N (-.f64 1 N))
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (-.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 N 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 N (-.f64 1 N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 N N) (+.f64 (+.f64 N -1) N)) (/.f64 (pow.f64 (-.f64 1 N) 2) (+.f64 (+.f64 N -1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 N (-.f64 1 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 N (-.f64 1 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (-.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N))) (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 N -1) N) (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (+.f64 (pow.f64 (-.f64 1 N) 2) (-.f64 (*.f64 N N) (*.f64 N (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (+.f64 (+.f64 N -1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3))) (neg.f64 (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2))) (neg.f64 (+.f64 (+.f64 N -1) N)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 N 1) 3) (pow.f64 N 3)) (+.f64 (pow.f64 (+.f64 N 1) 2) (fma.f64 N N (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 N 1) 2) (*.f64 N N)) (+.f64 (+.f64 N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (-.f64 1 N) 2) (*.f64 N N)) (-.f64 (-.f64 1 N) N))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 N (-.f64 1 N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 N (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (exp.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (+.f64 N 1)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (exp.f64 (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 N) (+.f64 1 (expm1.f64 (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (+.f64 1 (expm1.f64 (-.f64 1 N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (-.f64 1 N))) (exp.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (-.f64 1 N)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (-.f64 1 N))) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 N 1)) (exp.f64 (neg.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (exp.f64 (neg.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 N 1)) (/.f64 1 (exp.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 N 1))) (/.f64 1 (exp.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 N (-.f64 1 N)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N 1 (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 1 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N (-.f64 1 N)) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N (-.f64 1 N)) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N (-.f64 1 N)) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 N 1) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 N) 1 N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N (-.f64 1 N)) 1 (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N (-.f64 1 N)) 1 (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N (-.f64 1 N)) 1 (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 N 1) 1 (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N (-.f64 1 N))) 2) (cbrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 N) (pow.f64 (cbrt.f64 N) 2) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (cbrt.f64 N) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) 1) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 N 1)) (pow.f64 (cbrt.f64 (+.f64 N 1)) 2) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 N 1)) 2) (cbrt.f64 (+.f64 N 1)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 1 N)) (pow.f64 (cbrt.f64 (-.f64 1 N)) 2) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 1 N)) 2) (cbrt.f64 (-.f64 1 N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 N (-.f64 1 N))) (sqrt.f64 (+.f64 N (-.f64 1 N))) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) 1) (-.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 N)) (hypot.f64 1 (sqrt.f64 N)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 1 N)) (sqrt.f64 (-.f64 1 N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 N 3)) (/.f64 1 (+.f64 1 (fma.f64 N N N))) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N)))) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N)))) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 N 3) (pow.f64 (-.f64 1 N) 3)) (/.f64 1 (fma.f64 N N (*.f64 (-.f64 1 N) (-.f64 (-.f64 1 N) N)))) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 N 3)) (/.f64 1 (-.f64 (fma.f64 N N 1) N)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (*.f64 N N)) (/.f64 1 (+.f64 N 1)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 N N) (pow.f64 (-.f64 1 N) 2)) (/.f64 1 (+.f64 (+.f64 N -1) N)) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 N N -1) (/.f64 1 (+.f64 N -1)) (neg.f64 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (-.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (fma.f64 (neg.f64 N) 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (-.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (fma.f64 (neg.f64 (cbrt.f64 N)) (pow.f64 (cbrt.f64 N) 2) N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (-.f64 (hypot.f64 1 (sqrt.f64 N)) (sqrt.f64 N)) (fma.f64 -1 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (pow.f64 N 3)) (+.f64 1 (pow.f64 (fma.f64 N N N) 3))) (fma.f64 (fma.f64 N N N) (-.f64 (fma.f64 N N N) 1) 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (pow.f64 N 3)) (-.f64 1 (pow.f64 (fma.f64 N N N) 2))) (-.f64 1 (fma.f64 N N N)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (*.f64 N N)) (+.f64 1 (pow.f64 N 3))) (-.f64 (fma.f64 N N 1) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (-.f64 1 (*.f64 N N)) (fma.f64 N N -1)) (+.f64 N -1) N)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 N (-.f64 1 N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (-.f64 N N)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (-.f64 N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 N (-.f64 1 N))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))))))

simplify34.0ms (1.2%)

Algorithm
egg-herbie
Rules
968×fma-neg_binary64
532×unswap-sqr_binary64
331×cancel-sign-sub-inv_binary64
314×fma-def_binary64
200×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018168
142144
266144
3162144
4579144
51593144
63509144
Stop Event
node limit
Counts
138 → 119
Calls
Call 1
Inputs
1
1
1
1
1
1
1
1
1
1
1
1
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
Outputs
1
1
1
1
1
1
1
1
1
1
1
1
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (+.f64 1 N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

prune83.0ms (2.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1181119
Fresh303
Picked101
Done000
Total1221123
Error
0.2b
Counts
123 → 1
Alt Table
StatusErrorProgram
0.2b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
Compiler

Compiled 2499 to 1664 computations (33.4% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 N (fma.f64 N N 1))
0.2b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

series4.0ms (0.1%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
2.0ms
N
@-inf
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
0.0ms
N
@inf
(+.f64 N (fma.f64 N N 1))
0.0ms
N
@-inf
(+.f64 N (fma.f64 N N 1))
0.0ms
N
@0
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
0.0ms
N
@0
(+.f64 N (fma.f64 N N 1))

rewrite41.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
642×pow1_binary64
596×add-log-exp_binary64
596×log1p-expm1-u_binary64
596×expm1-log1p-u_binary64
63×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0619
112219
2158619
Stop Event
node limit
Counts
2 → 51
Calls
Call 1
Inputs
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(+.f64 N (fma.f64 N N 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 N (fma.f64 N N 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 N N) (-.f64 N (fma.f64 N N 1))) (/.f64 (pow.f64 (fma.f64 N N 1) 2) (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 N (fma.f64 N N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 N (fma.f64 N N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 N (fma.f64 N N 1))) (sqrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3)) (/.f64 1 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2)) (/.f64 1 (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N))) (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 N (fma.f64 N N 1)) (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3)) (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3)) (+.f64 (pow.f64 (fma.f64 N N 1) 2) (-.f64 (*.f64 N N) (+.f64 (pow.f64 N 3) N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2)) (-.f64 N (fma.f64 N N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3))) (neg.f64 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2))) (neg.f64 (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 N N 1) 2) (*.f64 N N)) (-.f64 (fma.f64 N N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 N (fma.f64 N N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 N (fma.f64 N N 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 N N 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (cbrt.f64 N) (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N 1)) 2) (cbrt.f64 (fma.f64 N N 1)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 N N 1)) (sqrt.f64 (fma.f64 N N 1)) N)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 N (fma.f64 N N 1))))))))

simplify29.0ms (1%)

Algorithm
egg-herbie
Rules
993×fma-neg_binary64
532×unswap-sqr_binary64
330×cancel-sign-sub-inv_binary64
297×fma-def_binary64
226×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014127
135115
257115
3149115
4516115
51494115
63364115
Stop Event
node limit
Counts
67 → 62
Calls
Call 1
Inputs
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
1
(+.f64 N 1)
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(pow.f64 N 2)
(+.f64 N (pow.f64 N 2))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(pow.f64 N 2)
(+.f64 N (pow.f64 N 2))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
Outputs
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (neg.f64 N)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (neg.f64 N)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (neg.f64 N)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)))
(atan2.f64 1 (-.f64 (fma.f64 N N 1) (neg.f64 N)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
1
(+.f64 N 1)
(+.f64 1 N)
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))
(pow.f64 N 2)
(*.f64 N N)
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))
(pow.f64 N 2)
(*.f64 N N)
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))

prune43.0ms (1.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New58462
Fresh000
Picked011
Done000
Total58563
Error
0.2b
Counts
63 → 5
Alt Table
StatusErrorProgram
1.6b
(atan2.f64 1 (exp.f64 (log.f64 (+.f64 N (fma.f64 N N 1)))))
0.6b
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
0.2b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
0.8b
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2)
1.6b
(pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 3)
Compiler

Compiled 933 to 636 computations (31.8% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 N (fma.f64 N N 1))
0.2b
(pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3)
0.2b
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
12.0b
(cbrt.f64 (+.f64 N (fma.f64 N N 1)))

series7.0ms (0.2%)

Counts
3 → 20
Calls

9 calls:

TimeVariablePointExpression
2.0ms
N
@inf
(pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3)
1.0ms
N
@0
(pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3)
1.0ms
N
@-inf
(pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3)
1.0ms
N
@inf
(cbrt.f64 (+.f64 N (fma.f64 N N 1)))
1.0ms
N
@0
(cbrt.f64 (+.f64 N (fma.f64 N N 1)))

rewrite52.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
803×pow1_binary64
753×log1p-expm1-u_binary64
753×expm1-log1p-u_binary64
83×add-sqr-sqrt_binary64
78×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
119029
2207029
Stop Event
node limit
Counts
3 → 84
Calls
Call 1
Inputs
(cbrt.f64 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) (pow.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 2) (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6) (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) 1/3) (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (+.f64 N (fma.f64 N N 1))) 1/3) (pow.f64 (sqrt.f64 (+.f64 N (fma.f64 N N 1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2))) (cbrt.f64 (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3))) (cbrt.f64 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 N (fma.f64 N N 1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 N (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 N N 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 N N) (+.f64 1 N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 N (*.f64 N N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 N (fma.f64 N N 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 N N) (-.f64 N (fma.f64 N N 1))) (/.f64 (pow.f64 (fma.f64 N N 1) 2) (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 N (fma.f64 N N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 N (fma.f64 N N 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 N (fma.f64 N N 1))) (sqrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6) (*.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6) (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3)) (/.f64 1 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2)) (/.f64 1 (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 2) 3) (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6) 3) (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) 1) (cbrt.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))) 2)) (cbrt.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 2) (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6)) (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N))) (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 N (fma.f64 N N 1)) (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3)) (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3)) (+.f64 (pow.f64 (fma.f64 N N 1) 2) (-.f64 (*.f64 N N) (+.f64 (pow.f64 N 3) N))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2)) (-.f64 N (fma.f64 N N 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 N 3) (pow.f64 (fma.f64 N N 1) 3))) (neg.f64 (fma.f64 N N (*.f64 (fma.f64 N N 1) (-.f64 (fma.f64 N N 1) N)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 N N) (pow.f64 (fma.f64 N N 1) 2))) (neg.f64 (-.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 N N 1) 2) (*.f64 N N)) (-.f64 (fma.f64 N N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 N (fma.f64 N N 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 N N 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (cbrt.f64 N) (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 N N 1)) 2) (cbrt.f64 (fma.f64 N N 1)) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (fma.f64 N N 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 N N 1)) (sqrt.f64 (fma.f64 N N 1)) N)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 N (fma.f64 N N 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 N (fma.f64 N N 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 N (fma.f64 N N 1))))))))

simplify29.0ms (1%)

Algorithm
egg-herbie
Rules
393×fma-def_binary64
373×associate-*l*_binary64
343×unswap-sqr_binary64
271×fma-neg_binary64
244×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033252
195190
2218190
3634184
42493184
Stop Event
node limit
Counts
104 → 98
Calls
Call 1
Inputs
1
(+.f64 (*.f64 1/3 N) 1)
(+.f64 (*.f64 1/3 N) (+.f64 (*.f64 2/9 (pow.f64 N 2)) 1))
(+.f64 (*.f64 1/3 N) (+.f64 (*.f64 2/9 (pow.f64 N 2)) (+.f64 1 (*.f64 -13/81 (pow.f64 N 3)))))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
1
(+.f64 N 1)
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
Outputs
1
(+.f64 (*.f64 1/3 N) 1)
(fma.f64 1/3 N 1)
(+.f64 (*.f64 1/3 N) (+.f64 (*.f64 2/9 (pow.f64 N 2)) 1))
(fma.f64 1/3 N (fma.f64 2/9 (*.f64 N N) 1))
(fma.f64 1/3 N (fma.f64 N (*.f64 N 2/9) 1))
(fma.f64 N (fma.f64 N 2/9 1/3) 1)
(+.f64 (*.f64 1/3 N) (+.f64 (*.f64 2/9 (pow.f64 N 2)) (+.f64 1 (*.f64 -13/81 (pow.f64 N 3)))))
(fma.f64 1/3 N (+.f64 (fma.f64 2/9 (*.f64 N N) 1) (*.f64 -13/81 (pow.f64 N 3))))
(fma.f64 1/3 N (fma.f64 2/9 (*.f64 N N) (fma.f64 -13/81 (pow.f64 N 3) 1)))
(fma.f64 1/3 N (fma.f64 N (*.f64 N 2/9) (fma.f64 -13/81 (pow.f64 N 3) 1)))
(fma.f64 1/3 N (fma.f64 (*.f64 N N) (fma.f64 N -13/81 2/9) 1))
(fma.f64 (*.f64 N N) (fma.f64 N -13/81 2/9) (fma.f64 1/3 N 1))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (pow.f64 (pow.f64 (-.f64 (fma.f64 N N 1) (*.f64 -1 N)) 1/3) 3))
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
1
(+.f64 N 1)
(+.f64 1 N)
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))
(+.f64 N (+.f64 1 (pow.f64 N 2)))
(+.f64 N (fma.f64 N N 1))
(+.f64 1 (fma.f64 N N N))

prune113.0ms (4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1410141
Fresh033
Picked011
Done011
Total1415146
Error
0.2b
Counts
146 → 5
Alt Table
StatusErrorProgram
1.6b
(atan2.f64 1 (exp.f64 (log.f64 (+.f64 N (fma.f64 N N 1)))))
0.6b
(atan2.f64 1 (pow.f64 (cbrt.f64 (+.f64 N (fma.f64 N N 1))) 3))
0.2b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
0.8b
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 2)
1.6b
(pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 3)
Compiler

Compiled 2301 to 1638 computations (28.8% saved)

regimes52.0ms (1.8%)

Accuracy

Total 0.0b remaining (6.9%)

Threshold costs 0.0b (6.9%)

Counts
49 → 1
Compiler

Compiled 568 to 393 computations (30.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
1911
Stop Event
saturated
Calls
Call 1
Inputs
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
Outputs
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

end77.0ms (2.7%)

Stop Event
fuel
Compiler

Compiled 74 to 53 computations (28.4% saved)

Profiling

Loading profile data...