8000 Fix moduli computation in example by saraedum · Pull Request #350 · flatsurf/sage-flatsurf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix moduli computation in example #350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025
Merged

Conversation

saraedum
Copy link
Member

Fixes #235. https://arxiv.org/pdf/1411.1827 Definition 3.3 defines the moduli as h/c where c is the circumference so we want to follow that definition.

Note that we use that correct definition in gl2r_orbit_closure.py

  width = self.V2._isomorphic_vector_space.base_ring()(
      self.V2.base_ring()(component.width())
  )
  height = self.V2._isomorphic_vector_space.base_ring()(
      self.V2.base_ring()(
          component.vertical().project(component.circumferenceHolonomy())
      )
  )
  module_fractions.append((width, height))

What's confusing is that "height" is the circumference here and width is what is called height in the article (in the article, the flow is to the right, for us the flow is usually north.)

Checklist

  • Added an entry in doc/news/. I don't think this is newsworthy in any way.
  • Added a test for this change. No, nothing to test I think.
  • Added new .py files to the documentation in doc/geometry or doc/graphical. Nothing new.

< 818C div class="pr-1 flex-shrink-0" style="width: 16px;">
Fixes flatsurf#235. https://arxiv.org/pdf/1411.1827 Definition 3.3 defines the
moduli as h/c where c is the circumference so we want to follow that
definition.

Note that we use that correct definition in gl2r_orbit_closure.py

```py
  width = self.V2._isomorphic_vector_space.base_ring()(
      self.V2.base_ring()(component.width())
  )
  height = self.V2._isomorphic_vector_space.base_ring()(
      self.V2.base_ring()(
          component.vertical().project(component.circumferenceHolonomy())
      )
  )
  module_fractions.append((width, height))
```

What's confusing is that "height" is the circumference here and width is
what is called height in the article (in the article, the flow is to the
right, for us the flow is usually north.)
@saraedum saraedum enabled auto-merge May 19, 2025 22:27
@saraedum saraedum merged commit 00ca917 into flatsurf:master May 19, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error in "Exploring Orbit Closures" Example
1 participant
0