Skip to content

Commit

Permalink
comment mathlib test
Browse files Browse the repository at this point in the history
  • Loading branch information
SkySkimmer committed Jun 24, 2024
1 parent ce8ed08 commit 810eee3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/mathlib.v
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@ From LeanImport Require Import Lean.
Set Lean Error Mode "Stop".

Time Redirect "mathlib.log" Lean Import "/home/gaetan/dev/lean/library/mathlib.out".

(*
without hack first error at line 183121 (for int.div_zero)
with hack first error at line 210064 (for rat.one_mul)
*)

Fail Check fun n d => fun x :
has_mul_mul_inst1 rat rat_has_mul
(rat_mk (has_one_one_inst1 int int_has_one) (has_one_one_inst1 int int_has_one))
(rat_mk n (coe nat int (coe_to_lift nat int (coe_base nat int int_has_coe)) d)) =
rat_mk n (coe nat int (coe_to_lift nat int (coe_base nat int int_has_coe)) d)
=>
x :
has_mul_mul_inst1 rat rat_has_mul (has_one_one_inst1 rat rat_has_one)
(rat_mk n (coe nat int (coe_to_lift nat int (coe_base nat int int_has_coe)) d)) =
rat_mk n (coe nat int (coe_to_lift nat int (coe_base nat int int_has_coe)) d).

0 comments on commit 810eee3

Please sign in to comment.