diff --git a/README.md b/README.md index cb93bf0..ee1ac84 100644 --- a/README.md +++ b/README.md @@ -80,13 +80,13 @@ for tac in tactic_candidates: ``` The expected output is shown below. `` and `` are markers of premises in generated tactics. You should remove them when using the tactics. -``` -rw [Nat.gcd_comm, Nat.gcd_eq_left] +```lean +rw [Nat.gcd_comm] rw [Nat.gcd_comm] -rw [Nat.gcd_comm, Nat.gcd_eq_left] -rw [Nat.gcd_comm, Nat.gcd_self_right] -simp [Nat.gcd_comm] +rw [Nat.gcd_comm, Nat.gcd_1] +rw [Nat.gcd_comm, Nat.gcd_rec] +rw [Nat.gcd_comm, Nat.gcd_gcd_self_left_right] ``` @@ -144,7 +144,7 @@ for p in retrieve(state, premises, k=4): ``` Expected output: -``` +```lean def Nat.gcd : Nat → Nat → Nat | 0 y := y | (succ x) y := have y % succ x < succ x, from mod_lt _ $ succ_pos _,