Repository navigation
Add rocq-pi-leibniz.1.0.1-1.0.4 (supersedes #3896, #3897, #3898) - #3899
hy7pc8gfmf-dotcom wants to merge 5 commits into
Conversation
|
Updated this PR to also include rocq-pi-leibniz.1.0.5:
Commit |
rocq-stdlib.9.3.0 is not yet in the released overlay (tops at
rocq-stdlib.9.2.0), so the >= 9.3 bounds made 1.0.5 unsolvable in CI
("can never be installed" on all three legs). Relax to >= 9.1 to match
1.0.1-1.0.4; the modules were originally written and CI'd on Rocq 9.1
and re-verified green on 9.3.0 in the source repo (runs rocq-prover#44-rocq-prover#46).
|
Updated to fix the CI failure ( Root cause: 1.0.5 declared Fix: relaxed both bounds to |
What is this package
rocq-pi-leibniz is a constructive pi for the constructive Cauchy reals of the Rocq standard library, realized by the alternating Leibniz series.
Every statement is premise-free and
Set-valued, so the apartness witness against each rational (an explicit positive margin and an explicit convergence modulus) is extractable, with no axioms and noObj.magicin the extracted OCaml.What changed from 1.0.0 to 1.0.4
1.0.0 was merged as #3884; the four releases since then are consolidated here, one row each. The branch adds the four package files
released/packages/rocq-pi-leibniz/rocq-pi-leibniz.1.0.1/opamthrough.../rocq-pi-leibniz.1.0.4/opam.PiLeibnizMargin(unbounded-margin statement for the window family),PiPadeQLeg(rational-level Pade leg),PiSepSearch(generic separation search); CI rebuilt as a single self-hosted trust-cache jobe 0 = 5 # 2,e 1 = 5 # 4,e 2 = 5 # 6; compile-fail on mismatch)PiKernelSlack; the window-equality cascade (26 faces) reshaped onto its Set twin; unified carrier block inPiCompareT; Set-carried apartness counterpartPiCRealAppartT; four separation modules; comments normalized, migration provenance indocs/statement-provenance.mdPiPascalResidueTputs the band representation of the truncation remainder in extractable form; the documented witness values are asserted as Set-carried identities whose proofs close byvm_computealone; 681 statement names that carry a twin are suffixed_prop(bare names reserved for the Set-carried faces); the root module no longer re-exportsPiWindowCore, soleiblw_id_eq_propresolves to thePiLeibnizMarginface unambiguously; comments in English throughoutc22524e7; package file pins the sha256 of the v1.0.4 tag tarballVerified
From a clean checkout of the
v1.0.4tag, the package's green criterion is one command:make -j && bash scripts/pi_ci_chk.shThe script certifies the whole dependency closure with
rocqchk -oand requires everyAxioms:section to be<none>; it printsClosed under the global contextfor both main theorems (Print Assumptions pi_leibniz_strong_irrational_propandpi_leibniz_appart_all_Q); and it asserts the documented witness values byvm_compute, so a mismatch fails the compile (forq = 22 # 7the escape-witness triple computes to(22 # 7, 5 # 8, 3%nat) : Q * Q * nat). It ends withCOQCHK_ALL_PASS.The same steps run green in CI on the release head
c22524e7: run 40208484473, job "build + coqchk (self-hosted, local trust cache)", conclusion success.Supersedes #3896, #3897, #3898
This PR supersedes the three open release PRs #3896 (1.0.1), #3897 (1.0.2), and #3898 (1.0.3): it adds the same three package files unchanged plus 1.0.4, so one review covers the whole line. If those PRs are still open, please merge this one and close them; if any has already been merged, this PR is the completed state of the same content.
Who should update
Users of any 1.0.x release should update directly to 1.0.4. Two adjustments may be needed in downstream code: statement names that carry a
Set-carried twin now take the_propsuffix on theProp-level original (681 names, so downstream code states which face it uses), andRequire Import pi_leibnizno longer re-exportsPiWindowCore(import that module directly if you need its face ofleiblw_id_eq_prop).Metadata
ConstructiveCauchyReals); depends onrocq-prover >= 9.1androcq-stdlib >= 9.1.