Libraries.Synthesis.Newsynth

Miscellaneous functions

ensure

maybe_head

power

floorlog

Randomized algorithms

keeptrying

keeptrying_count

try_for

Square roots in ℤ[√2]

dinteger_root

Roots of −1 in ℤp

root_minus_one_step

root_minus_one

Solving a Diophantine equation

dioph_step

dioph

Approximations in ℤ[√2]

gridpoints

gridpoint_random

gridpoint_random_parity

Approximate synthesis

The main algorithm

newsynth_step

User-friendly functions

newsynth

newsynth_stats