url stringclasses 147 values | commit stringclasses 147 values | file_path stringlengths 7 101 | full_name stringlengths 1 94 | start stringlengths 6 10 | end stringlengths 6 11 | tactic stringlengths 1 11.2k | state_before stringlengths 3 2.09M | state_after stringlengths 6 2.09M | input stringlengths 73 2.09M |
|---|---|---|---|---|---|---|---|---|---|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | intros hโ | ฮ : Ctx
f g : Form
โข BProof (insert f ฮ) g โ (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
โข BProof (insert f ฮ) g โ (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have โจsโ,hโ,prfโโฉ := BProof.compactness hโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | let lstโ := (Finset.erase sโ f).toList | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have lโ : โsโ โ {h : Form | h = f โจ h โ lstโ} := by
intros k hโ
cases decEq f k
case isTrue hโ => rw [hโ]; exact Or.inl rfl
case isFalse hโ =>
have lโ : k โ lstโ := by
apply Finset.mem_toList.mpr
exact Finset.mem_erase.mpr โจhโ โ Eq.symm, hโโฉ
exact Or.inr lโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have prfโ := BProof.listCompression $ BProof.monotone lโ prfโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | refine โจlstโ,?_,prfโโฉ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
โข { x | x โ lstโ } โ ฮ | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
โข (l : List Form) ร (_ : { x | x โ l } โ ฮ) ร' BProof {Form.conjoinList f l} g
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | intros k hโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
โข { x | x โ lstโ } โ ฮ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
โข k โ ฮ | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
โข { x | x โ lstโ } โ ฮ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have : k โ Finset.erase sโ f := Finset.mem_toList.mp hโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
โข k โ ฮ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
this : k โ Finset.erase sโ f
โข k โ ฮ | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
โข k โ ฮ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have โจlโ
,lโโฉ: k โ f โง k โ sโ := Finset.mem_erase.mp this | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
this : k โ Finset.erase sโ f
โข k โ ฮ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
this : k โ Finset.erase sโ f
lโ
: k โ f
lโ : k โ sโ
โข k โ ฮ | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
this : k โ Finset.erase sโ f
โข k โ ฮ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have : k โ insert f ฮ := hโ $ Finset.mem_coe.mpr lโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
this : k โ Finset.erase sโ f
lโ
: k โ f
lโ : k โ sโ
โข k โ ฮ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
thisโ : k โ Finset.erase sโ f
lโ
: k โ f
lโ : k โ sโ
this : k โ insert f ฮ
โข k โ ฮ | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
this : k โ Finset.erase sโ f
lโ
: k โ f
lโ : k โ sโ
โข k โ ฮ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | exact Set.mem_of_mem_insert_of_ne this lโ
| ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
thisโ : k โ Finset.erase sโ f
lโ
: k โ f
lโ : k โ sโ
this : k โ insert f ฮ
โข k โ ฮ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
lโ : โsโ โ { h | h = f โจ h โ lstโ }
prfโ : BProof {Form.conjoinList f lstโ} g
k : Form
hโ : k โ { x | x โ lstโ }
thisโ : k โ Finset.erase sโ f
lโ
: k โ f
lโ : k โ sโ
this : k โ insert f ฮ
โข k โ ฮ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | intros k hโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
โข โsโ โ { h | h = f โจ h โ lstโ } | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
โข k โ { h | h = f โจ h โ lstโ } | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
โข โsโ โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | cases decEq f k | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
โข k โ { h | h = f โจ h โ lstโ } | case isFalse
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ { h | h = f โจ h โ lstโ }
case isTrue
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = f โจ h โ lstโ } | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
โข k โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | case isTrue hโ => rw [hโ]; exact Or.inl rfl | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = f โจ h โ lstโ } | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | case isFalse hโ =>
have lโ : k โ lstโ := by
apply Finset.mem_toList.mpr
exact Finset.mem_erase.mpr โจhโ โ Eq.symm, hโโฉ
exact Or.inr lโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ { h | h = f โจ h โ lstโ } | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | rw [hโ] | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = f โจ h โ lstโ } | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = k โจ h โ lstโ } | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | exact Or.inl rfl | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = k โจ h โ lstโ } | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : f = k
โข k โ { h | h = k โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | have lโ : k โ lstโ := by
apply Finset.mem_toList.mpr
exact Finset.mem_erase.mpr โจhโ โ Eq.symm, hโโฉ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ { h | h = f โจ h โ lstโ } | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
lโ : k โ lstโ
โข k โ { h | h = f โจ h โ lstโ } | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | exact Or.inr lโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
lโ : k โ lstโ
โข k โ { h | h = f โจ h โ lstโ } | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
lโ : k โ lstโ
โข k โ { h | h = f โจ h โ lstโ }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | apply Finset.mem_toList.mpr | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ lstโ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ Finset.erase sโ f | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ lstโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/SystemB/Hilbert.lean | BProof.sentenceCompactness | [209, 1] | [228, 44] | exact Finset.mem_erase.mpr โจhโ โ Eq.symm, hโโฉ | ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ Finset.erase sโ f | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮ : Ctx
f g : Form
hโ : BProof (insert f ฮ) g
sโ : Finset Form
hโโ : โsโ โ insert f ฮ
prfโ : BProof (โsโ) g
lstโ : List Form := Finset.toList (Finset.erase sโ f)
k : Form
hโ : k โ โsโ
hโ : ยฌf = k
โข k โ Finset.erase sโ f
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
โข Monotone fam โ โfin โ { x | โ n, x โ fam n } โ โ n, โfin โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โfin โ { x | โ n, x โ fam n } โ โ n, โfin โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
โข Monotone fam โ โfin โ { x | โ n, x โ fam n } โ โ n, โfin โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | apply @Finset.induction_on ฮฑ (ฮปfs => โfs โ {x : ฮฑ | โn : ฮฒ, x โ fam n } โ โn : ฮฒ, โfs โ fam n) instDec fin | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โfin โ { x | โ n, x โ fam n } โ โ n, โfin โ fam n | case empty
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โโ
โ { x | โ n, x โ fam n } โ โ n, โโ
โ fam n
case insert
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โ โฆa : ฮฑโฆ {s : Finset ฮฑ},
ยฌa โ s โ
(โs โ { x | โ n, x โ fam n } โ โ n, โs โ fam n) โ
โ(insert a s) โ { x | โ n, x โ fam n } โ โ n, โ(insert a s) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โfin โ { x | โ n, x โ fam n } โ โ n, โfin โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case empty =>
intros _
refine โจdefault,?_โฉ
intros hโ hโ
contradiction | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โโ
โ { x | โ n, x โ fam n } โ โ n, โโ
โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โโ
โ { x | โ n, x โ fam n } โ โ n, โโ
โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case insert =>
intros x fs _ hโ hโ
have lโ : x โ {x : ฮฑ | โn : ฮฒ, x โ fam n } := hโ $ Finset.mem_insert_self x fs
have โจn, lโโฉ := lโ
have lโ : โfs โ {x : ฮฑ | โn : ฮฒ, x โ fam n } := by
intros y hโ
exact hโ $ Finset.mem_insert_of_mem (Finset.mem_coe.mp hโ
)
have โจm, lโโฉ := hโ lโ
cases le_total n m
case inl leqthan =>
have lโ
:= (hโ leqthan) lโ
refine โจm,?_โฉ
intros y hโ
cases Finset.mem_insert.mp hโ
case inl hโ
=> rw [hโ
]; assumption
case inr hโ
=> exact lโ hโ
case inr geqthan =>
have lโ
:= le_trans lโ (hโ geqthan)
refine โจn,?_โฉ
intros y hโ
cases Finset.mem_insert.mp hโ
case inl hโ
=> rw [hโ
]; assumption
case inr hโ
=> exact lโ
hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โ โฆa : ฮฑโฆ {s : Finset ฮฑ},
ยฌa โ s โ
(โs โ { x | โ n, x โ fam n } โ โ n, โs โ fam n) โ
โ(insert a s) โ { x | โ n, x โ fam n } โ โ n, โ(insert a s) โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โ โฆa : ฮฑโฆ {s : Finset ฮฑ},
ยฌa โ s โ
(โs โ { x | โ n, x โ fam n } โ โ n, โs โ fam n) โ
โ(insert a s) โ { x | โ n, x โ fam n } โ โ n, โ(insert a s) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros _ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โโ
โ { x | โ n, x โ fam n } โ โ n, โโ
โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
โข โ n, โโ
โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โโ
โ { x | โ n, x โ fam n } โ โ n, โโ
โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | refine โจdefault,?_โฉ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
โข โ n, โโ
โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
โข โโ
โ fam default | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
โข โ n, โโ
โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros hโ hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
โข โโ
โ fam default | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
hโ : ฮฑ
hโ : hโ โ โโ
โข hโ โ fam default | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
โข โโ
โ fam default
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | contradiction | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
hโ : ฮฑ
hโ : hโ โ โโ
โข hโ โ fam default | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
aโ : โโ
โ { x | โ n, x โ fam n }
hโ : ฮฑ
hโ : hโ โ โโ
โข hโ โ fam default
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros x fs _ hโ hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โ โฆa : ฮฑโฆ {s : Finset ฮฑ},
ยฌa โ s โ
(โs โ { x | โ n, x โ fam n } โ โ n, โs โ fam n) โ
โ(insert a s) โ { x | โ n, x โ fam n } โ โ n, โ(insert a s) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
โข โ โฆa : ฮฑโฆ {s : Finset ฮฑ},
ยฌa โ s โ
(โs โ { x | โ n, x โ fam n } โ โ n, โs โ fam n) โ
โ(insert a s) โ { x | โ n, x โ fam n } โ โ n, โ(insert a s) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | have lโ : x โ {x : ฮฑ | โn : ฮฒ, x โ fam n } := hโ $ Finset.mem_insert_self x fs | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | have โจn, lโโฉ := lโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | have lโ : โfs โ {x : ฮฑ | โn : ฮฒ, x โ fam n } := by
intros y hโ
exact hโ $ Finset.mem_insert_of_mem (Finset.mem_coe.mp hโ
) | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | have โจm, lโโฉ := hโ lโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | cases le_total n m | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
โข โ n, โ(insert x fs) โ fam n | case inl
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
hโ : n โค m
โข โ n, โ(insert x fs) โ fam n
case inr
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
hโ : m โค n
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case inl leqthan =>
have lโ
:= (hโ leqthan) lโ
refine โจm,?_โฉ
intros y hโ
cases Finset.mem_insert.mp hโ
case inl hโ
=> rw [hโ
]; assumption
case inr hโ
=> exact lโ hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
โข โ n, โ(insert x fs) โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case inr geqthan =>
have lโ
:= le_trans lโ (hโ geqthan)
refine โจn,?_โฉ
intros y hโ
cases Finset.mem_insert.mp hโ
case inl hโ
=> rw [hโ
]; assumption
case inr hโ
=> exact lโ
hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
โข โ n, โ(insert x fs) โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros y hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
โข โfs โ { x | โ n, x โ fam n } | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
y : ฮฑ
hโ
: y โ โfs
โข y โ { x | โ n, x โ fam n } | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
โข โfs โ { x | โ n, x โ fam n }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | exact hโ $ Finset.mem_insert_of_mem (Finset.mem_coe.mp hโ
) | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
y : ฮฑ
hโ
: y โ โfs
โข y โ { x | โ n, x โ fam n } | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
y : ฮฑ
hโ
: y โ โfs
โข y โ { x | โ n, x โ fam n }
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | have lโ
:= (hโ leqthan) lโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | refine โจm,?_โฉ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
โข โ(insert x fs) โ fam m | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros y hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
โข โ(insert x fs) โ fam m | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
โข y โ fam m | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
โข โ(insert x fs) โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | cases Finset.mem_insert.mp hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
โข y โ fam m | case inl
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ : y = x
โข y โ fam m
case inr
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ : y โ fs
โข y โ fam m | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
โข y โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case inl hโ
=> rw [hโ
]; assumption | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam m | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case inr hโ
=> exact lโ hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam m | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | rw [hโ
] | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam m | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข x โ fam m | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | assumption | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข x โ fam m | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข x โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | exact lโ hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam m | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
leqthan : n โค m
lโ
: x โ fam m
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam m
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | have lโ
:= le_trans lโ (hโ geqthan) | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
โข โ n, โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | refine โจn,?_โฉ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
โข โ n, โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
โข โ(insert x fs) โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
โข โ n, โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | intros y hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
โข โ(insert x fs) โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
โข y โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
โข โ(insert x fs) โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | cases Finset.mem_insert.mp hโ | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
โข y โ fam n | case inl
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ : y = x
โข y โ fam n
case inr
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ : y โ fs
โข y โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
โข y โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case inl hโ
=> rw [hโ
]; assumption | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | case inr hโ
=> exact lโ
hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | rw [hโ
] | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam n | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข x โ fam n | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข y โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | assumption | ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข x โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y = x
โข x โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/util.lean | finiteExhaustion | [4, 1] | [35, 35] | exact lโ
hโ
| ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮฑ : Type u_1
ฮฒ : Type u_2
instDec : DecidableEq ฮฑ
instโยน : LinearOrder ฮฒ
instโ : Inhabited ฮฒ
fam : ฮฒ โ Set ฮฑ
fin : Finset ฮฑ
hโ : Monotone fam
x : ฮฑ
fs : Finset ฮฑ
aโ : ยฌx โ fs
hโ : โfs โ { x | โ n, x โ fam n } โ โ n, โfs โ fam n
hโโ : โ(insert x fs) โ { x | โ n, x โ fam n }
lโ : x โ { x | โ n, x โ fam n }
n : ฮฒ
lโ : x โ fam n
lโ : โfs โ { x | โ n, x โ fam n }
m : ฮฒ
lโ : โfs โ fam m
geqthan : m โค n
lโ
: โfs โค fam n
y : ฮฑ
hโ : y โ โ(insert x fs)
hโ
: y โ fs
โข y โ fam n
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | induction c | c : ConsExp
โข decode (encode c) = c | case nat
aโ : โ
โข decode (encode (nat aโ)) = nat aโ
case cons
aโยน aโ : ConsExp
a_ihโยน : decode (encode aโยน) = aโยน
a_ihโ : decode (encode aโ) = aโ
โข decode (encode (cons aโยน aโ)) = cons aโยน aโ | Please generate a tactic in lean4 to solve the state.
STATE:
c : ConsExp
โข decode (encode c) = c
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | next hf hg =>
rw [encode, decode]
split
next h => simp at h
next h =>
simp [Nat.div2_val] at h
cases h
simp [*] | case cons
aโยน aโ : ConsExp
a_ihโยน : decode (encode aโยน) = aโยน
a_ihโ : decode (encode aโ) = aโ
โข decode (encode (cons aโยน aโ)) = cons aโยน aโ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case cons
aโยน aโ : ConsExp
a_ihโยน : decode (encode aโยน) = aโยน
a_ihโ : decode (encode aโ) = aโ
โข decode (encode (cons aโยน aโ)) = cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | simp [Nat.div2_val] at h | aโ mโ : โ
h : Nat.boddDiv2 (2 * aโ) = (false, mโ)
โข nat mโ = nat aโ | aโ mโ : โ
h : aโ = mโ
โข nat mโ = nat aโ | Please generate a tactic in lean4 to solve the state.
STATE:
aโ mโ : โ
h : Nat.boddDiv2 (2 * aโ) = (false, mโ)
โข nat mโ = nat aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | simp [*] | aโ mโ : โ
h : aโ = mโ
โข nat mโ = nat aโ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
aโ mโ : โ
h : aโ = mโ
โข nat mโ = nat aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | simp at h | aโ mโ : โ
h : Nat.boddDiv2 (2 * aโ) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * aโ);
let_fun this := (_ : mโ < 2 * aโ);
let_fun this_1 := (_ : f < 2 * aโ);
let_fun this := (_ : g < 2 * aโ);
cons (decode f) (decode g)) =
nat aโ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
aโ mโ : โ
h : Nat.boddDiv2 (2 * aโ) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * aโ);
let_fun this := (_ : mโ < 2 * aโ);
let_fun this_1 := (_ : f < 2 * aโ);
let_fun this := (_ : g < 2 * aโ);
cons (decode f) (decode g)) =
nat aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | rw [encode, decode] | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
โข decode (encode (cons aโยน aโ)) = cons aโยน aโ | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
โข (match hn : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) with
| (false, m) => nat m
| (true, m) =>
match hm : Nat.unpair m with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : m < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | Please generate a tactic in lean4 to solve the state.
STATE:
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
โข decode (encode (cons aโยน aโ)) = cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | split | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
โข (match hn : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) with
| (false, m) => nat m
| (true, m) =>
match hm : Nat.unpair m with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : m < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | case h_1
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (false, mโ)
โข nat mโ = cons aโยน aโ
case h_2
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | Please generate a tactic in lean4 to solve the state.
STATE:
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
โข (match hn : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) with
| (false, m) => nat m
| (true, m) =>
match hm : Nat.unpair m with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : m < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | next h => simp at h | case h_1
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (false, mโ)
โข nat mโ = cons aโยน aโ
case h_2
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | case h_2
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | Please generate a tactic in lean4 to solve the state.
STATE:
case h_1
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (false, mโ)
โข nat mโ = cons aโยน aโ
case h_2
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | next h =>
simp [Nat.div2_val] at h
cases h
simp [*] | case h_2
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h_2
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
heqโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | simp at h | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (false, mโ)
โข nat mโ = cons aโยน aโ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (false, mโ)
โข nat mโ = cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | simp [Nat.div2_val] at h | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
hโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
h : Nat.mkpair (encode aโยน) (encode aโ) = mโ
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | Please generate a tactic in lean4 to solve the state.
STATE:
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | cases h | aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
hโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
h : Nat.mkpair (encode aโยน) (encode aโ) = mโ
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | case refl
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, Nat.mkpair (encode aโยน) (encode aโ))
โข (match hm : Nat.unpair (Nat.mkpair (encode aโยน) (encode aโ)) with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : Nat.mkpair (encode aโยน) (encode aโ) < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | Please generate a tactic in lean4 to solve the state.
STATE:
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
mโ : โ
hโ : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, mโ)
h : Nat.mkpair (encode aโยน) (encode aโ) = mโ
โข (match hm : Nat.unpair mโ with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : mโ < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ
TACTIC:
|
https://github.com/gleachkr/Completeness-For-Fine-Semantics.git | 0d8cc9a4c9c53181a2bf1541d2ed5a39c2593f0f | Fine/Util/ConsExp.lean | ConsExp.decode_encode | [49, 1] | [64, 15] | simp [*] | case refl
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, Nat.mkpair (encode aโยน) (encode aโ))
โข (match hm : Nat.unpair (Nat.mkpair (encode aโยน) (encode aโ)) with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : Nat.mkpair (encode aโยน) (encode aโ) < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case refl
aโยน aโ : ConsExp
hf : decode (encode aโยน) = aโยน
hg : decode (encode aโ) = aโ
h : Nat.boddDiv2 (2 * Nat.mkpair (encode aโยน) (encode aโ) + 1) = (true, Nat.mkpair (encode aโยน) (encode aโ))
โข (match hm : Nat.unpair (Nat.mkpair (encode aโยน) (encode aโ)) with
| (f, g) =>
let_fun hn' := (_ : 1 โค 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : Nat.mkpair (encode aโยน) (encode aโ) < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this_1 := (_ : f < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
let_fun this := (_ : g < 2 * Nat.mkpair (encode aโยน) (encode aโ) + 1);
cons (decode f) (decode g)) =
cons aโยน aโ
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have hr : 0 < r := dist_nonneg.trans_lt hzโ | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f g : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f g : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
โข cindex c r f = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f g : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | set g := dslope f zโ | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f g : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
โข cindex c r f = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f g : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h1 : DifferentiableOn โ g U :=
(differentiableOn_dslope (hU.mem_nhds (hcr (ball_subset_closedBall hzโ)))).2 hf | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
โข cindex c r f = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h2 : โ z โ closedBall c r, g z โ 0 := by
rintro z hz
by_cases h : z = zโ
case pos => simp [g, dslope, h, Function.update, hf'zโ]
case neg => simp [g, dslope, h, Function.update, slope, sub_ne_zero.2 h, hfzโ, hfz z hz h] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
โข cindex c r f = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h10 : โ z โ sphere c r, z - zโ โ 0 :=
ฮป z hz => sub_ne_zero.2 (sphere_disjoint_ball.ne_of_mem hz hzโ) | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข cindex c r f = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | suffices this : cindex c r f = ((2 * Real.pi * I)โปยน * โฎ z in C(c, r), (z - zโ)โปยน) + cindex c r g
by rw [this, integral_sub_inv_of_mem_ball hzโ, cindex_eq_zero hU hr hcr h1 h2]
field_simp [two_ne_zero, Real.pi_ne_zero, I_ne_zero] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z := by
rintro z hz
have h3 : โ z โ U, f z = (z - zโ) * g z :=
ฮป z _ => by simpa only [smul_eq_mul, hfzโ, sub_zero] using (sub_smul_dslope f zโ z).symm
have hz' : z โ U := hcr (sphere_subset_closedBall hz)
have e0 : U โ ๐ z := hU.mem_nhds hz'
have h4 : deriv f z = deriv (ฮป w => (w - zโ) * g w) z :=
EventuallyEq.deriv_eq (eventually_of_mem e0 h3)
have e1 : DifferentiableAt โ (ฮป y => y - zโ) z := differentiableAt_id.sub_const zโ
have e2 : DifferentiableAt โ g z := h1.differentiableAt e0
have h5 : deriv f z = g z + (z - zโ) * deriv g z := by
have : deriv (fun y => y - zโ) z = 1 := by
change deriv (fun y => id y - zโ) z = 1
simp [deriv_sub_const]
simp [h4, deriv_mul e1 e2, this]
have e3 : g z โ 0 := h2 z (sphere_subset_closedBall hz)
field_simp [h3 z hz', h5, mul_comm, h10 z hz] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | simp only [cindex, integral_congr hr.le h6, โ mul_add] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน + deriv g z / g z) =
(2 * โReal.pi * I)โปยน * ((โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + โฎ (z : โ) in C(c, r), deriv g z / g z) | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | congr | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน + deriv g z / g z) =
(2 * โReal.pi * I)โปยน * ((โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + โฎ (z : โ) in C(c, r), deriv g z / g z) | case e_a
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข (โฎ (z : โ) in C(c, r), (z - zโ)โปยน + deriv g z / g z) =
(โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + โฎ (z : โ) in C(c, r), deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน + deriv g z / g z) =
(2 * โReal.pi * I)โปยน * ((โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + โฎ (z : โ) in C(c, r), deriv g z / g z)
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | apply circleIntegral.integral_add | case e_a
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข (โฎ (z : โ) in C(c, r), (z - zโ)โปยน + deriv g z / g z) =
(โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + โฎ (z : โ) in C(c, r), deriv g z / g z | case e_a.hf
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข CircleIntegrable (fun z => (z - zโ)โปยน) c r
case e_a.hg
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข CircleIntegrable (fun z => deriv g z / g z) c r | Please generate a tactic in lean4 to solve the state.
STATE:
case e_a
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
h6 : โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
โข (โฎ (z : โ) in C(c, r), (z - zโ)โปยน + deriv g z / g z) =
(โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + โฎ (z : โ) in C(c, r), deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | rintro z hz | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
โข โ z โ closedBall c r, g z โ 0 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
โข g z โ 0 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
โข โ z โ closedBall c r, g z โ 0
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | by_cases h : z = zโ | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
โข g z โ 0 | case pos
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : z = zโ
โข g z โ 0
case neg
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : ยฌz = zโ
โข g z โ 0 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
โข g z โ 0
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | case pos => simp [g, dslope, h, Function.update, hf'zโ] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : z = zโ
โข g z โ 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : z = zโ
โข g z โ 0
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | case neg => simp [g, dslope, h, Function.update, slope, sub_ne_zero.2 h, hfzโ, hfz z hz h] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : ยฌz = zโ
โข g z โ 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : ยฌz = zโ
โข g z โ 0
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | simp [g, dslope, h, Function.update, hf'zโ] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : z = zโ
โข g z โ 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : z = zโ
โข g z โ 0
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | simp [g, dslope, h, Function.update, slope, sub_ne_zero.2 h, hfzโ, hfz z hz h] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : ยฌz = zโ
โข g z โ 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
z : โ
hz : z โ closedBall c r
h : ยฌz = zโ
โข g z โ 0
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | rw [this, integral_sub_inv_of_mem_ball hzโ, cindex_eq_zero hU hr hcr h1 h2] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
this : cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
โข cindex c r f = 1 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
this : cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
โข (2 * โReal.pi * I)โปยน * (2 * โReal.pi * I) + 0 = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
this : cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
โข cindex c r f = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | field_simp [two_ne_zero, Real.pi_ne_zero, I_ne_zero] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
this : cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
โข (2 * โReal.pi * I)โปยน * (2 * โReal.pi * I) + 0 = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
this : cindex c r f = ((2 * โReal.pi * I)โปยน * โฎ (z : โ) in C(c, r), (z - zโ)โปยน) + cindex c r g
โข (2 * โReal.pi * I)โปยน * (2 * โReal.pi * I) + 0 = 1
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | rintro z hz | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
โข โ z โ sphere c r, deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h3 : โ z โ U, f z = (z - zโ) * g z :=
ฮป z _ => by simpa only [smul_eq_mul, hfzโ, sub_zero] using (sub_smul_dslope f zโ z).symm | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have hz' : z โ U := hcr (sphere_subset_closedBall hz) | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have e0 : U โ ๐ z := hU.mem_nhds hz' | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h4 : deriv f z = deriv (ฮป w => (w - zโ) * g w) z :=
EventuallyEq.deriv_eq (eventually_of_mem e0 h3) | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have e1 : DifferentiableAt โ (ฮป y => y - zโ) z := differentiableAt_id.sub_const zโ | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have e2 : DifferentiableAt โ g z := h1.differentiableAt e0 | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have h5 : deriv f z = g z + (z - zโ) * deriv g z := by
have : deriv (fun y => y - zโ) z = 1 := by
change deriv (fun y => id y - zโ) z = 1
simp [deriv_sub_const]
simp [h4, deriv_mul e1 e2, this] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
h5 : deriv f z = g z + (z - zโ) * deriv g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have e3 : g z โ 0 := h2 z (sphere_subset_closedBall hz) | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
h5 : deriv f z = g z + (z - zโ) * deriv g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
h5 : deriv f z = g z + (z - zโ) * deriv g z
e3 : g z โ 0
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
h5 : deriv f z = g z + (z - zโ) * deriv g z
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | field_simp [h3 z hz', h5, mul_comm, h10 z hz] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
h5 : deriv f z = g z + (z - zโ) * deriv g z
e3 : g z โ 0
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
h5 : deriv f z = g z + (z - zโ) * deriv g z
e3 : g z โ 0
โข deriv f z / f z = (z - zโ)โปยน + deriv g z / g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | simpa only [smul_eq_mul, hfzโ, sub_zero] using (sub_smul_dslope f zโ z).symm | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
zโ : โ
hz : zโ โ sphere c r
z : โ
xโ : z โ U
โข f z = (z - zโ) * g z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
zโ : โ
hz : zโ โ sphere c r
z : โ
xโ : z โ U
โข f z = (z - zโ) * g z
TACTIC:
|
https://github.com/vbeffara/RMT4.git | c2a092d029d0e6d29a381ac4ad9e85b10d97391c | RMT4/deriv_inj.lean | crucial | [7, 1] | [49, 57] | have : deriv (fun y => y - zโ) z = 1 := by
change deriv (fun y => id y - zโ) z = 1
simp [deriv_sub_const] | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
โข deriv f z = g z + (z - zโ) * deriv g z | ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
this : deriv (fun y => y - zโ) z = 1
โข deriv f z = g z + (z - zโ) * deriv g z | Please generate a tactic in lean4 to solve the state.
STATE:
ฮน : Type u_1
ฮฑ : Type u_2
ฮฒ : Type u_3
U : Set โ
c zโ : โ
r : โ
f gโ : โ โ โ
hU : IsOpen U
hcr : closedBall c r โ U
hzโ : zโ โ ball c r
hf : DifferentiableOn โ f U
hfzโ : f zโ = 0
hf'zโ : deriv f zโ โ 0
hfz : โ z โ closedBall c r, z โ zโ โ f z โ 0
hr : 0 < r
g : โ โ โ := dslope f zโ
h1 : DifferentiableOn โ g U
h2 : โ z โ closedBall c r, g z โ 0
h10 : โ z โ sphere c r, z - zโ โ 0
z : โ
hz : z โ sphere c r
h3 : โ z โ U, f z = (z - zโ) * g z
hz' : z โ U
e0 : U โ ๐ z
h4 : deriv f z = deriv (fun w => (w - zโ) * g w) z
e1 : DifferentiableAt โ (fun y => y - zโ) z
e2 : DifferentiableAt โ g z
โข deriv f z = g z + (z - zโ) * deriv g z
TACTIC:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.