AFTD Auto-Formalizing Theoretical Domains

continuous_antipodal_circle_zero

theoremverified

A continuous real function on the plane that has opposite values at the two horizontal antipodes has a zero on the unit circle.

Statement

theorem continuous_antipodal_circle_zero (f : ℝ × ℝ → ℝ)
    (hf : Continuous f) (hodd : f (-1, 0) = -f (1, 0)) :
    ∃ x y : ℝ, x^2 + y^2 = 1 ∧ f (x, y) = 0
Source
Filed by the prover as a step towards another result
Verified
14 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

Lean source view module on GitHub

theorem continuous_antipodal_circle_zero (f : ℝ × ℝ → ℝ)
    (hf : Continuous f) (hodd : f (-1, 0) = -f (1, 0)) :
    ∃ x y : ℝ, x^2 + y^2 = 1 ∧ f (x, y) = 0 := by
  let g : ℝ → ℝ := fun t => f (Real.cos t, Real.sin t)
  have hg : Continuous g := by
    dsimp [g]
    exact hf.comp (Real.continuous_cos.prodMk Real.continuous_sin)
  have hpi : g Real.pi = -g 0 := by
    simpa [g] using hodd
  have hz : (0 : ℝ) ∈ g '' Set.Icc 0 Real.pi := by
    rcases le_total (g 0) 0 with h | h
    · apply intermediate_value_Icc Real.pi_nonneg hg.continuousOn
      exact ⟨h, by rw [hpi]; linarith⟩
    · apply intermediate_value_Icc' Real.pi_nonneg hg.continuousOn
      exact ⟨by rw [hpi]; linarith, h⟩
  obtain ⟨t, _, ht⟩ := hz
  refine ⟨Real.cos t, Real.sin t, ?_, ?_⟩
  · nlinarith [Real.sin_sq_add_cos_sq t]
  · exact ht
See it in the graphDiscuss this resultChallenge it