Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Jan 16, 2025
1 parent 5a440d9 commit 772f247
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lean_action_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
build-args: "--wfail"
9 changes: 6 additions & 3 deletions Juvix/Core/Main/Semantics/Equiv.lean
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ lemma Expr.Approx.refl {P env} e : ⟨P⟩ env ⊢ e ≲ ⟨P⟩ env ⊢ e := by
intro v
aesop

/-
lemma Expr.Approx.trans {P₁ env₁ e₁ P₂ env₂ e₂ P₃ env₃ e₃} :
⟨P₁⟩ env₁ ⊢ e₁ ≲ ⟨P₂⟩ env₂ ⊢ e₂ → ⟨P₂⟩ env₂ ⊢ e₂ ≲ ⟨P₃⟩ env₃ ⊢ e₃ → ⟨P₁⟩ env₁ ⊢ e₁ ≲ ⟨P₃⟩ env₃ ⊢ e₃ := by
intros h₁ h₂ v hv
Expand All @@ -414,7 +413,11 @@ lemma Expr.Approx.trans {P₁ env₁ e₁ P₂ env₂ e₂ P₃ env₃ e₃} :
have h₂' := h₂ v' hv'
cases (Expr.ApproxEvals.invert h₂')
case equiv v'' hv'' ha' =>
sorry
-/
intro n
constructor
· assumption
· apply Value.Approx.Indexed.trans (P₂ := P₂) (v₂ := v')
· aesop
· aesop

end Juvix.Core.Main

0 comments on commit 772f247

Please sign in to comment.