← Back to Pull requests

chore: rename leftover `supr`/`infi` names to `iSup`/`iInf` #46812

Open
unknown opened this pull request with 176 lines diff across 2 files
View on GitHub
unknown unknown commented on Dec 01, 2026 09:19 UTC
Author

This renames the remaining declarations that still use the Lean 3 names supr/infi (bsupr, csupr, cinfi) to iSup/iInf (biSup, ciSup, ciInf), with deprecated aliases, and does the same for section names, local hypotheses and comments. AffineSubspace.comap_supr is a statement about iInf, so it becomes AffineSubspace.comap_iInf. The docstring of DirectSum.IsInternal no longer refers to DirectSum.subgroup_isInternal_iff_iSupIndep_and_supr_eq_top, which does not exist.

Moves:

  • ENNReal.cinfi_ne_top -> ENNReal.ciInf_ne_top

  • ENNReal.csupr_ne_top -> ENNReal.ciSup_ne_top

  • AddSubmonoid.bsupr_eq_mrange_dfinsuppSumAddHom -> AddSubmonoid.biSup_eq_mrange_dfinsuppSumAddHom

  • AddSubmonoid.mem_bsupr_iff_exists_dfinsupp -> AddSubmonoid.mem_biSup_iff_exists_dfinsupp

  • IntermediateField.exists_finset_of_mem_supr' -> IntermediateField.exists_finset_of_mem_iSup'

  • IntermediateField.exists_finset_of_mem_supr'' -> IntermediateField.exists_finset_of_mem_iSup''

  • Subgroup.center_eq_infi' -> Subgroup.center_eq_iInf'

  • AddSubgroup.center_eq_infi' -> AddSubgroup.center_eq_iInf'

  • AffineSubspace.comap_supr -> AffineSubspace.comap_iInf

  • bsupr_limsup_dimH -> biSup_limsup_dimH

  • TopologicalSpace.Opens.leSupr -> TopologicalSpace.Opens.leISup

  • TopologicalSpace.Opens.leSupr_apply_mk -> TopologicalSpace.Opens.leISup_apply_mk
  • ---

    🤖 Generated with Claude Code

    Diff: 176 lines (+132 / -44) across 2 files Reviewer: YaelDillies Review duration: 225m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 176 lines diff across 2 files
    0.35
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.310
    Real PR Conversation Timeline
    1 comments
    "Review active on #46812"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.4% (MEDIUM) · Higher = larger blast radius
    35.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.9% · Safe to merge
    18.9%