Skip to content

fix: Initial Commit for Orbital Mechanics, Vis Viva Version 2#1057

Open
hannxmarie wants to merge 2 commits intoleanprover-community:masterfrom
hannxmarie:hannah/vis-viva-v2
Open

fix: Initial Commit for Orbital Mechanics, Vis Viva Version 2#1057
hannxmarie wants to merge 2 commits intoleanprover-community:masterfrom
hannxmarie:hannah/vis-viva-v2

Conversation

@hannxmarie
Copy link
Copy Markdown

New PR for 'initial commit for orbital mechanics' since the large PhysLean to Physlib updates from March. Updated to reflect the new version of the project, and lake build compiles successfully.

@hannxmarie
Copy link
Copy Markdown
Author

Hi @jstoobysmith am I able to be added as an outside collaborator on the project so I can use branches and not forks for future updates please? Thanks!

@jstoobysmith
Copy link
Copy Markdown
Member

Hi @hannxmarie, so we're no longer doing the branches approach in general anymore, since we the repo - it became safer just to stick with forks if that is ok.

namespace ClassicalMechanics

structure VisViva where
G : ℝ -- gravitational constant
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These doc strings should be e.g.

/-- Gravitational constant -/
G : ℝ  

structure ConfigurationSpace where
r : ℝ -- radius

/-- Orbital speed for a circular orbit. -/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a better documentation would be, something which states that this is would be the speed if the orbit is circular.


/-!
# Circular Orbit Vis Viva
Defines the orbital speed for a circular orbit (v^2 = G M / r).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a bit more detailed docs here, also explaining the name Vis Viva.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants