# lean-check.sh TwinPrimeCore.lean TwinPrimeMaynard.lean # 2026-09-24T10:09:00Z [lean-check] Mathlib: .solveathome/private/research/0020/direction/lean/TwinPrimeCore.lean .solveathome/private/research/0020/direction/lean/TwinPrimeCore.lean:110:37: warning: This simp argument is unused: ih Hint: Omit it from the simp argument list. [apply] simp [translated, castZ, Int.cast_add] Note: This linter can be disabled with `set_option linter.unusedSimpArgs false` .solveathome/private/research/0020/direction/lean/TwinPrimeCore.lean:128:59: warning: Variable name `hlen` is not explicitly referenced. Hint: The binding can be removed (if unused) or named `_` (if used implicitly). Alternatively, prefix the name with `_` to silence this warning: [apply] _hlen Note: This linter can be disabled with `set_option linter.unusedVariables false` .solveathome/private/research/0020/direction/lean/TwinPrimeCore.lean:193:2: warning: Try this: haveI̵ The goal is a proposition, so `have` is preferred over `haveI`. The difference between `have` and `haveI` is that `haveI` inlines the value. But this is not relevant for proofs because of proof irrelevance. Note: This linter can be disabled with `set_option linter.style.haveILetI false` .solveathome/private/research/0020/direction/lean/TwinPrimeCore.lean:216:4: warning: `push_neg` has been deprecated. Prefer using `push Not` instead. If you'd rather continue using `push_neg` in your project, you can implement it as follows: ``` open Lean.Parser.Tactic in macro "push_neg" cfg:optConfig loc:(location)? : tactic => `(tactic| push $cfg:optConfig Not $[$loc]?) ``` [lean-check] OK .solveathome/private/research/0020/direction/lean/TwinPrimeCore.lean (63s) [lean-check] Mathlib: .solveathome/private/research/0020/direction/lean/TwinPrimeMaynard.lean [lean-check] OK .solveathome/private/research/0020/direction/lean/TwinPrimeMaynard.lean (48s) # exit 0