Herbie run

Date:Sunday, March 30th, 2025
Commit:2100b191 on main
Seed:2025089
Parameters:256 points for 4 iterations
Flags:
reduce:regimesreduce:binary-searchreduce:branch-expressionsreduce:simplifysetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default
Memory:77 650.2 MB

Time bar (total: 1.2min)

sample39.4s (54%)

Memory
302.0MiB live, 38 693.6MiB allocated; 14.4s collecting garbage
Samples
11.4s16 430×5exit
8.1s39 713×1valid
7.3s108 729×0valid
4.7s16 678×2valid
428.0ms3 861×0invalid
100.0ms1 358×0exit
Precisions
Click to see histograms. Total time spent on operations: 24.9s
ival-exp: 4.1s (16.5% of total)
ival-pow: 3.7s (14.8% of total)
ival-cos: 2.4s (9.7% of total)
adjust: 2.4s (9.5% of total)
ival-mult!: 1.7s (7% of total)
ival-tan: 1.5s (6.1% of total)
ival-log: 1.4s (5.8% of total)
ival-div!: 1.4s (5.7% of total)
ival-fmod: 1.2s (4.7% of total)
ival-sqrt: 988.0ms (4% of total)
ival-sin: 952.0ms (3.8% of total)
ival-sinh: 700.0ms (2.8% of total)
ival-sub!: 560.0ms (2.2% of total)
ival-acos: 517.0ms (2.1% of total)
ival-pow2: 420.0ms (1.7% of total)
ival-add!: 332.0ms (1.3% of total)
ival-neg: 251.0ms (1% of total)
ival-hypot: 178.0ms (0.7% of total)
ival-<=: 71.0ms (0.3% of total)
ival-atan: 50.0ms (0.2% of total)
ival-and: 33.0ms (0.1% of total)
ival-or: 15.0ms (0.1% of total)
ival-assert: 3.0ms (0% of total)
ival->: 2.0ms (0% of total)
ival-<: 2.0ms (0% of total)
Bogosity

rewrite9.1s (12.5%)

Memory
204.0MiB live, 9 362.0MiB allocated; 1.1s collecting garbage
Stop Event
187×iter-limit
50×node-limit
16×unsound
saturated
Counts
7 298 → 15 872

regimes5.0s (6.9%)

Memory
68.4MiB live, 6 101.2MiB allocated; 903ms collecting garbage
Counts
3 552 → 181
Calls

53 calls:

715.0ms
x
454.0ms
a
328.0ms
r
246.0ms
(tan.f64 (+.f64 y z))
245.0ms
(tan.f64 a)
Compiler

Compiled 1 619 to 1 928 computations (-19.1% saved)

preprocess4.3s (6%)

Memory
200.3MiB live, 4 366.6MiB allocated; 751ms collecting garbage
Stop Event
38×iter-limit
29×node-limit
13×saturated
Compiler

Compiled 18 765 to 8 588 computations (54.2% saved)

derivations2.9s (4%)

Memory
-102.4MiB live, 2 501.3MiB allocated; 247ms collecting garbage
Stop Event
12×fuel
done
Compiler

Compiled 3 881 to 930 computations (76% saved)

eval2.7s (3.8%)

Memory
-270.9MiB live, 3 922.8MiB allocated; 681ms collecting garbage
Compiler

Compiled 560 984 to 75 719 computations (86.5% saved)

explain2.5s (3.5%)

Memory
-155.5MiB live, 2 822.9MiB allocated; 625ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5940
cos.f64#fsensitivity5150
-.f64#fcancellation3400
sqrt.f64#fuflow-rescue2890
/.f64#fn/o2580
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2520
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2470
tan.f64(tan.f64 (+.f64 y z))sensitivity1851
pow.f64(pow.f64 l (exp.f64 w))sensitivity12717
*.f64#fn*u380
*.f64#fn*o360
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))u*o180
(pow.f64 c #s(literal 2 binary64))underflow66
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)overflow60
(*.f64 x (pow.f64 s #s(literal 2 binary64)))overflow58
(pow.f64 s #s(literal 2 binary64))overflow65
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))o*u170
(pow.f64 c #s(literal 2 binary64))overflow56
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)underflow77
(*.f64 x (pow.f64 s #s(literal 2 binary64)))underflow62
(pow.f64 s #s(literal 2 binary64))underflow64
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue90
(*.f64 a a)overflow109
(*.f64 b b)overflow9
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue40
(sinh.f64 x)overflow4
(/.f64 (sinh.f64 x) x)overflow4
exp.f64#fsensitivity21
Confusion
Predicted +Predicted -
+2180257
-6861997
Precision
0.7606420097697139
Recall
0.8945424702503078
Confusion?
Predicted +Predicted MaybePredicted -
+21801256
-686181979
Precision?
0.7559792027729636
Recall?
0.8949528108329914
Freqs
test
numberfreq
02254
12806
255
35
Total Confusion?
Predicted +Predicted MaybePredicted -
+1800
-002
Precision?
1.0
Recall?
1.0
Samples
570.0ms2 522×1valid
372.0ms6 602×0valid
363.0ms998×2valid
16.0ms118×1exit
Compiler

Compiled 1 067 to 440 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 867.0ms
adjust: 130.0ms (15% of total)
ival-log: 118.0ms (13.6% of total)
ival-tan: 93.0ms (10.7% of total)
ival-fmod: 72.0ms (8.3% of total)
ival-cos: 68.0ms (7.8% of total)
ival-mult!: 57.0ms (6.6% of total)
ival-sin: 55.0ms (6.3% of total)
ival-sqrt: 50.0ms (5.8% of total)
ival-exp: 43.0ms (5% of total)
ival-sinh: 35.0ms (4% of total)
ival-acos: 29.0ms (3.3% of total)
ival-div!: 26.0ms (3% of total)
ival-pow2: 22.0ms (2.5% of total)
ival-add!: 19.0ms (2.2% of total)
ival-sub!: 19.0ms (2.2% of total)
ival-hypot: 9.0ms (1% of total)
ival-pow: 8.0ms (0.9% of total)
ival-neg: 7.0ms (0.8% of total)
ival-atan: 6.0ms (0.7% of total)

series2.2s (3.1%)

Memory
244.4MiB live, 3 120.2MiB allocated; 342ms collecting garbage
Counts
1 478 → 5 820
Calls

381 calls:

TimeVariablePointExpression
49.0ms
x
@-inf
((/ (+ (* (asin (- 1 x)) (asin (+ -1 x))) (pow (/ (PI) 2) 2)) (+ (/ (PI) 2) (asin (- 1 x)))) (+ (* (asin (- 1 x)) (asin (+ -1 x))) (pow (/ (PI) 2) 2)) (asin (- 1 x)) (- 1 x) 1 x (asin (+ -1 x)) (+ -1 x) -1 (pow (/ (PI) 2) 2) (/ (PI) 2) (PI) 2 (+ (/ (PI) 2) (asin (- 1 x))) (- (/ (PI) 2) (asin (- 1 x))) (- (* 1/2 (PI)) (asin (- 1 x))) (* 1/2 (PI)) 1/2 (acos (- 1 x)) (- 1 x) (* (- (exp (* (log x) -1)) 1) x) (- (exp (* (log x) -1)) 1) (* (log x) -1) (log x) (- (/ (PI) 2) (asin (- 1 x))) (asin (- 1 x)) (- (/ (PI) 2) (* (pow (asin (- 1 x)) 1/2) (pow (asin (- 1 x)) 1/2))) (* (pow (asin (- 1 x)) 1/2) (pow (asin (- 1 x)) 1/2)) (pow (asin (- 1 x)) 1/2))
45.0ms
a
@0
((/ (* r (sin b)) (- (* (cos b) (cos a)) (* (/ 1 (pow (sin b) -1)) (sin a)))) (* r (sin b)) r (sin b) b (- (* (cos b) (cos a)) (* (/ 1 (pow (sin b) -1)) (sin a))) (* (cos b) (cos a)) (cos b) (cos a) a (* (/ 1 (pow (sin b) -1)) (sin a)) (/ 1 (pow (sin b) -1)) 1 (pow (sin b) -1) -1 (sin a) (/ (* r (sin b)) (cos (+ a b))) (* r (tan b)) (tan b) (/ (* r (sin b)) (sin (+ (neg (+ a b)) (/ (PI) 2)))) (sin (+ (neg (+ a b)) (/ (PI) 2))) (+ (neg (+ a b)) (/ (PI) 2)) (neg b) (/ (* r (/ 1 (pow (sin b) -1))) (cos (+ a b))) (* r (/ 1 (pow (sin b) -1))) (cos (+ a b)) (+ a b) (/ (* r (sin b)) (- (* (cos b) (cos a)) (* (sin b) (sin a)))) (* r (sin b)) (sin b) (* (+ (* (- (* (* b b) 1/120) 1/6) (* b b)) 1) b) (+ (* (- (* (* b b) 1/120) 1/6) (* b b)) 1) (- (* (* b b) 1/120) 1/6) (* (* b b) 1/120) (* b b) 1/120 1/6 (- (* (cos b) (cos a)) (* (sin b) (sin a))) (* (sin b) (sin a)))
42.0ms
w
@inf
((* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) w (pow l (exp w)) l (exp w))
41.0ms
x
@0
((/ (+ (* (asin (- 1 x)) (asin (+ -1 x))) (pow (/ (PI) 2) 2)) (+ (/ (PI) 2) (asin (- 1 x)))) (+ (* (asin (- 1 x)) (asin (+ -1 x))) (pow (/ (PI) 2) 2)) (asin (- 1 x)) (- 1 x) 1 x (asin (+ -1 x)) (+ -1 x) -1 (pow (/ (PI) 2) 2) (/ (PI) 2) (PI) 2 (+ (/ (PI) 2) (asin (- 1 x))) (- (/ (PI) 2) (asin (- 1 x))) (- (* 1/2 (PI)) (asin (- 1 x))) (* 1/2 (PI)) 1/2 (acos (- 1 x)) (- 1 x) (* (- (exp (* (log x) -1)) 1) x) (- (exp (* (log x) -1)) 1) (* (log x) -1) (log x) (- (/ (PI) 2) (asin (- 1 x))) (asin (- 1 x)) (- (/ (PI) 2) (* (pow (asin (- 1 x)) 1/2) (pow (asin (- 1 x)) 1/2))) (* (pow (asin (- 1 x)) 1/2) (pow (asin (- 1 x)) 1/2)) (pow (asin (- 1 x)) 1/2))
40.0ms
l
@-inf
((* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) w (pow l (exp w)) (pow (pow l (neg (exp w))) -1) (pow l (neg (exp w))) l (neg (exp w)) (exp w) -1 (* (exp (neg w)) (pow l (exp w))) (* (exp (neg w)) (pow l (exp w))) (+ (* (+ (* (log l) l) (neg l)) w) l) (+ (* (log l) l) (neg l)) (log l) (neg l) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) 1 (pow l (exp w)) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (+ (* (+ (* (+ (* -1/6 w) 1/2) w) -1) w) 1) (+ (* (+ (* -1/6 w) 1/2) w) -1) (+ (* -1/6 w) 1/2) -1/6 1/2)

analyze2.0s (2.8%)

Memory
116.0MiB live, 2 792.0MiB allocated; 467ms 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)

prune2.0s (2.7%)

Memory
-25.2MiB live, 3 242.5MiB allocated; 369ms collecting garbage
Counts
19 663 → 1 502
Compiler

Compiled 79 507 to 42 831 computations (46.1% saved)

bsearch592.0ms (0.8%)

Memory
5.6MiB live, 723.6MiB allocated; 47ms collecting garbage
Algorithm
48×binary-search
11×left-value
Stop Event
31×narrow-enough
15×predicate-same
predicate-failed
Samples
213.0ms1 093×1valid
107.0ms1 435×0valid
43.0ms112×2valid
23.0ms202×0invalid
Compiler

Compiled 14 323 to 11 274 computations (21.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 303.0ms
ival-tan: 77.0ms (25.4% of total)
ival-exp: 43.0ms (14.2% of total)
ival-cos: 35.0ms (11.6% of total)
ival-fmod: 33.0ms (10.9% of total)
adjust: 26.0ms (8.6% of total)
ival-mult!: 26.0ms (8.6% of total)
ival-add!: 14.0ms (4.6% of total)
ival-pow2: 10.0ms (3.3% of total)
ival-sqrt: 9.0ms (3% of total)
ival-div!: 5.0ms (1.7% of total)
ival-sin: 5.0ms (1.7% of total)
ival-pow: 4.0ms (1.3% of total)
ival-acos: 4.0ms (1.3% of total)
ival-neg: 4.0ms (1.3% of total)
ival-sub!: 3.0ms (1% of total)
ival-log: 1.0ms (0.3% of total)
ival-sinh: 1.0ms (0.3% of total)

start1.0ms (0%)

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

end0.0ms (0%)

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

Profiling

Loading profile data...