We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693254c commit dcd83feCopy full SHA for dcd83fe
tests/lean/run/match_nat.lean
@@ -38,3 +38,20 @@ info: private theorem f.match_1.eq_4.{u_1} : ∀ (motive : Nat → Sort u_1) (x
38
-/
39
#guard_msgs in
40
#print sig f.match_1.eq_4
41
+
42
+/--
43
+info: private theorem f.match_1.congr_eq_4.{u_1} : ∀ (motive : Nat → Sort u_1) (x : Nat) (h_1 : Unit → motive 0)
44
+ (h_2 : Unit → motive 10) (h_3 : Unit → motive 100) (h_4 : (x : Nat) → motive x) (x_1 : Nat),
45
+ x = x_1 →
46
+ (x_1 = 0 → False) →
47
+ (x_1 = 10 → False) →
48
+ (x_1 = 100 → False) →
49
+ (match x with
50
+ | 0 => h_1 ()
51
+ | 10 => h_2 ()
52
+ | 100 => h_3 ()
53
+ | x => h_4 x) ≍
54
+ h_4 x_1
55
+-/
56
+#guard_msgs in
57
+#print sig f.match_1.congr_eq_4
0 commit comments