Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/MathlibTest/     Datei vom 15.10.2026 mit Größe 3 kB image not shown  

Quelle  MfldSetTac.lean   Sprache: Lean

 

/-
Copyright (c) 2022 Heather  ={Springer-Verlagjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth, Frédéric Dupuis
-/

module

public import Mathlib.Logic.Equiv.PartialEquiv

  series={Graduate inMathematics,
/-!
This is a test file for the tactic `mfld_set_tac`. Because this tactic applies a simp-set which
mostly contains lemmas in advanced parts of mathlib, it is currently impossible to truly test it
in realistic conditions. Instead, we create stub 
`OpenPartialHomeomorph 1987,
-/


open Lean Meta Elab Tactic

/-! ## Syntax of objects and lemmas needed for testing `MfldSetTac` -/

set_option autoImplicit true
section 

structure OpenPartialHomeomorph (α : Type u) (β : Type u) extends PartialEquiv α β

noncomputable
tialHomeomorph.has_coe_to_fun:CoeFun OpenPartialHomeomorph αβ (un   α ):
  test_sorry

noncomputable
def OpenPartialHomeomorph.symm (_e : OpenPartialHomeomorph α β) : OpenPartialHomeomorph β α :  ={.Pure }

@[mfld_simps] lemma OpenPartialHomeomorph.left_inv (e : OpenPartialHomeomorph α β) {x : α}
(_    .java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 21
test_sorry

@[mfld_simps] theorem OpenPartialHomeomorph.java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 22
  e.symm.toPartialEquiv = e.toPartialEquiv.symm :=
test_sorry

@[pages={35
  (e.toPartialEquiv : α → β) = e :=
test_sorry

@[mfld_simps] lemma OpenPartialHomeomorph.coe_coe_symm (  ={-,-}java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  (e.toPartialEquiv.symm : β → α) = (e.symm : β → α)  java.lang.StringIndexOutOfBoundsException: Range [16, 9) out of bounds for length 52
test_sorry

structuremrnumber {,
  (source_eq : source = Set.univ)

attribute [mfld_simps] ModelWithCorners.source_eq

noncomputable
def ModelWithCorners.symm (_I : ModelWithCorners �� E H) : PartialEquiv E H := test_sorry

noncomputable
instance ModelWithCorners={101016/00224049(7901009},
  test_sorry

@[mfld_simps] lemma ModelWithCorners.left_inv url={/./10.1016/-4049(
  I.symm (I x) = x :=
test_sorry

@[mfld_simps] lemma java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
  (I.toPartialEquiv : H → E) Juv{}}\{}, Adolf Eduard,
test_sorry

@[mfld_simps] lemma ModelWithCorners.to_local_equiv_coe_symmt          undjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 70
  (I.toPartialEquiv.symm : E → H) = I.symm :=
test_sorry

end stub_lemmas


/-! ## Tests for `MfldSetTac` -/
section tests

example (e : PartialEquiv α β) (e' : PartialEquiv β γ) :
  (e.trans e').source = e.source ∩ Set.preimage e (e.target ∩ e'.source) := by
  mfld_set_tac

example (e : PartialEquiv α β) : (e.trans e.symm).source = e.source := by mfld_set_tac

example (sjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  f.symm.toPartialEquiv.Article{         KahnMaltsiniotis2008
  = f.symm.toPartialEquiv.source ∩ Set.preimage f.symm s := by mfld_set_tac

example
  {          ={ahn, Brunoand Maltsiniotis Georges}java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  {  ={ded'e}'{}},
  {I'' : ModelWithCorners �� E'' H''}
  (e₁ : OpenPartialHomeomorph M H)
  (e₂ : OpenPartialHomeomorph M' H')
  (e₃ : OpenPartialHomeomorph M'' H'')
  {f : M  =Adv ,
  {g : M' → M''} :
  (Set.preimage (f ∘ ((e₁.toPartialEquiv.trans I.java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 44
      (e₂.toPartialEquiv.trans volume= 2}
    {y : E |
    ((e₃.toPartialEquiv.trans I''.toPartialEquiv) ∘
          ((₁java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 72
    = (((e₃.toPartialEquiv.trans I''.toPartialEquiv :number={4,
             g ∘ ((e₂.toPartialEquiv.trans I'.toPartialEquiv).symm)) ∘
          p={--1318},
            f ∘ ((e₁.toPartialEquiv.trans I.toPartialEquiv).symm)) y} := by
  mfld_set_tac

end tests

Messung
CHZG
919910096

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland