Skip to content

Commit 22eaf55

Browse files
committed
[Usa2019P1] simplification found by 'tryTacticAtEachStep exact?'
1 parent 8ee4ce5 commit 22eaf55

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Compfiles/Usa2019P1.lean

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ lemma lemma_1
7070
(fab1 : f^[r] b = a)
7171
(fab2 : f a = a) :
7272
b = a := by
73-
have h1 : ∀ s, f^[s] a = a := fun s ↦ by
74-
induction' s with s ih
75-
· dsimp
76-
· aesop
73+
have h1 : ∀ s, f^[s] a = a := fun s ↦ Function.iterate_fixed fab2 s
7774

7875
have h2 := calc f^[r] b
7976
= a := fab1

0 commit comments

Comments
 (0)