This document maps the checked Lean theorem surface. It is deliberately narrow: the formalization proves finite Bayes decision theorems, a quotient-form optimality theorem, a canonical overlap-tilt signal instantiation, a group-theoretic bitmap-overlap invariant theorem, a supplied calibrated-evidence wrapper, a finite quotient-search layer, a generic quotient-constraint layer, reachable-image/kernel/fiber layers, a finite product-quotient layer for pairwise and ranking targets, a finite observation-window layer for target-separating probe families, score-margin profile-stability layers, and an exact constant-weight bitmap null.
For K-active bitmaps in dimension D, under the canonical finite
overlap-tilt signal model with uniform bitmap null and signal parameter
0 < theta, a literal overlap-tail rule is Bayes-optimal among all
deterministic admission rules on the constant-weight bitmap observation space.
The same threshold event has exactly the hypergeometric upper-tail probability
under the model null.
Checked theorem:
OrdvecFormalization.exists_uniformBitmapOverlapTail_finiteBayesRisk_le_and_hypergeomTailCost-sensitive checked theorem:
OrdvecFormalization.exists_uniformBitmapOverlapTail_finiteCostedBayesRisk_le_and_hypergeomTailGeneral positive-base theorem, with separate uniform-null tail calibration at the same cutoff:
OrdvecFormalization.exists_constantWeightBitmapOverlapTail_finiteBayesRisk_le_and_hypergeomTailCore FNCH overlap theorem:
OrdvecFormalization.overlapNull_threshold_bayesRisk_optimal_of_lt
OrdvecFormalization.fnch_overlap_threshold_bayes_optimalCost-sensitive extension:
OrdvecFormalization.overlapNull_costed_threshold_bayesRisk_optimal_of_lt
OrdvecFormalization.fnch_overlap_costed_threshold_bayes_optimalExact constant-weight bitmap null:
OrdvecFormalization.card_bitmapOverlapFiber_of_query_card
OrdvecFormalization.bitmapOverlapTailMass_eq_bitmapHypergeomTail_of_query_card
OrdvecFormalization.bitmapUniformPMF_overlapFiber_prob
OrdvecFormalization.bitmapUniformPMF_overlapTail_probBitmap symmetry layer:
OrdvecFormalization.bitmapOverlap_queryStabilizer_eq
OrdvecFormalization.exists_queryStabilizer_permuteBitmap_eq_of_card_eq_overlap_eq
OrdvecFormalization.exists_queryStabilizer_permuteBitmap_eq_iff_overlap_eq_of_card_eq
OrdvecFormalization.invariantOn_constantWeightBitmapSpace_factorsThrough_overlapFinite quotient search layer:
OrdvecFormalization.quotientPullback
OrdvecFormalization.RuleFactorsThrough
OrdvecFormalization.QuotientCompatible
OrdvecFormalization.ObservedQuotients
OrdvecFormalization.ObservedQuotientsList
OrdvecFormalization.SampleConsistent
OrdvecFormalization.QuotientRuleFitsSample
OrdvecFormalization.FullTargetFitsSample
OrdvecFormalization.CompatibleTargets
OrdvecFormalization.CompatibleQuotientRules
OrdvecFormalization.quotientCompatible_exists_ruleq
OrdvecFormalization.quotientRule_induces_compatible_target
OrdvecFormalization.induced_targets_eq_of_ruleq_eq
OrdvecFormalization.induced_targets_eq_of_agree_on_range
OrdvecFormalization.sampleConsistent_of_quotientCompatible
OrdvecFormalization.no_compatible_target_of_sample_collision
OrdvecFormalization.sampleConsistent_of_exists_quotientRuleFitsSample
OrdvecFormalization.exists_quotientRuleFitsSample_of_sampleConsistent
OrdvecFormalization.sampleConsistent_iff_exists_quotientRuleFitsSample
OrdvecFormalization.QuotientImageFinset
OrdvecFormalization.QuotientImageBucket
OrdvecFormalization.card_quotientImageRules
OrdvecFormalization.UnobservedReachableQuotients
OrdvecFormalization.restrictRuleToImage
OrdvecFormalization.imageRuleToFullTarget
OrdvecFormalization.imageRuleToFullTarget_quotientCompatible
OrdvecFormalization.quotientRules_agree_on_observed_of_fit
OrdvecFormalization.fitting_quotient_rules_determined_on_observed
OrdvecFormalization.extendWithUnobserved
OrdvecFormalization.extendWithUnobserved_fits_sample
OrdvecFormalization.card_fullTargets
OrdvecFormalization.card_quotientRules
OrdvecFormalization.quotientCompatible_search_space_bound
OrdvecFormalization.card_unobserved_assignments
OrdvecFormalization.card_unobserved_bool_assignments
OrdvecFormalization.QuotientRefines
OrdvecFormalization.RuleFactorsThrough.of_refines
OrdvecFormalization.not_ruleFactorsThrough_coarse_of_not_fine
OrdvecFormalization.QuotientRefines.refl
OrdvecFormalization.QuotientRefines.trans
OrdvecFormalization.RuleFactorsThrough.prod_iff
OrdvecFormalization.SampleConsistent.prod_iffQuotient constraint layer:
OrdvecFormalization.FiberInvariant
OrdvecFormalization.HasNontrivialFiber
OrdvecFormalization.SeparatesSameFiber
OrdvecFormalization.ruleFactorsThrough_fiberInvariant
OrdvecFormalization.ruleFactorsThrough_same_admission_on_fibers
OrdvecFormalization.ruleFactorsThrough_same_evidence_on_fibers
OrdvecFormalization.finiteLikelihoodRatioFactorsThrough_fiberInvariant
OrdvecFormalization.finiteBayesAdmitFactorsThrough_same_on_fibers
OrdvecFormalization.fiberInvariant_ruleFactorsThrough_of_surjective
OrdvecFormalization.not_ruleFactorsThrough_of_separatesSameFiber
OrdvecFormalization.not_injective_of_hasNontrivialFiber
OrdvecFormalization.injective_of_not_hasNontrivialFiber
OrdvecFormalization.hasNontrivialFiber_iff_not_injective
OrdvecFormalization.exists_boolTarget_not_ruleFactorsThrough_of_hasNontrivialFiber
OrdvecFormalization.exists_pair_quotientTarget_factorsThrough_and_otherTarget_not
OrdvecFormalization.boolRuleFactorsThrough_positiveSet_eq_quotientPullbackQuotient image, kernel, fiber topology, product/pair quotient, refinement, margin, and profile-stability layer:
OrdvecFormalization.QuotientImage
OrdvecFormalization.imageQuotient
OrdvecFormalization.imageQuotient_surjective
OrdvecFormalization.Fiber
OrdvecFormalization.ImageFiber
OrdvecFormalization.ObservedBuckets
OrdvecFormalization.UnobservedBuckets
OrdvecFormalization.FiberSize
OrdvecFormalization.HasCollision
OrdvecFormalization.InjectiveOnSample
OrdvecFormalization.Kernel
OrdvecFormalization.TargetKernel
OrdvecFormalization.KernelContainedInTarget
OrdvecFormalization.ruleFactorsThrough_image_iff_fiberInvariant
OrdvecFormalization.ruleFactorsThrough_image_iff_kernelContainedInTarget
OrdvecFormalization.ruleFactorsThrough_image_of_kernelContainedInTarget
OrdvecFormalization.kernelContainedInTarget_of_ruleFactorsThrough_image
OrdvecFormalization.observedBucketFibers_pairwiseDisjoint
OrdvecFormalization.sample_eq_disjiUnion_fibers_over_observed
OrdvecFormalization.sample_card_eq_sum_fiberSize_observed
OrdvecFormalization.hasCollision_iff_not_injectiveOnSample
OrdvecFormalization.hasCollision_of_card_gt_observedBuckets_card
OrdvecFormalization.no_compatible_target_of_same_bucket_label_disagreement
OrdvecFormalization.productMap
OrdvecFormalization.productMap_eq_iff
OrdvecFormalization.ProductFiberInvariant
OrdvecFormalization.kernelContainedInTarget_productMap_iff_productFiberInvariant
OrdvecFormalization.ruleFactorsThrough_product_fiberInvariant
OrdvecFormalization.productFiberInvariant_ruleFactorsThrough_of_surjective
OrdvecFormalization.ruleFactorsThrough_productMap_image_iff_productFiberInvariant
OrdvecFormalization.ruleFactorsThrough_product_fixedLeft
OrdvecFormalization.ruleFactorsThrough_product_fixedRight
OrdvecFormalization.ProductSampleConsistent
OrdvecFormalization.productSampleConsistent_iff_sampleConsistent_productMap
OrdvecFormalization.productSampleConsistent_of_ruleFactorsThrough
OrdvecFormalization.productSampleConsistent_iff_exists_productRuleFitsSample
OrdvecFormalization.no_productQuotientTarget_of_sample_collision
OrdvecFormalization.ObservedProductQuotients
OrdvecFormalization.UnobservedReachableProductQuotients
OrdvecFormalization.card_productQuotientRules
OrdvecFormalization.productMap_image_subset_product_images
OrdvecFormalization.productMap_image_eq_product_images
OrdvecFormalization.productMap_image_card_eq_product_images_card
OrdvecFormalization.productMap_image_card_le_product_images_card
OrdvecFormalization.card_productImageQuotientRules
OrdvecFormalization.card_productImageQuotientRules_eq_product_images
OrdvecFormalization.card_productImageQuotientRules_le_product_images
OrdvecFormalization.RuleFactorsThrough.product_pair_iff
OrdvecFormalization.ProductSampleConsistent.prod_iff
OrdvecFormalization.ComparisonObs
OrdvecFormalization.comparisonObsEquivProd
OrdvecFormalization.comparisonMap
OrdvecFormalization.comparisonMap_eq_iff
OrdvecFormalization.ComparisonFiberInvariant
OrdvecFormalization.ruleFactorsThrough_comparison_fiberInvariant
OrdvecFormalization.rankByScore
OrdvecFormalization.rankByScore_factorsThrough_of_score_factorsThrough
OrdvecFormalization.ComparisonImageBox
OrdvecFormalization.comparisonMap_image_subset_imageBox
OrdvecFormalization.comparisonMap_image_eq_imageBox
OrdvecFormalization.comparisonMap_image_card_eq_product_images_card
OrdvecFormalization.comparisonMap_image_card_le_product_images_card
OrdvecFormalization.card_comparisonImageQuotientRules
OrdvecFormalization.card_comparisonImageQuotientRules_eq_product_images
OrdvecFormalization.card_comparisonImageQuotientRules_le_product_images
OrdvecFormalization.pairQuotient
OrdvecFormalization.pairQuotient_eq_iff
OrdvecFormalization.pairRuleFactorsThrough_same_on_quotient_fibers
OrdvecFormalization.no_pair_compatible_target_of_sample_collision
OrdvecFormalization.quotientRefines_kernel_subset
OrdvecFormalization.quotientRefines_of_surjective_of_kernel_subset
OrdvecFormalization.quotientRefines_iff_kernel_subset_of_surjective
OrdvecFormalization.imageQuotient_refines_iff_kernel_subset
OrdvecFormalization.imageQuotient_refines_of_kernel_subset
OrdvecFormalization.ScoresWithin
OrdvecFormalization.ThresholdMargin
OrdvecFormalization.thresholdAdmitBool
OrdvecFormalization.threshold_admit_iff_of_scoresWithin_and_margin
OrdvecFormalization.thresholdAdmitBool_eq_of_scoresWithin_and_margin
OrdvecFormalization.thresholdAdmitBool_factorsThrough_of_score_factorsThrough
OrdvecFormalization.thresholdAdmitBool_factorsThrough_image_of_score_margin
OrdvecFormalization.EncoderDistortionProfile
OrdvecFormalization.QuotientGeometryProfile
OrdvecFormalization.scoresWithin_trans_add
OrdvecFormalization.scoresWithin_of_encoderDistortionProfile_and_quotientGeometryProfile
OrdvecFormalization.thresholdAdmitBool_eq_of_distortion_and_quotientGeometry
OrdvecFormalization.thresholdAdmitBool_factorsThrough_image_of_distortion_and_quotientGeometry
OrdvecFormalization.kernelContainedInTarget_of_distortion_and_quotientGeometryQuotient sufficiency layer:
OrdvecFormalization.exists_quotientPullback_finiteWeightedRisk_le
OrdvecFormalization.exists_quotientPullback_finiteWeightedRisk_le_of_likelihoodRatioFactorsThrough
OrdvecFormalization.exists_orderedQuotientThreshold_finiteWeightedRisk_le_of_orderedEvidenceFactor
OrdvecFormalization.exists_calibratedOrderedThreshold_finiteBayesRisk_le_of_orderedEvidenceFactor
OrdvecFormalization.exists_calibratedOrderedThreshold_finiteCostedBayesRisk_le_of_orderedEvidenceFactor
OrdvecFormalization.exists_overlapQuotientThreshold_finiteWeightedRisk_le_of_likelihoodRatioFactor
OrdvecFormalization.exists_overlapQuotientThreshold_finiteWeightedRisk_le_of_canonicalTilt
OrdvecFormalization.exists_overlapQuotientThreshold_finiteBayesRisk_le_of_canonicalTilt_of_lt
OrdvecFormalization.exists_overlapQuotientThreshold_finiteBayesRisk_le_and_bitmapHypergeomTail
OrdvecFormalization.constantWeightBitmapOverlapTailCalibration
OrdvecFormalization.exists_constantWeightBitmapOverlapTail_finiteBayesRisk_le_and_hypergeomTail
OrdvecFormalization.exists_uniformBitmapOverlapTail_finiteBayesRisk_le_and_hypergeomTail
OrdvecFormalization.quotientFiberExample_quotientTarget_factorsThrough_not_fiberTarget
OrdvecFormalization.weightedBayesAdmit_iff_cutoff_le_likelihoodRatio
OrdvecFormalization.exponentialTilt_hasMLR_of_lt
OrdvecFormalization.fnch_bayesAdmit_isActualOverlapThreshold
OrdvecFormalization.fnch_actualOverlapThreshold_bayesRisk_optimal
OrdvecFormalization.fnch_costed_actualOverlapThreshold_bayesRisk_optimalThe core overlap-null theorem quantifies over:
p : FNCHParams, carryingk <= Nanddraws <= N.theta0 theta1 : Real, with strict hypothesistheta0 < theta1.prior : Prior, a bundled prior probability forH1.- all deterministic admission sets
R : Set p.support.
It produces a cut cut : Fin (p.hi - p.lo + 2) such that the
actual-overlap threshold set has Bayes risk no larger than any deterministic
admission set.
The cost-sensitive theorem additionally quantifies over
costs : DecisionCosts, whose falseAccept and falseReject fields weight the
two error types independently.
BitmapSymmetry
-> overlap is the query-stabilizer orbit classifier
FiniteExperiment
-> FiniteQuotientSearch
-> QuotientConstraints
-> FiniteQuotientImage / QuotientKernel / FiniteFiberTopology
-> FiniteProductQuotient / FinitePairQuotient
-> QuotientRefinementKernel / FiniteObservationWindow
-> ScoreMarginQuotient
-> ProfileStability
-> FiniteBayesRisk
-> OrdinalSufficiency / OverlapSufficiency
-> CanonicalTilt / OverlapBayesOptimal
FiniteBayesRisk + OrdinalSufficiency
-> CalibratedEvidence
BitmapNull
-> BitmapIncidence
CalibratedEvidence + BitmapIncidence + OverlapBayesOptimal
-> BitmapCalibration
-> exact hypergeometric null calibration
For the module-by-module proof narrative, see proof-spine.md.
This section is the stable public Lean-name surface. Renames should be deliberate, documented changes because downstream docs and papers cite these names.
Public Lean names:
finiteWeightedBayesAdmitSet_optimalquotientPullbackRuleFactorsThroughmem_quotientPullback_of_quotient_preservingQuotientCompatibleObservedQuotientsObservedQuotientsListSampleConsistentQuotientRuleFitsSampleFullTargetFitsSampleCompatibleTargetsCompatibleQuotientRulesquotientCompatible_exists_ruleqquotientRule_induces_compatible_targetinduced_targets_eq_of_ruleq_eqinduced_targets_eq_of_agree_on_rangesampleConsistent_of_quotientCompatibleno_compatible_target_of_sample_collisionsampleConsistent_of_exists_quotientRuleFitsSampleexists_quotientRuleFitsSample_of_sampleConsistentsampleConsistent_iff_exists_quotientRuleFitsSampleQuotientImageFinsetQuotientImageBucketcard_quotientImageRulesUnobservedReachableQuotientsrestrictRuleToImageimageRuleToFullTargetimageRuleToFullTarget_quotientCompatiblequotientRules_agree_on_observed_of_fitfitting_quotient_rules_determined_on_observedextendWithUnobservedextendWithUnobserved_fits_samplecard_fullTargetscard_quotientRulesquotientCompatible_search_space_boundcard_unobserved_assignmentscard_unobserved_bool_assignmentsQuotientRefinesRuleFactorsThrough.of_refinesnot_ruleFactorsThrough_coarse_of_not_fineQuotientRefines.reflQuotientRefines.transRuleFactorsThrough.prod_iffSampleConsistent.prod_iffFiberInvariantHasNontrivialFiberSeparatesSameFiberruleFactorsThrough_fiberInvariantruleFactorsThrough_same_admission_on_fibersruleFactorsThrough_same_evidence_on_fibersfiniteLikelihoodRatioFactorsThrough_fiberInvariantfiniteBayesAdmitFactorsThrough_same_on_fibersfiberInvariant_ruleFactorsThrough_of_surjectivenot_ruleFactorsThrough_of_separatesSameFibernot_injective_of_hasNontrivialFiberinjective_of_not_hasNontrivialFiberhasNontrivialFiber_iff_not_injectiveexists_boolTarget_not_ruleFactorsThrough_of_hasNontrivialFiberexists_pair_quotientTarget_factorsThrough_and_otherTarget_notboolRuleFactorsThrough_positiveSet_eq_quotientPullbackQuotientImageimageQuotientimageQuotient_valimageQuotient_surjectiveFiberImageFiberObservedBucketsUnobservedBucketsFiberSizeHasCollisionInjectiveOnSampleKernelTargetKernelKernelContainedInTargetkernelContainedInTarget_iff_fiberInvariantruleFactorsThrough_image_iff_fiberInvariantruleFactorsThrough_image_iff_kernelContainedInTargetruleFactorsThrough_image_of_kernelContainedInTargetkernelContainedInTarget_of_ruleFactorsThrough_imageobservedBucketFibers_pairwiseDisjointsample_eq_disjiUnion_fibers_over_observedsample_card_eq_sum_fiberSize_observedhasCollision_iff_not_injectiveOnSamplehasCollision_of_card_gt_observedBuckets_cardno_compatible_target_of_same_bucket_label_disagreementproductMapproductMap_applyproductMap_eq_iffProductFiberInvariantkernelContainedInTarget_productMap_iff_productFiberInvariantruleFactorsThrough_product_fiberInvariantproductFiberInvariant_ruleFactorsThrough_of_surjectiveruleFactorsThrough_productMap_image_iff_productFiberInvariantruleFactorsThrough_product_fixedLeftruleFactorsThrough_product_fixedRightProductSampleConsistentproductSampleConsistent_iff_sampleConsistent_productMapproductSampleConsistent_of_ruleFactorsThroughproductSampleConsistent_iff_exists_productRuleFitsSampleno_productQuotientTarget_of_sample_collisionObservedProductQuotientsUnobservedReachableProductQuotientscard_productQuotientRulesproductMap_image_subset_product_imagesproductMap_image_eq_product_imagesproductMap_image_card_eq_product_images_cardproductMap_image_card_le_product_images_cardcard_productImageQuotientRulescard_productImageQuotientRules_eq_product_imagescard_productImageQuotientRules_le_product_imagesRuleFactorsThrough.product_pair_iffProductSampleConsistent.prod_iffComparisonObscomparisonObsEquivProdcomparisonMapcomparisonMap_leftcomparisonMap_firstcomparisonMap_secondcomparisonMap_eq_iffComparisonFiberInvariantruleFactorsThrough_comparison_fiberInvariantrankByScorerankByScore_factorsThrough_of_score_factorsThroughComparisonImageBoxcomparisonMap_image_subset_imageBoxcomparisonMap_image_eq_imageBoxcomparisonMap_image_card_eq_product_images_cardcomparisonMap_image_card_le_product_images_cardcard_comparisonImageQuotientRulescard_comparisonImageQuotientRules_eq_product_imagescard_comparisonImageQuotientRules_le_product_imagespairQuotientpairQuotient_applypairQuotient_eq_iffpairRuleFactorsThrough_same_on_quotient_fibersno_pair_compatible_target_of_sample_collisionquotientRefines_kernel_subsetquotientRefines_of_surjective_of_kernel_subsetquotientRefines_iff_kernel_subset_of_surjectiveimageQuotient_refines_iff_kernel_subsetimageQuotient_refines_of_kernel_subsetobservationFamilyMapObservationFamilyAgreementObservationFamilySeparatesObservationFamilyTargetInvariantobservationFamilyMap_eq_iffkernel_observationFamilyMap_iffobservationFamilyMap_injective_iff_separateskernelContainedInTarget_familyMap_iff_targetInvariantruleFactorsThrough_familyMap_image_iff_targetInvariantwindowMapWindowAgreementWindowSeparatesWindowTargetInvariantwindowMap_eq_iffkernel_windowMap_iffwindowSeparates_iffkernelContainedInTarget_windowMap_iff_targetInvariantruleFactorsThrough_windowMap_image_iff_targetInvariantobservationCoincidenceLengthexists_windowTargetInvariant_iff_eventually_separates_targetexists_windowSeparates_iff_eventually_separateswindowMap_refines_of_lewindowMap_kernel_subset_of_lewindowTargetInvariant_of_leruleFactorsThrough_windowMap_of_leruleFactorsThrough_windowMap_image_of_leno_window_compatible_target_of_same_code_label_disagreementno_window_image_compatible_target_of_same_code_label_disagreementwindowMap_image_card_lewindowMap_image_card_of_injectiveScoresWithinThresholdMarginthresholdAdmitBoolthreshold_admit_iff_of_scoresWithin_and_marginthresholdAdmitBool_eq_of_scoresWithin_and_marginthresholdAdmitBool_factorsThrough_of_score_factorsThroughthresholdAdmitBool_factorsThrough_image_of_score_marginEncoderDistortionProfileQuotientGeometryProfilescoresWithin_trans_addscoresWithin_of_encoderDistortionProfile_and_quotientGeometryProfilethresholdAdmitBool_eq_of_distortion_and_quotientGeometrythresholdAdmitBool_factorsThrough_image_of_distortion_and_quotientGeometrykernelContainedInTarget_of_distortion_and_quotientGeometryquotientBayesAdmitSet_pullback_eqexists_quotientPullback_finiteWeightedRisk_lefiniteWeightedBayesAdmit_iff_cutoff_le_likelihoodRatiofiniteBayesAdmitFactorsThrough_of_likelihoodRatioFactorsThroughexists_quotientPullback_finiteWeightedRisk_le_of_likelihoodRatioFactorsThroughorderedQuotientThresholdSetFiniteLikelihoodRatioFactorsThroughOrderedEvidenceexists_orderedQuotientThreshold_finiteWeightedRisk_le_of_monotoneexists_orderedQuotientThreshold_finiteWeightedRisk_le_of_orderedEvidenceFactorOrderedTailCalibrationexists_calibratedOrderedThreshold_finiteBayesRisk_le_of_orderedEvidenceFactorexists_calibratedOrderedThreshold_finiteCostedBayesRisk_le_of_orderedEvidenceFactoroverlapQuotientThresholdSetoverlapQuotientThresholdSet_eq_orderedQuotientThresholdSetFiniteLikelihoodRatioFactorsThroughOverlapEvidenceexists_overlapQuotientThreshold_finiteWeightedRisk_le_of_overlapEvidenceFactorexists_overlapQuotientThreshold_finiteWeightedRisk_le_of_likelihoodRatioFactorfiniteExponentialTiltfiniteLikelihoodRatio_finiteExponentialTilt_eq_factorfiniteExponentialTilt_likelihoodRatioFactorsThroughOrderedEvidencefiniteExponentialTilt_likelihoodRatioFactorsThroughOverlapEvidenceexists_overlapQuotientThreshold_finiteWeightedRisk_le_of_finiteExponentialTiltexists_overlapQuotientThreshold_finiteWeightedRisk_le_of_canonicalTiltfiniteBayesRiskfiniteCostedBayesRiskexists_overlapQuotientThreshold_finiteBayesRisk_le_of_canonicalTiltexists_overlapQuotientThreshold_finiteCostedBayesRisk_le_of_canonicalTiltexists_overlapQuotientThreshold_finiteBayesRisk_le_of_canonicalTilt_of_ltexists_overlapQuotientThreshold_finiteCostedBayesRisk_le_of_canonicalTilt_of_ltbitmapOverlapParamsBitmapCutbitmapCutThresholdConstantWeightBitmapconstantWeightBitmapUniformLawconstantWeightBitmapOverlapTailSetconstantWeightBitmapOverlapEvidenceoverlapQuotientThresholdSet_constantWeightBitmapOverlapEvidence_eqconstantWeightBitmapOverlapTailCalibrationexists_overlapQuotientThreshold_finiteBayesRisk_le_and_bitmapHypergeomTailexists_overlapQuotientThreshold_finiteCostedBayesRisk_le_and_bitmapHypergeomTailexists_constantWeightBitmapOverlapTail_finiteBayesRisk_le_and_hypergeomTailexists_constantWeightBitmapOverlapTail_finiteCostedBayesRisk_le_and_hypergeomTailexists_uniformBitmapOverlapTail_finiteBayesRisk_le_and_hypergeomTailexists_uniformBitmapOverlapTail_finiteCostedBayesRisk_le_and_hypergeomTailquotientFiberExample_quotientTarget_factorsThroughquotientFiberExample_fiberTarget_not_factorsThroughquotientFiberExample_quotientTarget_factorsThrough_not_fiberTargetmlr_monotone_weightedBayesAdmitmlr_monotone_bayesAdmitweightedBayesAdmit_iff_cutoff_le_likelihoodRatiobayesAdmit_iff_priorOddsCutoff_le_likelihoodRatioweightedBayesAdmit_isThresholdbayesAdmit_isThresholdcostedBayesAdmit_isThresholdweighted_threshold_bayesRisk_optimalthreshold_bayesRisk_optimalcosted_threshold_bayesRisk_optimalexponentialTilt_hasMLRexponentialTilt_hasMLR_of_ltfnch_bayesAdmit_isActualOverlapThresholdfnch_actualOverlapThreshold_bayesRisk_optimalfnch_costed_actualOverlapThreshold_bayesRisk_optimalfnchActualPMF_mass_eq_fnchPMF_massoverlapNull_threshold_bayesRisk_optimal_of_ltoverlapNull_costed_threshold_bayesRisk_optimal_of_ltcard_constantWeightBitmapSpacecard_insideOutsideChoices_of_query_cardcard_bitmapOverlapFiber_of_query_cardbitmapHypergeomMass_eq_insideOutsideChoices_card_ratiobitmapHypergeomMass_eq_overlapFiber_card_ratiocard_bitmapOverlapTailEvent_eq_sum_overlapFiber_card_of_query_cardbitmapOverlapTailMass_eq_bitmapHypergeomTail_of_query_cardbitmapUniformPMFbitmapUniformPMF_overlapFiber_probbitmapUniformPMF_overlapTail_probBitmapPermqueryStabilizerpermuteBitmapbitmapOverlap_queryStabilizer_eqexists_queryStabilizer_permuteBitmap_eq_of_card_eq_overlap_eqexists_queryStabilizer_permuteBitmap_eq_iff_overlap_eq_of_card_eqinvariantOn_constantWeightBitmapSpace_eq_of_overlap_eqinvariantOn_constantWeightBitmapSpace_factorsThrough_overlap
Compatibility aliases:
fnchActual_overlap_hasMLR_of_ltfnch_overlap_admit_thresholdfnch_overlap_threshold_bayes_optimalfnch_overlap_costed_threshold_bayes_optimal
- No empirical null calibration theorem is formalized here. The new bitmap-null route concerns the exact idealized constant-weight null, not real-corpus independence or effective dimension.
CalibratedEvidence.leanpackages a supplied equality at the cutoff returned by the ordered Bayes-optimality theorem. It does not prove null adequacy, event equivalence, or any real-corpus calibration claim.- No claim is made that the textbook hypergeometric is the deployment null for real embeddings.
- No claim is made that a real encoder's semantic evidence actually factors through an ordinal quotient; the quotient theorem states the exact sufficient condition under which such compression is decision-theoretically lossless.
- No claim is made that real encoders satisfy the query-stabilizer symmetry assumption. The symmetry theorem identifies the canonical invariant when the bitmap problem is treated as invariant under query-preserving coordinate relabelings.
- No claim is made that quotient sufficiency for one decision makes the quotient representation-complete. The quotient-constraint layer proves that factorized targets are fiber-invariant and that nontrivial quotients necessarily discard some possible other distinction.
- The finite quotient-search layer turns consistent samples into partial bucket-level constraints, not proof of a global empirical quotient contract. Same-bucket label disagreements are formal falsifiers; same-bucket agreement is only finite sample evidence.
- The image-quotient layer proves surjectivity only onto the reachable image of a finite compression map, not onto the full ambient quotient codomain.
- The finite observation-window layer does not claim that any individual lossy probe is injective or that a real probe family is globally sufficient. It proves the generic kernel calculus: joint-window agreement is the relevant fiber relation, longer windows refine shorter windows, and target sufficiency only requires target invariance on joint-window fibers.
- The score-margin layer is a sufficient-condition theorem for threshold stability under approximation; it does not prove contrastive training implies ordinal or bitmap quotient invariance.
- The profile-stability layer packages supplied finite score certificates. It does not define manifest schema, estimate encoder distortion, or claim that a real encoder globally satisfies those profile assumptions.
- No randomized tests, Neyman-Pearson lemma, UMP statement, or Karlin-Rubin theorem is included in this milestone.
- No asymptotic or measure-theoretic probability result is used; the proof is
finite and deterministic over
Fin.
Run:
make build
make verify
make check-doc-names
make audit
make lintmake verify checks the public theorem dashboard and prints the axiom audit.
make check-doc-names extracts documented names from the markdown files and
checks that they resolve through Lean. Expected axioms are Lean's standard
baseline:
[propext, Classical.choice, Quot.sound]