Submission Details

Back to Submissions List

Challenge: solveAdd0

Submitted by: GasStationManager

Submitted at: 2024-11-24 07:53:01

Code:

import Init.Data.Int

def solveAdd0(a:Int): Int
:=sorry

First Theorem Proof:

theorem solveAdd0_correct(a: Int): a +(solveAdd0 a)=0
:=sorry

Status: Incorrect

Feedback:

found a problem in /root/CodeProofTheArena/temp/tmpt8dsawlu/proof.olean
uncaught exception: sorryAx is not in the allowed set of standard axioms
------------------
Replaying /root/CodeProofTheArena/temp/tmpt8dsawlu/target.olean
Finished imports
Finished replay
---
def
solveAdd0
ℤ → ℤ
:= fun (a : Int) => sorryAx.{1} Int Bool.false
#[sorryAx]
---
theorem
solveAdd0_correct
∀ (a : ℤ), a + solveAdd0 a = 0
#[sorryAx]
------------------
Replaying /root/CodeProofTheArena/temp/tmpt8dsawlu/proof.olean
Finished imports
Finished replay
---
def
solveAdd0
ℤ → ℤ
:= fun (a : Int) => sorryAx.{1} Int Bool.false
#[sorryAx]
---
theorem
solveAdd0_correct
∀ (a : ℤ), a + solveAdd0 a = 0
#[sorryAx]