duotactic / examples /dev_sample.jsonl
Duoia's picture
duotactic full package: checkpoints, tokenizer, config, code, docs (part 3)
2c7b2f9 verified
Raw
History Blame Contribute Delete
7.59 kB
{"dev_row": 0, "state": "L : Language\nL' : Language\nM : Type w\nN : Type u_1\nP : Type ?u\ninst : Structure L M\ninst : Structure L N\ninst : Structure L P\nΞ± : Type u'\nΞ² : Type v'\nn : β„•\nT : Theory L\nh : M β‰…[L] N\n⊒ M ⊨ T ↔ N ⊨ T", "true_first_token": "rw", "true_tactic": "rw [Theory.model_iff_subset_completeTheory, Theory.model_iff_subset_completeTheory,\n h.completeTheory_eq]"}
{"dev_row": 68, "state": "case codisjoint\nR : Type u_1\ninst : Ring R\nE : Type u_2\ninst : AddCommGroup E\ninst : Module R E\nF : Type ?u\ninst : AddCommGroup F\ninst : Module R F\nG : Type ?u\ninst : AddCommGroup G\ninst : Module R G\np q : Submodule R E\nS : Type ?u\ninst : Semiring S\nM : Type ?u\ninst : AddCommMonoid M\ninst : Module S M\nm : Submodule S M\nf : E β†’β‚—[R] { x // x ∈ p }\nhf : βˆ€ (x : { x // x ∈ p }), ↑f ↑x = x\nx : E\na : x ∈ ⊀\n⊒ βˆƒ y z, ↑y + ↑z = x", "true_first_token": "refine", "true_tactic": "refine' ⟨f x, ⟨x - f x, _⟩, add_sub_cancel'_right _ _⟩"}
{"dev_row": 136, "state": "case inr.mp\nE : β„• β†’ Type u_1\nx y : (n : β„•) β†’ E n\nn : β„•\nhne : y β‰  x\nhy : βˆ€ (i : β„•), i < n β†’ y i = x i\n⊒ n ≀ firstDiff y x", "true_first_token": "by", "true_tactic": "by_contra' H"}
{"dev_row": 214, "state": "E : Type u_1\nX : Type u_2\ninst : TopologicalSpace E\ninst : TopologicalSpace X\nf : E β†’ X\ns : Set X\nhf : IsCoveringMapOn f s\n⊒ IsLocallyHomeomorphOn f (f ⁻¹' s)", "true_first_token": "refine", "true_tactic": "refine' IsLocallyHomeomorphOn.mk f (f ⁻¹' s) fun x hx => _"}
{"dev_row": 285, "state": "case neg.mp\nz : β„‚\nhβ‚€ : Β¬z = 0\nh : arg z = Ο€\n⊒ (↑(↑abs z) * (cos ↑π + sin ↑π * I)).re < 0 ∧ (↑(↑abs z) * (cos ↑π + sin ↑π * I)).im = 0", "true_first_token": "simp", "true_tactic": "simp [hβ‚€]"}
{"dev_row": 359, "state": "case this\nΞ± : Type u\nΞ² : Type v\nX : Type ?u\ninst : PseudoEMetricSpace Ξ±\nx y z : Ξ±\nΞ΅ Ρ₁ Ξ΅β‚‚ : ℝβ‰₯0∞\ns t : Set Ξ±\nhs : βˆ€ (Ξ΅ : ℝβ‰₯0∞), Ξ΅ > 0 β†’ βˆƒ t, Set.Countable t ∧ (⋃ (x : Ξ±) (_ : x ∈ t), closedBall x Ξ΅) = univ\n⊒ βˆ€ (Ξ΅ : ℝβ‰₯0∞), Ξ΅ > 0 β†’ βˆƒ t, Set.Countable t ∧ univ βŠ† ⋃ (x : Ξ±) (_ : x ∈ t), closedBall x Ξ΅", "true_first_token": "simpa", "true_tactic": "simpa only [univ_subset_iff] using hs"}
{"dev_row": 432, "state": "V : Type u_1\nP : Type u_2\ninst : NormedAddCommGroup V\ninst : InnerProductSpace ℝ V\ninst : MetricSpace P\ninst : NormedAddTorsor V P\np₁ pβ‚‚ p₃ : P\nh : ∠ p₁ pβ‚‚ p₃ = Ο€ / 2\nh0 : p₁ = pβ‚‚ ∨ p₃ β‰  pβ‚‚\n⊒ dist p₃ pβ‚‚ / Real.cos (∠ pβ‚‚ p₃ p₁) = dist p₁ p₃", "true_first_token": "rw", "true_tactic": "rw [angle, ← inner_eq_zero_iff_angle_eq_pi_div_two, real_inner_comm, ← neg_eq_zero, ←\n inner_neg_left, neg_vsub_eq_vsub_rev] at h"}
{"dev_row": 503, "state": "R : Type u\nS : Type v\nk : Type y\nA : Type z\na b : R\nn : β„•\ninst : Field R\np q : R[X]\nhp0 : IsUnit (leadingCoeff p)\n⊒ Monic (↑normalize p)", "true_first_token": "rw", "true_tactic": "rw [Monic, leadingCoeff_normalize, normalize_eq_one]"}
{"dev_row": 578, "state": "V : Type u_1\nP : Type u_2\ninst : NormedAddCommGroup V\ninst : InnerProductSpace ℝ V\ninst : MetricSpace P\ninst : NormedAddTorsor V P\ns : AffineSubspace ℝ P\ninst : FiniteDimensional ℝ { x // x ∈ direction s }\nhd : finrank ℝ { x // x ∈ direction s } = 2\nc₁ cβ‚‚ p₁ pβ‚‚ p : P\nhc₁s : c₁ ∈ s\nhcβ‚‚s : cβ‚‚ ∈ s\nhp₁s : p₁ ∈ s\nhpβ‚‚s : pβ‚‚ ∈ s\nhps : p ∈ s\nr₁ rβ‚‚ : ℝ\nhc : c₁ β‰  cβ‚‚\nhp : p₁ β‰  pβ‚‚\nhp₁c₁ : dist p₁ c₁ = r₁\nhpβ‚‚c₁ : dist pβ‚‚ c₁ = r₁\nhpc₁ : dist p c₁ = r₁\nhp₁cβ‚‚ : dist p₁ cβ‚‚ = rβ‚‚\nhpβ‚‚cβ‚‚ : dist pβ‚‚ cβ‚‚ = rβ‚‚\nhpcβ‚‚ : dist p cβ‚‚ = rβ‚‚\n⊒ p = p₁ ∨ p = pβ‚‚", "true_first_token": "have", "true_tactic": "have ho : βŸͺcβ‚‚ -α΅₯ c₁, pβ‚‚ -α΅₯ pβ‚βŸ« = 0 :=\n inner_vsub_vsub_of_dist_eq_of_dist_eq (hp₁c₁.trans hpβ‚‚c₁.symm) (hp₁cβ‚‚.trans hpβ‚‚cβ‚‚.symm)"}
{"dev_row": 648, "state": "ΞΉ : Type u_1\nΞ± : Type u_2\nΞ² : Type ?u\nr : Ξ± β†’ Ξ± β†’ Prop\ns : Finset ΞΉ\nf : ΞΉ β†’ Set Ξ±\n⊒ Set.PartiallyWellOrderedOn (sup βˆ… f) r ↔ βˆ€ (i : ΞΉ), i ∈ βˆ… β†’ Set.PartiallyWellOrderedOn (f i) r", "true_first_token": "simp", "true_tactic": "simp"}
{"dev_row": 721, "state": "Ξ± : Type ?u\nΞ² : Type ?u\nΞ³ : Type ?u\nr : Ξ± β†’ Ξ± β†’ Prop\ns : Ξ² β†’ Ξ² β†’ Prop\nt : Ξ³ β†’ Ξ³ β†’ Prop\nΞ± : Type u_1\nr : Ξ± β†’ Ξ± β†’ Prop\nwo : IsWellOrder Ξ± r\nh : βˆ€ (a : Ordinal), a < type r β†’ succ a < type r\nx : Ξ±\n⊒ βˆƒ y, r x y", "true_first_token": "use", "true_tactic": "use enum r (succ (typein r x)) (h _ (typein_lt_type r x))"}
{"dev_row": 793, "state": "R : Type u_1\ninst : CommRing R\nn : β„•\nx : MvPolynomial Bool R := MvPolynomial.X true\ny : MvPolynomial Bool R := MvPolynomial.X false\npderiv_true_x : ↑(pderiv true) x = 1\npderiv_true_y : ↑(pderiv true) y = 0\ne : Bool β†’ R[X] := fun i => bif i then X else 1 - X\n⊒ ↑(MvPolynomial.aeval e) (↑(pderiv true) (↑(pderiv true) ((x + y) ^ n))) * X ^ 2 = (n * (n - 1)) β€’ X ^ 2", "true_first_token": "simp", "true_tactic": "simp only [pderiv_one, pderiv_mul, (pderiv _).leibniz_pow, (pderiv _).map_coe_nat,\n (pderiv true).map_add, pderiv_true_x, pderiv_true_y, Algebra.id.smul_eq_mul, add_zero,\n mul_one, Derivation.map_smul_of_tower, map_nsmul, map_pow, map_add, Bool.cond_true,\n Bool.cond_false, MvPolynomial.aeval_X, add_sub_cancel'_right, one_pow, smul_smul,\n smul_one_mul]"}
{"dev_row": 865, "state": "case neg.intro\nΞ± : Type u\nΞ² : Type v\nΞ³ : Type w\ninst : TopologicalSpace Ξ±\ninst : TopologicalSpace Ξ²\ninst : LinearOrder Ξ±\ninst : LinearOrder Ξ²\ninst : OrderTopology Ξ±\ninst : OrderTopology Ξ²\nt : Set Ξ±\nx : Ξ±\ninst : IsCountablyGenerated (𝓝 x)\nhtx : IsLUB t x\nht : Set.Nonempty t\nh : Β¬x ∈ t\nu : β„• β†’ Ξ±\nhu : StrictMono u ∧ (βˆ€ (n : β„•), u n < x) ∧ Tendsto u atTop (𝓝 x) ∧ βˆ€ (n : β„•), u n ∈ t\n⊒ βˆƒ u, Monotone u ∧ (βˆ€ (n : β„•), u n ≀ x) ∧ Tendsto u atTop (𝓝 x) ∧ βˆ€ (n : β„•), u n ∈ t", "true_first_token": "exact", "true_tactic": "exact ⟨u, hu.1.monotone, fun n => (hu.2.1 n).le, hu.2.2⟩"}
{"dev_row": 934, "state": "case neg\nR : Type u_1\ninst : AddMonoidWithOne R\nn k : β„•\nhk : βˆ€ (m : β„•), m < succ k β†’ Nat.binCast m = ↑m\nh : Β¬(k + 1) % 2 = 0\n⊒ ↑(succ k / 2 + succ k / 2) + 1 = ↑(succ k % 2 + 2 * (succ k / 2))", "true_first_token": "have", "true_tactic": "have h1 := Or.resolve_left (Nat.mod_two_eq_zero_or_one (succ k)) h"}
{"dev_row": 1010, "state": "case neg\nΞ± : Type u_1\nE : Type u_2\nF : Type ?u\nG : Type ?u\nm m0 : MeasurableSpace Ξ±\np : ℝβ‰₯0∞\nq : ℝ\nΞΌ Ξ½ : Measure Ξ±\ninst : NormedAddCommGroup E\ninst : NormedAddCommGroup F\ninst : NormedAddCommGroup G\np q : ℝβ‰₯0∞\nhpq : p ≀ q\nf : Ξ± β†’ E\nhf : AEStronglyMeasurable f ΞΌ\nhp0 : p β‰  0\n⊒ snorm f p ΞΌ ≀ snorm f q ΞΌ * ↑↑μ Set.univ ^ (1 / ENNReal.toReal p - 1 / ENNReal.toReal q)", "true_first_token": "have", "true_tactic": "have hp0_lt : 0 < p := lt_of_le_of_ne (zero_le _) hp0.symm"}
{"dev_row": 1080, "state": "case inl\nn : Type u_2\ninst : Fintype n\ninst : DecidableEq n\nR : Type u_1\ninst : Field R\nA : Matrix n n R\nhAps : Splits (RingHom.id R) (charpoly A)\nh : IsEmpty n\n⊒ trace A = Multiset.sum (roots (charpoly A))", "true_first_token": "rw", "true_tactic": "rw [Matrix.trace, Fintype.sum_empty, Matrix.charpoly,\n det_eq_one_of_card_eq_zero (Fintype.card_eq_zero_iff.2 h), Polynomial.roots_one,\n Multiset.empty_eq_zero, Multiset.sum_zero]"}