cfahlgren1/math / lean /OAI /MathematicalPhysics /ContinuumCoulomb /Programs /CalibrationRationalBracketProgram.lean
cfahlgren1's picture
download
raw
1.44 kB
import OAI.MathematicalPhysics.ContinuumCoulomb.Programs.RationalLogScaleProgram
import OAI.MathematicalPhysics.ContinuumCoulomb.OneParticle.CalibrationRationalBracket
namespace OAI
/-! A literal polynomial-time program returns both rational contact-search
endpoints from the unary instance-size parameter. -/
namespace ContinuumCoulomb.CalibrationRationalBracket
open ExactQuantumFactoring.BitStackProgram
noncomputable opaque leftProgram (ε c : ℚ) (k : ℕ) : Procedure unaryCode ratCode
(fun N => (endpoints ε (RationalLogScale.value c k N)).1) :=
Procedure.ratMul.comp
((Procedure.constant unaryCode ratCode (1 - ε / 2)).pair (RationalLogScale.program c k))
noncomputable opaque rightProgram (ε c : ℚ) (k : ℕ) : Procedure unaryCode ratCode
(fun N => (endpoints ε (RationalLogScale.value c k N)).2) :=
Procedure.ratMul.comp
((Procedure.constant unaryCode ratCode (1 + ε / 2)).pair (RationalLogScale.program c k))
noncomputable opaque program (ε c : ℚ) (k : ℕ) : Procedure unaryCode
(prodCode ratCode ratCode) (fun N => endpoints ε (RationalLogScale.value c k N)) :=
(leftProgram ε c k).pair (rightProgram ε c k)
noncomputable def certificate (ε c : ℚ) (k : ℕ) :
Turing.TM2ComputableInPolyTime unaryCode (prodCode ratCode ratCode)
(fun N => endpoints ε (RationalLogScale.value c k N)) :=
(program ε c k).toTM2
end ContinuumCoulomb.CalibrationRationalBracket
end OAI

Xet Storage Details

Size:
1.44 kB
·
Xet hash:
9b3427ae8ce43ad4c1867eac5d69a3c2dfe172ae18f920c4f361b3e923254b04

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.