KoalaBear.is_prime
ProvedKoalaBear.is_prime_yukon_3febe0cb50dabetter-codes-history
The KoalaBear modulus is prime.
Preamble
/-
Copyright (c) 2024 ArkLib Contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Quang Dao, Valerii Huhnin
-/
module
public import Mathlib.Algebra.Order.Ring.Star
public import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
public import Mathlib.FieldTheory.Finite.Basic
public import Mathlib
public import Definitions.Def_Yukon_b0cfdbaf70ca87129aa06e66
@[expose] public section
/-!
# KoalaBear Field `2^{31} - 2^{24} + 1`
This is the field used for lean Ethereum spec.
-/
@[expose] public section
namespace KoalaBear
-- 2130706433
-- #eval fieldSize
Formal statement
/-- The KoalaBear modulus is prime. -/ theorem is_prime_yukon_3febe0cb50da : Nat.Prime fieldSize := by sorry end KoalaBear end end
Source