pith. machine review for the scientific record. sign in
def definition def or abbrev

jain_fraction

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  99def jain_fraction (p m : ℕ) (plus : Bool) : ℚ :=

proof body

Definition body.

 100  if plus then p / (2 * m * p + 1) else p / (2 * m * p - 1)
 101
 102/-- The denominator of a Jain fraction is odd (for ν = p/(2mp+1)). -/

used by (2)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (10)

Lean names referenced from this declaration's body.