Handling large iterated exponentials and their pullbacks
#6
Hey, everyone!

So I successfully implemented a Taylor Series Method with this tetration. This code is definitely suboptimal; but it'll get the job done on the real-line. The previous protocol for tetration is desired for \( |\Im(z)| > 1 \); this method is intended for a domain near the real-line. I'm still working on making everything perfect, but it seems to be working. I'm able to get about 20 digit precision with the Taylor Series Method. But it works perfectly up to that. I had to modify the code significantly. So I'll attach here everything you need for the Taylor series approach at calculating \( \text{tet}_\beta \).

But first, here's a graph of \( \text{tet}_\beta(s-x_0) \) for \( |\Re(z)| \le 0.5 \) and \( |\Im(z)| \le 0.5 \). (The value \( x_0 \approx 1 \).) There is absolutely no short circuiting; as was happening before; and it agrees perfectly with the old protocol on the real line (upto 20 digits, I mean).

   

I'm going to work on compiling all my code into a nice bundle. But for the moment, I'll post how I'm grabbing the Taylor series.


Code:
\ps 50  //set series precision to 50
\p 200 //set precision to 200; this makes the Taylor series work better

//This code estimates the depth of recursion needed for the iteration to work about A.
//The value 0.0001 can be made smaller, but it risks an overflow for other A's.
//This, ideally, is meant for A a real number; and expanding a taylor series about a real number.
//If you plug in complex values it suffers the same fate as Tet(z,n) for z near the real line.

Tet_GRAB_k(A,n) ={
    my(k=0);
    while( 1/real(beta(A+k,n)) >= 0.0001, k++);
    return(k);
}

//This code will run the code of Tet; but the value k fixes the depth of recursion. The goal is to guess the value of k; which the previous function does.

Tet_taylor(z,n,k) = {
    my(val = beta(z+k,n));
    for(i=1,k,val = log(val));
    return(val);
}

//This code will create an array of size 50, of the Taylor coefficients. 50 seems good enough for 20-digit precision.

TAYLOR_SERIES(A,n) = {
    my(ser = vector(50,i,0));
    for(i=1,50, ser[i] = polcoeff(Tet_taylor(A+z,n,Tet_GRAB_k(A,n)),i-1,z));
    return(ser);
}

Here's a print out of the first 50 taylor coefficients with 200 digit accuracy, which is precise to about 20 digits, when \( A=1 \) and \( |z| \le 1/2 \). And we're summing,

\(
\text{tet}_\beta(z-x_0) = \sum_{j=0}^\infty a_j (z-1)^j\\
\)

Code:
0.03259650901600602497933792676384984393747893444466645403696826747470297040854769936473446193681691248

1.064566018894822439459121680191873880002289031679825196946198206070023707777321010554487553032188483

-0.2873378195642740566591744183636999465745954491815838645952044835638702375101315742562840132950780683

0.3152722331191694593039884823535663354341852791199594632219815957400875277477832477436751140233192657

-0.1912034198920797389025720655858521446366122592140768736192754196270843593541158129665657022944663944

0.1619918403700412498509111387209839079941649912583560681431800605720864827433793280246263923436743791

-0.1262163455189004868459401209337496191299366830614718566765284130020367126614265873127329696536157169

0.1044653488807110876475492150686866411102413623395495490272876641738572317913172227633315131401064049

-0.08733328434526905389340303692959998276888166793580935879374633926022136575415214261209435922826275733

0.07460983885218181536888705301714058156066365377105739122286955734344649436580505565342731178070780132

-0.06385214613393493096309699077056600326042728006359540631260197727085308946293722549497997570104686583

0.05584292203656403606738361461169393618013925564282390784859052371546558131893225346778837473196118510

-0.04880796343274970338929850813288239733060398934463190211262688968317823742267508116412402751932379650

0.04309932338600195524049288050944188016833858457979135846544038360040926931155629955997071292428022235

-0.03836288250206062445743409316837435779512360706231417782251640670997374821226368193903394779896190165

0.03414127036657301402422303831687666740221027559909571372373149058905979224249550074347273615496214416

-0.03069522622171308269630829912891224715429752245194023229286808911937110258445926524550448977794744532

0.02759375745266422726118225992120618363220714252770049081615845122719145775754339880175834020956738241

-0.02492617683524951521384931704396322919512477426297414985555943492446140532956626890241342331965554889

0.02260944798137610203011561258334045637792244076638107195283804928857101930667143540416620563344565252

-0.02051443069879937879358919403991008741427450376929415937239993164187695461889097139222808157603848946

0.01871122311131724455122719115829998942301702290119051139161984198969836748857220416433024168321356494

-0.01706959667516856134124994903315279611782904024218956441922221953292585605952962724651491389042347434

0.01561994985039635186551165730379966039719974867622587242645674972512851648211230613394203641113469957

-0.01432130821329467892537670772690581758787995707953189298649421682632774172536242451570451830060698315

0.01314305305378573482201731126080476037691584362534816014478356824281129180389484034717370060585726668

-0.01209419674262023220620604277621194028505496041471285114801258074184151950668828161221211019673908803

0.01113446063464791017496717262273878524224087807001607561484469692046388808602937292590708489153519

-0.01027177825698029634945241545416194028926566253220631587711693285129602573457352908514000813325236

0.00948554026951784021932271629606265315583202623162078666770541477188584788948472277477937939261755

-0.00876924305244973819428878673743763136633512039059965031310993411723357173965037597340389886699910

0.00811836994934045377382219801027782412783351395669177993408403933627506723654952031327315848090202

-0.00752097480042581180458331761661491607110136420100651539654375972538389108283416093167217

0.00697653013196725069606403082910994014202208454398167966042508502307861922184575867005168

-0.00647608174330626609178073722833717332946722585389221061966196514967615733226758876659904

0.00601730806494098532697053082930376298911109911831601294817232594413120893191339059905892

-0.00559561035789612544223858523526849098745113423254497751918500879709532326991322382953728

0.00520715774192393629034481322963471856892946870441754073184973868152261126269263188964829583040308

-0.00484963807894188028406096728853717513711689584750842349309013691627059863006789646318091836105510

0.00451941514123402440729759380767835181551519496077503656778038395338897904527310819739578881138017

-0.00421472016398154557571846072651557894283659267333744536428062158973293025758837360235950204463475

0.00393287207039965802503591588793998487242520417728294106069505912293856803564083499663414276993643

-0.00367211384407260308328762267960709649479709692174821929443893886185591220648922535783095

0.00343059491434320974783908324753863858631797220134856101166159261928687594307698346141573

-0.00320665678967362029287788735422501873023228546726837654473350815807603600822657166236526

0.00299893436559208312179496900769575872183387995037574408487383855378855588570984246495324

-0.00280600822357148559421654579155275805475430922305551027052238345832515078755002310908973

0.0026267702248372845574683329373504113189254022449433106454567513375222751843952

-0.0024600709693595691499146078894532492077947610127580314247455176664484908226700

0.0023049646597304620702001627477045893100607516041809170910352492486428007634527
After defining a recursive function. Here's the graph of \( \text{tet}_\beta(z-x_0) \) for \( 1 \le \Re(z) \le 6 \) and \( |\Im(z)| \le 0.7 \). Again \( x_0 \approx 1 \).

   

I think we're well on the way; that this tetration is holomorphic. At this point; Is it Kneser's tetration?
Reply


Messages In This Thread
RE: Handling large iterated exponentials and their pullbacks - by JmsNxn - 05/20/2021, 05:21 AM



Users browsing this thread: 1 Guest(s)