Details

Time bar (total: 1.6s)

analyze40.0ms (2.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%50%25.1%6
25%31.2%43.8%7
31.2%25%43.8%8
39%17.2%43.8%9
42.9%13.3%43.8%10
47.2%9%43.8%11
49.4%6.8%43.8%12
Compiler

Compiled 10 to 6 computations (40% saved)

sample1.1s (69.6%)

Results
1.1s8256×body256valid
0.0msbody256invalid

preprocess14.0ms (0.9%)

Algorithm
egg-herbie
Rules
fma-def_binary64
swap-re-im
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
1916
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(+.f64 (*.f64 re re) (*.f64 im im))
(+.f64 (*.f64 im im) (*.f64 re re))
Outputs
(+.f64 (*.f64 re re) (*.f64 im im))
(fma.f64 re re (*.f64 im im))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 re re (*.f64 im im))
Symmetry

(sort re im)

Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify9.0ms (0.6%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
298
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 re re) (*.f64 im im))
Outputs
(+.f64 (*.f64 re re) (*.f64 im im))
(fma.f64 re re (*.f64 im im))

eval0.0ms (0%)

Compiler

Compiled 15 to 6 computations (60% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 re re (*.f64 im im))
0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
Compiler

Compiled 17 to 9 computations (47.1% saved)

localize6.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
Compiler

Compiled 17 to 5 computations (70.6% saved)

series3.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
re
@0
(+.f64 (*.f64 re re) (*.f64 im im))
1.0ms
im
@0
(+.f64 (*.f64 re re) (*.f64 im im))
1.0ms
re
@inf
(+.f64 (*.f64 re re) (*.f64 im im))
0.0ms
im
@inf
(+.f64 (*.f64 re re) (*.f64 im im))
0.0ms
re
@-inf
(+.f64 (*.f64 re re) (*.f64 im im))

rewrite46.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
650×pow1_binary64
606×add-log-exp_binary64
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
589×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068
11297
217517
Stop Event
node limit
Counts
1 → 33
Calls
Call 1
Inputs
(+.f64 (*.f64 re re) (*.f64 im im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 re im) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 re 4) (-.f64 (*.f64 re re) (*.f64 im im))) (/.f64 (pow.f64 im 4) (-.f64 (*.f64 re re) (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 re im) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 re im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 re im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 re im) (hypot.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 re 6) (pow.f64 im 6)) (/.f64 1 (+.f64 (pow.f64 re 4) (-.f64 (pow.f64 im 4) (pow.f64 (*.f64 re im) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 re 4) (pow.f64 im 4)) (/.f64 1 (-.f64 (*.f64 re re) (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 re 4) (-.f64 (pow.f64 im 4) (pow.f64 (*.f64 re im) 2))) (+.f64 (pow.f64 re 6) (pow.f64 im 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 re re) (*.f64 im im)) (-.f64 (pow.f64 re 4) (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 re 6) (pow.f64 im 6)) (+.f64 (pow.f64 re 4) (-.f64 (pow.f64 im 4) (pow.f64 (*.f64 re im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 re 6) (pow.f64 im 6)) (+.f64 (pow.f64 im 4) (-.f64 (pow.f64 re 4) (pow.f64 (*.f64 re im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 re 4) (pow.f64 im 4)) (-.f64 (*.f64 re re) (*.f64 im im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 re 6) (pow.f64 im 6))) (neg.f64 (+.f64 (pow.f64 re 4) (-.f64 (pow.f64 im 4) (pow.f64 (*.f64 re im) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 re 4) (pow.f64 im 4))) (neg.f64 (-.f64 (*.f64 re re) (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 im 4) (pow.f64 re 4)) (-.f64 (*.f64 im im) (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 re im) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 re im) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 re im) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 re im) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 re im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 re im) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 re im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 re im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 re im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re re (*.f64 im im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im im (*.f64 re re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 re re) (*.f64 im im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 im im) (*.f64 re re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 re 4)) (pow.f64 (cbrt.f64 re) 2) (*.f64 im im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 im 4)) (pow.f64 (cbrt.f64 im) 2) (*.f64 re re))))))

simplify154.0ms (9.9%)

Algorithm
egg-herbie
Rules
1204×sqr-pow_binary64
754×cube-prod_binary64
743×fabs-mul_binary64
514×pow-sqr_binary64
346×unpow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07204
116168
229168
347168
499168
5295168
61113168
71389168
81679168
91930168
102269168
112762168
123421168
134211168
145133168
155654168
166071168
176462168
186583168
196627168
207796168
Stop Event
node limit
Counts
57 → 38
Calls
Call 1
Inputs
(pow.f64 im 2)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(pow.f64 re 2)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(pow.f64 re 2)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(pow.f64 re 2)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(pow.f64 im 2)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(pow.f64 im 2)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
Outputs
(pow.f64 im 2)
(*.f64 im im)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(pow.f64 re 2)
(*.f64 re re)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(pow.f64 re 2)
(*.f64 re re)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(pow.f64 re 2)
(*.f64 re re)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(pow.f64 im 2)
(*.f64 im im)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(pow.f64 im 2)
(*.f64 im im)
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))
(+.f64 (pow.f64 re 2) (pow.f64 im 2))
(+.f64 (*.f64 im im) (*.f64 re re))
(fma.f64 im im (*.f64 re re))

localize5.0ms (0.3%)

Compiler

Compiled 13 to 4 computations (69.2% saved)

eval10.0ms (0.7%)

Compiler

Compiled 421 to 232 computations (44.9% saved)

prune6.0ms (0.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New36238
Fresh000
Picked011
Done011
Total36440
Error
0b
Counts
40 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
29.8b
(*.f64 re re)
0b
(fma.f64 re re (*.f64 im im))
0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
25.7b
(*.f64 im im)
Compiler

Compiled 27 to 15 computations (44.4% saved)

localize3.0ms (0.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize3.0ms (0.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
29.8b
(*.f64 re re)
0b
(fma.f64 re re (*.f64 im im))
0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
25.7b
(*.f64 im im)
Compiler

Compiled 27 to 15 computations (44.4% saved)

regimes22.0ms (1.4%)

Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 re re)
(*.f64 im im)
(+.f64 (*.f64 re re) (*.f64 im im))
(fma.f64 re re (*.f64 im im))
Outputs
(fma.f64 re re (*.f64 im im))
Calls

6 calls:

4.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
4.0ms
im
4.0ms
re
3.0ms
(*.f64 im im)
3.0ms
(*.f64 re re)
Results
ErrorSegmentsBranch
0b1re
0b1im
0b1(+.f64 (*.f64 re re) (*.f64 im im))
0b1(*.f64 re re)
0b1(*.f64 re re)
0b1(*.f64 im im)
Compiler

Compiled 51 to 24 computations (52.9% saved)

regimes17.0ms (1.1%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 re re)
(*.f64 im im)
(+.f64 (*.f64 re re) (*.f64 im im))
Outputs
(+.f64 (*.f64 re re) (*.f64 im im))
Calls

5 calls:

4.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
4.0ms
re
3.0ms
im
3.0ms
(*.f64 im im)
3.0ms
(*.f64 re re)
Results
ErrorSegmentsBranch
0.0b1re
0.0b1im
0.0b1(+.f64 (*.f64 re re) (*.f64 im im))
0.0b1(*.f64 re re)
0.0b1(*.f64 im im)
Compiler

Compiled 40 to 20 computations (50% saved)

regimes35.0ms (2.2%)

Accuracy

Total -49.5b remaining (-876.8%)

Threshold costs -49.5b (-876.8%)

Counts
2 → 4
Calls
Call 1
Inputs
(*.f64 re re)
(*.f64 im im)
Outputs
(*.f64 re re)
(*.f64 im im)
(*.f64 re re)
(*.f64 im im)
Calls

4 calls:

12.0ms
re
9.0ms
(*.f64 re re)
7.0ms
(*.f64 im im)
6.0ms
im
Results
ErrorSegmentsBranch
5.6b4re
6.9b2im
9.9b4(*.f64 re re)
9.8b2(*.f64 im im)
Compiler

Compiled 24 to 14 computations (41.7% saved)

bsearch45.0ms (2.9%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
-8.293314044445579e-162
-1.1287119656264e-166
15.0ms
-14988.653602232162
-6210.062139209536
15.0ms
-1.8773351392824087e+21
-4.929221216047534e+20
Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01756
11856
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 re re (*.f64 im im))
(+.f64 (*.f64 re re) (*.f64 im im))
(if (<=.f64 re -1877335139282408701952) (*.f64 re re) (if (<=.f64 re -8240099460180445/549755813888) (*.f64 im im) (if (<=.f64 re -8401668883067951/1013065324433836171511818326096474890383898005918563696288002277756507034036354527929615978746851512277392062160962106733983191180520452956027069051297354415786421338721071661056) (*.f64 re re) (*.f64 im im))))
(*.f64 re re)
Outputs
(fma.f64 re re (*.f64 im im))
(+.f64 (*.f64 re re) (*.f64 im im))
(+.f64 (*.f64 im im) (*.f64 re re))
(if (<=.f64 re -1877335139282408701952) (*.f64 re re) (if (<=.f64 re -8240099460180445/549755813888) (*.f64 im im) (if (<=.f64 re -8401668883067951/1013065324433836171511818326096474890383898005918563696288002277756507034036354527929615978746851512277392062160962106733983191180520452956027069051297354415786421338721071661056) (*.f64 re re) (*.f64 im im))))
(*.f64 re re)
Compiler

Compiled 48 to 25 computations (47.9% saved)

soundness7.0ms (0.4%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
298
Stop Event
saturated
Compiler

Compiled 17 to 9 computations (47.1% saved)

end40.0ms (2.6%)

Compiler

Compiled 58 to 23 computations (60.3% saved)

Profiling

Loading profile data...