Herbie run

Date:Saturday, August 3rd, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024216
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 3.7min)

sample52.4s (23.9%)

Memory
364.8MiB live, 50 841.8MiB allocated
Samples
19.5s43 765×1valid
9.3s109 648×0valid
8.9s6 310×5exit
3.9s11 707×2valid
1.0s10 313×1exit
384.0ms3 894×0invalid
126.0ms1 362×0exit
Precisions
Click to see histograms. Total time spent on operations: 36.2s
ival-tan: 10.3s (28.6% of total)
ival-exp: 4.4s (12.2% of total)
ival-pow: 3.2s (9% of total)
const: 2.6s (7.1% of total)
ival-cos: 2.1s (5.9% of total)
adjust: 1.9s (5.3% of total)
ival-mult: 1.7s (4.8% of total)
ival-log: 1.2s (3.4% of total)
ival-sqrt: 1.2s (3.3% of total)
ival-add: 989.0ms (2.7% of total)
ival-sin: 832.0ms (2.3% of total)
ival-sub: 753.0ms (2.1% of total)
ival-<=: 751.0ms (2.1% of total)
ival-sinh: 710.0ms (2% of total)
ival-fmod: 709.0ms (2% of total)
ival-pow2: 652.0ms (1.8% of total)
ival-div: 633.0ms (1.7% of total)
ival-acos: 342.0ms (0.9% of total)
ival-neg: 198.0ms (0.5% of total)
ival-hypot: 164.0ms (0.5% of total)
ival-and: 110.0ms (0.3% of total)
ival-true: 96.0ms (0.3% of total)
ival-==: 86.0ms (0.2% of total)
ival-<: 83.0ms (0.2% of total)
exact: 79.0ms (0.2% of total)
ival-assert: 71.0ms (0.2% of total)
ival-atan: 44.0ms (0.1% of total)
ival->=: 43.0ms (0.1% of total)
ival-or: 38.0ms (0.1% of total)
ival->: 20.0ms (0.1% of total)
Bogosity

simplify48.3s (22.1%)

Memory
94.3MiB live, 47 649.5MiB allocated
Algorithm
164×egg-herbie
Rules
1 083 728×lower-fma.f32
1 083 440×lower-fma.f64
388 810×lower-*.f32
387 978×lower-*.f64
219 888×lower-+.f32
Stop Event
212×iter limit
88×saturated
80×node limit
Counts
16 224 → 15 946

rewrite32.2s (14.7%)

Memory
218.3MiB live, 29 739.2MiB allocated
Algorithm
72×batch-egg-rewrite
Rules
303 462×lower-fma.f32
303 176×lower-fma.f64
254 930×lower-*.f32
254 140×lower-*.f64
193 912×lower-/.f32
Stop Event
158×iter limit
65×node limit
unsound
saturated
Counts
922 → 46 352

soundness24.3s (11.1%)

Memory
-21.3MiB live, 9 927.0MiB allocated
Rules
582 016×lower-fma.f32
581 866×lower-fma.f64
297 890×lower-*.f32
297 490×lower-*.f64
146 760×lower-+.f32
Stop Event
129×iter limit
65×node limit
16×fuel
saturated
unsound
done
Compiler

Compiled 7 430 to 3 764 computations (49.3% saved)

eval14.8s (6.8%)

Memory
462.6MiB live, 20 633.5MiB allocated
Compiler

Compiled 2 532 648 to 178 389 computations (93% saved)

prune12.6s (5.7%)

Memory
-575.1MiB live, 20 673.0MiB allocated
Counts
85 051 → 1 898
Compiler

Compiled 76 944 to 37 781 computations (50.9% saved)

localize8.8s (4%)

Memory
45.6MiB live, 12 443.7MiB allocated
Samples
2.5s13 225×0valid
2.1s3 161×1valid
877.0ms1 107×2valid
358.0ms865×1exit
85.0ms74×3valid
Compiler

Compiled 12 294 to 1 717 computations (86% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.3s
ival-mult: 1.2s (27.5% of total)
ival-cos: 398.0ms (9.2% of total)
adjust: 367.0ms (8.5% of total)
ival-add: 344.0ms (8% of total)
ival-div: 328.0ms (7.6% of total)
const: 269.0ms (6.2% of total)
ival-tan: 251.0ms (5.8% of total)
ival-sin: 200.0ms (4.6% of total)
ival-sqrt: 194.0ms (4.5% of total)
ival-fmod: 158.0ms (3.7% of total)
ival-pow: 119.0ms (2.8% of total)
ival-sub: 111.0ms (2.6% of total)
ival-log: 91.0ms (2.1% of total)
ival-exp: 61.0ms (1.4% of total)
ival-neg: 52.0ms (1.2% of total)
ival-sinh: 39.0ms (0.9% of total)
ival-pow2: 36.0ms (0.8% of total)
ival-acos: 26.0ms (0.6% of total)
ival-hypot: 20.0ms (0.5% of total)
exact: 17.0ms (0.4% of total)
ival-true: 15.0ms (0.3% of total)
ival-cbrt: 10.0ms (0.2% of total)
ival-assert: 8.0ms (0.2% of total)
ival-asin: 7.0ms (0.2% of total)
ival-pi: 5.0ms (0.1% of total)
ival-log1p: 5.0ms (0.1% of total)
ival-atan: 1.0ms (0% of total)
ival-fabs: 1.0ms (0% of total)

series7.8s (3.6%)

Memory
35.3MiB live, 12 226.9MiB allocated
Counts
922 → 16 224
Calls

3288 calls:

TimeVariablePointExpression
203.0ms
l
@-inf
(* (exp (neg w)) (+ (* w (* l (* (+ (* (* w 1/2) (+ (log l) 1)) 1) (log l)))) l))
132.0ms
x
@0
(* x (pow 2 1/4))
127.0ms
x
@-inf
(sqrt (* (* 2 x) (sqrt (sqrt x))))
98.0ms
x
@-inf
(sqrt (* x (sqrt x)))
88.0ms
x
@0
(* (* 2 x) (sqrt (sqrt x)))

regimes7.2s (3.3%)

Memory
-160.1MiB live, 11 218.9MiB allocated
Counts
4 353 → 209
Calls

53 calls:

798.0ms
a
774.0ms
x
462.0ms
b
430.0ms
(+.f64 y z)
414.0ms
r
Compiler

Compiled 2 774 to 1 907 computations (31.3% saved)

analyze3.7s (1.7%)

Memory
45.4MiB live, 4 993.6MiB allocated
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)

preprocess3.3s (1.5%)

Memory
40.3MiB live, 3 921.1MiB allocated
Algorithm
20×egg-herbie
Rules
26 494×lower-fma.f32
26 494×lower-fma.f64
5 788×lower-+.f32
5 770×lower-+.f64
5 074×unsub-neg
Stop Event
39×saturated
38×iter limit
node limit
Compiler

Compiled 7 138 to 2 542 computations (64.4% saved)

explain2.8s (1.3%)

Memory
-252.0MiB live, 3 667.0MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5450
cos.f64#fsensitivity5200
-.f64#fcancellation3260
sqrt.f64#fuflow-rescue2990
/.f64#fn/o2580
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2541
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2461
tan.f64(tan.f64 (+.f64 y z))sensitivity2010
pow.f64(pow.f64 l (exp.f64 w))sensitivity12015
*.f64#fn*o560
*.f64#fu*o300
*.f64#fn*u220
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue140
(*.f64 a a)overflow105
(*.f64 b b)overflow14
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue30
(sinh.f64 x)overflow3
(/.f64 (sinh.f64 x) x)overflow3
+.f64(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))cancellation12
Confusion
Predicted +Predicted -
+2134269
-6872030
Precision
0.7564693371144984
Recall
0.8880565959217644
Confusion?
Predicted +Predicted MaybePredicted -
+21342267
-687152015
Precision?
0.7526427061310782
Recall?
0.8888888888888888
Freqs
test
numberfreq
02299
12747
274
Total Confusion?
Predicted +Predicted MaybePredicted -
+1701
-002
Precision?
1.0
Recall?
0.9444444444444444
Samples
471.0ms2 686×1valid
422.0ms6 724×0valid
256.0ms724×2valid
14.0ms106×1exit
Compiler

Compiled 1 288 to 560 computations (56.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 763.0ms
ival-cos: 79.0ms (10.4% of total)
adjust: 76.0ms (10% of total)
ival-tan: 74.0ms (9.7% of total)
ival-log: 70.0ms (9.2% of total)
ival-mult: 64.0ms (8.4% of total)
ival-sqrt: 51.0ms (6.7% of total)
ival-sinh: 48.0ms (6.3% of total)
ival-sin: 46.0ms (6% of total)
ival-exp: 40.0ms (5.2% of total)
ival-sub: 35.0ms (4.6% of total)
ival-add: 33.0ms (4.3% of total)
ival-div: 30.0ms (3.9% of total)
ival-fmod: 29.0ms (3.8% of total)
ival-pow2: 23.0ms (3% of total)
ival-acos: 18.0ms (2.4% of total)
ival-pow: 9.0ms (1.2% of total)
ival-neg: 9.0ms (1.2% of total)
ival-hypot: 8.0ms (1% of total)
ival-true: 8.0ms (1% of total)
ival-assert: 4.0ms (0.5% of total)
ival-atan: 3.0ms (0.4% of total)
exact: 2.0ms (0.3% of total)

bsearch764.0ms (0.3%)

Memory
92.2MiB live, 990.6MiB allocated
Algorithm
50×binary-search
35×left-value
Stop Event
45×narrow-enough
predicate-same
Samples
283.0ms1 174×1valid
188.0ms2 538×0valid
42.0ms112×2valid
Compiler

Compiled 11 036 to 7 691 computations (30.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 389.0ms
ival-tan: 144.0ms (37% of total)
ival-cos: 43.0ms (11% of total)
ival-exp: 34.0ms (8.7% of total)
adjust: 26.0ms (6.7% of total)
ival-mult: 24.0ms (6.2% of total)
ival-sin: 23.0ms (5.9% of total)
ival-add: 21.0ms (5.4% of total)
ival-pow: 18.0ms (4.6% of total)
ival-div: 10.0ms (2.6% of total)
ival-fmod: 10.0ms (2.6% of total)
ival-pow2: 9.0ms (2.3% of total)
ival-neg: 7.0ms (1.8% of total)
ival-sub: 6.0ms (1.5% of total)
ival-sqrt: 6.0ms (1.5% of total)
ival-acos: 4.0ms (1% of total)
ival-true: 3.0ms (0.8% of total)
ival-assert: 1.0ms (0.3% of total)
exact: 0.0ms (0% of total)

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated

Profiling

Loading profile data...