Certificate data and the initial necessary model #
CertData is the content of one certificate file (proof/certificates/*.json): the contact
case, the interval (lo, hi], the common denominator den, the forced steps and the owner whose
final mandatory set is contradictory. initModel rebuilds the initial mandatory sets, caps and
non-overfull flags inside Lean, exactly as proof/geometry_model.py does; nothing about them is
read from the certificate. Owner indices: 0 = centre, 1..6 = side owners S₀..S₅,
7..9 = corner owners A₀..A₂.
Every initial point is mkPt den lo a b c d, the scaled integer form of the real parametric
point (a + c s, b + d s) with s = lo + x; the lists are given explicitly per owner
(rawB) so that their geometric meaning can be established by case analysis in
ModelSound.lean.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Proposed interval and forced-assignment data; validity is proved separately.
- case : Case
The normalized contact case covered by the trace.
- lo : ℚ
The left endpoint of the closed parameter interval.
- hi : ℚ
The right endpoint of the closed parameter interval.
- den : ℤ
The positive common scale for integer polynomial coordinates.
The proposed forced-point assignments, in replay order.
- last : Fin 10
The proposed final obstructed owner; validity checks every owner.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Trim trailing zero coefficients but keep one coefficient, as exact_polynomials.trim.
Equations
- ConwaySoifer.Certificates.trimKeep p = match ConwaySoifer.Certificates.trimP p with | [] => [0] | q => q
Instances For
The side owner index whose section receives the minimal endpoint: 5 (v₅) for Sext,
1 (v₁) otherwise.
Equations
Instances For
Whether the certificate case has a side-owner receiver.
Equations
Instances For
The direction v₀ - v₁ (constant).
Equations
- ConwaySoifer.Certificates.backDirPt lo den = ConwaySoifer.Certificates.mkPt den lo 1 (-1) 0 0
Instances For
The external midpoint M₀ = (1, 1/2).
Equations
- ConwaySoifer.Certificates.mid0Pt lo den = ConwaySoifer.Certificates.mkPt den lo 1 (1 / 2) 0 0
Instances For
Whether the small-parameter strengthenings of the model are active.
Equations
- ConwaySoifer.Certificates.smallHi hi = decide (hi ≤ 1 / 14)
Instances For
The caps of owner j: the full endpoint of S₀ (owner 1) and, in the corner cases, the
strict exclusion of the endpoint from S₁ (owner 2).
Equations
Instances For
The complete check of one certificate: the interval (lo, hi] is encoded as the piece
[0, w] with w = hi - lo (the parameter x = s - lo), the model is rebuilt, every forced
step is validated and the final mandatory set of last is contradictory.
Equations
- One or more equations did not get rendered due to their size.