AFTD Auto-Formalizing Theoretical Domains

pushTowardsZ_continuous

theoremverifiedformalizationimported Lean

Continuity of pushTowardsZ card.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Filter in
variable {I : Type*} [Fintype I] [DecidableEq I] [Inhabited I] [LinearOrder I] (card : I → ℕ+) in
lemma pushTowardsZ_continuous : Continuous (pushTowardsZ card)
Formalizes
EconCSLib, `pushTowardsZ_continuous`
Lean proof
By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at 1a88f809b538 (Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.
What was changed in pushTowardsZ_continuous
--- EconCSLib/Math/FixedPoint/Brouwer_product.lean:633 (pushTowardsZ_continuous)
+++ as compiled here
@@ -1,2 +1,5 @@
-/-- Continuity of `pushTowardsZ card`. -/
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open Filter in
+variable {I : Type*} [Fintype I] [DecidableEq I] [Inhabited I] [LinearOrder I] (card : I → ℕ+) in
 lemma pushTowardsZ_continuous : Continuous (pushTowardsZ card) := by
@@ -14,2 +17,2 @@
     (tPush_continuous card).mul continuous_const
-  simpa [pushTowardsZ] using hterm1.add hterm2
+  exact hterm1.add hterm2
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
  • total_cardTotal number of coordinates: the sum of card i over all i.
  • BigSimplexThe big simplex on total_card card coordinates.
  • pushTowardsZConvex push of x toward z_uniform by amount tPush.
  • tPushAmount to push x toward z_uniform (always in [0, 1]).
  • z_uniformThe uniform point in the big simplex.
  • tPush_continuousContinuity of tPush card.
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Filter invariable {I : Type*} [Fintype I] [DecidableEq I] [Inhabited I] [LinearOrder I] (card : I → ℕ+) in/-- Continuity of `pushTowardsZ card`. -/lemma pushTowardsZ_continuous : Continuous (pushTowardsZ card) := by  apply Continuous.subtype_mk  classical  apply continuous_pi  intro k  have hxk : Continuous (fun x : BigSimplex card => x.1 k) :=    (continuous_apply k).comp continuous_subtype_val  have hone_minus_t : Continuous (fun x => (1 : ℝ) - tPush card x) :=    continuous_const.sub (tPush_continuous card)  have hterm1 : Continuous (fun x => ((1 : ℝ) - tPush card x) * x.1 k) :=    hone_minus_t.mul hxk  have hterm2 : Continuous (fun x => (tPush card x) * (z_uniform card).1 k) :=    (tPush_continuous card).mul continuous_const  exact hterm1.add hterm2
See it in the graphDiscuss this resultChallenge it