Herbie run

Date:Thursday, May 22nd, 2025
Commit:92260071 on taylor-rewrite-in-separate-paths
Seed:2025142
Parameters:256 points for 4 iterations
Flags:
reduce:regimesreduce:binary-searchreduce:branch-expressionssetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:proofs
default
Memory:99 874.1 MB

Time bar (total: 1.4min)

sample47.3s (55.7%)

Memory
775.1MiB live, 53 523.3MiB allocated; 14.9s collecting garbage
Samples
19.6s21 397×5exit
7.2s39 252×1valid
6.6s109 636×0valid
5.1s16 232×2valid
715.0ms5 880×0invalid
274.0ms1 220×1exit
126.0ms1 475×0exit
1.0ms4exit
Precisions
Click to see histograms. Total time spent on operations: 32.8s
ival-exp: 7.1s (21.6% of total)
ival-cos: 5.5s (16.7% of total)
adjust: 3.7s (11.2% of total)
ival-pow: 3.5s (10.8% of total)
ival-log: 1.8s (5.5% of total)
ival-tan: 1.6s (4.9% of total)
ival-fmod: 1.4s (4.4% of total)
ival-sqrt: 1.4s (4.2% of total)
ival-mult!: 1.3s (4.1% of total)
ival-sinh: 1.3s (3.9% of total)
ival-sin: 735.0ms (2.2% of total)
ival-div!: 706.0ms (2.2% of total)
ival-sub!: 610.0ms (1.9% of total)
ival-acos: 548.0ms (1.7% of total)
ival-pow2: 488.0ms (1.5% of total)
ival-add!: 466.0ms (1.4% of total)
ival-neg: 265.0ms (0.8% of total)
ival-hypot: 139.0ms (0.4% of total)
ival-<=: 123.0ms (0.4% of total)
ival-atan: 58.0ms (0.2% of total)
ival-and: 33.0ms (0.1% of total)
ival-or: 15.0ms (0% of total)
ival-assert: 4.0ms (0% of total)
ival->: 2.0ms (0% of total)
ival-<: 2.0ms (0% of total)
Bogosity

rewrite8.7s (10.2%)

Memory
6.4MiB live, 9 275.8MiB allocated; 2.9s collecting garbage
Stop Event
218×iter-limit
47×node-limit
24×unsound
saturated
Counts
1 552 → 47 232

regimes7.5s (8.8%)

Memory
5.2MiB live, 9 031.5MiB allocated; 2.6s collecting garbage
Counts
5 159 → 177
Calls

55 calls:

939.0ms
a
740.0ms
r
712.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
674.0ms
x
672.0ms
b
Compiler

Compiled 1 702 to 2 276 computations (-33.7% saved)

eval5.8s (6.9%)

Memory
361.9MiB live, 9 076.0MiB allocated; 1.9s collecting garbage
Compiler

Compiled 569 578 to 187 005 computations (67.2% saved)

series4.4s (5.2%)

Memory
279.2MiB live, 6 051.5MiB allocated; 1.9s collecting garbage
Stop Event
71×iter-limit
saturated
Counts
1 552 → 5 383
Calls

396 calls:

TimeVariablePointExpression
76.0ms
x
@-inf
((log (/ (sinh x) x)) (* (pow x 2) (+ 1/6 (* (pow x 2) (- (* (pow x 2) (+ 1/2835 (* -1/37800 (pow x 2)))) 1/180)))) (pow x 2) x 2 (+ 1/6 (* (pow x 2) (- (* (pow x 2) (+ 1/2835 (* -1/37800 (pow x 2)))) 1/180))) 1/6 (* (pow x 2) (- (* (pow x 2) (+ 1/2835 (* -1/37800 (pow x 2)))) 1/180)) (- (* (pow x 2) (+ 1/2835 (* -1/37800 (pow x 2)))) 1/180) (* (pow x 2) (+ 1/2835 (* -1/37800 (pow x 2)))) (+ 1/2835 (* -1/37800 (pow x 2))) 1/2835 (* -1/37800 (pow x 2)) -1/37800 1/180 (log (/ (sinh x) x)) (/ (sinh x) x) 1 (neg (log (/ x (sinh x)))) (log (/ x (sinh x))) (/ x (sinh x)) (sinh x) (log (/ (sinh x) x)) (* (pow x 2) (+ 1/6 (* -1/180 (pow x 2)))) (+ 1/6 (* -1/180 (pow x 2))) (* -1/180 (pow x 2)) -1/180 (log (/ (sinh x) x)) (/ (sinh x) x) (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2))))))) (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2))))) (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))) (+ 1/120 (* 1/5040 (pow x 2))) 1/120 (* 1/5040 (pow x 2)) 1/5040)
58.0ms
x
@inf
((/ (fmod (exp x) (sqrt (cos x))) (exp x)) (fmod (exp x) (sqrt (cos x))) (exp x) 1 (sqrt (cos x)) (+ (* (* -1/4 x) x) 1) (* -1/4 x) -1/4 x (exp x) (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (sqrt (cos x)) (cos x) (* (+ 1 (/ (/ 1 x) (* -1/2 x))) (* (* x x) -1/2)) (+ 1 (/ (/ 1 x) (* -1/2 x))) (/ (/ 1 x) (* -1/2 x)) (/ 1 x) (* -1/2 x) -1/2 (* (* x x) -1/2) (* x x) (exp (neg x)) (neg x) (/ (fmod (* (/ (exp x) (sinh x)) (sinh x)) (sqrt (cos x))) (* (/ (exp x) (sinh x)) (sinh x))) (fmod (* (/ (exp x) (sinh x)) (sinh x)) (sqrt (cos x))) (* (/ (exp x) (sinh x)) (sinh x)) (/ (exp x) (sinh x)) (sinh x) (sqrt (cos x)) (cos x) (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (/ (* (+ (exp (* (log (/ (cosh x) (sinh x))) 3)) 1) (sinh x)) (+ (* (/ (cosh x) (sinh x)) (- (/ (cosh x) (sinh x)) 1)) 1)) (sqrt (cos x))) (/ (* (+ (exp (* (log (/ (cosh x) (sinh x))) 3)) 1) (sinh x)) (+ (* (/ (cosh x) (sinh x)) (- (/ (cosh x) (sinh x)) 1)) 1)) (* (+ (exp (* (log (/ (cosh x) (sinh x))) 3)) 1) (sinh x)) (+ (exp (* (log (/ (cosh x) (sinh x))) 3)) 1) (exp (* (log (/ (cosh x) (sinh x))) 3)) (* (log (/ (cosh x) (sinh x))) 3) (log (/ (cosh x) (sinh x))) (/ (cosh x) (sinh x)) (cosh x) 3 (+ (* (/ (cosh x) (sinh x)) (- (/ (cosh x) (sinh x)) 1)) 1) (- (/ (cosh x) (sinh x)) 1))
58.0ms
x
@0
((- (* (PI) 1/2) (+ (* (* 1/2 (sqrt (PI))) (sqrt (PI))) (neg (acos (- 1 x))))) (* (PI) 1/2) (PI) 1/2 (+ (* (* 1/2 (sqrt (PI))) (sqrt (PI))) (neg (acos (- 1 x)))) (* 1/2 (sqrt (PI))) (sqrt (PI)) (neg (acos (- 1 x))) (acos (- 1 x)) (- 1 x) 1 x (acos (- 1 x)) (- 1 x) (neg x) (+ (* (* 1/2 (sqrt (PI))) (sqrt (PI))) (asin (- x 1))) (asin (- x 1)) (- x 1) (log (exp (acos (- 1 x)))) (exp (acos (- 1 x))) (- (PI) (log (pow (sqrt (exp (PI))) (- 1 (/ (asin (- x 1)) (* 1/2 (PI))))))) (log (pow (sqrt (exp (PI))) (- 1 (/ (asin (- x 1)) (* 1/2 (PI)))))) (pow (sqrt (exp (PI))) (- 1 (/ (asin (- x 1)) (* 1/2 (PI))))) (sqrt (exp (PI))) (exp (PI)) (- 1 (/ (asin (- x 1)) (* 1/2 (PI)))) (/ (asin (- x 1)) (* 1/2 (PI))) (* 1/2 (PI)))
51.0ms
z
@inf
((sqrt (+ (* x x) (+ (* y y) (* z z)))) (* z (+ 1 (* 1/2 (+ (* (/ y z) (/ y z)) (* x (/ x (* z z))))))) z (+ 1 (* 1/2 (+ (* (/ y z) (/ y z)) (* x (/ x (* z z)))))) 1 (* 1/2 (+ (* (/ y z) (/ y z)) (* x (/ x (* z z))))) 1/2 (+ (* (/ y z) (/ y z)) (* x (/ x (* z z)))) (/ y z) y (* x (/ x (* z z))) x (/ x (* z z)) (* z z) (sqrt (+ (* x x) (+ (* y y) (* z z)))) (neg x) (sqrt (+ (* y y) (+ (* z z) (* x x)))) (+ (* y y) (+ (* z z) (* x x))) (+ (* z z) (* x x)) (* x x) (exp (* (log (+ (* x x) (+ (* z z) (* y y)))) 1/2)) (* (log (+ (* x x) (+ (* z z) (* y y)))) 1/2) (* -1 (log (/ 1 z))) -1 (log (/ 1 z)) (/ 1 z) (* (sqrt (+ (/ (+ (* z z) (* y y)) (* x x)) 1)) (fabs x)) (sqrt (+ (/ (+ (* z z) (* y y)) (* x x)) 1)) (* y (sqrt (/ 1 (pow x 2)))) (sqrt (/ 1 (pow x 2))) (/ 1 (pow x 2)) (pow x 2) 2 (fabs x))
50.0ms
x
@-inf
((/ (cos (* 2 x)) (* (pow c 2) (* (* (* x s) s) x))) (cos (* 2 x)) (* 2 x) 2 x (* (pow c 2) (* (* (* x s) s) x)) (pow c 2) c (* (* (* x s) s) x) (* (* x s) s) (* x s) s (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (cos (* 2 x)) 1 (* (pow c 2) (* (* x (pow s 2)) x)) (* (* x (pow s 2)) x) (* x (pow s 2)) (pow s 2) (/ (cos (* 2 x)) (* (* (* s s) x) (* x (* c c)))) (* (* (* s s) x) (* x (* c c))) (* (* s s) x) (* s s) (* x (* c c)) (* c c) (/ (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) x) (/ (cos (+ x x)) (* (* (* c c) x) (* s s))) (cos (+ x x)) (+ x x) (* (* (* c c) x) (* s s)) (* (* c c) x) (/ (/ (/ (cos (+ x x)) (* c c)) (* (* s s) x)) x) (/ (/ (cos (+ x x)) (* c c)) (* (* s s) x)) (/ (cos (+ x x)) (* c c)))

preprocess3.3s (3.9%)

Memory
-159.9MiB live, 3 557.7MiB allocated; 1.3s collecting garbage
Stop Event
19×node-limit
saturated
Compiler

Compiled 9 702 to 8 632 computations (11% saved)

prune2.9s (3.5%)

Memory
-332.9MiB live, 4 280.3MiB allocated; 1.7s collecting garbage
Counts
44 121 → 1 787
Compiler

Compiled 54 220 to 45 548 computations (16% saved)

analyze2.3s (2.7%)

Memory
-6.8MiB live, 2 790.3MiB allocated; 1.3s collecting garbage
Algorithm
20×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%73.7%26.3%0%0%0%0
28.8%21.3%52.5%26.3%0%0%0%1
44.1%32.5%41.2%26.3%0%0%0%2
52.6%38.7%35%26.3%0%0%0%3
61.9%45.6%28.1%26.3%0%0%0%4
65.2%47.5%25.3%26.3%0%0.9%0%5
66.8%48.4%24%26.3%0%1.2%0%6
71.1%51.1%20.8%26.3%0%1.9%0%7
72.1%51.6%20%26.3%0%2.1%0%8
74.4%53%18.2%26.3%0%2.5%0%9
75.8%53.9%17.2%26.3%0%2.6%0%10
76.6%54.3%16.6%26.3%0%2.8%0%11
77.3%54.8%16.1%26.3%0%2.9%0%12
Compiler

Compiled 279 to 216 computations (22.6% saved)

derivations2.2s (2.6%)

Memory
-38.0MiB live, 1 790.1MiB allocated; 357ms collecting garbage
Stop Event
14×fuel
done
Compiler

Compiled 1 385 to 870 computations (37.2% saved)

bsearch517.0ms (0.6%)

Memory
-63.2MiB live, 495.7MiB allocated; 114ms collecting garbage
Algorithm
39×binary-search
11×left-value
Stop Event
37×narrow-enough
predicate-failed
Samples
166.0ms1 771×0valid
165.0ms965×1valid
20.0ms202×0invalid
Compiler

Compiled 8 012 to 8 401 computations (-4.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 259.0ms
ival-tan: 64.0ms (24.7% of total)
ival-mult!: 60.0ms (23.2% of total)
ival-cos: 36.0ms (13.9% of total)
ival-add!: 23.0ms (8.9% of total)
adjust: 20.0ms (7.7% of total)
ival-sin: 16.0ms (6.2% of total)
ival-pow2: 8.0ms (3.1% of total)
ival-sqrt: 7.0ms (2.7% of total)
ival-acos: 7.0ms (2.7% of total)
ival-div!: 6.0ms (2.3% of total)
ival-exp: 5.0ms (1.9% of total)
ival-sub!: 3.0ms (1.2% of total)
ival-fmod: 3.0ms (1.2% of total)
ival-neg: 1.0ms (0.4% of total)

start1.0ms (0%)

Memory
1.6MiB live, 1.6MiB allocated; 0ms collecting garbage

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...