-
Notifications
You must be signed in to change notification settings - Fork 30
H10C
Dominique Larchey-Wendling edited this page Nov 25, 2019
·
4 revisions
The definitions below are mechanized in Problems/H10C.v
.
A elementary Diophantine constraint has one of the shapes x ≐ 1
, x ≐ y+z
or x ≐ y⋅z
where x, y, z ∈ 𝕍
range over variables. 𝕍
is implemented as nat
and constraints as 𝕍+𝕍³+𝕍³
.
A valuation φ : 𝕍 → ℕ
satisfies the constraints c
, denoted ⟦c⟧ φ
, and defined by
-
⟦x ≐ 1⟧ φ
whenφ(x) = 1
; -
⟦x ≐ y+z⟧ φ
whenφ(x) = φ(y)+φ(z)
; -
⟦x ≐ y⋅z⟧ φ
whenφ(x) = φ(y)*φ(z)
.
mechanized as ⟦c⟧ φ := h10c_sem c φ
.
An instance is a list of elementary Diophantine constraints.
Given a list lc
of elementary Diophantine constraints, is it solvable, ie
is there a valuation φ : 𝕍 → ℕ
that satisfies all the constraints in lc
simultaneously, ie ∃φ ∀c∈lc, ⟦c⟧ φ
?
From the more general elementary Diophantine constraints with parameters. TODO: describe better here.