Documentation

LeanPool.Redhill.Odd.Pell

Pell equation for the odd case #

def OddCase.pell (y : ) :

An infinite sequence of pairs of natural numbers (s, t) satisfying y * s ^ 2 + 1 = (y + 1) * t ^ 2. This will be applied with y = Y n F ^ 2.

Equations
Instances For
    theorem OddCase.pell_spec {y k : } :
    y * (pell y k).1 ^ 2 + 1 = (y + 1) * (pell y k).2 ^ 2
    theorem OddCase.pell_snd_pos {y k : } :
    0 < (pell y k).2
    theorem OddCase.pell_snd_le_pell_fst {y k : } :
    (pell y k).2 (pell y k).1
    theorem OddCase.pell_fst_pos {y k : } :
    0 < (pell y k).1
    theorem OddCase.strictMono_pell_fst {y : } :
    StrictMono fun (k : ) => (pell y k).1
    theorem OddCase.radical_mul_pell_sq_add_one_dvd {y k : } :
    UniqueFactorizationMonoid.radical (((pell (y ^ 2) k).1 * y) ^ 2 + 1) (y ^ 2 + 1) * (pell (y ^ 2) k).2