Back to Problems

idempotent_conjecture

Specification

**The idempotent conjecture** If `G` is torsion-free, then `K[G]` has no non-trivial idempotents.

Actions

Submit a Proof

Have a proof attempt? Submit it for zero-trust verification.

Submit Proof
Lean 4 Statement
theorem idempotent_conjecture (a : MonoidAlgebra K G) (h : IsIdempotentElem a) :
    a = 0 ∨ a = 1
ID: Wikipedia__Kaplansky__idempotent_conjecture
Browse 300 unsolved math conjectures formalized in Lean 4
Browse

All Problems

Explore all 300 unsolved conjectures.

View problems →
ASI Prize documentation for formal verification pipeline
Docs

Verification Pipeline

How zero-trust verification works.

Read docs →
Evaluation Results

Recent Submissions

Model Status Goals Left Submitted Lean Snippet Output
GPT-5.3 Codex Agent v8 Partial 1 Feb 25, 2026
classical have hcases : a = 0 ∨ a = 1 := ?_ exact hcases
View
{
  "agent_telemetry": {
    "compilations": 1,
    "iterations": 10,
    "duration_s": 108.83,
    "best_status": "partial",
    "best_goals": 1,
    "max_iterations": 10,
    "model": "openai/gpt-5.3-codex",
    "error": null,
    "provider": "openrouter_primary",
    "finish_reason": "tool_calls",
    "usage": {
      "prompt_tokens": 44649,
      "completion_tokens": 3697,
      "total_tokens": 48346,
      "reasoning_tokens": 3392,
      "cost_usd": 0.09038015
    },
    "reasoning_effort": "high",
    "response_trace_count": 11
  },
  "response_trace": [
    {
      "iteration": 1,
      "event": "search_mathlib",
      "query": "MonoidAlgebra idempotent",
      "results_count": 0
    },
    {
      "iteration": 2,
      "event": "search_mathlib",
      "query": "IsIdempotentElem",
      "results_count": 1
    },
    {
      "iteration": 3,
      "event": "search_mathlib",
      "query": "idempotent_eq_zero_or_one",
      "results_count": 8
    },
    {
      "iteration": 4,
      "event": "search_mathlib",
      "query": "eq_zero_or_eq_one_of_isIdempotentElem",
      "results_count": 8
    },
    {
      "iteration": 5,
      "event": "search_mathlib",
      "query": "isIdempotentElem",
      "results_count": 8
    },
    {
      "iteration": 6,
      "event": "search_mathlib",
      "query": "MonoidAlgebra.noZeroDivisors",
      "results_count": 8
    },
    {
      "iteration": 7,
      "provider": "openrouter_primary",
      "finish_reason": "tool_calls",
      "response_id": "gen-1772021908-GMRHpVWJQyfRlqyepJK9",
      "api_elapsed_s": 5.716,
      "usage": {
        "prompt_tokens": 4800,
        "completion_tokens": 259,
        "total_tokens": 5059,
        "reasoning_tokens": 214,
        "cost_usd": 0.0104132
      },
      "openrouter_retries": 0,
      "response_text_len": 0,
      "used_tool_call": true,
      "reasoning_text": "**Drafting instance skeleton for no zero divisors**",
      "reasoning_details": [
        {
          "format": "openai-responses-v1",
          "index": 0,
          "type": "reasoning.summary",
          "summary": "**Drafting instance skeleton for no zero divisors**"
        },
        {
          "id": "rs_0b8d5b1d94b3490a01699ee894aea881959c63aec61d9eaf59",
          "format": "openai-responses-v1",
          "index": 0,
          "type": "reasoning.encrypted",
          "data": "gAAAAABpnuiZ608Xv4iAFcA0eWZWM2IAnshvQNLGZlZAK2MeKl64A1QiN_4Pihe8pgMkDJah4cmnHL_cXrZJx3lyereRyPd4mLRMWz35QVx-dWF6mtrijOppZImDBwNV9Me-SauGSJ-XcAJFdJB83lfnJq_x06JipWHs4Pnem8_6o-tNcMmn2m7JmPKc7PQ44QtFw8ej9Du-ZfE3bYAZHFCqMiv4iBdlsqfiQNup09yql4q4dBZnNl9bcAJqNK7DYGNmVYLTDDHBu97A7doby9kWGfkdVH2aZCDcdH-xuZJKeeIcv6-k4pNScySh0xCi4aEa1fEUx1ZsJ7RvrotOkT52uOCcF5dH34IRCI12GX8ifVzQSrj0uKyvD4IsgvqN5UR0Lgn945kAyw3XfILpVWF8OszRAOsG1rdjzgpZu0t_CG_OriXCvkRyEMzwLVJUs1a2BTGIHf98mkEieVKvVaozYCX8NRWCqtY_1ZtSl5JILEpfN--gI8sdwnoRl1qgpp4f_xgQA7mhUGknoj6rn9QceS5Fe1dO1do1y2FbF9yhn-rMklk73YDvKKs-Oxl2lww1QfTAZu9Wz7iOvfkhlBbLqpSDOSVBHi0iew4pEyM8yx0yExklJDki_djqqxqD5Kw2YVCnlk-yOzO7KOyvXKdG5D4p9MwGDwkz036pli47pFXcX5jnhgU10yQ_qd7KSAa9_TheKd79XS3m83dednXKFRgaK11liG9yt5Xvo5W8i2zKKfU4AKNr4dsiU6E_YNwdzX7K8cwtFgC7o7fisL5D_VZMbpmC5kAZzIcdldgesHOOT2DwLAUode51DsE6Gk5BSffVF79b5Pw7mcDXZXryF_9pd9TKwFMsTD6IPkyM4FeGJwv6wv6aVBmFQaZ8No0edX5LI4yjwlHg4OOEvyA7uwCd-dSyy6xS3_Fm4aq4NBveP0z6Wm4j9U1psawiLplRSRDZqC2BFPlIrmRZN_tMoJ8SeIG15jqmzxpPGIUG9m4lIqUUdZ2oVSwu9yZ0VAcK6Q3_Wp6en7YfPadH6eGDGSFyPIF2PkcDjT28MAxDBb9Iih0tV76a0gcs3BLFc8nn8GLAmipYpsixV620sM02R1GaL1URXBreIfQVuD26sZ9NcYkWyCXn1WOm0n7ouIgCSs4Nx9fkvBl5DvH3JDuoA59NVdDRG9seci11qxnuYIuds9aqUotAVYMalZin2QBgA3p0JNo_turhf3SjuUH9hrslKeHsKvGuSkVwV88OgSesK7f_fPgYD7_GE8REus-aMU7tAC98iqBS0IER_tcooVKKvHeDamu4aZWzrpIW8lkF3tj2rWOufirzypnwCqgXVWyXTdXP3A1ZU1XoPwpM4nDb_1mpPN-UhyD8bkE6uERgby9xfMxN9GFICya5ZC5aLafyHkmIHTj_wW8-Yj356vOsyDeUz8VCVtd1FquK-sWZCztfjJTXq-BJlA2XYiE5uvNQuPkJeDxMEqs9IgmU3LveppE-fwWP1PAPbabqlkMDA3OaVWkkZ-s9EdfwT_JVMcM87YhVe7v_G6VMpHs8a5v1QxkYDRWlaASNutJ8uPCEiNVZZTfAOjhy5B35jzmaE5dDJOZ1G0KReY4TiwgmfZbH6BAfk4wp6rxI7lSlHtlwUiI1mt3elnAOqw3gisq5K4LjosewWhAfR4eJhJNfKeKKc_fMOL5vTJkV6ShYu43R_6gP_sU9zgWF--2UOxujSY-Y_dtMMBQRiSJxxNP1av8p4GC6CJXeH9wAGlxnAzj44Uvg2hrlV9Az4vzL7DOGm065YGT7XYfG-CfXyq1kCrWRrtiU0hqmvHLWLA9GDSeUjRejHBagwiC2dUeX8xQ1_NnJ5RRmsbnihdiEijtR6Bo4log-SzevnRHZqANHHJXT6p5Eg0bW6EIyCnEMYDCiuarb3sUQG3tT8HsAugKQoKpRJWYDe3fQILYMSW0QWQLTQ0-ziy7Ya2Q2GOpiaz1Z-gC_Xt_h9bFFdohB_mqaSdXzmpAWBx2VK7oTzm9zqRVXbAK5-cE="
        }
      ]
    },
    {
      "iteration": 7,
      "event": "compile_proof",
      "provider": "openrouter_primary",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "classical\nhave hcases : a = 0 \u2228 a = 1 := ?_\nexact hcases",
      "compiler_output_preview": "/app/asi_portal/verifier/quick_1772021913_9072.lean:21:21: error: unsolved goals\ncase refine_1\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n\n",
      "compile_elapsed_s": 28.006,
      "tactic_replay": {
        "tactic_count": 3,
        "successful_tactics": 0,
        "first_failure_step": 1,
        "goal_trajectory": [
          1,
          1,
          2
        ],
        "max_goals": 2,
        "final_goal_count": 2,
        "goals_opened": 1,
        "goals_closed": 0
      },
      "lsp_feedback": {
        "diagnostics": [
          {
            "fullRange": {
              "end": {
                "character": 14,
                "line": 23
              },
              "start": {
                "character": 21,
                "line": 20
              }
            },
            "leanTags": [
              1
            ],
            "message": "unsolved goals\ncase refine_1\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1",
            "range": {
              "end": {
                "character": 0,
                "line": 21
              },
              "start": {
                "character": 21,
                "line": 20
              }
            },
            "severity": 1,
            "source": "Lean 4"
          },
          {
            "fullRange": {
              "end": {
                "character": 6,
                "line": 25
              },
              "start": {
                "character": 0,
                "line": 25
              }
            },
            "message": "'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]",
            "range": {
              "end": {
                "character": 6,
                "line": 25
              },
              "start": {
                "character": 0,
                "line": 25
              }
            },
            "severity": 3,
            "source": "Lean 4"
          }
        ],
        "error_line": 20,
        "error_char": 21,
        "error_msg": "unsolved goals\ncase refine_1\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1",
        "goal_before_error": null,
        "full_timeline": [
          {
            "line": 21,
            "code": "classical",
            "goal": "```lean\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1\n```",
            "goal_count": 1,
            "ast_complexity": 155
          },
          {
            "line": 22,
            "code": "have hcases : a = 0 \u2228 a = 1 := ?_",
            "goal": "```lean\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1\n```",
            "goal_count": 1,
            "ast_complexity": 155
          },
          {
            "line": 23,
            "code": "exact hcases",
            "goal": "```lean\ncase refine_2\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nhcases : a = 0 \u2228 a = 1\n\u22a2 a = 0 \u2228 a = 1\n```\n---\n```lean\ncase refine_1\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1\n```",
            "goal_count": 2,
            "ast_complexity": 366
          }
        ],
        "tactic_count": 3,
        "successful_tactics": 0,
        "first_failure_step": 1,
        "cps": 0.0,
        "cps_peak_step": 0,
        "error_code": "a = 0 \u2228 a = 1 := by"
      }
    },
    {
      "iteration": 8,
      "event": "search_mathlib",
      "query": "IsIdempotentElem.eq_zero_or_eq_one",
      "results_count": 8
    },
    {
      "iteration": 9,
      "event": "search_mathlib",
      "query": "eq_zero_or_eq_one_of_mul_eq_mul",
      "results_count": 8
    },
    {
      "iteration": 10,
      "event": "search_mathlib",
      "query": "eq_zero_or_eq_one_of_isIdempotentElem_of_noZeroDivisors",
      "results_count": 8
    }
  ],
  "verification": {
    "banned_tokens": [],
    "command": [
      "[path]
      "lean",
      "/app/asi_portal/verifier/quick_1772021967_3276.lean"
    ],
    "comparator_passed": null,
    "duration_s": 21.70797085762024,
    "goals_remaining": 1,
    "is_verified": false,
    "lean_file_path": "",
    "problem": {
      "axioms_check_name": "idempotent_conjecture",
      "axioms_check_skipped": false,
      "benchmark_id": "Wikipedia__Kaplansky__idempotent_conjecture",
      "category": "research_open",
      "endings": [
        "end Kaplansky"
      ],
      "imports": [
        "FormalConjectures.Util.ProblemImports"
      ],
      "preamble_chars": 236,
      "source_file": "FormalConjectures/Wikipedia/Kaplansky.lean",
      "title": "idempotent_conjecture"
    },
    "returncode": 1,
    "status": "partial",
    "stderr": "",
    "stdout": "/app/asi_portal/verifier/quick_1772021967_3276.lean:21:21: error: unsolved goals\ncase refine_1\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n",
    "timed_out": false
  },
  "phase2_error": "ProgressAnalysisResult.__init__() missing 1 required positional argument: 'progress_score'"
}
Gemini 3.1 Pro Agent v8 Failed -- Feb 24, 2026
View
{
  "agent_telemetry": {
    "compilations": 0,
    "iterations": 0,
    "duration_s": 0.04,
    "best_status": "pending",
    "best_goals": null,
    "max_iterations": 10,
    "model": "google/gemini-3.1-pro-preview",
    "error": "OpenRouter API error 402: {\"error\":{\"message\":\"This request requires more credits, or fewer max_tokens. You requested up to 65536 tokens, but can only afford 58661. To increase, visit https://openrouter.ai/settings/keys and create a key with a higher total limit\",\"code\":402,\"metadata\":{\"provider_name\":null}},\"user_id\":\"user_2zsm3L1zzBL2yxyrvmrXwgeTimc\"}",
    "provider": "openrouter_primary",
    "finish_reason": "",
    "usage": {
      "prompt_tokens": 0,
      "completion_tokens": 0,
      "total_tokens": 0,
      "reasoning_tokens": null,
      "cost_usd": 0.0
    },
    "reasoning_effort": "high",
    "response_trace_count": 0
  },
  "response_trace": []
}
Gemini 3 Flash Agent v8 Partial 1 Feb 17, 2026
by_cases ha : a = 0 · left; exact ha · right have h1 : a * (a - 1) = 0 := by rw [mul_sub, mul_one, h, sub_self]
View
{
  "agent_telemetry": {
    "compilations": 8,
    "iterations": 8,
    "duration_s": 232.66,
    "best_status": "partial",
    "best_goals": 1,
    "max_iterations": 8,
    "model": "gemini-3-flash-preview",
    "error": null,
    "provider": "gemini_direct",
    "finish_reason": "STOP",
    "usage": {
      "prompt_tokens": 198057,
      "completion_tokens": 1172,
      "total_tokens": 228857,
      "reasoning_tokens": 29628,
      "cost_usd": 0.0
    },
    "reasoning_effort": "",
    "response_trace_count": 16
  },
  "response_trace": [
    {
      "iteration": 1,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 55.745,
      "usage": {
        "prompt_tokens": 1756,
        "completion_tokens": 73,
        "total_tokens": 11583,
        "reasoning_tokens": 9754,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 9754,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 1,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha : a = 0\n\u00b7 left; exact ha\n\u00b7 right\n  have h1 : a * (a - 1) = 0 := by\n    rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:24:2: error: unsolved goals\ncase neg.h\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha : \u00aca = 0\nh1 : a * (a - 1) = 0\n\u22a2 a = 1\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n"
    },
    {
      "iteration": 2,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 61.12,
      "usage": {
        "prompt_tokens": 11831,
        "completion_tokens": 309,
        "total_tokens": 22699,
        "reasoning_tokens": 10559,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 10559,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 2,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "failed",
      "goals_remaining": null,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha : a = 0\n\u00b7 left; exact ha\n\u00b7 right\n  rcases Classical.em (\u2203 g k, a = Finsupp.single g k) with (\u27e8g, k, rfl\u27e9 | h_not_single)\n  \u00b7 have h_k_nz : k \u2260 0 := by\n      intro h_k0\n      rw [h_k0, Finsupp.single_zero] at ha\n      exact ha rfl\n    have h_id : Finsupp.single g k * Finsupp.single g k = Finsupp.single g k := h\n    rw [MonoidAlgebra.single_mul_single, Finsupp.single_eq_single_iff] at h_id\n    rcases h_id with \u27e8-, h_k0\u27e9 | \u27e8h_gg, h_kk\u27e9\n    \u00b7 exact (h_k_nz h_k0).elim\n    \u00b7 have hg : g = 1 := mul_left_cancel (h_gg.trans (mul_one g).symm)\n      have hk : k = 1 := (mul_left_cancel\u2080 h_k_nz (h_kk.trans (mul_one k).symm)).symm\n      rw [hg, hk]\n      rfl\n  \u00b7",
      "compiler_output_preview": "[path]:40:0: error: expected '{' or indented tactic sequence\n[path]:30:82: error: type mismatch\n  h\nhas type\n  IsIdempotentElem fun\u2080 | g => k : Prop\nbut is expected to have type\n  ((fun\u2080 | g => k) * fun\u2080 | g => k) = fun\u2080 | g => k : Prop\n[path]
    },
    {
      "iteration": 3,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 23.307,
      "usage": {
        "prompt_tokens": 23387,
        "completion_tokens": 73,
        "total_tokens": 27431,
        "reasoning_tokens": 3971,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 3971,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 3,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha : a = 0\n\u00b7 left; exact ha\n\u00b7 right\n  have h1 : a * (a - 1) = 0 := by\n    rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:24:2: error: unsolved goals\ncase neg.h\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha : \u00aca = 0\nh1 : a * (a - 1) = 0\n\u22a2 a = 1\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n"
    },
    {
      "iteration": 4,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 18.532,
      "usage": {
        "prompt_tokens": 27679,
        "completion_tokens": 353,
        "total_tokens": 31014,
        "reasoning_tokens": 2982,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 2982,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 4,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "failed",
      "goals_remaining": null,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha : a = 0\n\u00b7 left; exact ha\n\u00b7 right\n  by_cases htriv : \u2200 g : G, g = 1\n  \u00b7 have h_a : a = Finsupp.single 1 (a 1) := by\n      ext g\n      rw [htriv g, Finsupp.single_apply_self]\n    rw [h_a] at *\n    have h_id : Finsupp.single 1 (a 1) * Finsupp.single 1 (a 1) = Finsupp.single 1 (a 1) := h\n    rw [MonoidAlgebra.single_mul_single, mul_one, Finsupp.single_eq_single_iff] at h_id\n    rcases h_id with \u27e8-, hk0\u27e9 | \u27e8-, hkk\u27e9\n    \u00b7 rw [hk0, Finsupp.single_zero] at ha; contradiction\n    \u00b7 have h_nz : a 1 \u2260 0 := by\n        intro hk0; rw [hk0, Finsupp.single_zero] at ha; contradiction\n      have hk1 : a 1 = 1 := (mul_left_cancel\u2080 h_nz (hkk.trans (mul_one (a 1)).symm)).symm\n      rw [hk1]\n      rfl\n  \u00b7 have h1 : a * (a - 1) = 0 := by\n      rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:28:21: error: unknown constant 'Finsupp.single_apply_self'\n[path]:30:94: error: type mismatch\n  h\nhas type\n  IsIdempotentElem a : Prop\nbut is expected to have type\n  ((fun\u2080 | 1 => a 1) * fun\u2080 | 1 => a 1) = fun\u2080 | 1 => a 1 : Prop\n[path]
    },
    {
      "iteration": 5,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 6.51,
      "usage": {
        "prompt_tokens": 31753,
        "completion_tokens": 73,
        "total_tokens": 32702,
        "reasoning_tokens": 876,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 876,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 5,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha : a = 0\n\u00b7 left; exact ha\n\u00b7 right\n  have h1 : a * (a - 1) = 0 := by\n    rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:24:2: error: unsolved goals\ncase neg.h\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha : \u00aca = 0\nh1 : a * (a - 1) = 0\n\u22a2 a = 1\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n"
    },
    {
      "iteration": 6,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 6.121,
      "usage": {
        "prompt_tokens": 32950,
        "completion_tokens": 97,
        "total_tokens": 33844,
        "reasoning_tokens": 797,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 797,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 6,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha0 : a = 0\n\u00b7 left; exact ha0\n\u00b7 by_cases ha1 : a = 1\n  \u00b7 right; exact ha1\n  \u00b7 exfalso\n    have h1 : a * (a - 1) = 0 := by\n      rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:26:4: error: unsolved goals\ncase neg\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha0 : \u00aca = 0\nha1 : \u00aca = 1\nh1 : a * (a - 1) = 0\n\u22a2 False\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n"
    },
    {
      "iteration": 7,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 2.686,
      "usage": {
        "prompt_tokens": 34097,
        "completion_tokens": 97,
        "total_tokens": 34351,
        "reasoning_tokens": 157,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 157,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 7,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha0 : a = 0\n\u00b7 left; exact ha0\n\u00b7 by_cases ha1 : a = 1\n  \u00b7 right; exact ha1\n  \u00b7 exfalso\n    have h1 : a * (a - 1) = 0 := by\n      rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:26:4: error: unsolved goals\ncase neg\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha0 : \u00aca = 0\nha1 : \u00aca = 1\nh1 : a * (a - 1) = 0\n\u22a2 False\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n"
    },
    {
      "iteration": 8,
      "provider": "gemini_direct",
      "finish_reason": "STOP",
      "api_elapsed_s": 4.784,
      "usage": {
        "prompt_tokens": 34604,
        "completion_tokens": 97,
        "total_tokens": 35233,
        "reasoning_tokens": 532,
        "cost_usd": 0.0
      },
      "thoughts_tokens": 532,
      "gemini_retries": 0,
      "has_function_call": true,
      "response_text_len": 0,
      "model_text_preview": ""
    },
    {
      "iteration": 8,
      "event": "compile_proof",
      "provider": "gemini_direct",
      "status": "partial",
      "goals_remaining": 1,
      "timed_out": false,
      "banned_tokens": [],
      "proof_code": "by_cases ha0 : a = 0\n\u00b7 left; exact ha0\n\u00b7 by_cases ha1 : a = 1\n  \u00b7 right; exact ha1\n  \u00b7 exfalso\n    have h1 : a * (a - 1) = 0 := by\n      rw [mul_sub, mul_one, h, sub_self]",
      "compiler_output_preview": "[path]:26:4: error: unsolved goals\ncase neg\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha0 : \u00aca = 0\nha1 : \u00aca = 1\nh1 : a * (a - 1) = 0\n\u22a2 False\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n\n"
    }
  ],
  "verification": {
    "banned_tokens": [],
    "command": [
      "[path]
      "lean",
      "[path]
    ],
    "duration_s": 6.916483640670776,
    "goals_remaining": 1,
    "is_verified": false,
    "lean_file_path": "[path]
    "problem": {
      "axioms_check_name": "idempotent_conjecture",
      "axioms_check_skipped": false,
      "benchmark_id": "Wikipedia__Kaplansky__idempotent_conjecture",
      "category": "research_open",
      "endings": [
        "end Kaplansky"
      ],
      "imports": [
        "FormalConjectures.Util.ProblemImports"
      ],
      "preamble_chars": 236,
      "source_file": "FormalConjectures/Wikipedia/Kaplansky.lean",
      "title": "idempotent_conjecture"
    },
    "returncode": 1,
    "status": "partial",
    "stderr": "",
    "stdout": "[path]:24:2: error: unsolved goals\ncase neg.h\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\nha : \u00aca = 0\nh1 : a * (a - 1) = 0\n\u22a2 a = 1\n'Kaplansky.idempotent_conjecture' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]\n",
    "timed_out": false
  }
}
Gemini 3 Flash Preview Failed -- Feb 14, 2026
rw [← map_mul] rw [h_id] have h_f_val : f a = 0 ∨ f a = 1 := by have : f a * (f a - 1) = 0 := by rw [mul_sub, mul_one, h_f_id, sub_self] exact mul_eq_zero.mp this rcases h_f_val with h0 | h1 · left ext g simp [h0] aesop · right ext g simp [h1] aesop
View
{
  "generation": {
    "attempts": 1,
    "banned_tokens_found": [],
    "elapsed_s": 4.08,
    "finish_reason": "stop",
    "max_tokens": 8192,
    "model_id": "google/gemini-3-flash-preview",
    "proof_code_length": 271,
    "raw_content_length": 1212,
    "reasoning_effort": "",
    "structured_output": true,
    "temperature": 0.0,
    "usage": {
      "completion_tokens": 413,
      "completion_tokens_details": {
        "image_tokens": 0,
        "reasoning_tokens": 0
      },
      "cost": 0.002035,
      "cost_details": {
        "upstream_inference_completions_cost": 0.001239,
        "upstream_inference_cost": 0.002035,
        "upstream_inference_prompt_cost": 0.000796
      },
      "is_byok": false,
      "prompt_tokens": 1592,
      "prompt_tokens_details": {
        "audio_tokens": 0,
        "cache_write_tokens": 0,
        "cached_tokens": 0,
        "video_tokens": 0
      },
      "total_tokens": 2005
    }
  },
  "verification": {
    "banned_tokens": [],
    "command": [
      "[path]
      "lean",
      "[path]
    ],
    "duration_s": 7.548479795455933,
    "goals_remaining": null,
    "is_verified": false,
    "lean_file_path": "[path]
    "problem": {
      "benchmark_id": "Wikipedia__Kaplansky__idempotent_conjecture",
      "category": "research_open",
      "endings": [
        "end Kaplansky"
      ],
      "imports": [
        "FormalConjectures.Util.ProblemImports"
      ],
      "preamble_chars": 236,
      "source_file": "FormalConjectures/Wikipedia/Kaplansky.lean",
      "title": "idempotent_conjecture"
    },
    "returncode": 1,
    "status": "failed",
    "stderr": "",
    "stdout": "[path]:22:6: error: tactic 'rewrite' failed, did not find instance of the pattern in the target expression\n  ?f ?x * ?f ?y\nK : Type u_1\ninst\u271d\u00b9 : Field K\nG : Type u_2\ninst\u271d : Group G\nhG : IsMulTorsionFree G\na : MonoidAlgebra K G\nh : IsIdempotentElem a\n\u22a2 a = 0 \u2228 a = 1\n[path]:23:4: error: unexpected identifier; expected command\n",
    "timed_out": false
  }
}