Skip to content

Commit 7d12840

Browse files
committed
fix tests
1 parent 9a0ab3e commit 7d12840

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

BatteriesTest/print_prefix.lean

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ inductive TEmpty : Type
55
info: TEmpty : Type
66
TEmpty.casesOn.{u} (motive : TEmpty → Sort u) (t : TEmpty) : motive t
77
TEmpty.ctorIdx : TEmpty → Nat
8-
TEmpty.noConfusion.{u} {P : Sort u} {x1 x2 : TEmpty} (h12 : x1 = x2) : TEmpty.noConfusionType P x1 x2
9-
TEmpty.noConfusionType.{u} (P : Sort u) (x1 x2 : TEmpty) : Sort u
8+
TEmpty.noConfusion.{u} {P : Sort u} {t t' : TEmpty} (eq : t = t') : TEmpty.noConfusionType P t t'
9+
TEmpty.noConfusionType.{u} (P : Sort u) (t t' : TEmpty) : Sort u
1010
TEmpty.rec.{u} (motive : TEmpty → Sort u) (t : TEmpty) : motive t
1111
TEmpty.recOn.{u} (motive : TEmpty → Sort u) (t : TEmpty) : motive t
1212
-/
@@ -58,11 +58,11 @@ TestStruct.mk.inj {foo bar foo✝ bar✝ : Int} :
5858
{ foo := foo, bar := bar } = { foo := foo✝, bar := bar✝ } → foo = foo✝ ∧ bar = bar✝
5959
TestStruct.mk.injEq (foo bar foo✝ bar✝ : Int) :
6060
({ foo := foo, bar := bar } = { foo := foo✝, bar := bar✝ }) = (foo = foo✝ ∧ bar = bar✝)
61-
TestStruct.mk.noConfusion.{u} (P : Sort u) (foo bar foo' bar' : Int)
62-
(h : { foo := foo, bar := bar } = { foo := foo', bar := bar' }) (k : foo = foo' → bar = bar' → P) : P
61+
TestStruct.mk.noConfusion.{u} {P : Sort u} {foo bar foo' bar' : Int}
62+
(eq : { foo := foo, bar := bar } = { foo := foo', bar := bar' }) (k : foo = foo' → bar = bar' → P) : P
6363
TestStruct.mk.sizeOf_spec (foo bar : Int) : sizeOf { foo := foo, bar := bar } = 1 + sizeOf foo + sizeOf bar
64-
TestStruct.noConfusion.{u} {P : Sort u} {x1 x2 : TestStruct} (h12 : x1 = x2) : TestStruct.noConfusionType P x1 x2
65-
TestStruct.noConfusionType.{u} (P : Sort u) (x1 x2 : TestStruct) : Sort u
64+
TestStruct.noConfusion.{u} {P : Sort u} {t t' : TestStruct} (eq : t = t') : TestStruct.noConfusionType P t t'
65+
TestStruct.noConfusionType.{u} (P : Sort u) (t t' : TestStruct) : Sort u
6666
TestStruct.rec.{u} {motive : TestStruct → Sort u} (mk : (foo bar : Int) → motive { foo := foo, bar := bar })
6767
(t : TestStruct) : motive t
6868
TestStruct.recOn.{u} {motive : TestStruct → Sort u} (t : TestStruct)
@@ -79,10 +79,10 @@ TestStruct.casesOn.{u} {motive : TestStruct → Sort u} (t : TestStruct)
7979
TestStruct.ctorIdx : TestStruct → Nat
8080
TestStruct.foo (self : TestStruct) : Int
8181
TestStruct.mk (foo bar : Int) : TestStruct
82-
TestStruct.mk.noConfusion.{u} (P : Sort u) (foo bar foo' bar' : Int)
83-
(h : { foo := foo, bar := bar } = { foo := foo', bar := bar' }) (k : foo = foo' → bar = bar' → P) : P
84-
TestStruct.noConfusion.{u} {P : Sort u} {x1 x2 : TestStruct} (h12 : x1 = x2) : TestStruct.noConfusionType P x1 x2
85-
TestStruct.noConfusionType.{u} (P : Sort u) (x1 x2 : TestStruct) : Sort u
82+
TestStruct.mk.noConfusion.{u} {P : Sort u} {foo bar foo' bar' : Int}
83+
(eq : { foo := foo, bar := bar } = { foo := foo', bar := bar' }) (k : foo = foo' → bar = bar' → P) : P
84+
TestStruct.noConfusion.{u} {P : Sort u} {t t' : TestStruct} (eq : t = t') : TestStruct.noConfusionType P t t'
85+
TestStruct.noConfusionType.{u} (P : Sort u) (t t' : TestStruct) : Sort u
8686
TestStruct.rec.{u} {motive : TestStruct → Sort u} (mk : (foo bar : Int) → motive { foo := foo, bar := bar })
8787
(t : TestStruct) : motive t
8888
TestStruct.recOn.{u} {motive : TestStruct → Sort u} (t : TestStruct)

0 commit comments

Comments
 (0)