Computational sanity checks #
This plays the same role for the Lean development that the Sage scripts at https://elligator.cr.yp.to/thm1.sage and https://elligator.cr.yp.to/thm4.sage play for the original paper: brute-force numeric evidence, complementary to the actual proofs.
TODO order this a bit and find meaningful examples to check, rather than just dumping a bunch of random computations.
The field and parameter #
@[reducible, inline]
The field with 7 elements
Equations
Instances For
theorem
Elligator.Elligator1.Example.encode_injective_showcase :
Function.Injective fun (τ : ↥S) => ι τ s7_ne_zero s7_sq_ne_pm_two card_F7 F7_mod_four