Giter Club home page Giter Club logo

apollonian's Introduction

apollonian

Code for computing the Hausdorff dimension of the Apollonian circle packing.

The code is in two parts: a non-rigorous step where you find a dimension and eigenvalue estimate, and a rigorous step where you certify it.

The non-rigorous code takes one argument: the number of bits in the BigFloat precision. So far the highest we've run it is 448 bits (at which point memory on our research server started to be a problem). You run the code for NBITS-bit arithmetic as julia apollonian-nonrigorous.jl NBITS.

This program finds a good dimension estimate iteratively using the secant method: it tells you what numbers it gets as it goes in apollonian-nonrigorous-NBITS.log. Eventually it spits out a JLD file called apollonian-nonrigorous-NBITS.jld containing a bunch of relevant data including the dimension estimate and eigenfunction estimate.

Then to validate it, you make sure this file is in the same folder as apollonian-rigorous.jl and call julia apollonian-rigorous.jl NBITS .

This then does all the rigorously validated min-max stuff, and prints out a Theorem into apollonian-rigorous-NBITS.log.

With NBITS=448, you should get

Theorem: d_A โˆˆ [1.30568672804987718464598620685104089110602644149646829644618838899698642050296986454521612315053871328079246688242186910196730564360845303608397826,
                1.305686728049877184645986206851040891106026441496468296446188388996986420502969864545216123150538713280792466882421869101967305643746971829783186659]
         Width of bound: 1.4e-130

NB: this code is designed to be heavy duty: run in BigFloat, and in parallel (and the addprocs line in both code files tries to fill your CPU up with processes). If you want to use other kinds of float, change const TYPE = to something involving your favoured float type. If you don't want the overheads of parallelisation, remove all the distributed wrapping around the code.

If you use this, of course please cite our paper: https://arxiv.org/abs/2406.04922 (and let us know if you get any better results).

Caroline Wormell (@wormell) and Polina Vytnova (@Polevita)

apollonian's People

Contributors

wormell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.