Details

Time bar (total: 3.2s)

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 (63.6%)

Results
946.0ms2153×body2048valid
468.0ms4277×body128valid
382.0ms1048×body1024valid
159.0ms525×body512valid
63.0ms253×body256valid

preprocess30.0ms (0.9%)

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)

simplify11.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))

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
1.6b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series1.0ms (0%)

Counts
1 → 4
Calls

3 calls:

TimeVariablePointExpression
0.0ms
N
@-inf
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
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))

rewrite52.0ms (1.6%)

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
0711
115611
2220211
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
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 expm1.f64 (log1p.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 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))))))))

simplify15.0ms (0.5%)

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
0952
12044
23144
36144
48844
513444
618244
721644
825744
929344
1031944
1132144
Stop Event
saturated
Counts
42 → 40
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))
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))

prune60.0ms (1.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441
Error
13.2b
Counts
41 → 4
Alt Table
StatusErrorProgram
29.1b
(fma.f64 (pow.f64 (cbrt.f64 (atan.f64 (+.f64 N 1))) 2) (cbrt.f64 (atan.f64 (+.f64 N 1))) (neg.f64 (atan.f64 N)))
45.4b
(+.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)))
15.0b
(/.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))))
13.4b
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
Compiler

Compiled 785 to 520 computations (33.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series4.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
N
@-inf
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 1))))
1.0ms
N
@-inf
(*.f64 N (+.f64 N 1))
1.0ms
N
@inf
(*.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
(*.f64 N (+.f64 N 1))

rewrite63.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
0933
121029
2305929
Stop Event
node limit
Counts
3 → 162
Calls
Call 1
Inputs
(+.f64 N (-.f64 1 N))
(atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (*.f64 N (+.f64 N 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 expm1.f64 (log1p.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 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 -.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 expm1.f64 (log1p.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 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 +.f64 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 N N) 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 N N N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 N N) 3) (pow.f64 N 3)) (fma.f64 (*.f64 N N) (*.f64 N N) (-.f64 (*.f64 N N) (pow.f64 N 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 N N) (*.f64 N N)) (*.f64 N N)) (-.f64 (*.f64 N N) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 N 3)) N) (-.f64 (fma.f64 N N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 N N -1) N) (+.f64 N -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 N (+.f64 1 (pow.f64 N 3))) (-.f64 (fma.f64 N N 1) N))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 N (fma.f64 N N -1)) (+.f64 N -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 N N N) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 N N N)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 N (sqrt.f64 N)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 N) (exp.f64 (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (exp.f64 (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 N N)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 N N N) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N N N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 N 1 (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (fma.f64 N N N)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (fma.f64 N N N)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N N) 1 N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 N) (pow.f64 (cbrt.f64 N) 2) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (cbrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) 1) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 N) 2) (*.f64 (cbrt.f64 N) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 N (hypot.f64 1 (sqrt.f64 N))) (hypot.f64 N (hypot.f64 1 (sqrt.f64 N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (sqrt.f64 N) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) 1) (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 N) (*.f64 (sqrt.f64 N) N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 3)) (/.f64 1 (fma.f64 (fma.f64 N N N) (-.f64 (fma.f64 N N N) 1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (fma.f64 N N N) 2)) (/.f64 1 (-.f64 1 (fma.f64 N N N))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N (sqrt.f64 N)) (sqrt.f64 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 (cbrt.f64 N) 2) (pow.f64 (cbrt.f64 N) 2)) (pow.f64 (cbrt.f64 N) 2) N)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 N (pow.f64 (cbrt.f64 N) 2)) (cbrt.f64 N) N)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 N N N)))))))

simplify34.0ms (1.1%)

Algorithm
egg-herbie
Rules
968×fma-neg_binary64
532×unswap-sqr_binary64
334×cancel-sign-sub-inv_binary64
329×fma-def_binary64
192×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019240
144198
267198
3163198
4578198
51574198
63510198
Stop Event
node limit
Counts
198 → 171
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)))))
N
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
(pow.f64 N 2)
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
(pow.f64 N 2)
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
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)))
N
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(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 (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(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 (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)
(+.f64 N (pow.f64 N 2))
(+.f64 N (*.f64 N N))
(fma.f64 N N N)

prune197.0ms (6.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1683171
Fresh213
Picked101
Done000
Total1714175
Error
0.5b
Counts
175 → 4
Alt Table
StatusErrorProgram
13.4b
(cbrt.f64 (pow.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N))) 3))
15.0b
(/.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))))
13.5b
(exp.f64 (log.f64 (atan2.f64 (+.f64 N (-.f64 1 N)) (+.f64 1 (fma.f64 N N N)))))
0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
Compiler

Compiled 3525 to 2277 computations (35.4% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series1.0ms (0%)

Counts
1 → 8
Calls

3 calls:

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

rewrite36.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
798×pow1_binary64
742×log1p-expm1-u_binary64
742×expm1-log1p-u_binary64
78×add-sqr-sqrt_binary64
76×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify27.0ms (0.8%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
014104
13388
25488
315188
457088
5158888
6350388
Stop Event
node limit
Counts
26 → 21
Calls
Call 1
Inputs
(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
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 N (+.f64 1 (pow.f64 N 2))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))
(atan2.f64 1 (+.f64 1 (*.f64 N (-.f64 1 (*.f64 -1 N)))))
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (fma.f64 N N (-.f64 N -1)))

prune145.0ms (4.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New67673
Fresh303
Picked011
Done000
Total70777
Error
0.5b
Counts
77 → 7
Alt Table
StatusErrorProgram
0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
8.6b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))
20.3b
(atan2.f64 1 (+.f64 1 (/.f64 (*.f64 N (+.f64 1 (pow.f64 N 3))) (-.f64 (fma.f64 N N 1) N))))
0.8b
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
20.3b
(atan2.f64 1 (+.f64 1 (fma.f64 (-.f64 1 (pow.f64 (fma.f64 N N N) 2)) (/.f64 1 (-.f64 1 (fma.f64 N N N))) -1)))
1.1b
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)
1.9b
(*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))
Compiler

Compiled 1174 to 748 computations (36.3% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2)
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
2.8b
(fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)
13.2b
(cbrt.f64 (+.f64 1 (fma.f64 N N N)))

series11.0ms (0.4%)

Counts
4 → 26
Calls

12 calls:

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

rewrite55.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
406×prod-diff_binary64
347×fma-def_binary64
194×expm1-udef_binary64
194×log1p-udef_binary64
169×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251
124745
2291338
Stop Event
node limit
Counts
4 → 97
Calls
Call 1
Inputs
(cbrt.f64 (+.f64 1 (fma.f64 N N N)))
(fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))) (cbrt.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 1/6) (pow.f64 (+.f64 1 (fma.f64 N N N)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 4))) (sqrt.f64 (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) 1/3) (pow.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (+.f64 1 (pow.f64 (fma.f64 N N N) 3))) (cbrt.f64 (fma.f64 (fma.f64 N N N) (+.f64 (fma.f64 N N N) -1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (-.f64 1 (pow.f64 (fma.f64 N N N) 2))) (cbrt.f64 (-.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (fma.f64 N N N)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/3 (log1p.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (fma.f64 N N N)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (fma.f64 N N N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (fma.f64 N N N) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 N (*.f64 N N))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 N N N) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (fma.f64 N N N)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 N N) N)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 N N) 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 N N N)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 N N N))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 N (+.f64 N 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 N N N) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 N N N)) (pow.f64 (cbrt.f64 (fma.f64 N N N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 N N N)) 2) (cbrt.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 N (sqrt.f64 N)) (hypot.f64 N (sqrt.f64 N)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) 1) (-.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 N 1) N)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 2) (-.f64 1 (*.f64 (+.f64 1 (fma.f64 N N N)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 N N) 3) (pow.f64 N 3)) (fma.f64 (*.f64 N N) (*.f64 N N) (-.f64 (*.f64 N N) (pow.f64 N 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 N N N)))) (-.f64 (+.f64 1 (fma.f64 N N N)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 N N) (*.f64 N N)) (*.f64 N N)) (-.f64 (*.f64 N N) N))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 N N N) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 N N N)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 N (sqrt.f64 N)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 N N N) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 N N N) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 N) (exp.f64 (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 N)) (exp.f64 (*.f64 N N))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 N N)) (+.f64 1 (expm1.f64 N))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 N N N) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 N N N)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 N N N)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 N N N)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) (cbrt.f64 (+.f64 1 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))) (cbrt.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))) (*.f64 (cbrt.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 4)) (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (hypot.f64 N (sqrt.f64 N))) (pow.f64 (+.f64 1 (fma.f64 N N N)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 1/6) (*.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 1/6) (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) (cbrt.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))))) (cbrt.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (*.f64 2/3 (log1p.f64 (fma.f64 N N N))))))))))

simplify35.0ms (1.1%)

Algorithm
egg-herbie
Rules
650×unswap-sqr_binary64
465×fma-def_binary64
297×*-commutative_binary64
277×associate-*l*_binary64
271×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040482
1102262
2241224
3724212
42171212
54878212
Stop Event
node limit
Counts
123 → 116
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)))))
N
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
(+.f64 N (pow.f64 N 2))
-1
-1
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
1
(+.f64 (*.f64 2/3 N) 1)
(+.f64 (*.f64 2/3 N) (+.f64 1 (*.f64 5/9 (pow.f64 N 2))))
(+.f64 (*.f64 2/3 N) (+.f64 1 (+.f64 (*.f64 -14/81 (pow.f64 N 3)) (*.f64 5/9 (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 2/9 (*.f64 N N) (fma.f64 1/3 N 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 N (fma.f64 N 2/9 1/3) (fma.f64 -13/81 (pow.f64 N 3) 1))
N
(+.f64 N (pow.f64 N 2))
(fma.f64 N N N)
(+.f64 N (pow.f64 N 2))
(fma.f64 N N N)
(+.f64 N (pow.f64 N 2))
(fma.f64 N N N)
-1
-1
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
(atan2.f64 1 (+.f64 (fma.f64 (pow.f64 (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) 2) (pow.f64 (+.f64 (fma.f64 N N N) 1) 1/3) -1) 1))
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
(atan2.f64 1 (+.f64 (+.f64 1 (fma.f64 N N N)) 0))
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
1
(+.f64 (*.f64 2/3 N) 1)
(fma.f64 2/3 N 1)
(fma.f64 N 2/3 1)
(+.f64 (*.f64 2/3 N) (+.f64 1 (*.f64 5/9 (pow.f64 N 2))))
(+.f64 (fma.f64 2/3 N 1) (*.f64 (*.f64 N N) 5/9))
(fma.f64 N 2/3 (fma.f64 (*.f64 N N) 5/9 1))
(fma.f64 N 2/3 (fma.f64 N (*.f64 N 5/9) 1))
(fma.f64 N (fma.f64 N 5/9 2/3) 1)
(+.f64 (*.f64 2/3 N) (+.f64 1 (+.f64 (*.f64 -14/81 (pow.f64 N 3)) (*.f64 5/9 (pow.f64 N 2)))))
(+.f64 (fma.f64 2/3 N 1) (fma.f64 -14/81 (pow.f64 N 3) (*.f64 (*.f64 N N) 5/9)))
(+.f64 (fma.f64 N 2/3 (fma.f64 (*.f64 N N) 5/9 1)) (*.f64 (pow.f64 N 3) -14/81))
(fma.f64 N 2/3 (fma.f64 N (*.f64 N 5/9) (fma.f64 (pow.f64 N 3) -14/81 1)))
(fma.f64 N (fma.f64 N 5/9 2/3) (fma.f64 (pow.f64 N 3) -14/81 1))
(fma.f64 N 2/3 (fma.f64 (*.f64 N N) (fma.f64 N -14/81 5/9) 1))

prune214.0ms (6.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1480148
Fresh055
Picked011
Done011
Total1487155
Error
0.5b
Counts
155 → 7
Alt Table
StatusErrorProgram
0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
8.6b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))
20.3b
(atan2.f64 1 (+.f64 1 (/.f64 (*.f64 N (+.f64 1 (pow.f64 N 3))) (-.f64 (fma.f64 N N 1) N))))
0.8b
(atan2.f64 1 (+.f64 1 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 N N N))) 2) (cbrt.f64 (+.f64 1 (fma.f64 N N N))) -1)))
20.3b
(atan2.f64 1 (+.f64 1 (fma.f64 (-.f64 1 (pow.f64 (fma.f64 N N N) 2)) (/.f64 1 (-.f64 1 (fma.f64 N N N))) -1)))
1.1b
(pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2)
1.9b
(*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2))
Compiler

Compiled 3182 to 2057 computations (35.4% saved)

regimes40.0ms (1.3%)

Accuracy

Total -26.7b remaining (-7683%)

Threshold costs -26.7b (-7683%)

Counts
38 → 1
Compiler

Compiled 599 to 389 computations (35.1% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11417
Stop Event
saturated
Calls
Call 1
Inputs
(atan2.f64 1 (+.f64 1 (+.f64 1 (+.f64 (fma.f64 N N N) -1))))
Outputs
(atan2.f64 1 (+.f64 1 (+.f64 1 (+.f64 (fma.f64 N N N) -1))))

end98.0ms (3.1%)

Stop Event
fuel
Compiler

Compiled 140 to 95 computations (32.1% saved)

Profiling

Loading profile data...