Skip to content

Prove Level cached-flag correctness #24

Open

Description

@kim-em

Goal

Replace Level.hasParam_eq and Level.hasMVar_eq in Lean4Lean/Verify/Axioms.lean with proofs derived from Level.mkData_eq.

These are the remaining Level cached-field axioms and should admit the same bit-level approach used for the Expr cached flags in #19. Level.mkData_eq itself remains part of the low-level implementation interface.

Acceptance

  • Both cached-flag equalities are theorems rather than axioms.
  • The structural definitions and downstream API remain unchanged.
  • Axiom checks confirm the results depend only on the intended low-level assumptions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions