Herbie run

Date:Thursday, October 31st, 2024
Commit:946043fe on Original-Inv-Same-cost-model
Hostname:nightly with Racket 8.10
Seed:2024305
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 2.4min)

sample45.3s (31.3%)

Memory
562.7MiB live, 38 543.2MiB allocated
Samples
12.6s43 493×1valid
9.3s109 831×0valid
8.8s6 354×5exit
4.1s11 796×2valid
1.0s10 276×1exit
456.0ms3 949×0invalid
112.0ms1 397×0exit
Precisions
Click to see histograms. Total time spent on operations: 29.0s
ival-exp: 4.0s (13.7% of total)
ival-pow: 3.3s (11.5% of total)
adjust: 2.7s (9.4% of total)
const: 2.6s (9.1% of total)
ival-tan: 2.2s (7.5% of total)
ival-cos: 2.1s (7.2% of total)
ival-mult: 2.0s (7% of total)
ival-log: 1.3s (4.6% of total)
ival-sqrt: 1.1s (4% of total)
ival-sin: 1.0s (3.6% of total)
ival-sub: 931.0ms (3.2% of total)
ival-fmod: 880.0ms (3% of total)
ival-div: 804.0ms (2.8% of total)
ival-add: 772.0ms (2.7% of total)
ival-sinh: 682.0ms (2.4% of total)
ival-<=: 618.0ms (2.1% of total)
ival-pow2: 379.0ms (1.3% of total)
ival-acos: 366.0ms (1.3% of total)
ival-neg: 214.0ms (0.7% of total)
ival-hypot: 204.0ms (0.7% of total)
ival-==: 132.0ms (0.5% of total)
ival-and: 113.0ms (0.4% of total)
ival-true: 99.0ms (0.3% of total)
exact: 79.0ms (0.3% of total)
ival-assert: 72.0ms (0.2% of total)
ival-<: 67.0ms (0.2% of total)
ival-atan: 66.0ms (0.2% of total)
ival-or: 37.0ms (0.1% of total)
ival->=: 25.0ms (0.1% of total)
ival->: 20.0ms (0.1% of total)
Bogosity

simplify22.7s (15.7%)

Memory
525.7MiB live, 17 681.1MiB allocated
Algorithm
166×egg-herbie
Stop Event
248×iter limit
135×node limit
18×saturated
16×unsound
Counts
4 117 → 4 049

soundness14.7s (10.2%)

Memory
13.7MiB live, 8 118.7MiB allocated
Stop Event
139×iter limit
60×node limit
13×fuel
13×unsound
done
saturated
Compiler

Compiled 7 637 to 3 806 computations (50.2% saved)

rewrite13.7s (9.5%)

Memory
171.7MiB live, 12 206.4MiB allocated
Stop Event
179×iter limit
57×node limit
15×unsound
saturated
Counts
1 005 → 38 061

localize13.2s (9.1%)

Memory
-248.9MiB live, 12 228.0MiB allocated
Samples
5.2s5 482×1valid
3.0s10 614×0valid
2.1s1 542×2valid
97.0ms315×0exit
75.0ms204×1exit
42.0ms528×0invalid
14.0ms5exit
Compiler

Compiled 28 808 to 4 064 computations (85.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.5s
ival-mult: 1.5s (20.6% of total)
ival-add: 810.0ms (10.8% of total)
adjust: 694.0ms (9.3% of total)
ival-div: 630.0ms (8.4% of total)
ival-sin: 478.0ms (6.4% of total)
ival-cos: 459.0ms (6.1% of total)
ival-pow: 435.0ms (5.8% of total)
const: 416.0ms (5.6% of total)
ival-tan: 398.0ms (5.3% of total)
ival-sub: 344.0ms (4.6% of total)
ival-log: 254.0ms (3.4% of total)
ival-sqrt: 199.0ms (2.7% of total)
ival-sinh: 166.0ms (2.2% of total)
ival-pow2: 130.0ms (1.7% of total)
ival-exp: 101.0ms (1.4% of total)
ival-fmod: 77.0ms (1% of total)
ival-neg: 61.0ms (0.8% of total)
ival-acos: 59.0ms (0.8% of total)
ival-hypot: 54.0ms (0.7% of total)
ival-asin: 42.0ms (0.6% of total)
ival-pi: 30.0ms (0.4% of total)
exact: 22.0ms (0.3% of total)
ival-true: 16.0ms (0.2% of total)
ival-cosh: 15.0ms (0.2% of total)
ival-cbrt: 12.0ms (0.2% of total)
ival-log1p: 11.0ms (0.1% of total)
ival-assert: 8.0ms (0.1% of total)
ival-expm1: 6.0ms (0.1% of total)
ival-atan: 3.0ms (0% of total)

eval8.3s (5.7%)

Memory
-153.4MiB live, 9 396.6MiB allocated
Compiler

Compiled 1 586 971 to 169 891 computations (89.3% saved)

regimes6.3s (4.4%)

Memory
60.8MiB live, 7 546.6MiB allocated
Counts
3 939 → 154
Calls

55 calls:

756.0ms
x
703.0ms
a
503.0ms
b
384.0ms
(tan.f64 a)
375.0ms
r
Compiler

Compiled 1 700 to 1 891 computations (-11.2% saved)

preprocess5.2s (3.6%)

Memory
115.6MiB live, 4 242.1MiB allocated
Algorithm
20×egg-herbie
Stop Event
38×iter limit
30×node limit
12×saturated
Compiler

Compiled 7 781 to 3 086 computations (60.3% saved)

analyze4.6s (3.2%)

Memory
-4.7MiB live, 3 856.4MiB 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)

prune4.0s (2.8%)

Memory
-252.5MiB live, 5 273.3MiB allocated
Counts
44 300 → 1 884
Compiler

Compiled 103 840 to 53 830 computations (48.2% saved)

series3.3s (2.3%)

Memory
-85.0MiB live, 3 393.0MiB allocated
Counts
1 005 → 4 117
Calls

405 calls:

TimeVariablePointExpression
153.0ms
l
@-inf
((/ 1 (/ (exp w) (pow l (exp w)))) (/ (exp w) (pow l (exp w))) (exp 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) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) (pow l (exp w)) (/ (exp (neg w)) (exp (* (neg (log l)) (exp w)))) (exp (* (neg (log l)) (exp w))) (* (exp (neg w)) (pow (pow (pow l (exp w)) 1/4) 4)) (pow (pow (pow l (exp w)) 1/4) 4) (exp w) (* (neg (log l)) (exp w)) (pow (pow l (exp w)) 1/4))
114.0ms
l
@0
((/ 1 (/ (exp w) (pow l (exp w)))) (/ (exp w) (pow l (exp w))) (exp 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) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) (pow l (exp w)) (/ (exp (neg w)) (exp (* (neg (log l)) (exp w)))) (exp (* (neg (log l)) (exp w))) (* (exp (neg w)) (pow (pow (pow l (exp w)) 1/4) 4)) (pow (pow (pow l (exp w)) 1/4) 4) (exp w) (* (neg (log l)) (exp w)) (pow (pow l (exp w)) 1/4))
98.0ms
x
@0
((+ (* (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)) (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x))) (* -1/6 (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)))) (- -1/216 (pow (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)) 3)) (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (+ 1/36 (+ (* (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)) (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x))) (* -1/6 (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x))))) (* (* -1/6 (* x x)) x) (- (sin x) x) (* -1/6 (* x x)) (* x x) (* (* (+ (* 1/120 (* x x)) -1/6) (* x x)) x) (- (sin x) x) (* (+ (* 1/120 (* x x)) -1/6) (* x x)) (+ (* 1/120 (* x x)) -1/6) (* (* (+ (* (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120) (* x x)) -1/6) (* x x)) x) (- (sin x) x) (* (+ (* (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120) (* x x)) -1/6) (* x x)) (+ (* (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120) (* x x)) -1/6) (- (sin x) x) (* (pow (pow x 4) 3/4) -1/6) (pow (pow x 4) 3/4) (pow x 4) (- (sin x) x) (* -1/6 (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x))) (* (/ (- -1/216 (pow (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)) 3)) (+ 1/36 (+ (* (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)) (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x))) (* -1/6 (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)))))) (pow x 3)) (* (neg (+ (* (+ (* (* x x) 1/362880) -1/5040) (* x x)) 1/120)) (* x x)))
89.0ms
lo
@inf
((/ (* (/ (/ (- lo x) lo) lo) hi) lo) (/ (- x lo) (- hi lo)) (+ (* (- (/ (+ (* (- (/ 1 lo) (/ (/ x lo) lo)) hi) 1) lo) (/ (/ x lo) lo)) hi) (- 1 (/ x lo))) (* (/ (* (/ (/ (- lo x) lo) lo) hi) lo) hi) (/ (- x lo) (- hi lo)) (/ (- x lo) hi) (- x lo) (neg lo) (/ (- x lo) (- hi lo)) (/ (+ (* (/ (- x lo) hi) lo) (- x lo)) hi) (* (/ (- x lo) hi) (/ (+ hi lo) hi)) (/ (- x lo) hi) (/ (+ (* (* (/ x hi) lo) (/ hi (- x lo))) (* hi 1)) (* hi (/ hi (- x lo)))) (+ (* (* (/ x hi) lo) (/ hi (- x lo))) (* hi 1)) (* hi 1) (/ (- x lo) (- hi lo)) (+ (/ x hi) (/ lo hi)) (/ (- x lo) (- hi lo)) (/ (- (pow (/ hi x) -2) (pow (/ lo hi) 2)) (+ (/ x hi) (/ lo hi))) (- (pow (/ hi x) -2) (pow (/ lo hi) 2)) (* (/ (/ (- lo x) lo) lo) hi) (* (/ x hi) lo) (* hi (/ hi (- x lo))) (pow (/ lo hi) 2) (pow (/ hi x) -2))
83.0ms
w
@-inf
((/ 1 (/ (exp w) (pow l (exp w)))) (/ (exp w) (pow l (exp w))) (exp 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) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) (pow l (exp w)) (/ (exp (neg w)) (exp (* (neg (log l)) (exp w)))) (exp (* (neg (log l)) (exp w))) (* (exp (neg w)) (pow (pow (pow l (exp w)) 1/4) 4)) (pow (pow (pow l (exp w)) 1/4) 4) (exp w) (* (neg (log l)) (exp w)) (pow (pow l (exp w)) 1/4))

explain2.8s (1.9%)

Memory
-91.4MiB live, 2 508.9MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5780
cos.f64#fsensitivity5110
-.f64#fcancellation3461
sqrt.f64#fuflow-rescue3300
/.f64#fn/o2570
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2550
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2490
tan.f64(tan.f64 (+.f64 y z))sensitivity1860
pow.f64(pow.f64 l (exp.f64 w))sensitivity12413
*.f64#fn*o350
*.f64#fn*u310
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))o*u300
(pow.f64 c #s(literal 2 binary64))overflow78
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)underflow71
(*.f64 x (pow.f64 s #s(literal 2 binary64)))underflow59
(pow.f64 s #s(literal 2 binary64))underflow55
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue170
(*.f64 a a)overflow116
(*.f64 b b)overflow17
*.f64#fu*o170
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue40
(sinh.f64 x)overflow4
(/.f64 (sinh.f64 x) x)overflow4
exp.f64(exp.f64 (neg.f64 w))sensitivity11
Confusion
Predicted +Predicted -
+2227266
-6761951
Precision
0.7671374440234241
Recall
0.8933012434817489
Confusion?
Predicted +Predicted MaybePredicted -
+22271265
-676141937
Precision?
0.7635366689513365
Recall?
0.8937023666265543
Freqs
test
numberfreq
02217
12835
268
Total Confusion?
Predicted +Predicted MaybePredicted -
+1800
-002
Precision?
1.0
Recall?
1.0
Samples
506.0ms2 676×1valid
483.0ms6 722×0valid
281.0ms750×2valid
12.0ms92×1exit
Compiler

Compiled 1 486 to 560 computations (62.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 860.0ms
ival-log: 108.0ms (12.6% of total)
ival-tan: 75.0ms (8.7% of total)
adjust: 70.0ms (8.1% of total)
ival-mult: 70.0ms (8.1% of total)
ival-cos: 63.0ms (7.3% of total)
ival-pow: 52.0ms (6% of total)
ival-sqrt: 51.0ms (5.9% of total)
ival-sinh: 48.0ms (5.6% of total)
ival-pow2: 41.0ms (4.8% of total)
ival-exp: 40.0ms (4.7% of total)
ival-sub: 37.0ms (4.3% of total)
ival-sin: 36.0ms (4.2% of total)
ival-add: 36.0ms (4.2% of total)
ival-div: 31.0ms (3.6% of total)
ival-fmod: 28.0ms (3.3% of total)
ival-acos: 27.0ms (3.1% of total)
ival-neg: 20.0ms (2.3% of total)
ival-hypot: 9.0ms (1% of total)
ival-true: 9.0ms (1% of total)
ival-assert: 4.0ms (0.5% of total)
ival-atan: 3.0ms (0.3% of total)
exact: 2.0ms (0.2% of total)

bsearch488.0ms (0.3%)

Memory
-21.2MiB live, 502.6MiB allocated
Algorithm
28×binary-search
left-value
Stop Event
27×narrow-enough
predicate-failed
Samples
152.0ms661×1valid
105.0ms1 355×0valid
10.0ms101×0invalid
4.0ms63×0exit
Compiler

Compiled 7 453 to 6 126 computations (17.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 207.0ms
ival-tan: 72.0ms (34.8% of total)
ival-mult: 20.0ms (9.7% of total)
ival-cos: 17.0ms (8.2% of total)
ival-exp: 16.0ms (7.7% of total)
adjust: 13.0ms (6.3% of total)
ival-pow: 12.0ms (5.8% of total)
ival-pow2: 12.0ms (5.8% of total)
ival-add: 11.0ms (5.3% of total)
ival-fmod: 7.0ms (3.4% of total)
ival-sub: 6.0ms (2.9% of total)
ival-sin: 5.0ms (2.4% of total)
ival-sqrt: 4.0ms (1.9% of total)
ival-acos: 4.0ms (1.9% of total)
ival-neg: 4.0ms (1.9% of total)
ival-div: 2.0ms (1% of total)
ival-true: 2.0ms (1% of total)
ival-assert: 1.0ms (0.5% of total)
exact: 0.0ms (0% of total)

start1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated

Profiling

Loading profile data...