Documentation

LeanPool.ConwaySoifer.Certificates.FanCertificate

Shared kernel-checked orientation fan certificates #

A support bound depends on three selected points, rather than the complete checkpoint. Reuse that smaller arithmetic certificate across repeated fan queries, and check long fan proofs in chunks to bound the kernel's working set.

theorem ConwaySoifer.Certificates.FanProof.cachedSupport (Ps : List IPoint) (den : ℤ) (u : IPoint) (T : Triple) (a b d : ℤ) (fuel : ℕ) (P₀ P₁ P₂ : IPoint) (h₀ : nth Ps T.1 = some P₀) (h₁ : nth Ps T.2.1 = some P₁) (h₂ : nth Ps T.2.2 = some P₂) (h : supportOK [P₀, P₁, P₂] den u (0, 1, 2) a b d fuel = true) :
supportOK Ps den u T a b d fuel = true
theorem ConwaySoifer.Certificates.FanProof.cachedNode (Ps : List IPoint) (den : ℤ) (caps : List Cap) (T : Triple) (u : IPoint) (a b d : ℤ) (fuel : ℕ) (h : supportOK Ps den u T a b d fuel = true) :
nodeWitnessCheck Ps den caps (some T) u a b d fuel = true
theorem ConwaySoifer.Certificates.FanProof.cachedCone (Ps : List IPoint) (den : ℤ) (caps : List Cap) (T : Triple) (u v : IPoint) (a b d : ℤ) (fuel : ℕ) (hu : supportOK Ps den u T a b d fuel = true) (hv : supportOK Ps den v T a b d fuel = true) :
coneWitnessCheck Ps den caps (some T) u v a b d fuel = true
theorem ConwaySoifer.Certificates.FanProof.cachedNext (Ps : List IPoint) (den : ℤ) (caps : List Cap) (a b d : ℤ) (fuel : ℕ) (v : IPoint) (node cone : BoundWitness) (rest : FanWitness) (u : IPoint) (hn : nodeWitnessCheck Ps den caps node u a b d fuel = true) (hc : coneWitnessCheck Ps den caps cone u v a b d fuel = true) (hd : nonnegOn (detP u v) a b d fuel = true) (hv : nodeCond v a b d fuel = true) (ht : FanWitness.check Ps den caps a b d fuel rest v = true) :
FanWitness.check Ps den caps a b d fuel (FanWitness.next v node cone rest) u = true
theorem ConwaySoifer.Certificates.FanProof.cachedTerminal (Ps : List IPoint) (den : ℤ) (caps : List Cap) (a b d : ℤ) (fuel : ℕ) (left right cone : BoundWitness) (u : IPoint) (hl : nodeWitnessCheck Ps den caps left u a b d fuel = true) (hc : coneWitnessCheck Ps den caps cone u rotEastP a b d fuel = true) (hd : nonnegOn (detP u rotEastP) a b d fuel = true) (hr : nodeWitnessCheck Ps den caps right rotEastP a b d fuel = true) :
FanWitness.check Ps den caps a b d fuel (FanWitness.terminal left right cone) u = true

Imported checkpoint used to share support certificates across elaboration branches.

Select the imported checkpoint that anchors shared support certificates.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Form the proposition that a Boolean arithmetic certificate returns true.

    Equations
    Instances For

      Construct a closed arithmetic proof term whose reductions are checked by the kernel.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Reuse a support certificate keyed by its three selected points and direction.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Prove a fan node check, sharing a supplied support triple when present.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Prove a fan cone check from shared support certificates at both endpoints.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Prove the terminal fan sector, including the fixed east-facing endpoint.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Assemble sector proofs into small separately checked kernel certificates.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Traverse a closed fan witness and construct its sector-by-sector certificate.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Prove a closed witnessed-fan check by sharing three-point support bounds and checking the assembled fan in small kernel-checked chunks.

                    Equations
                    Instances For