All proofs
Project-declaredLean 4.33.0-rc1 · mathlib@169c26b52a38

Nat Degree sharing Polynomial le

Cslib.Crypto.Protocols.SecretSharing.Shamir.Polynomial.natDegree_sharingPolynomial_le

Plain-language statement

If the tail polynomial has degree < n, then the sharing polynomial has natural degree at most n.

Exact Lean statement

theorem natDegree_sharingPolynomial_le (secretValue : F) (tail : _root_.Polynomial F) {n : ℕ}
    (hdeg : tail.degree < n) :
    (sharingPolynomial secretValue tail).natDegree ≤ n

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem natDegree_sharingPolynomial_le (secretValue : F) (tail : _root_.Polynomial F) {n : }    (hdeg : tail.degree < n) :    (sharingPolynomial secretValue tail).natDegree  n := by  rw [sharingPolynomial]  refine (_root_.Polynomial.natDegree_add_le _ _).trans ?_  rw [max_le_iff]  constructor  · rw [_root_.Polynomial.natDegree_C]    exact Nat.zero_le n  · by_cases htail : tail = 0    · simp [htail]    · rw [_root_.Polynomial.natDegree_X_mul htail]      have htailDegree : tail.natDegree < n := by        have := hdeg        rw [_root_.Polynomial.degree_eq_natDegree htail] at this        exact_mod_cast this      exact Nat.succ_le_of_lt htailDegree
Project
Lean Computer Science Library
License
Apache-2.0
Commit
f36649cff2c9
Source
Cslib/Crypto/Protocols/SecretSharing/Shamir/Polynomial.lean:70-86

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.33.0-rc1

Unique minimal

Cslib.Automata.DA.FinAcc.unique_minimal

Plain-language statement

The minimal DFA M accepting the language l is unique up to unique isomorphism.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

Buchi Family cover

Cslib.Automata.NA.Buchi.buchiFamily_cover

Project documentation

na.buchiFamily is a cover if na has only finitely many states. This theorem uses the Ramsey theorem for infinite graphs and does not depend on any details of na.BuchiCongruence other than that it is of finite index.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record