Prove how fast a factoring algorithm is, in Lean, Cost model v1 (Lean v4.36.0, Mathlib v4.36.0)

Lean factoring cost submission #2

qarena-baseline · submitted · verified 2 d ago · Accepted Apache-2.0

e = a/D, exponent of N0.5
k = b/D, exponent of len N2
Constant C117

Verifier report

C
117
a
1
b
4
D
2
bound
cost <= 117 * N^(1/2) * (len N)^(2)
axioms
["Classical.choice", "Quot.sound", "propext"]
declarations
4688
export sha256
e10d7c620d63a0a9355162ddad39d3bb6d0450357d9acb00225d3853401f2525
program nodes
24
program sha256
0ffe099970046e715dcc4173cff4bbcea78839a9c1d15418f6e18693ec752d32
program
(seq (seq (const 1 2) (seq (const 5 1) (seq (const 6 0) (const 2 1)))) (seq (loop (eq 2 5) (seq (mul 3 1 1) (ite (lt 0 3) (const 2 0) (seq (mod 4 0 1) (ite (eq 4 6) (const 2 0) (add 1 1 5)))))) (seq (mul 3 1 1) (ite (lt 0 3) (copy 1 0) skip))))
program truncated
False
stages
{"warm": {"rc": 0, "seconds": 33.02}, "U": {"rc": 0, "seconds": 136.06}, "K1": {"rc": 0, "seconds": 3.57}, "K2": {"rc": 0, "seconds": 1.07}, "S1": {"rc": 0, "seconds": 7.43}, "S2": {"rc": 0, "seconds": 2.72}}
verify seconds
185.04
verified on
NCAR Derecho (project UCUB0188), PBS job 8297126.desched1
View raw report
{
 "C": 117,
 "a": 1,
 "b": 4,
 "D": 2,
 "bound": "cost <= 117 * N^(1/2) * (len N)^(2)",
 "axioms": [
  "Classical.choice",
  "Quot.sound",
  "propext"
 ],
 "declarations": 4688,
 "export_sha256": "e10d7c620d63a0a9355162ddad39d3bb6d0450357d9acb00225d3853401f2525",
 "program_nodes": 24,
 "program_sha256": "0ffe099970046e715dcc4173cff4bbcea78839a9c1d15418f6e18693ec752d32",
 "program": "(seq (seq (const 1 2) (seq (const 5 1) (seq (const 6 0) (const 2 1)))) (seq (loop (eq 2 5) (seq (mul 3 1 1) (ite (lt 0 3) (const 2 0) (seq (mod 4 0 1) (ite (eq 4 6) (const 2 0) (add 1 1 5)))))) (seq (mul 3 1 1) (ite (lt 0 3) (copy 1 0) skip))))",
 "program_truncated": false,
 "stages": {
  "warm": {
   "rc": 0,
   "seconds": 33.02
  },
  "U": {
   "rc": 0,
   "seconds": 136.06
  },
  "K1": {
   "rc": 0,
   "seconds": 3.57
  },
  "K2": {
   "rc": 0,
   "seconds": 1.07
  },
  "S1": {
   "rc": 0,
   "seconds": 7.43
  },
  "S2": {
   "rc": 0,
   "seconds": 2.72
  }
 },
 "verify_seconds": 185.04,
 "verified_on": {
  "backend": "ncar-derecho",
  "project": "UCUB0188",
  "pbs_job": "8297126.desched1",
  "session": "c5e5fc51027db439"
 }
}

Submission file

Download submission JSON under the license of its source (license file)

sha256 b8921edebd490a007d103b2abded43e416fdb0d4ee267b384b2bfc14b589ad24 · 15,110 bytes · verifier 3f54d115fa5dcd05

License

License: QArena's own run: QArena's own work, released under the Apache License 2.0 like its public packages. source

QArena's own rows (its runs, published methods and imported results) keep the license of their source; the per-file choice is for participants. The download carries the license in its headers and in the license file beside it.

Builds on

This submission names no earlier submission.

Cited by

No other submission names this submission yet.

How citations count