OAI/NumberTheory/Ostmann/Arithmetic/ClearedHistoryPivot.lean
15 declarations, 0 contain sorry, 0 declared as axioms
Constructed integer numerators for the recursive pivot substitutions
- structure
OAI.Ostmann.ClearedHistoryValueline 12 - def
OAI.Ostmann.ClearedHistoryValue.ofVariableline 21 - def
OAI.Ostmann.ClearedHistoryValue.constantline 23 - def
OAI.Ostmann.ClearedHistoryValue.prodline 25 - def
OAI.Ostmann.ClearedHistoryValue.pivotline 32Source documentation
This is exactly
(v * right - w * left) / s, with integer clearing of all previously inserted denominators.noncomputable def pivot (left right : ClearedHistoryValue σ) (v w s : ℤ) (hs : s ≠ 0) : ClearedHistoryValue σ := …Mentions: OAI.Ostmann.ClearedHistoryValue
- def
OAI.Ostmann.ClearedHistoryValue.evalline 39 - theorem
OAI.Ostmann.ClearedHistoryValue.eval_variableline 42 - theorem
OAI.Ostmann.ClearedHistoryValue.eval_constantline 45 - theorem
OAI.Ostmann.ClearedHistoryValue.eval_prodline 49 - theorem
OAI.Ostmann.ClearedHistoryValue.eval_pivotline 55 - theorem
OAI.Ostmann.ClearedHistoryValue.degree_prodline 65 - theorem
OAI.Ostmann.ClearedHistoryValue.degree_pivotline 69 - theorem
OAI.Ostmann.ClearedHistoryValue.denominator_pivot_unitline 83Source documentation
A prime absent from the small-frequency denominator remains absent after the next substitution.
theorem denominator_pivot_unit (left right : ClearedHistoryValue σ) (v w s : ℤ) (hs : s ≠ 0) (p : ℕ) (hp : p.Prime) (hL : ¬p ∣ left.denominator.natAbs) (hR : ¬p ∣ right.denominator.natAbs) (hS : ¬p ∣ s.natAbs) : ¬p ∣ (pivot left right v w s hs).denominator.natAbs := by …Mentions: OAI.Ostmann.ClearedHistoryValue, OAI.Ostmann.ClearedHistoryValue.pivot
- theorem
OAI.Ostmann.ClearedHistoryValue.integer_value_clearedline 91Source documentation
Polynomial evaluation at an integer assignment is the numerator of the actual rational value. The equality is useful on the integrality support.
theorem integer_value_cleared (F : ClearedHistoryValue σ) (x : σ → ℤ) (y : ℤ) (hy : F.eval (fun i => (x i : ℚ)) = y) : MvPolynomial.eval₂Hom (RingHom.id ℤ) x F.numerator = F.denominator * y := by …Mentions: OAI.Ostmann.ClearedHistoryValue
- theorem
OAI.Ostmann.ClearedHistoryValue.prime_coprime_integer_valueline 104