Details

Time bar (total: 10.4s)

analyze149.0ms (1.4%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
50%50%50%0.1%0%0%0%5
50%50%50%0.1%0%0%0%6
57.1%50%37.5%0.1%12.5%0%0%7
57.1%50%37.5%0.1%12.5%0%0%8
61.5%50%31.2%0.1%18.7%0%0%9
61.5%50%31.2%0.1%18.7%0%0%10
64%50%28.1%0.1%21.9%0%0%11
64%50%28.1%0.1%21.9%0%0%12
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample6.1s (58.7%)

Results
2.4s2063×body1024valid
1.3s5149×body256valid
904.0ms2003×body1024infinite
725.0ms1006×body512infinite
379.0ms1475×body256infinite
329.0ms1036×body512valid
7.0msbody2048valid
1.0msbody2048infinite
Bogosity

preprocess15.0ms (0.1%)

Algorithm
egg-herbie
Rules
28×rational_best-simplify-2
rational_best-simplify-44
rational_best-simplify-1
exponential-simplify-2
rational_best-simplify-11
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02070
13770
24770
35570
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (*.f64 1/2 (cos.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)) (cos.f64 im)))
Compiler

Compiled 15 to 12 computations (20% saved)

simplify13.0ms (0.1%)

Algorithm
egg-herbie
Rules
14×rational_best-simplify-2
rational_best-simplify-44
rational_best-simplify-1
exponential-simplify-2
rational_best-simplify-11
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01335
12335
22835
33235
Stop Event
saturated
Counts
1 → 3
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))

eval85.0ms (0.8%)

Compiler

Compiled 35 to 16 computations (54.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New213
Fresh011
Picked000
Done000
Total224
Error
0.0b
Counts
4 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 13 to 10 computations (23.1% saved)

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 35 to 13 computations (62.9% saved)

series5.0ms (0%)

Counts
2 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
im
@inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
re
@inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
re
@0
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
re
@-inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0ms
im
@-inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite223.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
1274×rational_best-simplify-57
724×rational_best-simplify-47
708×rational_best-5
708×rational_best-2
708×rational_best-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01354
111354
237854
3161854
4634054
Stop Event
node limit
Counts
2 → 40
Calls
Call 1
Inputs
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (exp.f64 (+.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (exp.f64 (+.f64 im (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (/.f64 (exp.f64 im) (exp.f64 im)) (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (+.f64 im im))) (exp.f64 (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2) 1/2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)) (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) -2))))))

simplify165.0ms (1.6%)

Algorithm
egg-herbie
Rules
1116×rational_best-simplify-2
886×rational_best-simplify-78
782×rational_best-simplify-49
726×rational_best-simplify-50
722×rational_best-simplify-80
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01462534
13112510
211242510
325002510
449302510
Stop Event
node limit
Counts
76 → 95
Calls
Call 1
Inputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(-.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 0)
(-.f64 0 (neg.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (/.f64 (exp.f64 im) (exp.f64 im)) (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2))
(*.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) 2)
(*.f64 (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (+.f64 1 (exp.f64 (+.f64 im im))) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(*.f64 (/.f64 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2) 1/2) 1/4)
(*.f64 (/.f64 (/.f64 1 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (/.f64 2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)) (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)))
(/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)
(/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2) 2)
(pow.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)
(neg.f64 (neg.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 0)
(+.f64 0 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))))
(-.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 0)
(-.f64 0 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) -2))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) 2)
(pow.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)
(neg.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) -2))
Outputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (+.f64 2 (pow.f64 im 2)))
(+.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/12 (pow.f64 im 4)))
(+.f64 (pow.f64 im 2) (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 im 6)) (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
(+.f64 (pow.f64 im 2) (+.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))) 2))
(+.f64 (pow.f64 im 2) (+.f64 2 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/360 (pow.f64 im 6)) (+.f64 2 (*.f64 1/12 (pow.f64 im 4)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (*.f64 (pow.f64 re 2) (*.f64 -1/4 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 (pow.f64 re 2) (*.f64 -1/4 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (*.f64 (pow.f64 re 2) (*.f64 -1/4 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/48 (pow.f64 re 4)))))
(+.f64 (*.f64 (pow.f64 re 2) (*.f64 -1/4 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/48 (pow.f64 re 4))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/48 (pow.f64 re 4))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))
(+.f64 (+.f64 (*.f64 (pow.f64 re 2) (*.f64 -1/4 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(+.f64 (+.f64 (*.f64 (pow.f64 re 2) (*.f64 -1/4 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/48 (pow.f64 re 4))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 -1/1440 (pow.f64 re 6)))))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/48 (pow.f64 re 4))) (+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 -1/1440 (pow.f64 re 6))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))) (+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 4) (*.f64 1/24 (cos.f64 re))) (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))) (*.f64 (pow.f64 im 4) (*.f64 (cos.f64 re) 1/24))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(+.f64 (+.f64 (*.f64 (cos.f64 re) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (cos.f64 re) (*.f64 1/720 (pow.f64 im 6)))) (+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re)))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))) (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 6) 1/720) (*.f64 (pow.f64 im 4) 1/24)))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))) (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 4) 1/24) (*.f64 (pow.f64 im 6) 1/720)))))
(+.f64 (+.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))) (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 4) 1/24) (*.f64 (pow.f64 im 6) 1/720))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(-.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 0)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(-.f64 0 (neg.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (/.f64 (exp.f64 im) (exp.f64 im)) (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (/.f64 (exp.f64 im) (exp.f64 im))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (*.f64 im -2))))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) 2)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 1 (exp.f64 (+.f64 im im))) (exp.f64 (neg.f64 im)))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (/.f64 (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2) 1/2) 1/4)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (/.f64 1 (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 2 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)) (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)))
(*.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (/.f64 2 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (/.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 2) 2)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(pow.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(neg.f64 (neg.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 0)
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(+.f64 0 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(-.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 0)
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(-.f64 0 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) -2))
(neg.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) -2))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re))))
(/.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (/.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 (/.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (/.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re))) (/.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) 2)
(/.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) 2)
(pow.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 1)
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 1/2 (cos.f64 re)))
(neg.f64 (/.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)) -2))
(neg.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) -2))

eval24.0ms (0.2%)

Compiler

Compiled 2049 to 822 computations (59.9% saved)

prune17.0ms (0.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New89695
Fresh000
Picked011
Done000
Total89796
Error
0b
Counts
96 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.7b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.5b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
28.2b
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
1.4b
(cos.f64 re)
Compiler

Compiled 159 to 126 computations (20.8% saved)

localize21.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
0.0b
(+.f64 1 (exp.f64 (*.f64 im -2)))
0.0b
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
Compiler

Compiled 51 to 34 computations (33.3% saved)

series7.0ms (0.1%)

Counts
3 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
re
@inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
1.0ms
im
@0
(+.f64 1 (exp.f64 (*.f64 im -2)))
1.0ms
re
@0
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
1.0ms
re
@-inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
1.0ms
im
@inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))

rewrite121.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
824×rational_best-5
824×rational_best-2
824×rational_best-3
824×rational_best-1
822×rational_best-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01687
113287
242187
3187387
4724587
Stop Event
node limit
Counts
3 → 40
Calls
Call 1
Inputs
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1/2) (*.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) (/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (*.f64 im -2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 -1 (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (+.f64 1 (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 1 (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (*.f64 im -2)) 2) -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (exp.f64 (*.f64 im -2)) 2) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 -1 (exp.f64 (*.f64 im -2))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) -2))))))

simplify290.0ms (2.8%)

Algorithm
egg-herbie
Rules
1068×rational_best-simplify-2
996×rational_best-simplify-43
802×rational_best-simplify-78
680×rational_best-simplify-49
666×rational_best-simplify-50
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01593108
13522948
211462942
324692886
448332874
Stop Event
node limit
Counts
88 → 108
Calls
Call 1
Inputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
2
(+.f64 (*.f64 -2 im) 2)
(+.f64 (*.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -2 im) 2))
(+.f64 (*.f64 -4/3 (pow.f64 im 3)) (+.f64 (*.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -2 im) 2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1)))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 2)))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 4)))) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 2))))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 4)))) (+.f64 (*.f64 -1/1440 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 6)))) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 2)))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(cos.f64 re)
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) im)))
(+.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (cos.f64 re) (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))) (pow.f64 im 2))) (*.f64 1/2 (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) im))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (cos.f64 re) (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) im)) (*.f64 1/2 (*.f64 (+.f64 (*.f64 -4/3 (cos.f64 re)) (+.f64 (*.f64 1/3 (cos.f64 re)) (+.f64 (*.f64 -1 (cos.f64 re)) (*.f64 2 (cos.f64 re))))) (pow.f64 im 3))))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 0)
(+.f64 0 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 (*.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1/2) (*.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1/2))
(-.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 0)
(-.f64 0 (neg.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1)
(/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) (/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) 2)) 2)
(pow.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1)
(neg.f64 (neg.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(-.f64 (exp.f64 (*.f64 im -2)) -1)
(-.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 0)
(-.f64 0 (-.f64 -1 (exp.f64 (*.f64 im -2))))
(*.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))))
(*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (/.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (/.f64 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(*.f64 (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)
(/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(/.f64 (-.f64 (*.f64 (exp.f64 (*.f64 im -2)) 2) -2) 2)
(/.f64 (+.f64 (*.f64 (exp.f64 (*.f64 im -2)) 2) 2) 2)
(pow.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)
(neg.f64 (-.f64 -1 (exp.f64 (*.f64 im -2))))
(+.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 0)
(+.f64 0 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))))
(-.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 0)
(-.f64 0 (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) -2))
(/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 1)
(/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re)))))
(/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) 2)
(pow.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 1)
(neg.f64 (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) -2))
Outputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (+.f64 2 (pow.f64 im 2)))
(+.f64 (pow.f64 im 2) (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(+.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/12 (pow.f64 im 4)))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 im 6)) (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
(+.f64 2 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (+.f64 (*.f64 1/360 (pow.f64 im 6)) (pow.f64 im 2))))
(+.f64 2 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (+.f64 (pow.f64 im 2) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/360 (pow.f64 im 6)) (+.f64 2 (*.f64 1/12 (pow.f64 im 4)))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
2
(+.f64 (*.f64 -2 im) 2)
(+.f64 2 (*.f64 im -2))
(+.f64 (*.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -2 im) 2))
(+.f64 2 (+.f64 (*.f64 im -2) (*.f64 2 (pow.f64 im 2))))
(+.f64 (*.f64 -4/3 (pow.f64 im 3)) (+.f64 (*.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -2 im) 2)))
(+.f64 (+.f64 2 (*.f64 im -2)) (+.f64 (*.f64 2 (pow.f64 im 2)) (*.f64 -4/3 (pow.f64 im 3))))
(+.f64 (*.f64 2 (pow.f64 im 2)) (+.f64 (+.f64 2 (*.f64 im -2)) (*.f64 -4/3 (pow.f64 im 3))))
(+.f64 2 (+.f64 (*.f64 im -2) (+.f64 (*.f64 2 (pow.f64 im 2)) (*.f64 -4/3 (pow.f64 im 3)))))
(+.f64 (*.f64 im -2) (+.f64 2 (+.f64 (*.f64 2 (pow.f64 im 2)) (*.f64 -4/3 (pow.f64 im 3)))))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (exp.f64 (*.f64 -2 im)) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1)))
(*.f64 (exp.f64 im) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 2)))))
(+.f64 (*.f64 (exp.f64 im) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (exp.f64 im) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2)))))))
(*.f64 (exp.f64 im) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (+.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/4 (pow.f64 re 2))) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 4)))) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 2))))))
(+.f64 (*.f64 (exp.f64 im) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 (*.f64 (exp.f64 im) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2)))))) (*.f64 1/48 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (pow.f64 re 4))))))
(+.f64 (*.f64 (exp.f64 im) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (exp.f64 im) (+.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/48 (pow.f64 re 4))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2))))))))
(+.f64 (*.f64 (exp.f64 im) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/4 (pow.f64 re 2))))))
(+.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/4 (pow.f64 re 2)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))) (+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 4)))) (+.f64 (*.f64 -1/1440 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 6)))) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 (+.f64 (exp.f64 (*.f64 -2 im)) 1) (pow.f64 re 2)))))))
(+.f64 (+.f64 (*.f64 (exp.f64 im) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2)))))) (*.f64 -1/1440 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (pow.f64 re 6))))) (+.f64 (*.f64 1/48 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (pow.f64 re 4)))) (*.f64 (exp.f64 im) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/1440 (pow.f64 re 6))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2))))))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/48 (pow.f64 re 4))))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))))) (*.f64 (exp.f64 im) (+.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/1440 (pow.f64 re 6))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/48 (pow.f64 re 4))))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/4 (pow.f64 re 2))) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))))) (*.f64 (exp.f64 im) (+.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 -1/1440 (pow.f64 re 6))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 1 (exp.f64 (*.f64 im -2))))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(cos.f64 re)
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) im)))
(+.f64 (cos.f64 re) (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) (*.f64 1/2 im)))
(+.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) 0) (*.f64 im 1/2)))
(+.f64 (cos.f64 re) (*.f64 im 0))
(+.f64 (cos.f64 re) (-.f64 im im))
(+.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (cos.f64 re) (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))) (pow.f64 im 2))) (*.f64 1/2 (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) im))))
(+.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (*.f64 im (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))) (*.f64 (pow.f64 im 2) (+.f64 (cos.f64 re) (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (*.f64 im (*.f64 (cos.f64 re) 0)) (*.f64 (pow.f64 im 2) (+.f64 (cos.f64 re) (*.f64 (cos.f64 re) 0))))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 im 0) (*.f64 (pow.f64 im 2) (*.f64 1/2 (+.f64 (cos.f64 re) 0)))))
(+.f64 (+.f64 (cos.f64 re) (-.f64 im im)) (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (cos.f64 re) (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re))) im)) (*.f64 1/2 (*.f64 (+.f64 (*.f64 -4/3 (cos.f64 re)) (+.f64 (*.f64 1/3 (cos.f64 re)) (+.f64 (*.f64 -1 (cos.f64 re)) (*.f64 2 (cos.f64 re))))) (pow.f64 im 3))))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (+.f64 (*.f64 -4/3 (cos.f64 re)) (+.f64 (*.f64 2 (cos.f64 re)) (+.f64 (*.f64 (cos.f64 re) -1) (*.f64 (cos.f64 re) 1/3)))) (*.f64 1/2 (pow.f64 im 3))) (*.f64 1/2 (+.f64 (*.f64 im (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))) (*.f64 (pow.f64 im 2) (+.f64 (cos.f64 re) (+.f64 (*.f64 -2 (cos.f64 re)) (*.f64 2 (cos.f64 re)))))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (*.f64 (pow.f64 im 2) (+.f64 (cos.f64 re) (*.f64 (cos.f64 re) 0))) (+.f64 (*.f64 im (*.f64 (cos.f64 re) 0)) (*.f64 (pow.f64 im 3) (+.f64 (neg.f64 (cos.f64 re)) (*.f64 (cos.f64 re) 1)))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (*.f64 (pow.f64 im 3) (+.f64 (cos.f64 re) (neg.f64 (cos.f64 re)))) (+.f64 (*.f64 im (*.f64 (cos.f64 re) 0)) (*.f64 (pow.f64 im 2) (+.f64 (cos.f64 re) (*.f64 (cos.f64 re) 0)))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (*.f64 (pow.f64 im 2) (+.f64 (cos.f64 re) 0)) (+.f64 (*.f64 im 0) (*.f64 (pow.f64 im 3) (+.f64 (cos.f64 re) (neg.f64 (cos.f64 re))))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (-.f64 im im) (+.f64 (*.f64 (pow.f64 im 2) (cos.f64 re)) (*.f64 (pow.f64 im 3) (+.f64 (cos.f64 re) (neg.f64 (cos.f64 re))))))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (+.f64 (exp.f64 (*.f64 -2 im)) 1))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 0)
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(+.f64 0 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(+.f64 (*.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1/2) (*.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1/2))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(-.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 0)
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(-.f64 0 (neg.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1)
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) (/.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) 2)) 2)
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(pow.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))) 1)
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(neg.f64 (neg.f64 (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(-.f64 (exp.f64 (*.f64 im -2)) -1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(-.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 0)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(-.f64 0 (-.f64 -1 (exp.f64 (*.f64 im -2))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (+.f64 1 (exp.f64 (*.f64 im -2))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 1 (exp.f64 (*.f64 im -2))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (/.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))) (*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2))))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (/.f64 (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(*.f64 (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 im -2))))) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (/.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(/.f64 (-.f64 (*.f64 (exp.f64 (*.f64 im -2)) 2) -2) 2)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(/.f64 (+.f64 (*.f64 (exp.f64 (*.f64 im -2)) 2) 2) 2)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(pow.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) 1)
(+.f64 1 (exp.f64 (*.f64 im -2)))
(neg.f64 (-.f64 -1 (exp.f64 (*.f64 im -2))))
(+.f64 1 (exp.f64 (*.f64 im -2)))
(+.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 0)
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(+.f64 0 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))))
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(-.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 0)
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(-.f64 0 (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) -2))
(neg.f64 (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) -2))
(/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 1)
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re)))))
(/.f64 (*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re)))) (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re)))))
(*.f64 (/.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re)))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (exp.f64 (*.f64 im -2)))) (*.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) (exp.f64 im))))
(*.f64 (*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2)))))) (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re)))))
(*.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re)))))
(/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) 2)
(/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) 2)
(pow.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re)))) 1)
(*.f64 1/2 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 1 (exp.f64 (*.f64 im -2))))))
(*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 1/2 (cos.f64 re))))
(neg.f64 (/.f64 (*.f64 (exp.f64 im) (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (cos.f64 re))) -2))
(neg.f64 (/.f64 (*.f64 (+.f64 1 (exp.f64 (*.f64 im -2))) (*.f64 (exp.f64 im) (cos.f64 re))) -2))

localize3.0ms (0%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Compiler

Compiled 25 to 9 computations (64% saved)

series0.0ms (0%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
0.0ms
im
@0
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
0.0ms
im
@inf
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
0.0ms
im
@-inf
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))

rewrite82.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
2006×rational_best-2
2006×rational_best-1
2004×rational_best-5
2002×rational_best-4
2002×rational_best-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
17219
224719
398519
4415519
Stop Event
node limit
Counts
1 → 31
Calls
Call 1
Inputs
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (/.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (/.f64 (exp.f64 im) (exp.f64 im)) (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 im) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (*.f64 1 (+.f64 1 (exp.f64 (+.f64 im im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (exp.f64 (+.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (+.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (exp.f64 (+.f64 im (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (+.f64 im im))) (exp.f64 (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)))))

simplify224.0ms (2.2%)

Algorithm
egg-herbie
Rules
1318×rational_best-simplify-80
1240×rational_best-simplify-78
1190×rational_best-simplify-94
1178×rational_best-simplify-24
1062×rational_best-simplify-135
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0941031
11701027
26361027
334231027
470931027
Stop Event
node limit
Counts
39 → 41
Calls
Call 1
Inputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(-.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 0)
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (/.f64 (exp.f64 im) (exp.f64 im))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (/.f64 (exp.f64 im) (exp.f64 im)) (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (*.f64 1 (+.f64 1 (exp.f64 (+.f64 im im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(*.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(*.f64 (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(*.f64 (+.f64 1 (exp.f64 (+.f64 im im))) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(*.f64 (/.f64 (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(*.f64 (/.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (/.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)
(/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(/.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 2) 2)
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)
Outputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 (pow.f64 im 2) (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(-.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 0)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) 1))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (/.f64 (exp.f64 im) (exp.f64 im))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) 1))
(*.f64 (exp.f64 im) (+.f64 (/.f64 (exp.f64 im) (exp.f64 im)) (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (/.f64 (exp.f64 im) (exp.f64 im))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (*.f64 im -2))))
(*.f64 (exp.f64 im) (+.f64 (exp.f64 (*.f64 im -2)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (*.f64 1 (+.f64 1 (exp.f64 (+.f64 im im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (/.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im im)) (exp.f64 (+.f64 im (neg.f64 im)))))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 (exp.f64 (+.f64 im (neg.f64 im))) (exp.f64 (+.f64 im im))))
(*.f64 (exp.f64 (neg.f64 im)) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (+.f64 1 (exp.f64 (+.f64 im im))) (exp.f64 (neg.f64 im)))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 (+.f64 im im))))
(*.f64 (/.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(*.f64 (/.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (/.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(/.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 2) 2)
(/.f64 (*.f64 2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) 2)
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1)
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))

localize13.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
Compiler

Compiled 30 to 20 computations (33.3% saved)

series3.0ms (0%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
re
@inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
1.0ms
im
@inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.0ms
im
@-inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.0ms
re
@-inf
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.0ms
re
@0
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))

rewrite101.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
1264×rational_best-simplify-57
860×rational_best-simplify-44
726×rational_best-simplify-43
618×rational_best-5
618×rational_best-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
19929
231629
3136829
4608429
Stop Event
node limit
Counts
1 → 9
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) -2))))))

simplify168.0ms (1.6%)

Algorithm
egg-herbie
Rules
1716×rational_best-simplify-78
1572×rational_best-simplify-47
1084×rational_best-simplify-80
1072×rational_best-simplify-82
1040×rational_best-simplify-74
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0501133
1911061
21691025
33041025
46321025
52974989
65878989
77505989
Stop Event
node limit
Counts
33 → 37
Calls
Call 1
Inputs
(*.f64 1/2 (+.f64 2 (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 2))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (+.f64 (*.f64 1/48 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 4))) (*.f64 -1/4 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 2)))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (+.f64 (*.f64 1/48 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 4))) (+.f64 (*.f64 -1/4 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 2))) (*.f64 -1/1440 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 6))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 0)
(+.f64 0 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))))
(-.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 0)
(-.f64 0 (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) -2))
(/.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 1)
(/.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))))
(/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) 2)
(pow.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 1)
(neg.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) -2))
Outputs
(*.f64 1/2 (+.f64 2 (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 2))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 -1/4 (pow.f64 re 2))))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -1/4 (pow.f64 re 2)) 1/2))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (+.f64 (*.f64 1/48 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 4))) (*.f64 -1/4 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 2)))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (+.f64 (*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 -1/4 (pow.f64 re 2))) (*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/48 (pow.f64 re 4)))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -1/4 (pow.f64 re 2)) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (*.f64 1/48 (pow.f64 re 4))))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 1/2 (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/4 (pow.f64 re 2)))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (+.f64 (*.f64 1/48 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 4))) (+.f64 (*.f64 -1/4 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 2))) (*.f64 -1/1440 (*.f64 (+.f64 2 (pow.f64 im 2)) (pow.f64 re 6))))))
(+.f64 (*.f64 1/2 (+.f64 2 (pow.f64 im 2))) (+.f64 (*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/48 (pow.f64 re 4))) (+.f64 (*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 -1/4 (pow.f64 re 2))) (*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 -1/1440 (pow.f64 re 6))))))
(+.f64 (*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (*.f64 -1/4 (pow.f64 re 2)))) (*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 1/2 (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (*.f64 -1/4 (pow.f64 re 2))) (+.f64 1/2 (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 1/2 (+.f64 (*.f64 1/48 (pow.f64 re 4)) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (*.f64 -1/4 (pow.f64 re 2))))))
(*.f64 (+.f64 2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 1/2 (*.f64 (pow.f64 im 2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 0)
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(+.f64 0 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(-.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 0)
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(-.f64 0 (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) -2))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(/.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 1)
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(/.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) 2)
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(pow.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2)))) 1)
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))
(neg.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 2 (pow.f64 im 2))) -2))
(*.f64 1/2 (*.f64 (+.f64 2 (pow.f64 im 2)) (cos.f64 re)))
(*.f64 (+.f64 2 (pow.f64 im 2)) (*.f64 1/2 (cos.f64 re)))

localize15.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
0.0b
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 2))
Compiler

Compiled 36 to 21 computations (41.7% saved)

series5.0ms (0.1%)

Counts
3 → 15
Calls

18 calls:

TimeVariablePointExpression
2.0ms
re
@0
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
0.0ms
re
@0
(*.f64 (cos.f64 re) (pow.f64 im 2))
0.0ms
im
@inf
(*.f64 (cos.f64 re) (pow.f64 im 2))
0.0ms
re
@inf
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
0.0ms
re
@inf
(*.f64 (cos.f64 re) (pow.f64 im 2))

rewrite114.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
1274×rational_best-simplify-57
930×rational_best-simplify-44
646×rational_best-5
646×rational_best-2
646×rational_best-3
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01273
110169
232969
3141069
4631169
Stop Event
node limit
Counts
3 → 53
Calls
Call 1
Inputs
(*.f64 (cos.f64 re) (pow.f64 im 2))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 (cos.f64 re) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (*.f64 (cos.f64 re) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (*.f64 2 (pow.f64 im 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 (cos.f64 re) (pow.f64 im 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (*.f64 (cos.f64 re) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) -2))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (/.f64 (cos.f64 re) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (cos.f64 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (/.f64 1 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (+.f64 (/.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (pow.f64 im 2) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (cos.f64 re) (/.f64 1 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cos.f64 re)) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cos.f64 re)) (+.f64 (*.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (cos.f64 re) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (/.f64 1 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 0) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))))

simplify218.0ms (2.1%)

Algorithm
egg-herbie
Rules
936×rational_best-simplify-2
674×rational_best-simplify-80
644×rational_best-simplify-1
582×rational_best-simplify-43
566×rational_best-simplify-78
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01562196
13612186
27622132
319692126
435652126
571542126
Stop Event
node limit
Counts
68 → 109
Calls
Call 1
Inputs
(pow.f64 im 2)
(+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))) (*.f64 -1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 2))))))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)) (*.f64 (-.f64 (*.f64 -1/1440 (pow.f64 im 2)) 1/720) (pow.f64 re 6))))))
(cos.f64 re)
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 0)
(+.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)))
(+.f64 0 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(-.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 0)
(-.f64 0 (neg.f64 (*.f64 (cos.f64 re) (pow.f64 im 2))))
(/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 1)
(/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (*.f64 (cos.f64 re) (pow.f64 im 2))))
(/.f64 (*.f64 (cos.f64 re) (*.f64 2 (pow.f64 im 2))) 2)
(pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 1)
(neg.f64 (neg.f64 (*.f64 (cos.f64 re) (pow.f64 im 2))))
(+.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 0)
(+.f64 0 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)))
(-.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 0)
(-.f64 0 (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) -2))
(/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 2)
(/.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 1)
(/.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (*.f64 (cos.f64 re) (pow.f64 im 2))))
(pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 1)
(neg.f64 (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) -2))
(-.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 0)
(-.f64 0 (neg.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))
(*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (/.f64 (cos.f64 re) (cos.f64 re))))
(*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (cos.f64 0)))
(*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (/.f64 1 (cos.f64 re)))))
(*.f64 (cos.f64 re) (*.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (/.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (pow.f64 im 2) 1/2)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 0)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (cos.f64 re) (/.f64 1 (cos.f64 re)))))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))
(*.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (cos.f64 re))
(*.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (/.f64 1 (cos.f64 re)) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (cos.f64 re))))
(*.f64 (/.f64 1 (cos.f64 re)) (+.f64 (*.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (cos.f64 re) (cos.f64 re)))))
(*.f64 (*.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (/.f64 1 (cos.f64 re))))
(*.f64 (cos.f64 0) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))
(*.f64 (/.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))
(*.f64 (/.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (/.f64 (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (/.f64 (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)
(/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(/.f64 (*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) 2)) 2)
(pow.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)
(neg.f64 (neg.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
Outputs
(pow.f64 im 2)
(+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 -1/2 (pow.f64 (*.f64 im re) 2)))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 -1/2 (pow.f64 (*.f64 im re) 2)) (+.f64 (pow.f64 im 2) (*.f64 1/24 (*.f64 (pow.f64 im 2) (pow.f64 re 4)))))
(+.f64 (*.f64 -1/2 (pow.f64 (*.f64 im re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (pow.f64 im 2) (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (pow.f64 im 2) (*.f64 (pow.f64 im 2) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/2 (pow.f64 re 2)))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))) (*.f64 -1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 2))))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 im 2) (pow.f64 re 4))) (+.f64 (pow.f64 im 2) (+.f64 (*.f64 -1/2 (pow.f64 (*.f64 im re) 2)) (*.f64 -1/720 (*.f64 (pow.f64 im 2) (pow.f64 re 6))))))
(+.f64 (pow.f64 im 2) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 (*.f64 im re) 2)) (*.f64 -1/720 (*.f64 (pow.f64 im 2) (pow.f64 re 6)))) (*.f64 (pow.f64 im 2) (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (+.f64 (pow.f64 im 2) (*.f64 -1/2 (pow.f64 (*.f64 im re) 2))) (*.f64 (pow.f64 im 2) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))
(+.f64 (*.f64 -1/2 (pow.f64 (*.f64 im re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (pow.f64 im 2) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (*.f64 1/24 (pow.f64 re 4))))))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 (pow.f64 im 2) 1/2)
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 (*.f64 im re) 2) -1/4))
(*.f64 (pow.f64 im 2) (+.f64 (*.f64 (pow.f64 re 2) -1/4) 1/2))
(*.f64 (pow.f64 im 2) (+.f64 1/2 (*.f64 (pow.f64 re 2) -1/4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 (*.f64 (pow.f64 (*.f64 im re) 2) -1/4) (*.f64 (pow.f64 re 4) (*.f64 (pow.f64 im 2) 1/48))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 (*.f64 (pow.f64 (*.f64 im re) 2) -1/4) (*.f64 (pow.f64 im 2) (*.f64 (pow.f64 re 4) 1/48))))
(+.f64 (*.f64 (pow.f64 (*.f64 im re) 2) -1/4) (*.f64 (pow.f64 im 2) (+.f64 (*.f64 (pow.f64 re 4) 1/48) 1/2)))
(+.f64 (*.f64 (pow.f64 (*.f64 im re) 2) -1/4) (*.f64 (pow.f64 im 2) (+.f64 1/2 (*.f64 (pow.f64 re 4) 1/48))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(+.f64 (+.f64 (*.f64 (pow.f64 (*.f64 im re) 2) -1/4) (*.f64 (pow.f64 re 4) (*.f64 (pow.f64 im 2) 1/48))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 re 6) (*.f64 (pow.f64 im 2) -1/1440))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 (+.f64 (*.f64 (pow.f64 (*.f64 im re) 2) -1/4) (*.f64 (pow.f64 im 2) (*.f64 (pow.f64 re 4) 1/48))) (*.f64 (pow.f64 re 6) (*.f64 (pow.f64 im 2) -1/1440))))
(+.f64 (*.f64 (pow.f64 im 2) (+.f64 (*.f64 (pow.f64 re 4) 1/48) (*.f64 (pow.f64 re 2) -1/4))) (*.f64 (pow.f64 im 2) (+.f64 (*.f64 (pow.f64 re 6) -1/1440) 1/2)))
(+.f64 (*.f64 (pow.f64 im 2) (+.f64 (*.f64 (pow.f64 re 4) 1/48) (*.f64 (pow.f64 re 2) -1/4))) (*.f64 (pow.f64 im 2) (+.f64 1/2 (*.f64 (pow.f64 re 6) -1/1440))))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2))))
(+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) 1))
(+.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)))))
(+.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2))) (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))) 1))
(+.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))))))
(+.f64 (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)) (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 1 (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)) (*.f64 (-.f64 (*.f64 -1/1440 (pow.f64 im 2)) 1/720) (pow.f64 re 6))))))
(+.f64 1 (+.f64 (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (*.f64 (pow.f64 re 6) (-.f64 (*.f64 (pow.f64 im 2) -1/1440) 1/720))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (+.f64 (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (*.f64 (pow.f64 re 6) (-.f64 (*.f64 (pow.f64 im 2) -1/1440) 1/720))) (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))))))
(+.f64 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 (pow.f64 im 2) -1/1440) 1/720)) (+.f64 (+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)) (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48)))))
(+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48))) (+.f64 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 (pow.f64 im 2) -1/1440) 1/720)) (+.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2))))))
(+.f64 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 (pow.f64 im 2) -1/4) 1/2)) (+.f64 (+.f64 1 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (pow.f64 im 2) 1/48)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (pow.f64 re 6) (-.f64 (*.f64 (pow.f64 im 2) -1/1440) 1/720)))))
(cos.f64 re)
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(+.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 0)
(*.f64 (pow.f64 im 2) (cos.f64 re))
(+.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)))
(*.f64 (pow.f64 im 2) (cos.f64 re))
(+.f64 0 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 (pow.f64 im 2) (cos.f64 re))
(-.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 0)
(*.f64 (pow.f64 im 2) (cos.f64 re))
(-.f64 0 (neg.f64 (*.f64 (cos.f64 re) (pow.f64 im 2))))
(*.f64 (pow.f64 im 2) (cos.f64 re))
(/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 1)
(*.f64 (pow.f64 im 2) (cos.f64 re))
(/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (*.f64 (cos.f64 re) (pow.f64 im 2))))
(*.f64 (pow.f64 im 2) (cos.f64 re))
(/.f64 (*.f64 (cos.f64 re) (*.f64 2 (pow.f64 im 2))) 2)
(*.f64 (pow.f64 im 2) (cos.f64 re))
(pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 1)
(*.f64 (pow.f64 im 2) (cos.f64 re))
(neg.f64 (neg.f64 (*.f64 (cos.f64 re) (pow.f64 im 2))))
(*.f64 (pow.f64 im 2) (cos.f64 re))
(+.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 0)
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(+.f64 0 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)))
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(-.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 0)
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(-.f64 0 (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) -2))
(neg.f64 (/.f64 (*.f64 (pow.f64 im 2) (cos.f64 re)) -2))
(/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) 2)
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(/.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 1)
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(/.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) (*.f64 (cos.f64 re) (pow.f64 im 2))))
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) 1/2)) 1)
(*.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 1/2))
(*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))
(neg.f64 (/.f64 (*.f64 (cos.f64 re) (pow.f64 im 2)) -2))
(neg.f64 (/.f64 (*.f64 (pow.f64 im 2) (cos.f64 re)) -2))
(-.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 0)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(-.f64 0 (neg.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (/.f64 (cos.f64 re) (cos.f64 re))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (cos.f64 0)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (/.f64 1 (cos.f64 re)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 re) (*.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 (/.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (pow.f64 im 2) 1/2)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (/.f64 (cos.f64 re) (cos.f64 re))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 0)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (cos.f64 re) (/.f64 1 (cos.f64 re)))))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 1 (cos.f64 re)) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (*.f64 (cos.f64 re) (cos.f64 re))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 1 (cos.f64 re)) (+.f64 (*.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 2) 1/2) (*.f64 (cos.f64 re) (cos.f64 re)))))
(*.f64 (/.f64 1 (cos.f64 re)) (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))) (cos.f64 re))))
(*.f64 (/.f64 1 (cos.f64 re)) (*.f64 (cos.f64 re) (+.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re))))))
(*.f64 (cos.f64 re) (/.f64 (+.f64 (cos.f64 re) (*.f64 (pow.f64 im 2) (*.f64 1/2 (cos.f64 re)))) (cos.f64 re)))
(*.f64 (*.f64 (cos.f64 re) (cos.f64 re)) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) (/.f64 1 (cos.f64 re))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (cos.f64 0) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 1 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(*.f64 (/.f64 (/.f64 1 (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))) (*.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (/.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(/.f64 (*.f64 (cos.f64 re) (*.f64 (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)) 2)) 2)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(pow.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2))) 1)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))
(neg.f64 (neg.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 im 2) 1/2)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 2) 1/2) 1))

eval291.0ms (2.8%)

Compiler

Compiled 6475 to 4351 computations (32.8% saved)

prune141.0ms (1.4%)

Pruning

10 alts after pruning (4 fresh and 6 done)

PrunedKeptTotal
New2914295
Fresh101
Picked011
Done055
Total29210302
Error
0b
Counts
302 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
28.7b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
0.7b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.7b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
28.2b
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
28.5b
(*.f64 1/2 (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
29.2b
(*.f64 1/2 2)
1.4b
(cos.f64 re)
Compiler

Compiled 107 to 87 computations (18.7% saved)

localize3.0ms (0%)

Compiler

Compiled 7 to 7 computations (0% saved)

localize20.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
0.1b
(*.f64 1/12 (pow.f64 im 4))
Compiler

Compiled 51 to 41 computations (19.6% saved)

series1.0ms (0%)

Counts
2 → 6
Calls

6 calls:

TimeVariablePointExpression
0.0ms
im
@0
(*.f64 1/12 (pow.f64 im 4))
0.0ms
im
@inf
(*.f64 1/12 (pow.f64 im 4))
0.0ms
im
@inf
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
0.0ms
im
@-inf
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
0.0ms
im
@0
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))

rewrite240.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
1894×rational_best-5
1892×rational_best-4
1892×rational_best-2
1892×rational_best-3
1892×rational_best-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
18138
223338
391038
4385938
Stop Event
node limit
Counts
2 → 25
Calls
Call 1
Inputs
(*.f64 1/12 (pow.f64 im 4))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 im 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/12 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 1/12 (pow.f64 im 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/12 (pow.f64 im 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/12 (pow.f64 im 4)) (/.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/12 (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 im 4) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/12 (pow.f64 im 4)) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)))))

simplify164.0ms (1.6%)

Algorithm
egg-herbie
Rules
1282×rational_best-simplify-78
1108×rational_best-simplify-2
588×rational_best-simplify-80
564×rational_best-simplify-49
558×rational_best-simplify-129
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053649
193649
2464649
32169649
45315649
Stop Event
node limit
Counts
31 → 29
Calls
Call 1
Inputs
(pow.f64 im 2)
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))
(*.f64 1/12 (pow.f64 im 4))
(*.f64 1/12 (pow.f64 im 4))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) 0)
(+.f64 0 (*.f64 1/12 (pow.f64 im 4)))
(-.f64 (*.f64 1/12 (pow.f64 im 4)) 0)
(/.f64 (*.f64 1/12 (pow.f64 im 4)) 1)
(/.f64 (*.f64 1/12 (pow.f64 im 4)) (/.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/12 (pow.f64 im 4))))
(/.f64 (*.f64 (pow.f64 im 4) 1/6) 2)
(pow.f64 (*.f64 1/12 (pow.f64 im 4)) 1)
(-.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 0)
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))
(*.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))
(*.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))
(*.f64 (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(*.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(*.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))
(*.f64 (/.f64 1 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))
(*.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))
(*.f64 (/.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(*.f64 (/.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)
(/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(/.f64 (*.f64 2 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) 2)
(pow.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)
Outputs
(pow.f64 im 2)
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 1/12 (pow.f64 im 4))
(*.f64 1/12 (pow.f64 im 4))
(+.f64 (*.f64 1/12 (pow.f64 im 4)) 0)
(*.f64 1/12 (pow.f64 im 4))
(+.f64 0 (*.f64 1/12 (pow.f64 im 4)))
(*.f64 1/12 (pow.f64 im 4))
(-.f64 (*.f64 1/12 (pow.f64 im 4)) 0)
(*.f64 1/12 (pow.f64 im 4))
(/.f64 (*.f64 1/12 (pow.f64 im 4)) 1)
(*.f64 1/12 (pow.f64 im 4))
(/.f64 (*.f64 1/12 (pow.f64 im 4)) (/.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/12 (pow.f64 im 4))))
(*.f64 1/12 (pow.f64 im 4))
(/.f64 (*.f64 (pow.f64 im 4) 1/6) 2)
(*.f64 1/12 (pow.f64 im 4))
(pow.f64 (*.f64 1/12 (pow.f64 im 4)) 1)
(*.f64 1/12 (pow.f64 im 4))
(-.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 0)
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (/.f64 1 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (/.f64 (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(*.f64 (/.f64 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 1 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)))) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (/.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))))
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(/.f64 (*.f64 2 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2))) 2)
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))
(pow.f64 (+.f64 (*.f64 1/12 (pow.f64 im 4)) (pow.f64 im 2)) 1)
(+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (pow.f64 im 2) 1/2)
Compiler

Compiled 21 to 17 computations (19% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
im
@inf
(*.f64 (pow.f64 im 2) 1/2)
0.0ms
im
@0
(*.f64 (pow.f64 im 2) 1/2)
0.0ms
im
@-inf
(*.f64 (pow.f64 im 2) 1/2)

rewrite68.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
1268×rational_best-5
1266×rational_best-4
1266×rational_best-2
1266×rational_best-3
1266×rational_best-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
15713
217013
366213
4271513
Stop Event
node limit
Counts
1 → 10
Calls
Call 1
Inputs
(*.f64 (pow.f64 im 2) 1/2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 im 2) 1/2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 im 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (pow.f64 im 2) 1/2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (pow.f64 im 2) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 im 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 im 2) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 im 2) 1/2) (/.f64 (pow.f64 im 2) (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 im 2)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 2) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 im 2) -2))))))

simplify134.0ms (1.3%)

Algorithm
egg-herbie
Rules
1154×rational_best-simplify-82
1038×rational_best-simplify-44
1020×rational_best-simplify-83
960×exponential-simplify-27
932×rational_best-simplify-43
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025286
139286
269286
3117286
4243286
5804286
62209286
73482286
86026286
Stop Event
node limit
Counts
22 → 11
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 0)
(+.f64 0 (*.f64 (pow.f64 im 2) 1/2))
(-.f64 (*.f64 (pow.f64 im 2) 1/2) 0)
(-.f64 0 (/.f64 (pow.f64 im 2) -2))
(/.f64 (pow.f64 im 2) 2)
(/.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(/.f64 (*.f64 (pow.f64 im 2) 1/2) (/.f64 (pow.f64 im 2) (pow.f64 im 2)))
(/.f64 (neg.f64 (pow.f64 im 2)) -2)
(pow.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(neg.f64 (/.f64 (pow.f64 im 2) -2))
Outputs
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 0)
(*.f64 1/2 (pow.f64 im 2))
(+.f64 0 (*.f64 (pow.f64 im 2) 1/2))
(*.f64 1/2 (pow.f64 im 2))
(-.f64 (*.f64 (pow.f64 im 2) 1/2) 0)
(*.f64 1/2 (pow.f64 im 2))
(-.f64 0 (/.f64 (pow.f64 im 2) -2))
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (pow.f64 im 2) 2)
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (*.f64 (pow.f64 im 2) 1/2) (/.f64 (pow.f64 im 2) (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (neg.f64 (pow.f64 im 2)) -2)
(*.f64 1/2 (pow.f64 im 2))
(pow.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(*.f64 1/2 (pow.f64 im 2))
(neg.f64 (/.f64 (pow.f64 im 2) -2))
(*.f64 1/2 (pow.f64 im 2))

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
0.0b
(*.f64 (pow.f64 im 2) 1/2)
Compiler

Compiled 24 to 16 computations (33.3% saved)

series5.0ms (0%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
4.0ms
re
@0
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
0.0ms
im
@inf
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
0.0ms
re
@inf
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
0.0ms
im
@0
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
0.0ms
re
@-inf
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))

rewrite97.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
1044×rational_best-simplify-57
638×rational_best-simplify-43
536×rational_best-5
536×rational_best-2
536×rational_best-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
19023
228423
3119423
4509723
Stop Event
node limit
Counts
1 → 26
Calls
Call 1
Inputs
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (*.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))) (*.f64 (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))))

simplify217.0ms (2.1%)

Algorithm
egg-herbie
Rules
1534×rational_best-simplify-2
1212×rational_best-simplify-44
920×rational_best-simplify-132
742×rational_best-simplify-54
606×rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811738
11741738
23551738
317871738
441431738
574261738
Stop Event
node limit
Counts
50 → 47
Calls
Call 1
Inputs
(cos.f64 re)
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2))))
(+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2)))))
(+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (pow.f64 re 2)) (*.f64 -1/720 (pow.f64 re 6))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(-.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 0)
(-.f64 0 (neg.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))))
(*.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(*.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(*.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(*.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(*.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (*.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))))
(*.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(*.f64 (/.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (/.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))) (*.f64 (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))
(*.f64 (/.f64 (/.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(*.f64 (/.f64 (/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(*.f64 (/.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(/.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)
(/.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))
(/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) 2)
(/.f64 (neg.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) -2)
(pow.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)
(neg.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
Outputs
(cos.f64 re)
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 1 (*.f64 -1/2 (pow.f64 re 2))))
(+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2)))))
(+.f64 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2))) (+.f64 1 (*.f64 1/24 (pow.f64 re 4))))
(+.f64 1 (+.f64 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2))) (*.f64 1/24 (pow.f64 re 4))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (pow.f64 re 2)) (+.f64 1 (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 1 (*.f64 -1/2 (pow.f64 re 2)))))
(+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (pow.f64 re 2)) (*.f64 -1/720 (pow.f64 re 6))))))
(+.f64 1 (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 re 2)) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/720 (pow.f64 re 6)))) (*.f64 1/24 (pow.f64 re 4))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 re 2)) (*.f64 -1/720 (pow.f64 re 6))) (+.f64 1 (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (pow.f64 re 2))) (+.f64 1 (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (+.f64 1 (*.f64 -1/2 (pow.f64 re 2))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(-.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 0)
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(-.f64 0 (neg.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2))))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)))))
(*.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2))))
(*.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)))))
(*.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (*.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2))))
(*.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (/.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2))))
(*.f64 (/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (/.f64 (/.f64 (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))) (*.f64 (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (/.f64 (/.f64 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2))))
(*.f64 (/.f64 (/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(*.f64 (/.f64 (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))))) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))) (*.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(*.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 1 (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)))))
(/.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(/.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))))
(/.f64 (+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2))) (/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2))))
(/.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re))) 2)
(/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) 2)
(/.f64 (neg.f64 (+.f64 (pow.f64 im 2) (*.f64 2 (cos.f64 re)))) -2)
(/.f64 (+.f64 (pow.f64 im 2) (*.f64 (cos.f64 re) 2)) 2)
(pow.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re)) 1)
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))
(neg.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))))
(+.f64 (cos.f64 re) (*.f64 1/2 (pow.f64 im 2)))

eval175.0ms (1.7%)

Compiler

Compiled 2257 to 1709 computations (24.3% saved)

prune142.0ms (1.4%)

Pruning

12 alts after pruning (2 fresh and 10 done)

PrunedKeptTotal
New96298
Fresh000
Picked011
Done099
Total9612108
Error
0b
Counts
108 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
28.7b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
0.7b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.7b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
61.3b
(*.f64 1/2 (pow.f64 im 2))
28.2b
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
28.5b
(*.f64 1/2 (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
29.1b
(*.f64 1/2 (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
29.2b
(*.f64 1/2 2)
1.4b
(cos.f64 re)
Compiler

Compiled 125 to 103 computations (17.6% saved)

localize13.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/12 (pow.f64 im 4))
Compiler

Compiled 31 to 26 computations (16.1% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/2 (pow.f64 im 2))
Compiler

Compiled 13 to 10 computations (23.1% saved)

series0.0ms (0%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
0.0ms
im
@inf
(*.f64 1/2 (pow.f64 im 2))
0.0ms
im
@0
(*.f64 1/2 (pow.f64 im 2))
0.0ms
im
@-inf
(*.f64 1/2 (pow.f64 im 2))

rewrite70.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
1268×rational_best-5
1266×rational_best-4
1266×rational_best-2
1266×rational_best-3
1266×rational_best-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
15713
217013
366313
4271913
Stop Event
node limit
Counts
1 → 10
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 im 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (pow.f64 im 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2 (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 1/2 (pow.f64 im 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (pow.f64 im 2) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 im 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (pow.f64 im 2)) (/.f64 (pow.f64 im 2) (pow.f64 im 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 im 2)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 im 2) -2))))))

simplify125.0ms (1.2%)

Algorithm
egg-herbie
Rules
1156×rational_best-simplify-82
1034×rational_best-simplify-44
1022×rational_best-simplify-83
956×exponential-simplify-27
910×rational_best-simplify-43
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024130
137130
265130
3114130
4239130
5761130
62158130
73398130
85925130
Stop Event
node limit
Counts
10 → 11
Calls
Call 1
Inputs
(+.f64 (*.f64 1/2 (pow.f64 im 2)) 0)
(+.f64 0 (*.f64 1/2 (pow.f64 im 2)))
(-.f64 (*.f64 1/2 (pow.f64 im 2)) 0)
(-.f64 0 (/.f64 (pow.f64 im 2) -2))
(/.f64 (pow.f64 im 2) 2)
(/.f64 (*.f64 1/2 (pow.f64 im 2)) 1)
(/.f64 (*.f64 1/2 (pow.f64 im 2)) (/.f64 (pow.f64 im 2) (pow.f64 im 2)))
(/.f64 (neg.f64 (pow.f64 im 2)) -2)
(pow.f64 (*.f64 1/2 (pow.f64 im 2)) 1)
(neg.f64 (/.f64 (pow.f64 im 2) -2))
Outputs
(+.f64 (*.f64 1/2 (pow.f64 im 2)) 0)
(*.f64 1/2 (pow.f64 im 2))
(+.f64 0 (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(-.f64 (*.f64 1/2 (pow.f64 im 2)) 0)
(*.f64 1/2 (pow.f64 im 2))
(-.f64 0 (/.f64 (pow.f64 im 2) -2))
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (pow.f64 im 2) 2)
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (*.f64 1/2 (pow.f64 im 2)) 1)
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (*.f64 1/2 (pow.f64 im 2)) (/.f64 (pow.f64 im 2) (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(/.f64 (neg.f64 (pow.f64 im 2)) -2)
(*.f64 1/2 (pow.f64 im 2))
(pow.f64 (*.f64 1/2 (pow.f64 im 2)) 1)
(*.f64 1/2 (pow.f64 im 2))
(neg.f64 (/.f64 (pow.f64 im 2) -2))
(*.f64 1/2 (pow.f64 im 2))

eval4.0ms (0%)

Compiler

Compiled 166 to 144 computations (13.3% saved)

prune8.0ms (0.1%)

Pruning

12 alts after pruning (0 fresh and 12 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done01111
Total181230
Error
0b
Counts
30 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
28.7b
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
0.7b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.7b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
61.3b
(*.f64 1/2 (pow.f64 im 2))
28.2b
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
28.5b
(*.f64 1/2 (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
29.1b
(*.f64 1/2 (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
29.2b
(*.f64 1/2 2)
1.4b
(cos.f64 re)
Compiler

Compiled 125 to 103 computations (17.6% saved)

regimes41.0ms (0.4%)

Counts
13 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(cos.f64 re)
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(*.f64 1/2 (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
(*.f64 1/2 (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (exp.f64 im) (+.f64 1 (exp.f64 (*.f64 im -2)))))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Calls

6 calls:

9.0ms
im
8.0ms
re
7.0ms
(cos.f64 re)
6.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(*.f64 1/2 (cos.f64 re))
Results
ErrorSegmentsBranch
0.0b1re
0.0b1im
0.0b1(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b1(*.f64 1/2 (cos.f64 re))
0.0b1(cos.f64 re)
0.0b1(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 156 to 112 computations (28.2% saved)

regimes47.0ms (0.4%)

Counts
9 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(cos.f64 re)
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(*.f64 1/2 (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
(*.f64 1/2 (+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))))
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
Calls

4 calls:

30.0ms
re
5.0ms
im
5.0ms
(*.f64 1/2 (cos.f64 re))
4.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
0.7b1re
0.7b1im
0.7b1(*.f64 1/2 (cos.f64 re))
0.7b1(cos.f64 re)
Compiler

Compiled 83 to 65 computations (21.7% saved)

regimes16.0ms (0.2%)

Counts
7 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(cos.f64 re)
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(*.f64 1/2 (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
Outputs
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
Calls

3 calls:

5.0ms
re
5.0ms
im
4.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
0.9b1re
0.9b1im
0.9b1(cos.f64 re)
Compiler

Compiled 54 to 42 computations (22.2% saved)

regimes16.0ms (0.2%)

Accuracy

Total -60.2b remaining (-4382.4%)

Threshold costs -60.2b (-4382.4%)

Counts
6 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(cos.f64 re)
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) 1)
(*.f64 1/2 (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
Outputs
(cos.f64 re)
Calls

3 calls:

6.0ms
re
4.0ms
im
4.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
1.4b1re
1.4b1im
1.4b1(cos.f64 re)
Compiler

Compiled 46 to 37 computations (19.6% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02193
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
(cos.f64 re)
(*.f64 1/2 2)
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 2 (pow.f64 im 2)))
(+.f64 (*.f64 (pow.f64 im 2) 1/2) (cos.f64 re))
(cos.f64 re)
(*.f64 1/2 2)
1
Compiler

Compiled 42 to 34 computations (19% saved)

soundness0.0ms (0%)

end127.0ms (1.2%)

Compiler

Compiled 34 to 23 computations (32.4% saved)

Profiling

Loading profile data...