Documentation

Lean.Meta.Tactic.Simp.Types

Instances For
    Equations
    Instances For
      Equations
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Instances For
          Equations
          @[inline, reducible]
          abbrev Lean.Meta.Simp.M (α : Type) :
          Equations
          Instances For
            Equations
            Instances For
              Equations
              Instances For
                Equations
                Instances For
                  @[inline]
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    @[inline]
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Similar to Result.getProof, but adds a mkExpectedTypeHint if proof? is none (i.e., result is definitionally equal to input), but we cannot establish that source and r.expr are definitionally when using TransparencyMode.reducible.

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

                                Given the application e, remove unnecessary casts of the form Eq.rec a rfl and Eq.ndrec a rfl.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  @[specialize #[]]

                                  Given a simplified function result r and arguments args, simplify arguments using simp and dsimp. The resulting proof is built using congr and congrFun theorems.

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

                                    Helper class for generalizing mkCongrSimp?

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

                                      Retrieve auto-generated congruence lemma for f.

                                      Remark: If all argument kinds are fixed or eq, it returns none because using simple congruence theorems congr, congrArg, and congrFun produces a more compact proof.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        @[specialize #[]]

                                        Try to use automatically generated congruence theorems. See mkCongrSimp?.

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

                                          Auxiliary method. Given the current target of mvarId, apply r which is a new target and proof that it is equal to the current one.

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