Documentation

HexPrimality.Squfof

  • multipliers : Nat
  • steps : Nat
  • queueCapacity : Nat
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Explicit placement of bounded SQUFOF work in a factorization portfolio. first runs before rho; rescue runs after the producer's existing splitters fail. Both retain the caller's limits at each composite worklist entry.

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

                        The prescribed multiplier order.

                        Equations
                        Instances For
                          Instances For
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              def Hex.Nat.Squfof.instDecidableEqForm.decEq (x✝ x✝¹ : Form) :
                              Decidable (x✝ = x✝¹)
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[reducible, inline]
                                Equations
                                Instances For
                                  Instances For
                                    Equations
                                    Instances For
                                      @[instance_reducible]
                                      Equations
                                      Instances For
                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          def Hex.Nat.Squfof.instDecidableEqAttempt.decEq {n✝ : Nat} (x✝ x✝¹ : Attempt n✝) :
                                          Decidable (x✝ = x✝¹)
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            def Hex.Nat.Squfof.nextForm (f : Form) (b : Nat) (pnext : Int) :

                                            One exact continued-fraction transition, given its quotient and next P.

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

                                              Reverse initialization from a square form.

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

                                                The first matching queued form removes itself and the whole FIFO prefix.

                                                Equations
                                                Instances For

                                                  Run one multiplier with the same kernel used by the public schedule.

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    theorem Hex.Nat.Squfof.factor_attempts (n : Nat) (limits : Limits) :
                                                    (factor n limits).attempts ≤ min limits.multipliers 16
                                                    theorem Hex.Nat.Squfof.factor_steps (n : Nat) (limits : Limits) :
                                                    (factor n limits).steps ≤ (factor n limits).attempts * limits.steps
                                                    theorem Hex.Nat.Squfof.factor_queue (n : Nat) (limits : Limits) :
                                                    (factor n limits).peakQueue ≤ limits.queueCapacity
                                                    theorem Hex.Nat.Squfof.factor_spec {n : Nat} {limits : Limits} {d : Nat} (h : (factor n limits).outcome = Outcome.factor d) :
                                                    1 < d ∧ d < n ∧ d ∣ n