Datasets:
text stringlengths 0 102 |
|---|
GNU AFFERO GENERAL PUBLIC LICENSE |
Version 3, 19 November 2007 |
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> |
Everyone is permitted to copy and distribute verbatim copies |
of this license document, but changing it is not allowed. |
Preamble |
The GNU Affero General Public License is a free, copyleft license for |
software and other kinds of works, specifically designed to ensure |
cooperation with the community in the case of network server software. |
The licenses for most software and other practical works are designed |
to take away your freedom to share and change the works. By contrast, |
our General Public Licenses are intended to guarantee your freedom to |
share and change all versions of a program--to make sure it remains free |
software for all its users. |
When we speak of free software, we are referring to freedom, not |
price. Our General Public Licenses are designed to make sure that you |
have the freedom to distribute copies of free software (and charge for |
them if you wish), that you receive source code or can get it if you |
want it, that you can change the software or use pieces of it in new |
free programs, and that you know you can do these things. |
Developers that use our General Public Licenses protect your rights |
with two steps: (1) assert copyright on the software, and (2) offer |
you this License which gives you legal permission to copy, distribute |
and/or modify the software. |
A secondary benefit of defending all users' freedom is that |
improvements made in alternate versions of the program, if they |
receive widespread use, become available for other developers to |
incorporate. Many developers of free software are heartened and |
encouraged by the resulting cooperation. However, in the case of |
software used on network servers, this result may fail to come about. |
The GNU General Public License permits making a modified version and |
letting the public access it on a server without ever releasing its |
source code to the public. |
The GNU Affero General Public License is designed specifically to |
ensure that, in such cases, the modified source code becomes available |
to the community. It requires the operator of a network server to |
provide the source code of the modified version running there to the |
users of that server. Therefore, public use of a modified version, on |
a publicly accessible server, gives the public access to the source |
code of the modified version. |
An older license, called the Affero General Public License and |
published by Affero, was designed to accomplish similar goals. This is |
a different license, not a version of the Affero GPL, but Affero has |
released a new version of the Affero GPL which permits relicensing under |
this license. |
The precise terms and conditions for copying, distribution and |
modification follow. |
TERMS AND CONDITIONS |
0. Definitions. |
"This License" refers to version 3 of the GNU Affero General Public License. |
"Copyright" also means copyright-like laws that apply to other kinds of |
works, such as semiconductor masks. |
"The Program" refers to any copyrightable work licensed under this |
License. Each licensee is addressed as "you". "Licensees" and |
"recipients" may be individuals or organizations. |
To "modify" a work means to copy from or adapt all or part of the work |
in a fashion requiring copyright permission, other than the making of an |
exact copy. The resulting work is called a "modified version" of the |
earlier work or a work "based on" the earlier work. |
A "covered work" means either the unmodified Program or a work based |
on the Program. |
To "propagate" a work means to do anything with it that, without |
permission, would make you directly or secondarily liable for |
infringement under applicable copyright law, except executing it on a |
computer or modifying a private copy. Propagation includes copying, |
distribution (with or without modification), making available to the |
public, and in some countries other activities as well. |
To "convey" a work means any kind of propagation that enables other |
parties to make or receive copies. Mere interaction with a user through |
a computer network, with no transfer of a copy, is not conveying. |
An interactive user interface displays "Appropriate Legal Notices" |
to the extent that it includes a convenient and prominently visible |
feature that (1) displays an appropriate copyright notice, and (2) |
tells the user that there is no warranty for the work (except to the |
extent that warranties are provided), that licensees may convey the |
work under this License, and how to view a copy of this License. If |
the interface presents a list of user commands or options, such as a |
menu, a prominent item in the list meets this criterion. |
1. Source Code. |
Conservation-Preserving Compilation for a 1+1D Lattice Shadow of φ⁴
💬 Feedback wanted. Rebuilt the Lean proofs, reproduced the audit, or found an error in the paper? Open a discussion. Part of our flagship releases.
Ahmad Ali Parr · SnapKitty Collective · 7 October 2026
· Archived on Zenodo: 10.5281/zenodo.23287576
📄 Read the paper (PDF, 12 pages) · 💻 Code: Snapkitty/cpsc-qft · 🔏 Lean proofs · GitHub
Abstract
We implement a compilation architecture for lattice scattering in which the symmetries of the target Hamiltonian constrain circuit synthesis rather than filter measured shots. The working model is the periodic transverse-field Ising chain, the qubit shadow of 1+1D φ⁴, not continuum φ⁴.
Two facts fix the compiler. The quartic written as Σᵢ Xᵢ⁴ is a multiple of the identity. Z-parity is a symmetry only at λ = 0; for λ ≠ 0 the conserved operator is the global spin flip Πᵢ Xᵢ.
The repository supplies a symmetry analyzer, a translation-orbit check, a first-order Trotter product of admitted gates, a Q# emission of those factors, and a certificate whose SHA-256 digest is bound to the gate list. On a 4-site chain the Ising schedule has Z-parity leakage 0, and the spin-flip schedule has Π X leakage 0 within roundoff. Inserting a forbidden gate fails compilation. A Lean development proves, without project axioms, that every admitted Trotter schedule commutes with the conserved operator on (ℂ²)^⊗N for every lattice size and every angle.
This paper describes what the code does. It proves operator commutation in Lean for every admitted schedule. It does not claim a continuum scattering amplitude.
Contents of the paper
- Introduction
- Which operator is actually conserved (magnetization fails at λ ≠ 0; the spin flip Π_X is conserved for all λ)
- Compiler (
compile_scattering: emit a certified Trotter schedule or raiseCompilationRejected) - Certificate (SHA-256 of the canonical schedule payload, rendered as a Lean fragment)
- Q# emission
- Checks (six numerical checks on N = 4;
pytest14 passed) - Related work
- Conclusion
- Appendix A: Operator proofs (main result: Theorem A.9,
admitted_trotter_commutes) - Appendix B: Lean development (Lean 4.22.0; axiom audit lists only
propext,Classical.choice,Quot.sound)
Files
| File | Contents |
|---|---|
paper.pdf |
The paper, 12 pages; byte-identical to the Zenodo record's PDF (MD5 1c9e80b76bf4ee3bf36439d07ab17673). SHA-256 3e22507dbdacdf88491b4397d393d5452c5dfe0dab4ecc650adf34644eb36243 |
paper.tex |
LaTeX source of the paper, from AHMADALIPARR/cpsc-qft@34c4bab. Build with latexmk -xelatex paper.tex |
proofs/lean/ |
The Lean 4 development from AHMADALIPARR/cpsc-qft@9b102cf. CPSC/Operator.lean holds the operator model and Theorem A.9 (admitted_trotter_commutes); Audit.lean prints the axioms of the main results |
proofs/OPERATOR_PROOFS.md |
Appendix A in Markdown, with each step mapped to its Lean theorem |
proofs/audit-output.txt |
Output of lake env lean Audit.lean (see Verification) |
LICENSE, LICENSES/ |
License split (paper: GPL-3.0-or-later; code: CPSC-ESCL-1.0 or AGPL-3.0-only) and full texts |
Verification
Reproduced on 2026-10-10 with a clean build from AHMADALIPARR/cpsc-qft at commit 9b102cf:
cd lean && lake build # Lean 4.22.0: Build completed successfully (CPSC.Certificate, Operator, Lemmas, Emitted)
lake env lean Audit.lean # axiom audit, output below
cd .. && PYTHONPATH=src python3 -m pytest -q # 14 passed
'CPSC.Operator.admitted_trotter_commutes' depends on axioms: [propext, Classical.choice, Quot.sound]
'CPSC.operator_commutation' depends on axioms: [propext, Classical.choice, Quot.sound]
'CPSC.transverse_flip_breaks_magnetization' depends on axioms: [propext, Classical.choice, Quot.sound]
'CPSC.loneZ_breaks_spin_flip_op' depends on axioms: [propext, Classical.choice, Quot.sound]
'CPSC.Operator.rx_inverse' depends on axioms: [propext, Classical.choice, Quot.sound]
'CPSC.Emitted.emitted_commutes' depends on axioms: [propext, Classical.choice, Quot.sound]
Only Lean's three standard axioms appear; no project axiom and no sorry.
Citation
@misc{parr2026cpsc,
title = {Conservation-Preserving Compilation for a 1+1D Lattice Shadow of $\phi^4$},
author = {Parr, Ahmad Ali},
year = {2026},
month = oct,
publisher = {Zenodo},
doi = {10.5281/zenodo.23287576},
url = {https://doi.org/10.5281/zenodo.23287576},
note = {SnapKitty Collective}
}
License
The paper and the code are licensed separately.
| Material | Files | License |
|---|---|---|
| Paper text | paper.pdf, paper.tex, proofs/OPERATOR_PROOFS.md |
GPL-3.0-or-later, as on Zenodo |
| Code | proofs/lean/ (and Snapkitty/cpsc-qft) |
CPSC-ESCL-1.0 or AGPL-3.0-only |
Full texts are in LICENSES/; LICENSE summarises the split. Copyright © 2026 Ahmad Ali Parr and others.
💼 Commercial License
The code is published under CPSC-ESCL-1.0 or AGPL-3.0. Building a commercial product or service? A proprietary commercial license from Snapkitty Collective LLC lets you ship this code on terms other than CPSC-ESCL-1.0 or AGPL-3.0.
- Downloads last month
- 152