Documentation

MeTTaILProofs.DecEq

DottedPath (no nesting) #

Cat (nests through prod : List Cat) #

theorem MeTTaIL.Cat.beq_refl (a : Cat) :
a.beq a = true

Cat.beq is reflexive.

Cat.beqList is reflexive.

theorem MeTTaIL.Cat.eq_of_beq {a b : Cat} :
a.beq b = truea = b

Cat.beq a b = true implies a = b.

theorem MeTTaIL.Cat.beqList_eq {cs ds : List Cat} :
beqList cs ds = truecs = ds

Cat.beqList cs ds = true implies cs = ds.

Label, Item, Rule (mention Cat, no List nesting of themselves) #

Equations
Instances For
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        AST (nests through sexp ... : List AST) #

        theorem MeTTaIL.AST.beq_refl (a : AST) :
        a.beq a = true

        AST.beq is reflexive.

        AST.beqList is reflexive.

        theorem MeTTaIL.AST.eq_of_beq {a b : AST} :
        a.beq b = truea = b

        AST.beq a b = true implies a = b.

        theorem MeTTaIL.AST.beqList_eq {cs ds : List AST} :
        beqList cs ds = truecs = ds

        AST.beqList cs ds = true implies cs = ds.

        Equation, Hyp, Rewrite, RewriteDecl (mention AST / DottedPath) #

        Equations
        Instances For
          Equations
          Instances For

            Presentation (nests through references : List (String × Presentation)) #

            Presentation.beq is reflexive.

            Presentation.beqRefs is reflexive.

            theorem MeTTaIL.Presentation.eq_of_beq {p q : Presentation} :
            p.beq q = truep = q

            Presentation.beq p q = true implies p = q.

            theorem MeTTaIL.Presentation.beqRefs_eq {m₁ m₂ : List (String × Presentation)} :
            beqRefs m₁ m₂ = truem₁ = m₂

            Presentation.beqRefs m₁ m₂ = true implies m₁ = m₂.