QuantumComputinglib learn · inspect · formalize
Checked on this commit 4,524 public declarations commit c681192368c2 Build record

Lean Declaration Catalog / Library Explorer

Search every explicit public declaration

The inventory is generated from QuantumBlockEncoding/. Private declarations follow the repository's existing exclusion rule and are counted in the build report, not displayed as public API.

4,524 declarations shown

QuantumBlockEncoding.AdjacentGivens.Step

This record groups the data and proof fields needed for “step”. A proposition-valued field is a requirement until a constructor supplies it. An actual adjacent-row rotation, carrying the precise ordered support.

CompiledPartial route

QuantumBlockEncoding.AdjacentGivens.decomposeSO

This definition gives the library's named construction or computation for “decompose so”. A computed finite list of adjacent RY planes in chronological circuit order.

CompiledCompiled

QuantumBlockEncoding.AdjacentGivens.decomposeSO_action

Lean checks the proposition indexed as “decompose so action”; the hypotheses and conclusion in the code panel fix its exact scope. Every real determinant-one orthogonal matrix is exactly the action of the constructed adjacent-plane list.

CompiledCompiled

QuantumBlockEncoding.AdjacentGivens.decomposeSO_length

Lean checks the proposition indexed as “decompose so length”; the hypotheses and conclusion in the code panel fix its exact scope. Including harmless identity rotations at zero pivots gives an exact count.

CompiledCompiled

QuantumBlockEncoding.AutomationStage

This type lists the allowed alternatives for “automation stage”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.TaskKind

This type lists the allowed alternatives for “task kind”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.TaskStatus

This type lists the allowed alternatives for “task status”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.ArtifactLanguage

This type lists the allowed alternatives for “artifact language”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.AgentRole

This type lists the allowed alternatives for “agent role”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.AgentBackendKind

This type lists the allowed alternatives for “agent backend kind”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.TrialKind

This type lists the allowed alternatives for “trial kind”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.TrialStatus

This type lists the allowed alternatives for “trial status”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.ArtifactSpec

This record groups the data and proof fields needed for “artifact spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.AcceptanceGate

This record groups the data and proof fields needed for “acceptance gate”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.AutomationTask

This record groups the data and proof fields needed for “automation task”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.AgentContract

This record groups the data and proof fields needed for “agent contract”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.TrialRecordSpec

This record groups the data and proof fields needed for “trial record spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.PostCycleArtifactSpec

This record groups the data and proof fields needed for “post cycle artifact spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.WorkflowCheckSpec

This record groups the data and proof fields needed for “workflow check spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.CandidatePool

This type lists the allowed alternatives for “candidate pool”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.LexElimSchedulerMode

This type lists the allowed alternatives for “lex elim scheduler mode”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.LexObjectiveClass

This type lists the allowed alternatives for “lex objective class”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.LexObjectiveSpec

This record groups the data and proof fields needed for “lex objective spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.LexElimSchedulerSpec

This record groups the data and proof fields needed for “lex elim scheduler spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.AgentPanelSizeSpec

This record groups the data and proof fields needed for “agent panel size spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.AgentBackendProfileSpec

This record groups the data and proof fields needed for “agent backend profile spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.WorkflowInvariantSpec

This record groups the data and proof fields needed for “workflow invariant spec”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.ThreeLayerPhase

This type lists the allowed alternatives for “three layer phase”; its constructors are the cases that downstream code must handle.

CompiledCompiled

QuantumBlockEncoding.ThreeLayerHandoff

This record groups the data and proof fields needed for “three layer handoff”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.ThreeLayerTrace

This record groups the data and proof fields needed for “three layer trace”. A proposition-valued field is a requirement until a constructor supplies it. One execution trace with an explicit starting phase.

CompiledPartial route

QuantumBlockEncoding.ThreeLayerTrace.advance

This definition gives the library's named construction or computation for “advance”. Follow a handoff only when it starts at the current phase and is valid.

CompiledCompiled

QuantumBlockEncoding.threeLayerCanonicalTrace

This definition gives the library's named construction or computation for “three layer canonical trace”. Canonical upper-to-reviewer trace used as the finite teaching witness.

CompiledCompiled

QuantumBlockEncoding.threeLayerCanonicalTrace_reachesAccepted

Lean checks the proposition indexed as “three layer canonical trace reaches accepted”; the hypotheses and conclusion in the code panel fix its exact scope. The canonical trace reaches acceptance without an external semantic axiom.

CompiledCompiled

QuantumBlockEncoding.threeLayerAccepted_requiresLeanGate

Lean checks the proposition indexed as “three layer accepted requires lean gate”; the hypotheses and conclusion in the code panel fix its exact scope. Any locally valid acceptance transition records a passing Lean gate.

CompiledCompiled

QuantumBlockEncoding.threeLayerFailedGateTrace

This definition gives the library's named construction or computation for “three layer failed gate trace”. Removing the final Lean gate prevents the same trace from being accepted.

CompiledCompiled

QuantumBlockEncoding.BandedSparseAccess.accessEquiv

This definition gives the library's named construction or computation for “access equiv”. The exact arbitrary-size banded-sparse-access semantics: load 'r_(s,0)', then add the row modulo '2^n'.

CompiledCompiled

QuantumBlockEncoding.RegisterLayout

This record groups the data and proof fields needed for “register layout”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.BlockEncodingSpec

This record groups the data and proof fields needed for “block encoding spec”. A proposition-valued field is a requirement until a constructor supplies it. A block-encoding candidate before semantic proofs are attached.

CompiledPartial route

QuantumBlockEncoding.BlockEncodingCost

This record groups the data and proof fields needed for “block encoding cost”. A proposition-valued field is a requirement until a constructor supplies it. Resource score for comparing two candidate block encodings of the same operator.

CompiledPartial route

QuantumBlockEncoding.QueryOperatorTarget

This record groups the data and proof fields needed for “query operator target”. A proposition-valued field is a requirement until a constructor supplies it. The concrete input ABEIS is meant to solve: a user gives an operator/query oracle target, usually as a finite matrix together with a normalization contract and optional free parameters.

CompiledPartial route

QuantumBlockEncoding.OperatorBlockEncodingCandidate

This record groups the data and proof fields needed for “operator block encoding candidate”. A proposition-valued field is a requirement until a constructor supplies it. A candidate unitary for an 'n'-qubit square operator.

CompiledPartial route

QuantumBlockEncoding.VerifiedOperatorBlockEncoding

This record groups the data and proof fields needed for “verified operator block encoding”. A proposition-valued field is a requirement until a constructor supplies it. A verified candidate with explicit proofs of unitarity and block containment.

CompiledPartial route

QuantumBlockEncoding.ApproximateOperatorBlockEncodingCandidate

This record groups the data and proof fields needed for “approximate operator block encoding candidate”. A proposition-valued field is a requirement until a constructor supplies it. An approximate block-encoding candidate for the same operator-first interface.

CompiledPartial route

QuantumBlockEncoding.VerifiedApproximateOperatorBlockEncoding

This record groups the data and proof fields needed for “verified approximate operator block encoding”. A proposition-valued field is a requirement until a constructor supplies it. A verified approximate block encoding.

CompiledPartial route

QuantumBlockEncoding.AdaptiveBlockEncodingPolicy

This record groups the data and proof fields needed for “adaptive block encoding policy”. A proposition-valued field is a requirement until a constructor supplies it. User-level stopping and relaxation policy for operator block-encoding search.

CompiledPartial route

QuantumBlockEncoding.BlockEncodingSearchPhase

This type lists the allowed alternatives for “block encoding search phase”; its constructors are the cases that downstream code must handle. High-level phase labels used by the candidate-population ledger.

CompiledCompiled

QuantumBlockEncoding.VerifiedBlockEncoding

This record groups the data and proof fields needed for “verified block encoding”. A proposition-valued field is a requirement until a constructor supplies it. A verified block encoding.

CompiledPartial route

QuantumBlockEncoding.ConstructionClaim

This record groups the data and proof fields needed for “construction claim”. A proposition-valued field is a requirement until a constructor supplies it. A high-level construction claim imported from a paper or generated by AI.

CompiledPartial route

QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy_permMatrix_entry

Lean checks the proposition indexed as “clean block by perm matrix entry”; the hypotheses and conclusion in the code panel fix its exact scope. Core 'BE.PermMatrix.CleanBlock' leaf: the clean block of a permutation matrix is just the finite image predicate restricted to clean embedded rows and columns.

CompiledCompiled

QuantumBlockEncoding.BlockEncodingClassics.oneSparseMatrix

This definition gives the library's named construction or computation for “one sparse matrix”. Column one-sparse matrix with support map 'c': column 'j' has its possible nonzero entry at row 'c j', with amplitude 'amp j'.

CompiledCompiled

QuantumBlockEncoding.Gate

This type lists the allowed alternatives for “gate”; its constructors are the cases that downstream code must handle.

CompiledCompiled

QuantumBlockEncoding.Gate.resource

This definition gives the library's named construction or computation for “resource”. Conservative elementary-resource estimate for the current IR.

CompiledCompiled

QuantumBlockEncoding.CircuitLayer

This abbreviation gives a shorter name to the type or expression used for “circuit layer”. A layer is a list of gates intended to be scheduled in parallel.

CompiledCompiled

QuantumBlockEncoding.LayeredCircuit

This abbreviation gives a shorter name to the type or expression used for “layered circuit”. A layered circuit is the schedule used for depth comparisons.

CompiledCompiled

QuantumBlockEncoding.qubitDim

This definition gives the library's named construction or computation for “qubit dim”. A finite-dimensional basis size for an 'n'-qubit register.

CompiledCompiled

QuantumBlockEncoding.SemanticObligation

This record groups the data and proof fields needed for “semantic obligation”. A proposition-valued field is a requirement until a constructor supplies it. Structured semantic obligation for the matrix layer.

CompiledPartial route

QuantumBlockEncoding.GateMatrix

This record groups the data and proof fields needed for “gate matrix”. A proposition-valued field is a requirement until a constructor supplies it. One gate together with its matrix on the full 'qubits'-qubit Hilbert space.

CompiledPartial route

QuantumBlockEncoding.gateMatricesMatchCircuit

This definition gives the library's named construction or computation for “gate matrices match circuit”. Check that a list of gate matrices labels exactly the same circuit gates.

CompiledCompiled

QuantumBlockEncoding.evalGateMatrices

This definition gives the library's named construction or computation for “eval gate matrices”. Evaluate a list of full-space gate matrices to a circuit matrix.

CompiledCompiled

QuantumBlockEncoding.Matrix.evalWith_foldl_add_mul

Lean checks the proposition indexed as “eval with foldl add mul”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluate one symbolic matrix-product entry as a concrete finite Rat fold.

CompiledCompiled

QuantumBlockEncoding.Matrix.evalWith_mul_apply

Lean checks the proposition indexed as “eval with mul apply”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluate one entry of 'Matrix.mul' by evaluating each path contribution.

CompiledCompiled

QuantumBlockEncoding.Matrix.evalWith_mul_eq_zero_of_all_paths_zero

Lean checks the proposition indexed as “eval with mul eq zero of all paths zero”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluate one matrix-product entry as zero when every evaluated path contribution is zero.

CompiledCompiled

QuantumBlockEncoding.Matrix.evalWith_mul_unique_path

Lean checks the proposition indexed as “eval with mul unique path”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluate one matrix-product entry when all evaluated paths except 'k0' vanish.

CompiledCompiled

QuantumBlockEncoding.Matrix.evalWith_mul_two_path

Lean checks the proposition indexed as “eval with mul two path”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluate one matrix-product entry when all evaluated paths except 'k0' and 'k1' vanish.

CompiledCompiled

QuantumBlockEncoding.Matrix.evalWith_mul_identity_right_apply

Lean checks the proposition indexed as “eval with mul identity right apply”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating a symbolic matrix after multiplying on the right by the identity recovers the evaluated entry.

CompiledCompiled

QuantumBlockEncoding.Matrix.cast_square_apply

Lean checks the proposition indexed as “cast square apply”; the hypotheses and conclusion in the code panel fix its exact scope. Entry-level bridge for square matrix casts along a dimension equality.

CompiledCompiled

QuantumBlockEncoding.evalWith_evalGateMatrices_single

Lean checks the proposition indexed as “eval with eval gate matrices single”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluation-level single-gate reduction for 'evalGateMatrices'.

CompiledCompiled

QuantumBlockEncoding.CircuitMatrixSemantics

This record groups the data and proof fields needed for “circuit matrix semantics”. A proposition-valued field is a requirement until a constructor supplies it. Circuit-level matrix semantics assembled from gate-level matrices.

CompiledPartial route

QuantumBlockEncoding.PreparedCircuitEntryTarget

This record groups the data and proof fields needed for “prepared circuit entry target”. A proposition-valued field is a requirement until a constructor supplies it. Typed target for relating an active circuit-matrix entry to a prepared composition entry.

CompiledPartial route

QuantumBlockEncoding.BlockExtractionTarget

This record groups the data and proof fields needed for “block extraction target”. A proposition-valued field is a requirement until a constructor supplies it. A paper-level block-extraction target against a concrete circuit matrix.

CompiledPartial route

QuantumBlockEncoding.BlockExtractionBranchContributionTarget

This record groups the data and proof fields needed for “block extraction branch contribution target”. A proposition-valued field is a requirement until a constructor supplies it. Typed interface for decomposing one block-extracted matrix entry into finite branch contributions.

CompiledPartial route

QuantumBlockEncoding.CircuitBlockEncodingClaim

This record groups the data and proof fields needed for “circuit block encoding claim”. A proposition-valued field is a requirement until a constructor supplies it. A circuit-level block encoding claim bundling a circuit matrix semantics with a block extraction target and a dimension compatibility proof.

CompiledPartial route

QuantumBlockEncoding.FiniteBlockCompositionContract

This record groups the data and proof fields needed for “finite block composition contract”. A proposition-valued field is a requirement until a constructor supplies it. Typed contract for a finite-dimensional LCU/block-composition step.

CompiledPartial route

QuantumBlockEncoding.signalSystemBlockRowIndex

This definition gives the library's named construction or computation for “signal system block row index”. Compound row index for a signal value and a system-row index.

CompiledCompiled

QuantumBlockEncoding.signalSystemBlockColIndex

This definition gives the library's named construction or computation for “signal system block col index”. Compound column index for a signal value and a system-column index.

CompiledCompiled

QuantumBlockEncoding.signalSystemBlockRowIndex_lt

Lean checks the proposition indexed as “signal system block row index lt”; the hypotheses and conclusion in the code panel fix its exact scope. The row compound index stays inside a signal × row matrix.

CompiledCompiled

QuantumBlockEncoding.signalSystemBlockColIndex_lt

Lean checks the proposition indexed as “signal system block col index lt”; the hypotheses and conclusion in the code panel fix its exact scope. The column compound index stays inside a signal × column matrix.

CompiledCompiled

QuantumBlockEncoding.signalSystemBlockProjection

This definition gives the library's named construction or computation for “signal system block projection”. Block projection: extract the '(signalIdx, signalIdx)' block from a signal × system matrix.

CompiledCompiled

QuantumBlockEncoding.totalCircuitQubits

This definition gives the library's named construction or computation for “total circuit qubits”. Total qubits needed for a circuit operating on 'system' system qubits and 'signal' signal qubits.

CompiledCompiled

QuantumBlockEncoding.coldE1SystemIndex

This definition gives the library's named construction or computation for “cold e 1 system index”. System-register index for one-bit registers ordered as '(T, tau, S)'.

CompiledCompiled

QuantumBlockEncoding.coldE1Target

This definition gives the library's named construction or computation for “cold e 1 target”. The target matrix for 'E_1'.

CompiledCompiled

QuantumBlockEncoding.coldE1QueryTarget

This definition gives the library's named construction or computation for “cold e 1 query target”. Operator-first target metadata for the strict cold-start benchmark.

CompiledCompiled

QuantumBlockEncoding.coldE1SignalIndex

This definition gives the library's named construction or computation for “cold e 1 signal index”. The clean block-selection index for the single signal ancilla.

CompiledCompiled

QuantumBlockEncoding.coldE1BlockProjection

This definition gives the library's named construction or computation for “cold e 1 block projection”. Exact clean-block predicate for a one-signal-qubit candidate matrix.

CompiledCompiled

QuantumBlockEncoding.coldE1ExactNormalizer

This definition gives the library's named construction or computation for “cold e 1 exact normalizer”. Exact normalizer for the requested block encoding.

CompiledCompiled

QuantumBlockEncoding.coldE1ExactError

This definition gives the library's named construction or computation for “cold e 1 exact error”. Exact error for the requested block encoding.

CompiledCompiled

QuantumBlockEncoding.coldE1SourceLayout

This definition gives the library's named construction or computation for “cold e 1 source layout”. Source-facing layout: three system qubits and one clean signal ancilla.

CompiledCompiled

QuantumBlockEncoding.coldE1HighLevelSeedCost

This definition gives the library's named construction or computation for “cold e 1 high level seed cost”. Source-facing seed cost under the high-level reversible-gate convention in the conversion window.

CompiledCompiled

QuantumBlockEncoding.coldE1CandidateImage

This definition gives the library's named construction or computation for “cold e 1 candidate image”. Candidate 'COLD-CLEAN-PERM-001' as a finite image table on '(signal,T,tau,S)' basis states.

CompiledCompiled

QuantumBlockEncoding.coldE1CandidateMatrix

This definition gives the library's named construction or computation for “cold e 1 candidate matrix”. Column-vector permutation matrix for 'COLD-CLEAN-PERM-001'.

CompiledCompiled

QuantumBlockEncoding.coldE1CandidatePreimage

This definition gives the library's named construction or computation for “cold e 1 candidate preimage”. Explicit inverse image table for the task-local permutation certificate.

CompiledCompiled

QuantumBlockEncoding.ConcreteSemantics.basisKet_apply

Lean checks the proposition indexed as “basis ket apply”; the hypotheses and conclusion in the code panel fix its exact scope. A computational-basis ket is exactly a Kronecker delta at its named index.

CompiledCompiled

QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate

This record groups the data and proof fields needed for “complex unitary gate”. A proposition-valued field is a requirement until a constructor supplies it. A finite complex gate whose unitarity is the standard Mathlib unitary-group predicate rather than an unconstrained proposition.

CompiledPartial route

QuantumBlockEncoding.ConstructiveHermitePreparation.prepare_spec

Lean checks the proposition indexed as “prepare spec”; the hypotheses and conclusion in the code panel fix its exact scope. Literal source semantics, all clean/non-clean output sectors, full unitary, and gate/depth bounds for this particular constructed circuit.

CompiledCompiled

QuantumBlockEncoding.ConstructiveIsometryCompletion.complete_spec

Lean checks the proposition indexed as “complete spec”; the hypotheses and conclusion in the code panel fix its exact scope. The supplied hypothesis is only the input column isometry; the returned matrix is computed by the named producer, not supplied or selected existentially.

CompiledCompiled

QuantumBlockEncoding.ConstructiveTensorTrain.CoreFactorization

This record groups the data and proof fields needed for “core factorization”. A proposition-valued field is a requirement until a constructor supplies it. The physical bit/right-bond indexing is retained in the returned core.

CompiledPartial route

QuantumBlockEncoding.ConstructiveTensorTrain.Result

This record groups the data and proof fields needed for “result”. A proposition-valued field is a requirement until a constructor supplies it. Concrete canonical data, indexed by the precise original chain.

CompiledPartial route

QuantumBlockEncoding.ConstructiveThinLQ.Factorization

This record groups the data and proof fields needed for “factorization”. A proposition-valued field is a requirement until a constructor supplies it. Actual factors together with the same two equations as 'ThinLQ'.

CompiledPartial route

QuantumBlockEncoding.ConstructiveThinLQ.factor_correct

Lean checks the proposition indexed as “factor correct”; the hypotheses and conclusion in the code panel fix its exact scope. The concrete output satisfies the existing all-shape thin-LQ contract.

CompiledCompiled

QuantumBlockEncoding.Matrix

This abbreviation gives a shorter name to the type or expression used for “matrix”. A finite matrix represented by its entries.

CompiledCompiled

QuantumBlockEncoding.Matrix.zero

This definition gives the library's named construction or computation for “zero”. The zero finite matrix.

CompiledCompiled

QuantumBlockEncoding.Matrix.mul

This definition gives the library's named construction or computation for “mul”. Finite matrix multiplication with the project-local 'Matrix' representation.

CompiledCompiled

QuantumBlockEncoding.gridSize

This definition gives the library's named construction or computation for “grid size”. Number of grid points in an 'n'-qubit register.

CompiledCompiled

QuantumBlockEncoding.clog2

This definition gives the library's named construction or computation for “clog 2”. Small ceiling-log helper for resource bookkeeping.

CompiledCompiled

QuantumBlockEncoding.gridSize_zero

Lean checks the proposition indexed as “grid size zero”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.clog2_zero

Lean checks the proposition indexed as “clog 2 zero”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.clog2_one

Lean checks the proposition indexed as “clog 2 one”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.log2_pred_two_pow_succ

Lean checks the proposition indexed as “log 2 pred two pow succ”; the hypotheses and conclusion in the code panel fix its exact scope. 'log2 (2^(n+1)-1) = n', the arithmetic fact behind 'clog2_gridSize'.

CompiledCompiled

QuantumBlockEncoding.clog2_gridSize

Lean checks the proposition indexed as “clog 2 grid size”; the hypotheses and conclusion in the code panel fix its exact scope. The bit-width of an 'n'-qubit grid is 'n'.

CompiledCompiled

QuantumBlockEncoding.BoundaryKind

This type lists the allowed alternatives for “boundary kind”; its constructors are the cases that downstream code must handle. Boundary conditions tracked by this library.

CompiledCompiled

QuantumBlockEncoding.Stencil

This record groups the data and proof fields needed for “stencil”. A proposition-valued field is a requirement until a constructor supplies it. Finite-difference stencil metadata.

CompiledPartial route

QuantumBlockEncoding.Stencil.width

This definition gives the library's named construction or computation for “width”. The number of columns touched by a stencil row before boundary corrections.

CompiledCompiled

QuantumBlockEncoding.BulkWindow

This record groups the data and proof fields needed for “bulk window”. A proposition-valued field is a requirement until a constructor supplies it. A central bulk interval '[lower, upper]' inside the computational basis rows.

CompiledPartial route

QuantumBlockEncoding.Coeff

This type lists the allowed alternatives for “coeff”; its constructors are the cases that downstream code must handle. A lightweight symbolic coefficient language for stencil entries.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith

This definition gives the library's named construction or computation for “eval with”. Evaluate a symbolic 'Coeff' to a concrete 'Rat' given an environment.

CompiledCompiled

QuantumBlockEncoding.Coeff.rat_zero

Lean checks the proposition indexed as “rat zero”; the hypotheses and conclusion in the code panel fix its exact scope. Trivial reflexivity lemma for the zero rational coefficient.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_rat_zero

Lean checks the proposition indexed as “eval with rat zero”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating 'Coeff.rat 0' yields '0' under any environment.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_rat_one

Lean checks the proposition indexed as “eval with rat one”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating 'Coeff.rat 1' yields '1' under any environment.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_rat_add

Lean checks the proposition indexed as “eval with rat add”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating 'Coeff.add (Coeff.rat a) (Coeff.rat b)' yields 'a + b'.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_rat_mul

Lean checks the proposition indexed as “eval with rat mul”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating 'Coeff.mul (Coeff.rat a) (Coeff.rat b)' yields 'a * b'.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_rat_neg

Lean checks the proposition indexed as “eval with rat neg”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating 'Coeff.neg (Coeff.rat a)' yields '-a'.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_eq_zero_of_rat_zero

Lean checks the proposition indexed as “eval with eq zero of rat zero”; the hypotheses and conclusion in the code panel fix its exact scope. If a Coeff value is 'Coeff.rat 0', it evaluates to '0' under any environment.

CompiledCompiled

QuantumBlockEncoding.Coeff.evalWith_eq_one_of_rat_one

Lean checks the proposition indexed as “eval with eq one of rat one”; the hypotheses and conclusion in the code panel fix its exact scope. If a Coeff value is 'Coeff.rat 1', it evaluates to '1' under any environment.

CompiledCompiled

QuantumBlockEncoding.StencilEntry

This record groups the data and proof fields needed for “stencil entry”. A proposition-valued field is a requirement until a constructor supplies it. One symbolic nonzero entry in a finite-difference row.

CompiledPartial route

QuantumBlockEncoding.CubicDiagonalOracle.dot8

This definition gives the library's named construction or computation for “dot 8”. Explicit rational dot product for the 8-dimensional Householder support leaf.

CompiledCompiled

QuantumBlockEncoding.CubicDiagonalOracle.householder8_clean_entry

Lean checks the proposition indexed as “householder 8 clean entry”; the hypotheses and conclusion in the code panel fix its exact scope. Active leaf 'HINT-HOUSEHOLDER8-CLEAN-ENTRY': the clean entry of the rational Householder block is the first coordinate of the supplied unit vector.

CompiledCompiled

QuantumBlockEncoding.CubicDiagonalOracle.householder8_isRationalOrthogonal

Lean checks the proposition indexed as “householder 8 is rational orthogonal”; the hypotheses and conclusion in the code panel fix its exact scope. Active leaf 'HINT-HOUSEHOLDER8-ORTHO': the rational 8-dimensional Householder block is orthogonal whenever the input vector has 'dot8 v v = 1' and does not equal the clean basis vector.

CompiledCompiled

QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_rowInner_eq_branch

Lean checks the proposition indexed as “controlled householder 8 direct sum row inner eq branch”; the hypotheses and conclusion in the code panel fix its exact scope. Support leaf 'CDS-ROW-FOLD': inside one decoded system branch, the row inner product of the controlled direct sum is the row inner product of that branch's Householder block.

CompiledCompiled

QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_branchData

Lean checks the proposition indexed as “linear diagonal rational completion branch data”; the hypotheses and conclusion in the code panel fix its exact scope. Adapter leaf for 'HINT-O0-RATIONAL-COMPLETION': a rational-completion witness also supplies the nontrivial clean-coordinate side condition needed by the Householder block.

CompiledCompiled

QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTLocalSideConditions

This record groups the data and proof fields needed for “cubic qsvt local side conditions”. A proposition-valued field is a requirement until a constructor supplies it. Locally checkable side conditions for the cubic polynomial on the 'O_0' spectrum.

CompiledPartial route

QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicAmplitude_eq

Lean checks the proposition indexed as “fixed denom cubic amplitude eq”; the hypotheses and conclusion in the code panel fix its exact scope. 'DIAG-ARITH-FIXED-DENOM-ALG-001': projecting the fixed-denominator payload 'j.val ^ 3' by the '3 * n'-qubit denominator recovers the cubic grid amplitude.

CompiledCompiled

QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle

This opaque declaration exposes the interface for “expanded controlled ry uses cubic angle” while keeping its implementation from unfolding automatically. Semantic obligation for the standard 'R_y' convention on the signal qubit: for each basis index 'j', the route uses 'theta_j = 2 * arccos ((j / 2^n)^3)', so the clean entry is 'cos (theta_j / 2) = (j / 2^n)^3'.

CompiledPartial route

QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend

This record groups the data and proof fields needed for “linear diagonal value backend”. A proposition-valued field is a requirement until a constructor supplies it. Backend-level shape for computing the hinted linear diagonal value 'x_j = j / 2^n'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.isBulkRow

This definition gives the library's named construction or computation for “is bulk row”. Classical specification of the indicator oracle U_indic(K1,K2).

CompiledPartial route

QuantumBlockEncoding.GHL2025.isBoundaryRow

This definition gives the library's named construction or computation for “is boundary row”. Complement of isBulkRow: returns true for boundary rows (j < K1 or K2 < j).

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinRegisterPartition

This record groups the data and proof fields needed for “robin register partition”. A proposition-valued field is a requirement until a constructor supplies it. Detailed register partition matching the wavefunction ket labels in Eq.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinResourceExpr

This definition gives the library's named construction or computation for “one term robin resource expr”. Theorem 1-term Robin resource shape: 'O(sum_g Q_g n log n + kappa n)' gates and '2n' pure ancillas.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinPreciseResourceExpr

This definition gives the library's named construction or computation for “one term robin precise resource expr”. Precise gate cost formula from the text (main.tex:1088-1089), before absorbing the O(1) boundary deviation count into the Theorem's simplified formula.

CompiledPartial route

QuantumBlockEncoding.GHL2025.deviatingIndices_example

Lean checks the proposition indexed as “deviating indices example”; the hypotheses and conclusion in the code panel fix its exact scope. deviatingIndices computes K1 + gridSize - K2, the number of boundary rows.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinResource

This definition gives the library's named construction or computation for “one term robin resource”. Numeric resource useful for concrete search runs with fixed parameters.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinActiveBackendCircuit_gateList

Lean checks the proposition indexed as “one term robin active backend circuit gate list”; the hypotheses and conclusion in the code panel fix its exact scope. The active backend circuit remains the seven-gate product currently used by the finite matrix semantics.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinNormalizer

This definition gives the library's named construction or computation for “one term robin normalizer”. Symbolic normalizer α = N_D · N_f · κ for the one-term Robin construction.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinSpec

This definition gives the library's named construction or computation for “one term robin spec”. Block-encoding spec for the one-term Robin derivative operator.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinSpec_ancilla

Lean checks the proposition indexed as “one term robin spec ancilla”; the hypotheses and conclusion in the code panel fix its exact scope. The spec's pure ancilla matches the resource formula.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinSpec_circuitCost

Lean checks the proposition indexed as “one term robin spec circuit cost”; the hypotheses and conclusion in the code panel fix its exact scope. The spec's circuit local cost: the SWAP placeholder costs 3 CNOTs and each unexpanded oracle call is counted as one unresolved call in the candidate score.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinNormalizer_eval

Lean checks the proposition indexed as “one term robin normalizer eval”; the hypotheses and conclusion in the code panel fix its exact scope. Evaluating the symbolic normalizer 'N_D · N_f · κ' under an environment gives the product of the three symbol values.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinClaim

This definition gives the library's named construction or computation for “one term robin claim”. The paper's one-term Robin block-encoding construction claim.

CompiledPartial route

QuantumBlockEncoding.GHL2025.ObligationRecord

This record groups the data and proof fields needed for “obligation record”. A proposition-valued field is a requirement until a constructor supplies it. A proof obligation tracked by description and paper source anchor.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinCircuitSkeleton

This record groups the data and proof fields needed for “robin circuit skeleton”. A proposition-valued field is a requirement until a constructor supplies it. Circuit skeleton matching Fig.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinGamma1

This record groups the data and proof fields needed for “robin gamma 1”. A proposition-valued field is a requirement until a constructor supplies it. Eq.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinGamma2

This record groups the data and proof fields needed for “robin gamma 2”. A proposition-valued field is a requirement until a constructor supplies it. Eq.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinGamma3

This record groups the data and proof fields needed for “robin gamma 3”. A proposition-valued field is a requirement until a constructor supplies it. Eq.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinWavefunctionDecomposition

This record groups the data and proof fields needed for “robin wavefunction decomposition”. A proposition-valued field is a requirement until a constructor supplies it. Bundle of the three intermediate wavefunction states from Eq.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinProofObligations

This record groups the data and proof fields needed for “robin proof obligations”. A proposition-valued field is a requirement until a constructor supplies it. Bundle of proof obligations for the one-term Robin block encoding.

CompiledPartial route

QuantumBlockEncoding.GHL2025.defaultRobinCircuitSkeleton

This definition gives the library's named construction or computation for “default robin circuit skeleton”. Default circuit skeleton for the one-term Robin construction, with oracle names matching the paper's notation.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessPaperContract

This record groups the data and proof fields needed for “banded sparse access paper contract”. A proposition-valued field is a requirement until a constructor supplies it. Paper-level source contract for the banded sparse-access oracle in Lemma 1.

CompiledPartial route

QuantumBlockEncoding.GHL2025.DerivativeOracleContract

This record groups the data and proof fields needed for “derivative oracle contract”. A proposition-valued field is a requirement until a constructor supplies it. Contract for the derivative oracle O_D: sparse-access oracle for the banded stencil matrix.

CompiledPartial route

QuantumBlockEncoding.GHL2025.FunctionOracleContract

This record groups the data and proof fields needed for “function oracle contract”. A proposition-valued field is a requirement until a constructor supplies it. Contract for the function oracle O_f: amplitude oracle encoding f(x) on the grid.

CompiledPartial route

QuantumBlockEncoding.GHL2025.derivativeOracleResource

This definition gives the library's named construction or computation for “derivative oracle resource”. Resource for the derivative oracle O_D using the banded sparse-access formula from Lemma 1 of Guseynov-Huang-Liu 2025.

CompiledPartial route

QuantumBlockEncoding.GHL2025.OneTermRobinTheoremData

This record groups the data and proof fields needed for “one term robin theorem data”. A proposition-valued field is a requirement until a constructor supplies it. Typed theorem data for Theorem one-term block-encoding (main.tex:1098-1109).

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinBoundaryRotationAngle

This record groups the data and proof fields needed for “robin boundary rotation angle”. A proposition-valued field is a requirement until a constructor supplies it. A controlled R_y rotation angle for a single boundary row entry.

CompiledPartial route

QuantumBlockEncoding.GHL2025.RobinBoundaryRotationSet

This record groups the data and proof fields needed for “robin boundary rotation set”. A proposition-valued field is a requirement until a constructor supplies it. The set of all boundary-controlled rotation angles for a given Robin construction.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseColumnBranchValid_boundaryUnused_n3

Lean checks the proposition indexed as “robin sparse column branch valid boundary unused n 3”; the hypotheses and conclusion in the code panel fix its exact scope. The proposed valid-branch predicate separates the boundary unused branch that caused the recorded 'n = 3' collision, while the current executable map still sends both branches to the same address.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseColumnMap_zero

Lean checks the proposition indexed as “robin sparse column map zero”; the hypotheses and conclusion in the code panel fix its exact scope. Normal form for the leftmost row of the executable Robin sparse map.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseColumnMap_one

Lean checks the proposition indexed as “robin sparse column map one”; the hypotheses and conclusion in the code panel fix its exact scope. Normal form for the second row of the executable Robin sparse map.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseColumnMap_bulk

Lean checks the proposition indexed as “robin sparse column map bulk”; the hypotheses and conclusion in the code panel fix its exact scope. Normal form for a bulk row of the executable Robin sparse map.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseReverseColumnRoundtrip_of_lt_eight

Lean checks the proposition indexed as “robin sparse reverse column roundtrip of lt eight”; the hypotheses and conclusion in the code panel fix its exact scope. The reverse sparse-index candidate is a left inverse for the executable one-term Robin column map on the three-bit sparse-index range used by the current one-term parameter family.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseReverseColumnIndex_lt_eight_of_columnMap

Lean checks the proposition indexed as “robin sparse reverse column index lt eight of column map”; the hypotheses and conclusion in the code panel fix its exact scope. The reverse-index candidate stays inside the three-bit sparse register for columns produced by the executable one-term Robin map.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessPaperRegisters

This record groups the data and proof fields needed for “banded sparse access paper registers”. A proposition-valued field is a requirement until a constructor supplies it. Register values used by the faithful Lemma 1 'O_D^BS' contract.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperImage_div_lowBase_mod_eq

Lean checks the proposition indexed as “banded sparse access paper image div low base mod eq”; the hypotheses and conclusion in the code panel fix its exact scope. After shifting past the low block, the paper image exposes the written address modulo the n-bit O_D^BS register.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperImage_lt_qubitDim_of_address_lt

Lean checks the proposition indexed as “banded sparse access paper image lt qubit dim of address lt”; the hypotheses and conclusion in the code panel fix its exact scope. The executable paper image remains inside the full finite basis when the input column is in range and the written O_D^BS address is n-bit.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperImage_highTail_eq_of_address_lt

Lean checks the proposition indexed as “banded sparse access paper image high tail eq of address lt”; the hypotheses and conclusion in the code panel fix its exact scope. The arithmetic register-splice form of 'bandedSparseAccessPaperImage' preserves all bits above the 'O_D^BS' address register when the written address is n-bit.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperImageNoSpill

This definition gives the library's named construction or computation for “banded sparse access paper image no spill”. Executable check that the paper-image skeleton does not write past the n-bit 'O_D^BS' address register into the indicator or 'm_f' bits above it.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperCleanDomainSplit_iff

Lean checks the proposition indexed as “banded sparse access paper clean domain split iff”; the hypotheses and conclusion in the code panel fix its exact scope. The executable clean padded-input domain splits into valid sparse branches and clean unused sparse branches.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessPriorPDESourceContract

This record groups the data and proof fields needed for “banded sparse access prior pde source contract”. A proposition-valued field is a requirement until a constructor supplies it. Source contract imported from the prior PDE block-encoding paper.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessPaperColumnContract

This record groups the data and proof fields needed for “banded sparse access paper column contract”. A proposition-valued field is a requirement until a constructor supplies it. Per-column audit record for the executable Lemma 1 paper image.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinSparseAmplitudeValue

This definition gives the library's named construction or computation for “robin sparse amplitude value”. Sparse amplitude value: the s-th nonzero stencil coefficient of row i in the Robin derivative matrix, returned as a Coeff value.

CompiledPartial route

QuantumBlockEncoding.GHL2025.DerivativeNormalizerNDContract

This record groups the data and proof fields needed for “derivative normalizer nd contract”. A proposition-valued field is a requirement until a constructor supplies it. Shared Phase-1 contract for every paper route that uses the normalized derivative coefficient 'D_j^(s) / N_D'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.DerivativeNormalizerNDSourceBound

This record groups the data and proof fields needed for “derivative normalizer nd source bound”. A proposition-valued field is a requirement until a constructor supplies it. Phase-1 source/bound view for the shared 'N_D' normalizer contract.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix

This definition gives the library's named construction or computation for “indicator oracle matrix”. Honest U_indic matrix: controlled-X on the indicator qubit, conditioned on the system register being in the bulk window [K1, K2].

CompiledPartial route

QuantumBlockEncoding.GHL2025.sparseAmplitudeOracleDTMatrix

This definition gives the library's named construction or computation for “sparse amplitude oracle dt matrix”. Honest O_DT^S diagonal matrix: encodes the sparse amplitude data on the diagonal for bulk rows (indicator=1) and acts as identity for boundary rows (indicator=0).

CompiledPartial route

QuantumBlockEncoding.GHL2025.SparseAmplitudeOracleDTPaperRegisters

This record groups the data and proof fields needed for “sparse amplitude oracle dt paper registers”. A proposition-valued field is a requirement until a constructor supplies it. Register values used by the faithful Lemma 3 'O_DT^S' contract.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BoundaryRotationPaperRegisters

This record groups the data and proof fields needed for “boundary rotation paper registers”. A proposition-valued field is a requirement until a constructor supplies it. Register values used by the faithful 'Ry_boundary' source contract.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BoundaryRotationAngleNormalizerContract

This record groups the data and proof fields needed for “boundary rotation angle normalizer contract”. A proposition-valued field is a requirement until a constructor supplies it. Typed angle/normalizer contract for one 'Ry_boundary' rotation block.

CompiledPartial route

QuantumBlockEncoding.GHL2025.boundaryRotationAngleNormalizerContract_coefficient

Lean checks the proposition indexed as “boundary rotation angle normalizer contract coefficient”; the hypotheses and conclusion in the code panel fix its exact scope. The coefficient source of the 'Ry_boundary' angle contract is definitionally the Robin global sparse-slot amplitude data layer.

CompiledPartial route

QuantumBlockEncoding.GHL2025.boundaryRotationMatrix

This definition gives the library's named construction or computation for “boundary rotation matrix”. Honest Ry_boundary matrix: controlled R_y rotation on the ancilla qubit (bit 0), conditioned on the indicator bit being 0 (boundary row).

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinGate_O_D_BS_contractDrift_column8_n3

Lean checks the proposition indexed as “one term robin gate o d bs contract drift column 8 n 3”; the hypotheses and conclusion in the code panel fix its exact scope. Concrete contract-drift guard separating the active Lemma 1 paper-image matrix from the legacy sparse-column helper.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperGlobalSlotSource_boundaryColumns_n3

Lean checks the proposition indexed as “banded sparse access paper global slot source boundary columns n 3”; the hypotheses and conclusion in the code panel fix its exact scope. The old boundary collision columns are both in the faithful global-slot source domain even though one of them is outside the rejected row-dependent nonzero-branch classifier.

CompiledPartial route

QuantumBlockEncoding.GHL2025.FunctionOraclePaperRegisters

This record groups the data and proof fields needed for “function oracle paper registers”. A proposition-valued field is a requirement until a constructor supplies it. Register values used by the paper-level function oracle 'O_f' contract.

CompiledPartial route

QuantumBlockEncoding.GHL2025.functionOraclePaperRegisters

This definition gives the library's named construction or computation for “function oracle paper registers”. Extract the system register and the 'm_f' function workspace from a compound basis index for the 'O_f' source contract.

CompiledPartial route

QuantumBlockEncoding.GHL2025.FunctionOraclePaperImage

This record groups the data and proof fields needed for “function oracle paper image”. A proposition-valued field is a requirement until a constructor supplies it. Paper-image source contract for one column of the function oracle 'O_f'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.functionOraclePaperImage_cleanBranchAmplitude_eq

Lean checks the proposition indexed as “function oracle paper image clean branch amplitude eq”; the hypotheses and conclusion in the code panel fix its exact scope. Bridge lemma: the clean 'O_f' branch amplitude is the normalized function value at the system value extracted from the same column.

CompiledPartial route

QuantumBlockEncoding.GHL2025.FunctionOracleExternalAmplitudeSourceContract

This record groups the data and proof fields needed for “function oracle external amplitude source contract”. A proposition-valued field is a requirement until a constructor supplies it. External source transcript for the O_f amplitude-oracle theorem cited by GHL2025.

CompiledPartial route

QuantumBlockEncoding.GHL2025.FunctionOracleAmplitudeProofRoute

This record groups the data and proof fields needed for “function oracle amplitude proof route”. A proposition-valued field is a requirement until a constructor supplies it. Refined proof route for the 'of_nf_amplitude_route' block.

CompiledPartial route

QuantumBlockEncoding.GHL2025.functionOracleMatrix

This definition gives the library's named construction or computation for “function oracle matrix”. Helper-only O_f diagonal matrix: records function values f(x_j) on the diagonal.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinGate_O_f

This definition gives the library's named construction or computation for “one term robin gate o f”. Gate matrix for 'O_f' using the faithful paper-image matrix skeleton.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix

This definition gives the library's named construction or computation for “swap oracle matrix”. Honest SWAP matrix: permutation matrix swapping the system register (n qubits at bits [1, 1+n)) with the O_D^BS register (n qubits at bits [1+n, 1+2n)).

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage

This definition gives the library's named construction or computation for “swap oracle image”. Image function for the SWAP oracle: swaps two n-qubit register blocks.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleDiff

This definition gives the library's named construction or computation for “swap oracle diff”. The n-bit XOR difference between the two register blocks exchanged by SWAP.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_eq_xor_diff

Lean checks the proposition indexed as “swap oracle image eq xor diff”; the hypotheses and conclusion in the code panel fix its exact scope. The SWAP image is the source index XORed by the same difference in both blocks.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix_eq_image

Lean checks the proposition indexed as “swap oracle matrix eq image”; the hypotheses and conclusion in the code panel fix its exact scope. swapOracleMatrix entry equals image function check.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessPostSwapCleanup

This record groups the data and proof fields needed for “banded sparse access post swap cleanup”. A proposition-valued field is a requirement until a constructor supplies it. Proof-carrying interface for a supplied post-SWAP cleanup preimage.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinGateMatrixPlaceholders

This definition gives the library's named construction or computation for “one term robin gate matrix placeholders”. List of all 7 gate matrix placeholders for the one-term Robin circuit, in the same order as 'oneTermRobinCircuit'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.oneTermRobinPlaceholdersMatch

Lean checks the proposition indexed as “one term robin placeholders match”; the hypotheses and conclusion in the code panel fix its exact scope. The placeholder gate matrices match the circuit gate labels.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage

This definition gives the library's named construction or computation for “indicator oracle image”. Indicator oracle image function: for each basis state j, computes the image by XORing the indicator bit at position indPos when the system register value is in the bulk window [K1, K2].

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix_eq_image

Lean checks the proposition indexed as “indicator oracle matrix eq image”; the hypotheses and conclusion in the code panel fix its exact scope. The indicator oracle matrix entry is 1 exactly when i = indicatorOracleImage j.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage_self_inverse_n1

Lean checks the proposition indexed as “indicator oracle image self inverse n 1”; the hypotheses and conclusion in the code panel fix its exact scope. Self-inverse property for n=1: applying indicatorOracleImage twice returns the original value for all j in Fin domain (128 elements).

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage_self_inverse_n3

Lean checks the proposition indexed as “indicator oracle image self inverse n 3”; the hypotheses and conclusion in the code panel fix its exact scope. Self-inverse property for n=3: applying indicatorOracleImage twice returns the original value for all j in Fin domain (8192 elements).

CompiledPartial route

QuantumBlockEncoding.GHL2025.shiftLeft_land_mask_eq_zero

Lean checks the proposition indexed as “shift left land mask eq zero”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12 helper: (b <<< pos) &&& ((1 <<< n) - 1) = 0 when pos >= n, because b <<< pos has all zeros in bits [0, pos) >= [0, n).

CompiledPartial route

QuantumBlockEncoding.GHL2025.xor_shift_preserve_low

Lean checks the proposition indexed as “xor shift preserve low”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12 helper: XOR with a value shifted left by 'pos' preserves the low 'n' bits when 'pos >= n'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.xor_shift_preserve_shift_low

Lean checks the proposition indexed as “xor shift preserve shift low”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12 helper: XOR with a high-shifted value preserves low bits after right-shifting.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleDiff_lt_two_pow

Lean checks the proposition indexed as “swap oracle diff lt two pow”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG helper: the XOR difference between the two n-bit blocks is itself an n-bit value.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleDiff_shiftRight_eq_zero

Lean checks the proposition indexed as “swap oracle diff shift right eq zero”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG helper: right-shifting the n-bit block difference by n removes it.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleDiff_shiftLeft_mask_eq_zero

Lean checks the proposition indexed as “swap oracle diff shift left mask eq zero”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG helper: shifting the block difference into the high block leaves zero in the low n-bit mask.

CompiledPartial route

QuantumBlockEncoding.GHL2025.shiftLeft_lt_two_pow_of_lt

Lean checks the proposition indexed as “shift left lt two pow of lt”; the hypotheses and conclusion in the code panel fix its exact scope. Shifting a bounded value into a register block keeps it inside the total basis width.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_lt_qubitDim

Lean checks the proposition indexed as “swap oracle image lt qubit dim”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG range block: the image of the register-block SWAP stays inside the same full finite basis.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_block1_eq_block2

Lean checks the proposition indexed as “swap oracle image block 1 eq block 2”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG block: after 'swapOracleImage', the low n-bit register equals the old high n-bit register.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_block2_eq_block1

Lean checks the proposition indexed as “swap oracle image block 2 eq block 1”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG block: after 'swapOracleImage', the high n-bit register equals the old low n-bit register.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleDiff_preserved

Lean checks the proposition indexed as “swap oracle diff preserved”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG block: the XOR difference between the two exchanged registers is preserved by one SWAP application.

CompiledPartial route

QuantumBlockEncoding.GHL2025.xor_two_shifted_masks_cancel

Lean checks the proposition indexed as “xor two shifted masks cancel”; the hypotheses and conclusion in the code panel fix its exact scope. XORing the same two shifted masks twice cancels them bitwise.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_self_inverse

Lean checks the proposition indexed as “swap oracle image self inverse”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG block: the image function is self-inverse.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_injective

Lean checks the proposition indexed as “swap oracle image injective”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG block: injectivity of the image function, derived from the self-inverse arithmetic block without opening the bit-slice proof again.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleImage_bijective

Lean checks the proposition indexed as “swap oracle image bijective”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP proof-DAG block: bijectivity of 'swapOracleImage' on the finite full Hilbert-space basis.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix_col_has_one

Lean checks the proposition indexed as “swap oracle matrix col has one”; the hypotheses and conclusion in the code panel fix its exact scope. For each SWAP matrix column, the row indexed by 'swapOracleImage' contains the unique '1' entry.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix_col_unique

Lean checks the proposition indexed as “swap oracle matrix col unique”; the hypotheses and conclusion in the code panel fix its exact scope. For each SWAP matrix column, any '1' entry must occur at the row indexed by 'swapOracleImage'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix_row_has_one

Lean checks the proposition indexed as “swap oracle matrix row has one”; the hypotheses and conclusion in the code panel fix its exact scope. Every SWAP matrix row has a '1' entry, by finite surjectivity.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix_row_unique

Lean checks the proposition indexed as “swap oracle matrix row unique”; the hypotheses and conclusion in the code panel fix its exact scope. Every SWAP matrix row has a unique '1' entry, by finite injectivity.

CompiledPartial route

QuantumBlockEncoding.GHL2025.swapOracleMatrix_is_permutation

Lean checks the proposition indexed as “swap oracle matrix is permutation”; the hypotheses and conclusion in the code panel fix its exact scope. SWAP matrix is a finite permutation matrix: every row and column has exactly one entry equal to '1'.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperPostSwapImage_lt_qubitDim_of_address_lt

Lean checks the proposition indexed as “banded sparse access paper post swap image lt qubit dim of address lt”; the hypotheses and conclusion in the code panel fix its exact scope. After the active paper image and SWAP, the post-SWAP column is still a finite basis index whenever the source column is finite and the written paper address is n-bit.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperSpliceODRegister

This definition gives the library's named construction or computation for “banded sparse access paper splice od register”. Replace the 'O_D^BS' n-bit register of a compound index while preserving the low ancilla/system block and all high-tail bits.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessPaperPostSwapReverseSparse_lt_two_pow

Lean checks the proposition indexed as “banded sparse access paper post swap reverse sparse lt two pow”; the hypotheses and conclusion in the code panel fix its exact scope. The reverse sparse index used by the post-SWAP cleanup candidate fits in the three-bit sparse register for the one-term Robin parameter family.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessCleanupScope

This type lists the allowed alternatives for “banded sparse access cleanup scope”; its constructors are the cases that downstream code must handle. Allowed scopes for the next 'O_D^BS' cleanup theorem packet.

CompiledPartial route

QuantumBlockEncoding.GHL2025.BandedSparseAccessCleanupScopeDecision

This record groups the data and proof fields needed for “banded sparse access cleanup scope decision”. A proposition-valued field is a requirement until a constructor supplies it. Non-promoting decision for the next 'O_D^BS' cleanup theorem domain.

CompiledPartial route

QuantumBlockEncoding.GHL2025.bandedSparseAccessCleanupScopeDecision_activeGlobalSource

Lean checks the proposition indexed as “banded sparse access cleanup scope decision active global source”; the hypotheses and conclusion in the code panel fix its exact scope. The cleanup-scope decision selects the active global-source theorem and keeps all broader cleanup/unitarity obligations closed to proof-flag promotion.

CompiledPartial route

QuantumBlockEncoding.GHL2025.robinIndicatorBitPosition_ge

Lean checks the proposition indexed as “robin indicator bit position ge”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: robinIndicatorBitPosition = 1 + 2*p.n, hence >= 1 + p.n.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage_isBulk_preserved

Lean checks the proposition indexed as “indicator oracle image is bulk preserved”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: The isBulk predicate gives the same result for j and indicatorOracleImage p j, because isBulk only depends on the system register value, which is preserved.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage_injective

Lean checks the proposition indexed as “indicator oracle image injective”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: General injectivity for indicatorOracleImage, derived from self-inverse.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage_lt

Lean checks the proposition indexed as “indicator oracle image lt”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: indicatorOracleImage preserves the qubitDim bound.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleImage_bijective

Lean checks the proposition indexed as “indicator oracle image bijective”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: Bijectivity of indicatorOracleImage on the Fin domain.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix_col_has_one

Lean checks the proposition indexed as “indicator oracle matrix col has one”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: For each column j, there is exactly one row i with M[i][j] = 1, namely i = ⟨indicatorOracleImage p j.val, ...⟩.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix_col_unique

Lean checks the proposition indexed as “indicator oracle matrix col unique”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: For each column j, any row i with M[i][j] = 1 must equal ⟨indicatorOracleImage p j.val, ...⟩, so the 1-entry is unique per column.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix_row_has_one

Lean checks the proposition indexed as “indicator oracle matrix row has one”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: For each row i, there exists a column j with M[i][j] = 1, from surjectivity of indicatorOracleImage.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix_row_unique

Lean checks the proposition indexed as “indicator oracle matrix row unique”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: For each row i, the column j with M[i][j] = 1 is unique, from injectivity of indicatorOracleImage.

CompiledPartial route

QuantumBlockEncoding.GHL2025.indicatorOracleMatrix_is_permutation

Lean checks the proposition indexed as “indicator oracle matrix is permutation”; the hypotheses and conclusion in the code panel fix its exact scope. Cycle 12: indicatorOracleMatrix is a permutation matrix: each row has exactly one entry equal to 1, and each column has exactly one entry equal to 1.

CompiledPartial route

QuantumBlockEncoding.GHL2025.Hamiltonian.adjoint_sumTerms

Lean checks the proposition indexed as “adjoint sum terms”; the hypotheses and conclusion in the code panel fix its exact scope. Taking the adjoint commutes with the paper's finite sum of one-term matrices.

CompiledCompiled

QuantumBlockEncoding.GrayBasis.adjacent

Lean checks the proposition indexed as “adjacent”; the hypotheses and conclusion in the code panel fix its exact scope. Numerically adjacent Gray labels differ by exactly one physical X action.

CompiledCompiled

QuantumBlockEncoding.GrayGivensCompiler.compileSO_eval

Lean checks the proposition indexed as “compile so eval”; the hypotheses and conclusion in the code panel fix its exact scope. No assumed plane realization or Gray adjacency: the actual finite primitive list realizes the original real SO matrix embedded in complex amplitudes.

CompiledCompiled

QuantumBlockEncoding.GrayGivensCompiler.compileSO_cubic_bound

Lean checks the proposition indexed as “compile so cubic bound”; the hypotheses and conclusion in the code panel fix its exact scope. With 'S=2^q', the exact recursive selected-RY backend needs at most '6*S^3' primitive gates and no oracle calls, on the existing 'q+1' wires.

CompiledCompiled

QuantumBlockEncoding.HermiteBernstein.elevation_sum

Lean checks the proposition indexed as “elevation sum”; the hypotheses and conclusion in the code panel fix its exact scope. Exact degree elevation of one endpoint-factor monomial.

CompiledCompiled

QuantumBlockEncoding.HermiteBernstein.reflected_sum

Lean checks the proposition indexed as “reflected sum”; the hypotheses and conclusion in the code panel fix its exact scope. Reflection of a coefficient vector corresponds exactly to 't ↦ 1-t'.

CompiledCompiled

QuantumBlockEncoding.HermiteBernstein.bernstein_sum_bounds

Lean checks the proposition indexed as “bernstein sum bounds”; the hypotheses and conclusion in the code panel fix its exact scope. Bernstein evaluation lies in any common interval containing its coefficients.

CompiledCompiled

QuantumBlockEncoding.HermiteBernstein.subdivisionPath_readout

Lean checks the proposition indexed as “subdivision path readout”; the hypotheses and conclusion in the code panel fix its exact scope. The zeroth coefficient after the last digit is the value at the represented left endpoint.

CompiledCompiled

QuantumBlockEncoding.HermiteBinaryCutoff.search_value

Lean checks the proposition indexed as “search value”; the hypotheses and conclusion in the code panel fix its exact scope. A full interval invariant proves the actual returned index, including the cutoff at either endpoint and the one-cell case.

CompiledCompiled

QuantumBlockEncoding.HermiteBinaryCutoff.compute

This definition gives the library's named construction or computation for “compute”. Source-level producer: one multiplication and negation initialize the interval from '-pi*L' to zero, then binary search finds its cutoff.

CompiledCompiled

QuantumBlockEncoding.HermiteBoundaryInjection.partial_middle_prefix_unique

Lean checks the proposition indexed as “partial middle prefix unique”; the hypotheses and conclusion in the code panel fix its exact scope. Every cut after the first consumed bit in an 'n+1'-bit middle interval has an upper endpoint aligned with the remaining dyadic block size.

CompiledCompiled

QuantumBlockEncoding.HermiteBoundaryInjection.ScheduleValid

This definition gives the library's named construction or computation for “schedule valid”. The schedule obligation is purely integer control flow: any partial child must be the unique boundary node used by the next finite matrix.

CompiledCompiled

QuantumBlockEncoding.HermiteBoundaryInjection.injection_domain

Lean checks the proposition indexed as “injection domain”; the hypotheses and conclusion in the code panel fix its exact scope. Every actual injected dyadic block has valid de Casteljau parameters, including a block whose excluded endpoint is the zero-coordinate midpoint.

CompiledCompiled

QuantumBlockEncoding.HermiteBoundaryInjection.rightCore

This definition gives the library's named construction or computation for “right core”. Rank-one right component: the first MSB selects the right half; subsequent bits use bounded negative exponential factors.

CompiledCompiled

QuantumBlockEncoding.HermiteBoundaryInjection.hermiteKernel_eq_sample

Lean checks the proposition indexed as “hermite kernel eq sample”; the hypotheses and conclusion in the code panel fix its exact scope. Main exact real-algebra root: one formula-derived fixed-width kernel family and explicit left/right boundaries produce every literal Hermite sample.

CompiledCompiled

QuantumBlockEncoding.HermiteCutRank.blockIndex_lt_iff

Lean checks the proposition indexed as “block index lt iff”; the hypotheses and conclusion in the code panel fix its exact scope. The comparison of a concatenated prefix/suffix has only one boundary row.

CompiledCompiled

QuantumBlockEncoding.HermiteCutRank.affine_lt_cut

Lean checks the proposition indexed as “affine lt cut”; the hypotheses and conclusion in the code panel fix its exact scope. Relates the exact real grid to an integer cut; no bit-complexity claim.

CompiledCompiled

QuantumBlockEncoding.HermiteCutRank.smoothInitial_strict

Lean checks the proposition indexed as “smooth initial strict”; the hypotheses and conclusion in the code panel fix its exact scope. Endpoint continuity permits the zero sample to use the right exponential.

CompiledCompiled

QuantumBlockEncoding.HermiteExplicitBond.bondEquiv

This definition gives the library's named construction or computation for “bond equiv”. Layout: two left-tail states, middle boundary then '2*k+2' Bernstein states, and finally the right-tail state.

CompiledCompiled

QuantumBlockEncoding.HermiteFiniteChain.bondQubits

This definition gives the library's named construction or computation for “bond qubits”. Actual binary bond register; its size depends on smoothing order, not the number of data qubits.

CompiledCompiled

QuantumBlockEncoding.HermiteFiniteNorm.norm_arithmetic_budget

Lean checks the proposition indexed as “norm arithmetic budget”; the hypotheses and conclusion in the code panel fix its exact scope. Addition/multiplication budget of the explicit Gram schedule, excluding the final square root and the cost of supplying the raw core entries.

CompiledCompiled

QuantumBlockEncoding.HermitePolynomial.smoothInitial_pos

Lean checks the proposition indexed as “smooth initial pos”; the hypotheses and conclusion in the code panel fix its exact scope. Strict positivity holds globally and makes every finite sampled norm nonzero.

CompiledCompiled

QuantumBlockEncoding.HermitePolynomial.pow_dvd_sub_of_jet_eq

Lean checks the proposition indexed as “pow dvd sub of jet eq”; the hypotheses and conclusion in the code panel fix its exact scope. Agreement of a finite jet is equivalent to divisibility by the endpoint multiplicity.

CompiledCompiled

QuantumBlockEncoding.HermiteSmoothness.splice

This definition gives the library's named construction or computation for “splice”. Join two real functions at a threshold, taking the right value at the threshold.

CompiledCompiled

QuantumBlockEncoding.HermiteSmoothness.contDiff_splice

Lean checks the proposition indexed as “cont diff splice”; the hypotheses and conclusion in the code panel fix its exact scope. Two 'C^k' real functions glue to a 'C^k' function if their jets agree at the cut.

CompiledCompiled

QuantumBlockEncoding.HermiteStatePreparation.hermiteStatePreparation_complete

Lean checks the proposition indexed as “hermite state preparation complete”; the hypotheses and conclusion in the code panel fix its exact scope. The closed symbolic root: normalization, genuine unitarity, primitive state action and exact reference compiler resources are proved together.

CompiledCompiled

QuantumBlockEncoding.PaperRole

This type lists the allowed alternatives for “paper role”; its constructors are the cases that downstream code must handle.

CompiledPartial route

QuantumBlockEncoding.PaperEntry

This record groups the data and proof fields needed for “paper entry”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.mainCaseProSystemIndex

This definition gives the library's named construction or computation for “main case pro system index”. System-register index for one-bit registers ordered as '(T, tau, S)'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProQueryTarget

This definition gives the library's named construction or computation for “main case pro query target”. Operator-first target metadata for the Pro-isolated main-case benchmark.

CompiledCompiled

QuantumBlockEncoding.mainCaseProSignalIndex

This definition gives the library's named construction or computation for “main case pro signal index”. The clean block-selection index for the single signal ancilla.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCleanEmbed

This definition gives the library's named construction or computation for “main case pro clean embed”. Clean embedding into the signal-system product basis.

CompiledCompiled

QuantumBlockEncoding.mainCaseProBlockProjection

This definition gives the library's named construction or computation for “main case pro block projection”. Exact clean-block predicate for a one-signal-qubit candidate matrix.

CompiledCompiled

QuantumBlockEncoding.mainCaseProExactError

This definition gives the library's named construction or computation for “main case pro exact error”. Exact error for the requested block encoding.

CompiledCompiled

QuantumBlockEncoding.mainCaseProSourceLayout

This definition gives the library's named construction or computation for “main case pro source layout”. Source-facing layout: three system qubits and one clean signal ancilla.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuit

This definition gives the library's named construction or computation for “main case pro circuit”. Logical '{X,CNOT,Toffoli}' transcript for the Pro equality-transfer idea.

CompiledCompiled

QuantumBlockEncoding.mainCaseProSchedule

This definition gives the library's named construction or computation for “main case pro schedule”. Sequential high-level schedule for the current logical transcript.

CompiledCompiled

QuantumBlockEncoding.mainCaseProHighLevelResource

This definition gives the library's named construction or computation for “main case pro high level resource”. High-level logical-library resource record for the Pro equality-transfer transcript.

CompiledCompiled

QuantumBlockEncoding.mainCaseProHighLevelSeedCost

This definition gives the library's named construction or computation for “main case pro high level seed cost”. Source-facing high-level score '(gateCount, depth, auxiliaryQubits, oracleCalls)'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCandidateImage

This definition gives the library's named construction or computation for “main case pro candidate image”. Candidate 'MAINCASE-PRO-PERM-001' as a finite image table on '(signal,T,tau,S)' basis states.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCandidateMatrix

This definition gives the library's named construction or computation for “main case pro candidate matrix”. Column-vector permutation matrix for 'MAINCASE-PRO-PERM-001'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCandidatePreimage

This definition gives the library's named construction or computation for “main case pro candidate preimage”. Explicit inverse image table for the task-local permutation certificate.

CompiledCompiled

QuantumBlockEncoding.mainCaseProReducedOfFull

This definition gives the library's named construction or computation for “main case pro reduced of full”. Reduced active index for the Pro transcript bits '(tau,T,signal)'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProStateOfFull

This definition gives the library's named construction or computation for “main case pro state of full”. Passive state bit in the full '(signal,T,tau,S)' convention.

CompiledCompiled

QuantumBlockEncoding.mainCaseProLiftReducedImage

This definition gives the library's named construction or computation for “main case pro lift reduced image”. Lift a reduced active-register image while preserving the passive state bit.

CompiledCompiled

QuantumBlockEncoding.mainCaseProRedCCX012

This definition gives the library's named construction or computation for “main case pro red ccx 012”. Reduced Toffoli 'CCX012', with controls 'tau,T' and target 'signal'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProRedCX21

This definition gives the library's named construction or computation for “main case pro red cx 21”. Reduced 'CX21', with control 'signal' and target 'T'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProRedCX20

This definition gives the library's named construction or computation for “main case pro red cx 20”. Reduced 'CX20', with control 'signal' and target 'tau'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProRedX2

This definition gives the library's named construction or computation for “main case pro red x 2”. Reduced final 'X2', flipping the signal bit.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuitReducedImage

This definition gives the library's named construction or computation for “main case pro circuit reduced image”. Task-local reduced image for the transcript 'CCX012; CX21; CX20; X2'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuitImage

This definition gives the library's named construction or computation for “main case pro circuit image”. Task-local full image induced by the advertised Pro four-gate transcript under the full wire map 'S=0', 'tau=1', 'T=2', 'signal=3'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuitImage_candidate_mismatch_set

Lean checks the proposition indexed as “main case pro circuit image candidate mismatch set”; the hypotheses and conclusion in the code panel fix its exact scope. The advertised transcript and the finite-permutation incumbent differ exactly on dirty columns '8', '9', '12', and '13'.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuitMatrix

This definition gives the library's named construction or computation for “main case pro circuit matrix”. Column-vector permutation matrix induced by the advertised Pro transcript.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuit_cleanEntry

Lean checks the proposition indexed as “main case pro circuit clean entry”; the hypotheses and conclusion in the code panel fix its exact scope. Clean-entry calculation for the gate-derived Pro transcript image.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCandidate_cleanEntry

Lean checks the proposition indexed as “main case pro candidate clean entry”; the hypotheses and conclusion in the code panel fix its exact scope. Entrywise image calculation for the reusable partial-permutation wrapper.

CompiledCompiled

QuantumBlockEncoding.mainCaseProRationalOrthogonalBridgeObligation

This definition gives the library's named construction or computation for “main case pro rational orthogonal bridge obligation”. Reusable proof obligation for a later shared bridge from finite bijections to the project-local rational-orthogonality matrix predicate.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCandidate

This definition gives the library's named construction or computation for “main case pro candidate”. Candidate record at the finite-permutation semantic tier.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuitCandidate

This definition gives the library's named construction or computation for “main case pro circuit candidate”. Gate-derived candidate for the advertised Pro four-gate transcript.

CompiledCompiled

QuantumBlockEncoding.mainCaseProVerified

This definition gives the library's named construction or computation for “main case pro verified”. Verified task-local candidate at the finite-permutation semantic tier.

CompiledCompiled

QuantumBlockEncoding.mainCaseProCircuitVerified

This definition gives the library's named construction or computation for “main case pro circuit verified”. Verified task-local candidate for the advertised Pro transcript image.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdSystemIndex

This definition gives the library's named construction or computation for “main case cold system index”. System-register index for one-bit registers ordered as '(T, tau, S)'.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdTarget

This definition gives the library's named construction or computation for “main case cold target”. The COLD target matrix for 'E_1'.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdQueryTarget

This definition gives the library's named construction or computation for “main case cold query target”. Operator-first target metadata for the no-Pro COLD benchmark.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdCleanSignal

This definition gives the library's named construction or computation for “main case cold clean signal”. The clean block-selection index for the single signal ancilla.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdCleanEmbed

This definition gives the library's named construction or computation for “main case cold clean embed”. Clean embedding into the signal-system product basis.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdBlockProjection

This definition gives the library's named construction or computation for “main case cold block projection”. Exact clean-block predicate for a one-signal-qubit COLD candidate matrix.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdSourceLayout

This definition gives the library's named construction or computation for “main case cold source layout”. Source-facing layout: three system qubits and one clean signal ancilla.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdPartialPermImage

This definition gives the library's named construction or computation for “main case cold partial perm image”. Candidate 'MAIN-PARTIAL-PERM-001' as a COLD task-local finite image table on the '(signal,T,tau,S)' basis.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdReducedOfFull

This definition gives the library's named construction or computation for “main case cold reduced of full”. Reduced active index for the COLD table bits '(tau,T,signal)'.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdStateOfFull

This definition gives the library's named construction or computation for “main case cold state of full”. Passive state bit in the full '(signal,T,tau,S)' convention.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdLiftReducedImage

This definition gives the library's named construction or computation for “main case cold lift reduced image”. Lift a reduced active-register image while preserving the passive state bit.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdRedCXSignalT

This definition gives the library's named construction or computation for “main case cold red cx signal t”. Reduced CNOT with control 'signal' and target 'T'.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdReducedGateImages_eval

Lean checks the proposition indexed as “main case cold reduced gate images eval”; the hypotheses and conclusion in the code panel fix its exact scope. The COLD logical reversible circuit implements the reduced table.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdCircuitImage

This definition gives the library's named construction or computation for “main case cold circuit image”. Full active-plus-passive image induced by the COLD resource schema.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdGateXT

This definition gives the library's named construction or computation for “main case cold gate xt”. Logical 'X' on the time register 'T' in the full wire layout.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdGateXTau

This definition gives the library's named construction or computation for “main case cold gate x tau”. Logical 'X' on the type register 'tau' in the full wire layout.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdCircuit

This definition gives the library's named construction or computation for “main case cold circuit”. COLD task-local logical circuit for the finite partial-permutation table.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdSchedule

This definition gives the library's named construction or computation for “main case cold schedule”. Sequential COLD schedule for the current logical transcript.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdHighLevelResource

This definition gives the library's named construction or computation for “main case cold high level resource”. High-level logical-library resource record for the COLD transcript.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdPartialPermCost

This definition gives the library's named construction or computation for “main case cold partial perm cost”. Source-facing COLD score '(gateCount, depth, auxiliaryQubits, oracleCalls)'.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdPartialPermPreimage

This definition gives the library's named construction or computation for “main case cold partial perm preimage”. Explicit inverse image table for the COLD partial-permutation certificate.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdPartialPerm_entry

Lean checks the proposition indexed as “main case cold partial perm entry”; the hypotheses and conclusion in the code panel fix its exact scope. Entrywise image calculation for the reusable partial-permutation wrapper.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdPartialPermCandidate

This definition gives the library's named construction or computation for “main case cold partial perm candidate”. COLD task-local candidate package at the finite-permutation semantic tier.

CompiledCompiled

QuantumBlockEncoding.mainCaseColdPartialPermVerified

This definition gives the library's named construction or computation for “main case cold partial perm verified”. Verified COLD block-encoding package for the transfer operator at the current finite-permutation semantic tier.

CompiledCompiled

QuantumBlockEncoding.modularAdd3Primitive_resource_faithful

Lean checks the proposition indexed as “modular add 3 primitive resource faithful”; the hypotheses and conclusion in the code panel fix its exact scope. The resource is definitionally computed from the emitted primitive list.

CompiledCompiled

QuantumBlockEncoding.ProblemStatus

This type lists the allowed alternatives for “problem status”; its constructors are the cases that downstream code must handle.

CompiledPlanned

QuantumBlockEncoding.OpenProblem

This record groups the data and proof fields needed for “open problem”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPlanned

QuantumBlockEncoding.openProblemIds

This definition gives the library's named construction or computation for “open problem ids”. Stable list of the published problem identifiers.

CompiledCompiled

QuantumBlockEncoding.OpenProblem.actionable

This definition gives the library's named construction or computation for “actionable”. Every public registry entry carries enough data to be actionable.

CompiledCompiled

QuantumBlockEncoding.openProblems_count

Lean checks the proposition indexed as “open problems count”; the hypotheses and conclusion in the code panel fix its exact scope. The current registry contains seven explicitly scoped problems.

CompiledCompiled

QuantumBlockEncoding.openProblemIds_nodup

Lean checks the proposition indexed as “open problem ids nodup”; the hypotheses and conclusion in the code panel fix its exact scope. Problem identifiers are unique, so memories and task packets cannot collide.

CompiledCompiled

QuantumBlockEncoding.openProblems_all_actionable

Lean checks the proposition indexed as “open problems all actionable”; the hypotheses and conclusion in the code panel fix its exact scope. Every current problem has a nonempty statement, acceptance test, and source list.

CompiledCompiled

QuantumBlockEncoding.openProblemRegistry_compiled

Lean checks the proposition indexed as “open problem registry compiled”; the hypotheses and conclusion in the code panel fix its exact scope. The registry itself is a compiled artifact even though its entries remain open research.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.redCX01

This definition gives the library's named construction or computation for “red cx 01”. Logical CNOT with control reduced bit 0 and target reduced bit 1.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.redCX10

This definition gives the library's named construction or computation for “red cx 10”. Logical CNOT with control reduced bit 1 and target reduced bit 0.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.redCX20

This definition gives the library's named construction or computation for “red cx 20”. Logical CNOT with control reduced bit 2 and target reduced bit 0.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.redCX21

This definition gives the library's named construction or computation for “red cx 21”. Logical CNOT with control reduced bit 2 and target reduced bit 1.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.redCCX012

This definition gives the library's named construction or computation for “red ccx 012”. Logical Toffoli with controls reduced bits 0,1 and target reduced bit 2.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.reducedDepth5_lifts_exampleImage

Lean checks the proposition indexed as “reduced depth 5 lifts example image”; the hypotheses and conclusion in the code panel fix its exact scope. The depth-5 reduced circuit lifts to the full one-ancilla permutation because the state bit is passive.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.columnInner

This definition gives the library's named construction or computation for “column inner”. Column inner products for concrete rational matrix-level unitarity checks.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.rowInner

This definition gives the library's named construction or computation for “row inner”. Row inner products for concrete rational matrix-level unitarity checks.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.proEqTransferImage

This definition gives the library's named construction or computation for “pro eq transfer image”. ChatGPT Pro's structured equality-flag/transfer construction specialized to the concrete 'r = 1, k = 1' instance: 1.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.LogicalReversibleCost

This record groups the data and proof fields needed for “logical reversible cost”. A proposition-valued field is a requirement until a constructor supplies it. Lightweight score for the logical reversible gate library '{X,CNOT,Toffoli}'.

CompiledPartial route

QuantumBlockEncoding.OptimalControl.evolvedEqFlipUnitary_isRationalOrthogonal

Lean checks the proposition indexed as “evolved eq flip unitary is rational orthogonal”; the hypotheses and conclusion in the code panel fix its exact scope. The evolved matrix is a concrete rational unitary matrix in the project-local real/permutation sense: both its column and row Gram matrices are identity.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.gateX_aux

This definition gives the library's named construction or computation for “gate x aux”. Logical 'X' on the block-encoding auxiliary bit in the concrete layout.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.evolvedEqFlipGateImages_eval

Lean checks the proposition indexed as “evolved eq flip gate images eval”; the hypotheses and conclusion in the code panel fix its exact scope. The logical reversible circuit implements exactly the reduced permutation used to build 'evolvedEqFlipUnitary'.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.evolvedEqFlipCandidate

This definition gives the library's named construction or computation for “evolved eq flip candidate”. Final concrete block-encoding candidate for the one-time-bit, one-type-bit, one-state-bit optimal-control target.

CompiledCompiled

QuantumBlockEncoding.OptimalControl.example_cleanBlock

Lean checks the proposition indexed as “example clean block”; the hypotheses and conclusion in the code panel fix its exact scope. The clean block of 'exampleUnitary' is exactly the optimal-control operator 'E_1' on the 8-dimensional system register.

CompiledCompiled

QuantumBlockEncoding.primitiveBasisLEEquiv

This definition gives the library's named construction or computation for “primitive basis le equiv”. Convert named primitive bits to a flat little-endian matrix index.

CompiledCompiled

QuantumBlockEncoding.primitiveBasisLEEquiv_succ_value

Lean checks the proposition indexed as “primitive basis le equiv succ value”; the hypotheses and conclusion in the code panel fix its exact scope. The recursive equation makes the little-endian convention inspectable.

CompiledCompiled

QuantumBlockEncoding.primitiveBasisLEEquiv_six_value

Lean checks the proposition indexed as “primitive basis le equiv six value”; the hypotheses and conclusion in the code panel fix its exact scope. Six-wire expansion used by the fixed Robin executable benchmark.

CompiledCompiled

QuantumBlockEncoding.primitiveBits2LE

This definition gives the library's named construction or computation for “primitive bits 2 le”. Explicit inverse used by finite two-wire state-preparation proofs.

CompiledCompiled

QuantumBlockEncoding.primitiveBasisLEEquiv_two_symm_wire_zero

Lean checks the proposition indexed as “primitive basis le equiv two symm wire zero”; the hypotheses and conclusion in the code panel fix its exact scope. Fixed-width coordinate reductions whose domain exactly matches the 'gridSize'-indexed finite matrix backend.

CompiledCompiled

QuantumBlockEncoding.primitiveBasisLEEquiv_two_symm_0

Lean checks the proposition indexed as “primitive basis le equiv two symm 0”; the hypotheses and conclusion in the code panel fix its exact scope. Concrete inverse images used after 'fin_cases'; these avoid relying on type normalization between 'Fin (gridSize 2)' and 'Fin 4'.

CompiledCompiled

QuantumBlockEncoding.primitiveBits2LEWithout

This definition gives the library's named construction or computation for “primitive bits 2 le without”. Encode the non-target wire of a two-qubit little-endian basis state.

CompiledCompiled

QuantumBlockEncoding.primitiveBits2LEGridWithout

This definition gives the library's named construction or computation for “primitive bits 2 le grid without”. Same context code, but with the unreduced 'gridSize' domain used by the concrete matrix semantics.

CompiledCompiled

QuantumBlockEncoding.primitiveBits3LE

This definition gives the library's named construction or computation for “primitive bits 3 le”. Explicit inverse used by finite three-wire compiler proofs.

CompiledCompiled

QuantumBlockEncoding.primitiveBasisLEEquiv_three_symm_0

Lean checks the proposition indexed as “primitive basis le equiv three symm 0”; the hypotheses and conclusion in the code panel fix its exact scope. Concrete inverse images for all eight three-qubit basis states.

CompiledCompiled

QuantumBlockEncoding.primitiveBits3LEGridWithout

This definition gives the library's named construction or computation for “primitive bits 3 le grid without”. Grid-sized companion of 'primitiveBits3LEWithout', used before the type normalizer has turned 'Fin (gridSize 3)' into 'Fin 8'.

CompiledCompiled

QuantumBlockEncoding.ExactAngle

This type lists the allowed alternatives for “exact angle”; its constructors are the cases that downstream code must handle.

CompiledCompiled

QuantumBlockEncoding.PrimitiveGate

This type lists the allowed alternatives for “primitive gate”; its constructors are the cases that downstream code must handle.

CompiledCompiled

QuantumBlockEncoding.PrimitiveProgram

This record groups the data and proof fields needed for “primitive program”. A proposition-valued field is a requirement until a constructor supplies it. A primitive circuit together with an exact global phase.

CompiledPartial route

QuantumBlockEncoding.PrimitiveProgram.seq

This definition gives the library's named construction or computation for “seq”. Execute 'left', then 'right', using chronological list semantics.

CompiledCompiled

QuantumBlockEncoding.PrimitiveCircuit.foldl_nextWireDepth_le

Lean checks the proposition indexed as “foldl next wire depth le”; the hypotheses and conclusion in the code panel fix its exact scope. Each scheduled instruction raises the global upper bound by at most one, from any supplied initial wire-depth profile.

CompiledCompiled

QuantumBlockEncoding.phaseMatrix_apply

Lean checks the proposition indexed as “phase matrix apply”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.MonomialProgram

This record groups the data and proof fields needed for “monomial program”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.primitiveCCXMiddle

This definition gives the library's named construction or computation for “primitive ccx middle”. The phase-only middle of the standard exact Toffoli decomposition.

CompiledCompiled

QuantumBlockEncoding.primitiveCCXProgram

This definition gives the library's named construction or computation for “primitive ccx program”. The exact primitive program uses the requested H/T/Tdg/CX chronology.

CompiledCompiled

QuantumBlockEncoding.primitiveCCXProgram_eval

Lean checks the proposition indexed as “primitive ccx program eval”; the hypotheses and conclusion in the code panel fix its exact scope. The requested H/T/Tdg/CX decomposition is exactly Toffoli, including its global phase.

CompiledCompiled

QuantumBlockEncoding.PrimitiveProgramRefinement

This record groups the data and proof fields needed for “primitive program refinement”. A proposition-valued field is a requirement until a constructor supplies it. Exact refinement for a primitive program, including its declared global phase.

CompiledPartial route

QuantumBlockEncoding.standardRyMatrix

This definition gives the library's named construction or computation for “standard ry matrix”. Standard 'RY(theta)' in the convention used by Qiskit and OpenQASM 3.

CompiledCompiled

QuantumBlockEncoding.standardRyMatrix_add

Lean checks the proposition indexed as “standard ry matrix add”; the hypotheses and conclusion in the code panel fix its exact scope. Standard rotations compose by adding their physical angles.

CompiledCompiled

QuantumBlockEncoding.xMatrix

This definition gives the library's named construction or computation for “x matrix”. Pauli X in the same two-dimensional basis as 'standardRyMatrix'.

CompiledCompiled

QuantumBlockEncoding.PrimitiveBasis

This abbreviation gives a shorter name to the type or expression used for “primitive basis”. Computational-basis bit strings with one named coordinate per qubit.

CompiledCompiled

QuantumBlockEncoding.flipBit_flipBit

Lean checks the proposition indexed as “flip bit flip bit”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.liftPrimitiveOneQubit

This definition gives the library's named construction or computation for “lift primitive one qubit”. Lift a one-qubit matrix to a named wire, leaving every other wire fixed.

CompiledCompiled

QuantumBlockEncoding.standardRzMatrix

This definition gives the library's named construction or computation for “standard rz matrix”. Standard exact 'RZ(theta)' matrix, including its phase convention.

CompiledCompiled

QuantumBlockEncoding.evalPrimitiveGate

This definition gives the library's named construction or computation for “eval primitive gate”. Exact matrix denotation of one primitive instruction.

CompiledCompiled

QuantumBlockEncoding.xBasisEquiv_symm

Lean checks the proposition indexed as “x basis equiv symm”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.cxBasisEquiv_symm

Lean checks the proposition indexed as “cx basis equiv symm”; the hypotheses and conclusion in the code panel fix its exact scope.

CompiledCompiled

QuantumBlockEncoding.evalPrimitiveCircuit

This definition gives the library's named construction or computation for “eval primitive circuit”. Chronological circuit evaluation: later instructions multiply on the left.

CompiledCompiled

QuantumBlockEncoding.evalGlobalPhase

This definition gives the library's named construction or computation for “eval global phase”. Unit-modulus scalar represented by an exact global phase.

CompiledCompiled

QuantumBlockEncoding.evalPrimitiveProgram

This definition gives the library's named construction or computation for “eval primitive program”. Exact program semantics, with the same 'exp(i phase)' convention used by Qiskit and OpenQASM 3.

CompiledCompiled

QuantumBlockEncoding.PrimitiveRefinement

This record groups the data and proof fields needed for “primitive refinement”. A proposition-valued field is a requirement until a constructor supplies it. A typed primitive refinement records exact equality, not equality up to phase.

CompiledPartial route

QuantumBlockEncoding.PrimitiveWireRename.eval_circuit

Lean checks the proposition indexed as “eval circuit”; the hypotheses and conclusion in the code panel fix its exact scope. One actual renamed primitive list, with both boundary index maps exposed.

CompiledCompiled

QuantumBlockEncoding.RealIsometryCompletion.exists_orthogonal_completion

Lean checks the proposition indexed as “exists orthogonal completion”; the hypotheses and conclusion in the code panel fix its exact scope. An arbitrary injection specifies the physical positions of the active columns, so no assumption that they form a prefix is needed.

CompiledCompiled

QuantumBlockEncoding.Resource

This record groups the data and proof fields needed for “resource”. A proposition-valued field is a requirement until a constructor supplies it. Exact resource counts for candidate block-encoding circuits.

CompiledPartial route

QuantumBlockEncoding.Resource.gates

This definition gives the library's named construction or computation for “gates”. Gate count used by the search score before an oracle call is expanded.

CompiledCompiled

QuantumBlockEncoding.Resource.parallel

This definition gives the library's named construction or computation for “parallel”. Resource combination for one parallel layer.

CompiledCompiled

QuantumBlockEncoding.CostExpr

This type lists the allowed alternatives for “cost expr”; its constructors are the cases that downstream code must handle. A small expression language for big-O resource formulas.

CompiledCompiled

QuantumBlockEncoding.AsymptoticResource

This record groups the data and proof fields needed for “asymptotic resource”. A proposition-valued field is a requirement until a constructor supplies it. Big-O style resource claim.

CompiledPartial route

QuantumBlockEncoding.indicatorResource

This definition gives the library's named construction or computation for “indicator resource”. Appendix comparator/indicator resource count.

CompiledCompiled

QuantumBlockEncoding.ReversibleGate

This type lists the allowed alternatives for “reversible gate”; its constructors are the cases that downstream code must handle.

CompiledCompiled

QuantumBlockEncoding.Robin.ComplexLCU.reindex_unitary

Lean checks the proposition indexed as “reindex unitary”; the hypotheses and conclusion in the code panel fix its exact scope. Reindexing rows and columns by the same equivalence preserves unitarity.

CompiledCompiled

QuantumBlockEncoding.Robin.ComplexLCU.equivPermutationMatrix_conjugates_reindex

Lean checks the proposition indexed as “equiv permutation matrix conjugates reindex”; the hypotheses and conclusion in the code panel fix its exact scope. Conjugating a reindexed operator by an involutive basis permutation is the same as composing that permutation into the indexing equivalence.

CompiledCompiled

QuantumBlockEncoding.Robin.ComplexLCU.selectorLift_unitary

Lean checks the proposition indexed as “selector lift unitary”; the hypotheses and conclusion in the code panel fix its exact scope. A unitary selector PREPARE remains unitary after tensoring with identities.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinSplitSeven_duplicate_nonzero_access

Lean checks the proposition indexed as “warm robin split seven duplicate nonzero access”; the hypotheses and conclusion in the code panel fix its exact scope. The historical split-seven route is a weighted-permutation LCU, not a sparse-access enumeration: two nonzero terms can address the same entry.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFigure4PostLoader_cleanAction

Lean checks the proposition indexed as “warm robin figure 4 post loader clean action”; the hypotheses and conclusion in the code panel fix its exact scope. The post-loader basis permutation restores both work wires and the physical selector, while transporting the selected source row into the system register.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFigure4ThroughIndicator

This definition gives the library's named construction or computation for “warm robin figure 4 through indicator”. The post-loader basis permutation restores both work wires and the physical selector, while transporting the selected source row into the system register.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFigure4_after_prepare

Lean checks the proposition indexed as “warm robin figure 4 after prepare”; the hypotheses and conclusion in the code panel fix its exact scope. Required stage root: the physical first stage is the exact selector lift.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFigure4TransportedPostSwapCleanup

Lean checks the proposition indexed as “warm robin figure 4 transported post swap cleanup”; the hypotheses and conclusion in the code panel fix its exact scope. Central cleanup root: D-transpose access, register transport, and inverse D access restore the original slot while leaving the transported row in the system register and returning 'q8' to zero.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFigure4DOffset

This definition gives the library's named construction or computation for “warm robin figure 4 d offset”. Offset table for the non-transposed sparse access used after register transport.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFigure4AllWorkspaceClean

Lean checks the proposition indexed as “warm robin figure 4 all workspace clean”; the hypotheses and conclusion in the code panel fix its exact scope. Both Figure-4 work wires return clean on every selector/system branch.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinIntegerTarget

This definition gives the library's named construction or computation for “warm robin integer target”. The integer matrix 'M = 12 A', kept integral for finite decomposition proofs.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinCleanEmbed

This definition gives the library's named construction or computation for “warm robin clean embed”. Signal-first clean embedding for the fixed 'signal x system' convention.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinHadamard8FlatUnitary_reindex

Lean checks the proposition indexed as “warm robin hadamard 8 flat unitary reindex”; the hypotheses and conclusion in the code panel fix its exact scope. Applying the reindexed matrix at reindexed indices recovers the product entry.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinComplexTarget

This definition gives the library's named construction or computation for “warm robin complex target”. Complex view of the fixed Robin target used by the operator-first API.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinQueryTarget

This definition gives the library's named construction or computation for “warm robin query target”. Operator-first target contract for the fixed homogeneous Robin benchmark.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinPaperSevenControlledRy_eq_amplitudeLift

Lean checks the proposition indexed as “warm robin paper seven controlled ry eq amplitude lift”; the hypotheses and conclusion in the code panel fix its exact scope. Exact equality between the physical six-control RY block and the logical amplitude lift, including the otherwise dirty 'q7' workspace coordinate.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinUniformSevenPrepare_probability

Lean checks the proposition indexed as “warm robin uniform seven prepare probability”; the hypotheses and conclusion in the code panel fix its exact scope. The theorem uses probabilities directly, so no arbitrary clean-column phase convention for '1 / sqrt 7' enters the LCU proof.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinPaperSevenPrimitive_cleanBlock

Lean checks the proposition indexed as “warm robin paper seven primitive clean block”; the hypotheses and conclusion in the code panel fix its exact scope. The physical primitive program has the exact 'M/224 = A/(56/3)' clean block; no numerical matrix comparison is used.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinPaperSevenPrimitive_workspaceClean

Lean checks the proposition indexed as “warm robin paper seven primitive workspace clean”; the hypotheses and conclusion in the code panel fix its exact scope. Matrix-level workspace restoration: a clean input column has no amplitude on a dirty workspace output row.

CompiledCompiled

QuantumBlockEncoding.Robin.RobinResourceRow

This record groups the data and proof fields needed for “robin resource row”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.Robin.warmRobinSourceResourceRow

This abbreviation gives a shorter name to the type or expression used for “warm robin source resource row”. Historical compatibility alias; this row is generic and paper-literal, not the certified fixed-N8 standard-RY source realization.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinSourceOpenContracts

This abbreviation gives a shorter name to the type or expression used for “warm robin source open contracts”. Historical compatibility alias for the generic, arbitrary-n and paper-literal obligations.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinSourceDTRow

This definition gives the library's named construction or computation for “warm robin source dt row”. Sparse row addressed by one physical slot at a fixed source column.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFourSlotProductBitsEquiv

This definition gives the library's named construction or computation for “warm robin four slot product bits equiv”. The six primitive wires interpreted as coefficient, selector, and system registers through the already-certified T2 flattening.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFourSlotProductBitsEquiv_all_basis

Lean checks the proposition indexed as “warm robin four slot product bits equiv all basis”; the hypotheses and conclusion in the code panel fix its exact scope. Regression over all 64 basis states, stated as the concrete register formula consumed by executable backends.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFourSlotT2Cost_betterThan_hadamard8

Lean checks the proposition indexed as “warm robin four slot t 2 cost better than hadamard 8”; the hypotheses and conclusion in the code panel fix its exact scope. Under one T2 logical-stage convention, four slots strictly improve the Hadamard-8 route: gate count and depth tie, while the clean layout uses one fewer auxiliary qubit.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinXorFourSlotSelectBasisAction_eq_perm

Lean checks the proposition indexed as “warm robin xor four slot select basis action eq perm”; the hypotheses and conclusion in the code panel fix its exact scope. The two selected system bits are XORed with the selector, while the sector, selector, and coefficient wires are unchanged.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinXorFourSlotControlledRy_eq_amplitudeLift

Lean checks the proposition indexed as “warm robin xor four slot controlled ry eq amplitude lift”; the hypotheses and conclusion in the code panel fix its exact scope. The generic five-control multiplexor is exactly the T2 amplitude lift after the explicit little-endian product-register reindexing.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinXorFourSlotPrimitivePairCircuit

This definition gives the library's named construction or computation for “warm robin xor four slot primitive pair circuit”. The middle logical unitary conjugated back from symmetry-sector to pair coordinates, still expressed on the six named primitive wires.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinXorFourSlotPrimitiveCircuit

This definition gives the library's named construction or computation for “warm robin xor four slot primitive circuit”. The pair-coordinate circuit, the logical pair circuit, and its inverse in the chronological physical order required by the six-wire implementation.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinXorFourSlotOriginalBitsEquiv_index

Lean checks the proposition indexed as “warm robin xor four slot original bits equiv index”; the hypotheses and conclusion in the code panel fix its exact scope. The physical pair-coordinate convention agrees with the original Robin system order and the repository-wide six-wire little-endian convention.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinXorFourSlotPrimitive_eval_eq_flatUnitary

Lean checks the proposition indexed as “warm robin xor four slot primitive eval eq flat unitary”; the hypotheses and conclusion in the code panel fix its exact scope. Exact T3 refinement root: the primitive '{X, RY, RZ, CX}' circuit denotes the XOR four-slot T2 unitary after the explicit little-endian reindexing.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFourSlotT3Cost_betterThan_paperSeven

Lean checks the proposition indexed as “warm robin four slot t 3 cost better than paper seven”; the hypotheses and conclusion in the code panel fix its exact scope. The accepted XOR route uses 106 gates versus the source normal form's 312; the later score fields therefore do not decide this comparison.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFourSlotT3Cost_betterThan_figure4

Lean checks the proposition indexed as “warm robin four slot t 3 cost better than figure 4”; the hypotheses and conclusion in the code panel fix its exact scope. Under the fixed exact primitive convention, the XOR four-slot route uses 106 gates while the fixed-N8 Figure-4 realization uses 881.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinBestVerified

This abbreviation gives a shorter name to the type or expression used for “warm robin best verified”. The best fully verified Robin candidate under the frozen T3 comparison.

CompiledCompiled

QuantumBlockEncoding.Robin.paperLevelWinnerCertified

This definition gives the library's named construction or computation for “paper level winner certified”. Machine-readable publication guard, enabled only after both source-side same-tier comparisons have compiled.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinPublicationState_consistent

Lean checks the proposition indexed as “warm robin publication state consistent”; the hypotheses and conclusion in the code panel fix its exact scope. Publication guard tying the certified fixed-instance winner to empty fixed-N8 source and primitive-obligation lists.

CompiledCompiled

QuantumBlockEncoding.Robin.warmRobinFiveShiftDecomposition

Lean checks the proposition indexed as “warm robin five shift decomposition”; the hypotheses and conclusion in the code panel fix its exact scope. Exact 64-entry five-shift decomposition, with columns mapped to rows.

CompiledCompiled

QuantumBlockEncoding.stencilRowCoeff

This definition gives the library's named construction or computation for “stencil row coeff”. Coefficient at column 'colIdx' when the stencil 'entries' is applied at row 'rowIdx'.

CompiledExperimental

QuantumBlockEncoding.robinRowEntries

This definition gives the library's named construction or computation for “robin row entries”. Select the stencil entry list for row 'i': - rows 'i < w.lower' use left boundary rows, - rows 'i > w.upper' use right boundary rows, - all others use the bulk stencil.

CompiledExperimental

QuantumBlockEncoding.buildRobinMatrix

This definition gives the library's named construction or computation for “build robin matrix”. Build the full Robin derivative matrix of size 'gridSize n × gridSize n'.

CompiledExperimental

QuantumBlockEncoding.matrixRowAbsSum

This definition gives the library's named construction or computation for “matrix row abs sum”. Absolute-row-sum for row 'i' of a 'Coeff'-valued matrix, given a symbol environment 'env'.

CompiledExperimental

QuantumBlockEncoding.matrixOneNorm

This definition gives the library's named construction or computation for “matrix one norm”. Induced matrix 1-norm: the maximum absolute row sum.

CompiledExperimental

QuantumBlockEncoding.Examples.RobinHeat.oneTermRobinNumericNormalizer_eq_eval

Lean checks the research-module proposition indexed as “one term robin numeric normalizer eq eval”; its local proof does not by itself complete the broader paper route. Connecting the numeric normalizer to the symbolic GHL2025 normalizer via a concrete environment mapping the three symbols to their numeric values.

CompiledExperimental

QuantumBlockEncoding.Examples.RobinHeat.RobinOracleComposition

This record groups the data and proof fields needed for “robin oracle composition”. A proposition-valued field is a requirement until a constructor supplies it. Bundle of oracle contracts and LCU composition obligation for the one-term Robin construction.

CompiledExperimental

QuantumBlockEncoding.Examples.RobinHeat.oneTermRobinGamma3BoundaryBackendBranchFoldEval_eq_selectedSlotContribution_n3

Lean checks the research-module proposition indexed as “one term robin gamma 3 boundary backend branch fold eval eq selected slot contribution n 3”; its local proof does not by itself complete the broader paper route. After the compiled vanish feeders for slots '0', '1', '3', '4', '5', and '6', the evaluated seven-slot backend fold collapses to the selected slot-'2' contribution.

CompiledExperimental

QuantumBlockEncoding.Examples.RobinHeat.oneTermRobinGamma3BoundaryEvaluatedBackendFoldStatement_diagnostic_n3

Lean checks the research-module proposition indexed as “one term robin gamma 3 boundary evaluated backend fold statement diagnostic n 3”; its local proof does not by itself complete the broader paper route. Diagnostic/H-free route: the evaluated backend fold follows from the raw Coeff equality 'signalUnitaryEntry = blockExtractionBranchContributionSum' via the bridge theorem.

CompiledExperimental

QuantumBlockEncoding.selectedRyAngles

This definition gives the library's named construction or computation for “selected ry angles”. One nonzero entry in a multiplexed angle table; all other branches are identity.

CompiledCompiled

QuantumBlockEncoding.compileSelectedRy_eval_block

Lean checks the proposition indexed as “compile selected ry eval block”; the hypotheses and conclusion in the code panel fix its exact scope. General block version, allowing unused passive wires.

CompiledCompiled

QuantumBlockEncoding.realRyPlaneBlock

This definition gives the library's named construction or computation for “real ry plane block”. The real matrix underlying the standard half-angle RY convention.

CompiledCompiled

QuantumBlockEncoding.selectedRyPlaneMatrix

This definition gives the library's named construction or computation for “selected ry plane matrix”. A real two-level plane: the chosen pair is ordered by target bit 0, then 1.

CompiledCompiled

QuantumBlockEncoding.compileSelectedRy_eval_plane

Lean checks the proposition indexed as “compile selected ry eval plane”; the hypotheses and conclusion in the code panel fix its exact scope. Full-control specialization: an actual finite RY/CX circuit equals the complex embedding of the explicitly real two-level plane.

CompiledCompiled

QuantumBlockEncoding.selectedRyPlaneMatrix_fixed_column

Lean checks the proposition indexed as “selected ry plane matrix fixed column”; the hypotheses and conclusion in the code panel fix its exact scope. Entry-level complement statement: no amplitude or phase is changed outside the selected pair.

CompiledCompiled

QuantumBlockEncoding.SelectedRyStep

This record groups the data and proof fields needed for “selected ry step”. A proposition-valued field is a requirement until a constructor supplies it. A concrete selected-rotation instruction, not an assumed target operator.

CompiledPartial route

QuantumBlockEncoding.selectedRyStepsMatrix

This definition gives the library's named construction or computation for “selected ry steps matrix”. Chronological product: the last listed stage multiplies on the left.

CompiledCompiled

QuantumBlockEncoding.compileSelectedRySteps_cubic_bound

Lean checks the proposition indexed as “compile selected ry steps cubic bound”; the hypotheses and conclusion in the code panel fix its exact scope. Concrete cubic bound for a supplied finite list.

CompiledCompiled

QuantumBlockEncoding.SelectedRyTrace.selected

This definition gives the library's named construction or computation for “selected”. A selected plane has one coefficient equal to one; all other controls select zero.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.ReconstructionProtocol

This type lists the allowed alternatives for “reconstruction protocol”; its constructors are the cases that downstream code must handle. Whether the natural-language reconstruction was produced without seeing the source prose.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.SemanticSlot

This type lists the allowed alternatives for “semantic slot”; its constructors are the cases that downstream code must handle. ASPBE-specific theorem slots whose meaning must survive formalization.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.FidelityVerdict

This type lists the allowed alternatives for “fidelity verdict”; its constructors are the cases that downstream code must handle. Slotwise verdict for the complete source-to-Lean-to-text round trip.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.RepairStatus

This type lists the allowed alternatives for “repair status”; its constructors are the cases that downstream code must handle. Review state of a proposed clarification or theorem repair.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.SemanticDelta

This record groups the data and proof fields needed for “semantic delta”. A proposition-valued field is a requirement until a constructor supplies it. One explicit semantic discrepancy between the source reading and blind reconstruction.

CompiledPartial route

QuantumBlockEncoding.SemanticFidelity.RepairProposal

This record groups the data and proof fields needed for “repair proposal”. A proposition-valued field is a requirement until a constructor supplies it. A non-destructive replacement candidate.

CompiledPartial route

QuantumBlockEncoding.SemanticFidelity.RoundTripAudit

This record groups the data and proof fields needed for “round trip audit”. A proposition-valued field is a requirement until a constructor supplies it. A theorem-fidelity certificate record.

CompiledPartial route

QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip

This definition gives the library's named construction or computation for “verified operator block encoding round trip”. **Equivalent after elaboration.** The source contract says that a verified exact operator block encoding consists of a candidate unitary plus proofs of unitarity and clean-block containment.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip

This definition gives the library's named construction or computation for “approximate block encoding norm round trip”. **Lean conclusion is weaker than the public analytic formula.** The public route states '‖A - α Π U Π†‖ ≤ ε' in a declared norm and register convention.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip

This definition gives the library's named construction or computation for “verified state preparation round trip”. **Equivalent after elaboration.** State preparation is reconstructed as a proof that the target is normalized, the candidate matrix is unitary, and its first computational-basis column equals the target amplitudes.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip

This definition gives the library's named construction or computation for “one term robin claim round trip”. **Paper theorem is not yet reconstructed as a proved block encoding.** The GHL source-facing branch records the one-term Robin claim, normalizer, register and resource formulas, and the full theorem-facing transcript.

CompiledCompiled

QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip

This definition gives the library's named construction or computation for “candidate improvement round trip”. **Source wording is underspecified without a correctness fibre.** 'BlockEncodingCost.betterThan' proves only a lexicographic comparison of gate count, depth, auxiliary qubits, and unresolved oracle calls.

CompiledCompiled

QuantumBlockEncoding.SequentialBondPreparation.Stage

This abbreviation gives a shorter name to the type or expression used for “stage”. The square, full local matrix; its nonzero-bit input columns are not specified by a tensor core and must be supplied by an actual completion.

CompiledCompiled

QuantumBlockEncoding.SequentialBondPreparation.liftStage_unitary

Lean checks the proposition indexed as “lift stage unitary”; the hypotheses and conclusion in the code panel fix its exact scope. Unitarity of the full local completion gives unitarity after adding arbitrarily many passive emitted wires.

CompiledCompiled

QuantumBlockEncoding.SequentialBondPreparation.run_eq_transfer

Lean checks the proposition indexed as “run eq transfer”; the hypotheses and conclusion in the code panel fix its exact scope. Local clean-column equalities suffice to identify the complete state with the tensor contraction at every length; no global state action is assumed.

CompiledCompiled

QuantumBlockEncoding.SequentialBondPreparation.step_terminalCore

Lean checks the proposition indexed as “step terminal core”; the hypotheses and conclusion in the code panel fix its exact scope. Appending a rank-one terminal bond factors the *whole* state as a clean bond times the contracted output amplitude; this is not a projection theorem.

CompiledCompiled

QuantumBlockEncoding.SequentialBondPreparation.circuitStage_unitary

Lean checks the proposition indexed as “circuit stage unitary”; the hypotheses and conclusion in the code panel fix its exact scope. Primitive stages have checked full unitarity, independently of whether their active columns implement the intended tensor cores.

CompiledCompiled

QuantumBlockEncoding.SequentialPrimitiveAssembly.assemble_clean_column

Lean checks the proposition indexed as “assemble clean column”; the hypotheses and conclusion in the code panel fix its exact scope. A flattened primitive circuit has exactly the sequential state action; the fresh data inputs are all zero and every output amplitude is covered.

CompiledCompiled

QuantumBlockEncoding.zeroBasisIndex

This definition gives the library's named construction or computation for “zero basis index”. The computational all-zero basis index in an 'n'-qubit register.

CompiledCompiled

QuantumBlockEncoding.StatePreparationTarget

This record groups the data and proof fields needed for “state preparation target”. A proposition-valued field is a requirement until a constructor supplies it. A normalized state requested by the user.

CompiledPartial route

QuantumBlockEncoding.FirstColumnMatches

This definition gives the library's named construction or computation for “first column matches”. The matrix-level first-column acceptance predicate.

CompiledCompiled

QuantumBlockEncoding.StatePreparationCandidate

This record groups the data and proof fields needed for “state preparation candidate”. A proposition-valued field is a requirement until a constructor supplies it. A state-preparation candidate before semantic proofs are attached.

CompiledPartial route

QuantumBlockEncoding.VerifiedStatePreparation

This record groups the data and proof fields needed for “verified state preparation”. A proposition-valued field is a requirement until a constructor supplies it. A candidate promoted by proofs of normalization, unitarity, and state action.

CompiledPartial route

QuantumBlockEncoding.ApproximateStatePreparationCandidate

This record groups the data and proof fields needed for “approximate state preparation candidate”. A proposition-valued field is a requirement until a constructor supplies it. An approximate candidate with a backend-specific state-error predicate.

CompiledPartial route

QuantumBlockEncoding.VerifiedApproximateStatePreparation

This record groups the data and proof fields needed for “verified approximate state preparation”. A proposition-valued field is a requirement until a constructor supplies it. A verified approximate state-preparation certificate.

CompiledPartial route

QuantumBlockEncoding.VerifiedStatePreparation.asZeroErrorApprox

This definition gives the library's named construction or computation for “as zero error approx”. Package an exact state-preparation certificate as a zero-error approximate certificate when the backend uses the exact first-column predicate as its zero-error proposition.

CompiledCompiled

QuantumBlockEncoding.StoredBernstein.step

This definition gives the library's named construction or computation for “step”. Truncated row; the last entry is zero and is never read by a valid cone.

CompiledCompiled

QuantumBlockEncoding.StoredBernstein.rows

This definition gives the library's named construction or computation for “rows”. Every scalar entry of the previous row is cached, not a nested callback.

CompiledCompiled

QuantumBlockEncoding.StoredBernstein.restrict

This definition gives the library's named construction or computation for “restrict”. The actual two-edge producer, with three charged parameter operations.

CompiledCompiled

QuantumBlockEncoding.StoredBernstein.restrict_total_cost_le

Lean checks the proposition indexed as “restrict total cost le”; the hypotheses and conclusion in the code panel fix its exact scope. All eight counted operation classes; source coefficient generation is separate.

CompiledCompiled

QuantumBlockEncoding.StoredDyadicSpans.spans_total_cost

Lean checks the proposition indexed as “spans total cost”; the hypotheses and conclusion in the code panel fix its exact scope. Ordinary work is exactly quadratic; the n integer doublings are separate.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.Run

This record groups the data and proof fields needed for “run”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.StoredGivens.collect

This definition gives the library's named construction or computation for “collect”. Two materialized passes: write counted entries, read them for projection and summation, and write the projected output.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.replace

This definition gives the library's named construction or computation for “replace”. Persistent full-copy replacement; row references are stored words.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.materialize

This definition gives the library's named construction or computation for “materialize”. Materializing an input callback is an explicit boundary: this constructor charges storage but does not certify the callback's scalar evaluation cost.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.angle

This definition gives the library's named construction or computation for “angle”. Compute the norm once, then the exact signed angle once.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.coefficients

This definition gives the library's named construction or computation for “coefficients”. One angle and one pair of trigonometric coefficients are shared by all entries of the two output rows.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.rowPair

This definition gives the library's named construction or computation for “row pair”. Materialize both rows from a single stored vector of computed pairs.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.rotate

This definition gives the library's named construction or computation for “rotate”. Cached input rows, materialized output rows, then two stored replacements.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.Sweep

This record groups the data and proof fields needed for “sweep”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.StoredGivens.columnSweep

This definition gives the library's named construction or computation for “column sweep”. One recursion returns both the residual and its actual chronological log.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.angleBudget

This definition gives the library's named construction or computation for “angle budget”. Branch-independent upper bound; the zero pair uses fewer operations.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.columnSweep_cost_le

Lean checks the proposition indexed as “column sweep cost le”; the hypotheses and conclusion in the code panel fix its exact scope. Symbolic bound on the actual fused producer, not on just its log length.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.columnSweep_emit

Lean checks the proposition indexed as “column sweep emit”; the hypotheses and conclusion in the code panel fix its exact scope. Each iteration emits exactly one record, including a harmless zero-pair rotation.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.columnSweep_action

Lean checks the proposition indexed as “column sweep action”; the hypotheses and conclusion in the code panel fix its exact scope. The emitted list and materialized residual are a single coherent run.

CompiledCompiled

QuantumBlockEncoding.StoredGivens.materialize_cost

Lean checks the proposition indexed as “materialize cost”; the hypotheses and conclusion in the code panel fix its exact scope. Input generation is charged once per materialized entry, and the specified callback must itself use the counted scalar interface.

CompiledCompiled

QuantumBlockEncoding.StoredHermiteCoefficients.SourceRun

This record groups the data and proof fields needed for “source run”. A proposition-valued field is a requirement until a constructor supplies it. Extra source primitive accounting, deliberately separate from 'Op'.

CompiledPartial route

QuantumBlockEncoding.StoredHermiteGeometry.atStage

This definition gives the library's named construction or computation for “at stage”. The cache is physically indexed by r, but consumers use chronological source stage t=0,...,n and access r=n-t with a charged stored-word read.

CompiledCompiled

QuantumBlockEncoding.StoredHermiteKernelTable.Fields

This record groups the data and proof fields needed for “fields”. A proposition-valued field is a requirement until a constructor supplies it. P=2k+2, written in the definitional form used by InjectionBond.

CompiledPartial route

QuantumBlockEncoding.StoredHermiteRawCost.raw_exponentialCalls

Lean checks the proposition indexed as “raw exponential calls”; the hypotheses and conclusion in the code panel fix its exact scope. Exact exponential ledger: one coefficient call, n+1 cached tail calls, and the actual stage injection calls (zero on disabled Full guards).

CompiledCompiled

QuantumBlockEncoding.StoredHermiteRawCost.raw_certified

Lean checks the proposition indexed as “raw certified”; the hypotheses and conclusion in the code panel fix its exact scope. Same-run source equality, polynomial ordinary work, exponential cap, and the four accurately scoped integer counters.

CompiledCompiled

QuantumBlockEncoding.StoredHermiteSourceCache.CacheRun

This record groups the data and proof fields needed for “cache run”. A proposition-valued field is a requirement until a constructor supplies it. SourceRun's ordinary and exponential fields are inherited unchanged.

CompiledPartial route

QuantumBlockEncoding.StoredHermiteSourceCache.storeCache

This definition gives the library's named construction or computation for “store cache”. Explicit fixed-size record materialization; arrays and tables are already stored and are preserved by reference rather than regenerated.

CompiledCompiled

QuantumBlockEncoding.StoredHermiteStageFields.Loaded

This record groups the data and proof fields needed for “loaded”. A proposition-valued field is a requirement until a constructor supplies it. Register-local results of the charged input reads.

CompiledPartial route

QuantumBlockEncoding.StoredHermiteStageInput.inputCorrect

Lean checks the proposition indexed as “input correct”; the hypotheses and conclusion in the code panel fix its exact scope. The final bridge is unconditional apart from L>0: source, shared tables, tails, parent first/lower, and integer spans all come from global compile.

CompiledCompiled

QuantumBlockEncoding.StoredIsometryCompletion.swapIndex

This definition gives the library's named construction or computation for “swap index”. Both equality decisions are actual charged operations; the second is skipped if the first comparison succeeds.

CompiledCompiled

QuantumBlockEncoding.StoredIsometryCompletion.polynomialBudget

This definition gives the library's named construction or computation for “polynomial budget”. Expanded bound including the stored prefix matrix, both permutation tables, orientation tracking, column placement, and spare-column correction.

CompiledCompiled

QuantumBlockEncoding.StoredMatrixProductChain.ofTable_total_cost_le

Lean checks the proposition indexed as “of table total cost le”; the hypotheses and conclusion in the code panel fix its exact scope. Bound for the very same run whose value refines 'ofKernel'; includes terminal/initial arithmetic, materialization, copied references, and nodes.

CompiledCompiled

QuantumBlockEncoding.StoredRectangularGivens.compile_cost_le

Lean checks the proposition indexed as “compile cost le”; the hypotheses and conclusion in the code panel fix its exact scope. A componentwise polynomial operation bound for residual, log, and the fully stored accumulated transform produced by this actual algorithm.

CompiledCompiled

QuantumBlockEncoding.StoredSelectedRyTrace.append

This definition gives the library's named construction or computation for “append”. A real recursive persistent append: inspect each node and copy each nonempty prefix node.

CompiledCompiled

QuantumBlockEncoding.StoredSelectedRyTrace.traceCost

This definition gives the library's named construction or computation for “trace cost”. This recurrence describes the charged algorithm, including both append traversals and materialization of the control-wire tail at every node.

CompiledCompiled

QuantumBlockEncoding.StoredSelectedRyTrace.encodingIndexOperations

This definition gives the library's named construction or computation for “encoding index operations”. Independent index-operation count; these are the extra local field-tag charges and do not change any existing real/rational field-cost theorem.

CompiledCompiled

QuantumBlockEncoding.StoredTensorTrain.canonicalize_total_cost_le

Lean checks the proposition indexed as “canonicalize total cost le”; the hypotheses and conclusion in the code panel fix its exact scope. The actual stored producer uses linear-in-length, cubic-in-bond work in the declared exact-real model, including absorption, storage, and node costs.

CompiledCompiled

QuantumBlockEncoding.StoredTensorTrainNorm.cacheNode

This definition gives the library's named construction or computation for “cache node”. A fixed six-word traversal/cache-record allowance per chain node, as in the stored canonicalizer.

CompiledCompiled

QuantumBlockEncoding.StoredTensorTrainNorm.gram_total_cost_le

Lean checks the proposition indexed as “gram total cost le”; the hypotheses and conclusion in the code panel fix its exact scope. Total of all eight counters, including every materialization pass and the fixed node records.

CompiledCompiled

QuantumBlockEncoding.StoredThinLQ.Factors

This record groups the data and proof fields needed for “factors”. A proposition-valued field is a requirement until a constructor supplies it.

CompiledPartial route

QuantumBlockEncoding.StoredThinLQ.compile

This definition gives the library's named construction or computation for “compile”. The all-shape dispatcher additionally charges its dimension comparison.

CompiledCompiled

QuantumBlockEncoding.StoredThinLQ.compile_total_cost_le

Lean checks the proposition indexed as “compile total cost le”; the hypotheses and conclusion in the code panel fix its exact scope. Uniform cubic polynomial, including transpose/extraction and dispatch.

CompiledCompiled

QuantumBlockEncoding.ExecutableResourceCertificate

This record groups the data and proof fields needed for “executable resource certificate”. A proposition-valued field is a requirement until a constructor supplies it. Backend-neutral cost evidence computed from the canonical primitive IR.

CompiledPartial route

QuantumBlockEncoding.CertifiedCircuitBlockExtraction

This record groups the data and proof fields needed for “certified circuit block extraction”. A proposition-valued field is a requirement until a constructor supplies it. A circuit block extraction whose selected block equality is carried as a proof.

CompiledPartial route

QuantumBlockEncoding.teachingIdentityQSVTConsumer

This definition gives the library's named construction or computation for “teaching identity qsvt consumer”. Finite witness that a certified clean block crosses the typed QSVT boundary.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.RankReduced

This type lists the allowed alternatives for “rank reduced”; its constructors are the cases that downstream code must handle. The active ranks satisfy the exact backward 'min' recurrence, with an unchanged terminal bond.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.RankReduced.head_bound

Lean checks the proposition indexed as “head bound”; the hypotheses and conclusion in the code panel fix its exact scope. Every nonempty canonicalized train has a left rank bounded by the original left rank and by twice its next active rank.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.mass_vecMul

Lean checks the proposition indexed as “mass vec mul”; the hypotheses and conclusion in the code panel fix its exact scope. An orthonormal-row matrix acts isometrically on row-vector boundaries.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.chainMass_eq

Lean checks the proposition indexed as “chain mass eq”; the hypotheses and conclusion in the code panel fix its exact scope. Local row-isometries compose to an all-length mass-preserving state map.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.residual_mass

Lean checks the proposition indexed as “residual mass”; the hypotheses and conclusion in the code panel fix its exact scope. Factorization preserves total mass, and canonicality identifies it with the mass of the new initial boundary.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.exists_normalized_state

Lean checks the proposition indexed as “exists normalized state”; the hypotheses and conclusion in the code panel fix its exact scope. Scalar-boundary state version: the new initial vector is normalized and every individual target amplitude is recovered by contracting it with the right-canonical train.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.complexCore

This definition gives the library's named construction or computation for “complex core”. In circuit convention the emitted bit/new bond are output rows, and the old bond is the input column.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.sequentialCore

This definition gives the library's named construction or computation for “sequential core”. Equal-rank specialization lands literally in the existing sequential preparation core type; padding varying ranks is a separate register embedding.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.paddedCore

This definition gives the library's named construction or computation for “padded core”. Padded matrix has zero output outside the next active rank and specifies only the active clean-input columns; other completion columns stay free.

CompiledCompiled

QuantumBlockEncoding.TensorTrainCanonical.paddedCore_active_isometry

Lean checks the proposition indexed as “padded core active isometry”; the hypotheses and conclusion in the code panel fix its exact scope. Active columns of a right-canonical core remain orthonormal after embedding the output into a larger physical register.

CompiledCompiled

QuantumBlockEncoding.TensorTrainLocalCompiler.exists_SO_named

Lean checks the proposition indexed as “exists so named”; the hypotheses and conclusion in the code panel fix its exact scope. Coordinate adapter for special-orthogonal completion on any finite named basis, with prescribed columns at arbitrary physical labels.

CompiledCompiled

QuantumBlockEncoding.TensorTrainLocalCompiler.activeColumns_isometry

Lean checks the proposition indexed as “active columns isometry”; the hypotheses and conclusion in the code panel fix its exact scope. Exact real orthonormality is extracted from the proved complex padded-core semantics; no ambient matrix or desired circuit action is assumed.

CompiledCompiled

QuantumBlockEncoding.TensorTrainNormEnvironment.updateArithmeticBudget

This definition gives the library's named construction or computation for “update arithmetic budget”. A conservative count for direct dense real arithmetic at one update: two bits, products (l by m)*(m by m) and (l by m)*(m by l), charging one multiplication and at most one addition per inner-product term, then l^2 additions to combine the two bits.

CompiledCompiled

QuantumBlockEncoding.TensorTrainPrimitivePreparation.run_circuits_clean

Lean checks the proposition indexed as “run circuits clean”; the hypotheses and conclusion in the code panel fix its exact scope. Actual local circuit columns imply the complete sequential source state from an empty initial circuit, including terminal cleanup.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.transfer_shift

Lean checks the proposition indexed as “transfer shift”; the hypotheses and conclusion in the code panel fix its exact scope. Rewrite chronological transfer in first-bit order, matching 'Chain.cons'.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.paddedSlice_mulVec

Lean checks the proposition indexed as “padded slice mul vec”; the hypotheses and conclusion in the code panel fix its exact scope. One extracted core slice acts as its exact real row-vector contraction, with zero padding on the old and new bond labels.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.transfer_padded

Lean checks the proposition indexed as “transfer padded”; the hypotheses and conclusion in the code panel fix its exact scope. All-length transfer equals the original chain contraction at every padded output label, not just after projection onto its active subspace.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.run_eq_transfer_bounded

Lean checks the proposition indexed as “run eq transfer bounded”; the hypotheses and conclusion in the code panel fix its exact scope. A bounded version of the sequential local-column theorem: unused later stages need not implement the zero cores after the end of the schedule.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.run_padded

Lean checks the proposition indexed as “run padded”; the hypotheses and conclusion in the code panel fix its exact scope. Exact complete sequential action of the schedule extracted from an actual dependent train.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.paddedAt_active_isometry

Lean checks the proposition indexed as “padded at active isometry”; the hypotheses and conclusion in the code panel fix its exact scope. Every extracted stage of a canonical chain has orthonormal occupied columns in the one fixed physical register.

CompiledCompiled

QuantumBlockEncoding.TensorTrainSchedule.exists_normalized_preparation_schedule

Lean checks the proposition indexed as “exists normalized preparation schedule”; the hypotheses and conclusion in the code panel fix its exact scope. A normalized scalar-boundary source train has a bounded canonical schedule with exact whole-state source action whenever its *local occupied columns* are implemented.

CompiledCompiled

QuantumBlockEncoding.ThinLQ.sum_prefix_of_zero

Lean checks the proposition indexed as “sum prefix of zero”; the hypotheses and conclusion in the code panel fix its exact scope. Restrict a finite sum to a prefix when all remaining summands vanish.

CompiledCompiled

QuantumBlockEncoding.ThinLQ.exists_factor_of_le

Lean checks the proposition indexed as “exists factor of le”; the hypotheses and conclusion in the code panel fix its exact scope. A wide real matrix has an exact factorization with orthonormal rows.

CompiledCompiled

QuantumBlockEncoding.ThinLQ.exists_thin_lq

Lean checks the proposition indexed as “exists thin lq”; the hypotheses and conclusion in the code panel fix its exact scope. Every finite real matrix admits a thin factorization with exactly 'min m n' orthonormal rows.

CompiledCompiled

QuantumBlockEncoding.controlledRyBlockMatrix

This definition gives the library's named construction or computation for “controlled ry block matrix”. Backend-independent specification: each fixed assignment of the non-target wires owns one exact two-dimensional RY block selected by the control bits.

CompiledCompiled

QuantumBlockEncoding.uniformlyControlledRyMatrix

This definition gives the library's named construction or computation for “uniformly controlled ry matrix”. Recursive matrix specification corresponding to the standard multiplexor identity.

CompiledCompiled

QuantumBlockEncoding.compileUniformlyControlledRy_eval_controlledRyBlockMatrix

Lean checks the proposition indexed as “compile uniformly controlled ry eval controlled ry block matrix”; the hypotheses and conclusion in the code panel fix its exact scope. The recursive compiler satisfies the independent block-diagonal specification selected by the computational-basis controls.

CompiledCompiled