Herbie run

Date:Tuesday, June 25th, 2024
Commit:c8a5274a on zane-job-abstraction-places
Hostname:nightly with Racket 8.11.1
Seed:2024177
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: 7.4min)

simplify1.6min (21.6%)

Memory
72.3MiB live, 108 926.6MiB allocated
Algorithm
286×egg-herbie
Rules
105 486×fma-define
65 132×*-commutative
64 223×times-frac
61 096×distribute-lft-in
58 945×fmm-def
Stop Event
218×node limit
68×saturated
Counts
100 879 → 82 164

sample1.4min (19.1%)

Memory
-324.4MiB live, 99 990.0MiB allocated
Samples
34.9s221 073×0valid
12.8s34 956×1valid
7.8s57 586×0invalid
3.8s11 355×1invalid
2.6s4 606×2valid
1.3s2 652×3valid
716.0ms896×4valid
282.0ms863×2invalid
31.0ms208×0exit
6.0ms5valid
1.0ms5exit
Precisions
Click to see histograms. Total time spent on operations: 49.6s
ival-mult: 13.6s (27.4% of total)
ival-div: 7.2s (14.5% of total)
ival-tan: 4.7s (9.5% of total)
ival-sub: 3.0s (6.2% of total)
ival-add: 2.8s (5.6% of total)
ival-sqrt: 2.6s (5.2% of total)
ival-pow2: 2.4s (4.9% of total)
ival-exp: 2.0s (4.1% of total)
ival-pow: 1.9s (3.8% of total)
ival-sin: 1.8s (3.6% of total)
adjust: 1.8s (3.5% of total)
ival-pi: 1.3s (2.6% of total)
ival-cos: 1.2s (2.5% of total)
ival-neg: 782.0ms (1.6% of total)
ival-hypot: 403.0ms (0.8% of total)
ival-acos: 377.0ms (0.8% of total)
...in/eval/compile.rkt:77:19: 361.0ms (0.7% of total)
ival-log: 326.0ms (0.7% of total)
ival-true: 241.0ms (0.5% of total)
...in/eval/compile.rkt:76:19: 233.0ms (0.5% of total)
ival-asin: 183.0ms (0.4% of total)
ival-assert: 133.0ms (0.3% of total)
ival-atan: 117.0ms (0.2% of total)
ival-<: 102.0ms (0.2% of total)
ival-fabs: 85.0ms (0.2% of total)
ival-and: 11.0ms (0% of total)
Bogosity

soundness1.0min (13.9%)

Memory
-218.2MiB live, 57 987.3MiB allocated
Rules
54 265×fma-define
46 641×log1p-expm1-u
35 383×times-frac
33 724×associate-*r*
33 590×expm1-log1p-u
Stop Event
178×node limit
30×fuel
saturated
done
unsound
Compiler

Compiled 44 344 to 13 601 computations (69.3% saved)

rewrite36.1s (8.2%)

Memory
123.7MiB live, 34 861.5MiB allocated
Algorithm
127×batch-egg-rewrite
Rules
68 122×log1p-expm1-u
50 961×expm1-log1p-u
34 385×add-exp-log
33 805×pow1
33 787×add-log-exp
Stop Event
126×node limit
unsound
Counts
1 958 → 52 792

localize31.9s (7.2%)

Memory
-238.3MiB live, 41 685.3MiB allocated
Samples
9.0s23 260×0valid
4.6s836×5exit
3.4s3 892×1valid
2.4s3 628×0invalid
908.0ms569×2valid
617.0ms175×3valid
366.0ms95×4valid
51.0ms50×0exit
21.0ms5valid
Compiler

Compiled 37 746 to 4 567 computations (87.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.1s
ival-tan: 3.3s (20.6% of total)
ival-mult: 2.9s (18% of total)
ival-div: 2.0s (12.5% of total)
ival-add: 1.3s (7.9% of total)
ival-sub: 836.0ms (5.2% of total)
ival-pow: 794.0ms (4.9% of total)
ival-sin: 758.0ms (4.7% of total)
adjust: 693.0ms (4.3% of total)
ival-pow2: 643.0ms (4% of total)
ival-exp: 532.0ms (3.3% of total)
ival-sqrt: 506.0ms (3.1% of total)
ival-log: 322.0ms (2% of total)
ival-cos: 309.0ms (1.9% of total)
...in/eval/compile.rkt:77:19: 232.0ms (1.4% of total)
ival-hypot: 228.0ms (1.4% of total)
ival-asin: 117.0ms (0.7% of total)
ival-log1p: 95.0ms (0.6% of total)
ival-cbrt: 85.0ms (0.5% of total)
ival-fabs: 80.0ms (0.5% of total)
ival-acos: 69.0ms (0.4% of total)
ival-neg: 67.0ms (0.4% of total)
ival-expm1: 51.0ms (0.3% of total)
...in/eval/compile.rkt:76:19: 48.0ms (0.3% of total)
ival-atan: 38.0ms (0.2% of total)
ival-pi: 36.0ms (0.2% of total)
ival-true: 29.0ms (0.2% of total)
ival-tanh: 18.0ms (0.1% of total)
ival-assert: 14.0ms (0.1% of total)
ival-e: 2.0ms (0% of total)

prune30.5s (6.9%)

Memory
-1 051.0MiB live, 47 127.1MiB allocated
Counts
117 833 → 3 218
Compiler

Compiled 147 081 to 82 142 computations (44.2% saved)

eval25.1s (5.7%)

Memory
899.3MiB live, 35 766.4MiB allocated
Compiler

Compiled 3 828 858 to 500 171 computations (86.9% saved)

regimes18.5s (4.2%)

Memory
218.2MiB live, 27 436.8MiB allocated
Counts
11 318 → 790
Calls

156 calls:

1.5s
l
1.3s
t
917.0ms
k
538.0ms
M
510.0ms
(*.f64 l l)
Compiler

Compiled 8 859 to 6 567 computations (25.9% saved)

series17.9s (4%)

Memory
448.8MiB live, 23 436.6MiB allocated
Counts
1 958 → 48 087
Calls

13017 calls:

TimeVariablePointExpression
445.0ms
d
@0
(log (/ M d))
319.0ms
t
@inf
(/ 2 (* (* (/ (pow t 3) (* l l)) (sin k)) (* (tan k) (+ 1 (+ 1 (pow (/ k t) 2))))))
253.0ms
D
@0
(+ (* (/ (/ c0 h) w) (pow (/ d D) 2)) (sqrt (* (- (* (/ (/ c0 h) w) (pow (/ d D) 2)) M) (+ (* (/ (/ c0 h) w) (pow (/ d D) 2)) M))))
169.0ms
Om
@inf
(exp (+ 1/2 (/ 1/2 (sqrt (+ (* 1 1) (* (* (sqrt (+ (* (sin kx) (sin kx)) (* (sin ky) (sin ky)))) (/ (* 2 l) Om)) (* (sqrt (+ (* (sin kx) (sin kx)) (* (sin ky) (sin ky)))) (/ (* 2 l) Om))))))))
150.0ms
K
@0
(* J (* (* -2 (cos (/ K 2))) (sqrt (+ (* 1 1) (* (/ (/ U 2) (* J (cos (/ K 2)))) (/ (/ U 2) (* J (cos (/ K 2)))))))))

bsearch12.0s (2.7%)

Memory
-17.3MiB live, 13 752.0MiB allocated
Algorithm
320×binary-search
107×left-value
Stop Event
308×narrow-enough
12×predicate-same
Samples
6.6s35 718×0valid
892.0ms5 230×0invalid
459.0ms1 379×1valid
162.0ms629×2valid
94.0ms275×3valid
23.0ms130×1invalid
8.0ms32×2invalid
7.0ms14×4valid
1.0ms5valid
1.0ms5exit
Compiler

Compiled 90 784 to 66 076 computations (27.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.5s
ival-mult: 1.3s (20.2% of total)
ival-sin: 1.3s (19.5% of total)
ival-div: 1.2s (18.1% of total)
ival-pow: 770.0ms (11.8% of total)
ival-tan: 408.0ms (6.2% of total)
ival-pow2: 399.0ms (6.1% of total)
ival-add: 397.0ms (6.1% of total)
ival-sub: 226.0ms (3.5% of total)
ival-neg: 115.0ms (1.8% of total)
adjust: 107.0ms (1.6% of total)
ival-sqrt: 97.0ms (1.5% of total)
ival-exp: 75.0ms (1.1% of total)
ival-cos: 33.0ms (0.5% of total)
ival-true: 33.0ms (0.5% of total)
...in/eval/compile.rkt:76:19: 29.0ms (0.4% of total)
...in/eval/compile.rkt:77:19: 19.0ms (0.3% of total)
ival-assert: 17.0ms (0.3% of total)
ival-hypot: 13.0ms (0.2% of total)
ival-atan: 10.0ms (0.2% of total)
ival-fabs: 8.0ms (0.1% of total)
ival-asin: 2.0ms (0% of total)
ival-pi: 2.0ms (0% of total)

explain10.1s (2.3%)

Memory
89.0MiB live, 14 274.0MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue4760
-.f64#fcancellation4732
cos.f64#fsensitivity3990
acos.f64(acos.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 5 binary64) (*.f64 v v))) (-.f64 (*.f64 v v) #s(literal 1 binary64))))sensitivity2540
+.f64#fnan-rescue2200
*.f64#fn*o2040
sqrt.f64#fuflow-rescue1590
pow.f64#foflow-rescue1490
asin.f64(asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 Om Omc) #s(literal 2 binary64))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 (/.f64 t l) #s(literal 2 binary64)))))))sensitivity1230
*.f64#fu*o1230
tan.f64(tan.f64 (*.f64 (PI.f64) l))sensitivity1141
-.f64#fnan-rescue1120
/.f64#fo/o750
pow.f64(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) (PI.f64)) n) (/.f64 (-.f64 #s(literal 1 binary64) k) #s(literal 2 binary64)))sensitivity7223
*.f64#fn*u620
/.f64#fo/n600
+.f64#fcancellation560
/.f64#fu/u540
pow.f64#fuflow-rescue530
*.f64#fo*u500
cos.f64(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M))oflow-rescue450
(/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64))overflow45
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M)overflow45
(*.f64 K (+.f64 m n))overflow45
/.f64#fn/u370
/.f64#fn/o320
/.f64#fu/n160
log.f64(log.f64 (/.f64 (+.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)))) (-.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))))))sensitivity50
exp.f64#fsensitivity30
log.f64(log.f64 (/.f64 (+.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)))) (-.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))))))oflow-rescue10
(exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))overflow6
(/.f64 (+.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)))) (-.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)))))overflow1
(-.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))))overflow3
(+.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))))overflow3
Confusion
Predicted +Predicted -
+191136
-11225123
Precision
0.6300692383778437
Recall
0.9815100154083205
Confusion?
Predicted +Predicted MaybePredicted -
+1911036
-1122265097
Precision?
0.6247139588100686
Recall?
0.9815100154083205
Freqs
test
numberfreq
05159
12689
2298
343
42
51
Total Confusion?
Predicted +Predicted MaybePredicted -
+2400
-206
Precision?
0.9230769230769231
Recall?
1.0
Samples
2.3s13 160×0valid
1.2s2 644×1valid
256.0ms316×2valid
146.0ms198×3valid
31.0ms50×4valid
13.0ms14×5exit
2.0ms5valid
Compiler

Compiled 8 430 to 2 164 computations (74.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-mult: 584.0ms (22.6% of total)
ival-tan: 357.0ms (13.8% of total)
ival-div: 315.0ms (12.2% of total)
ival-sub: 250.0ms (9.7% of total)
ival-exp: 141.0ms (5.4% of total)
ival-cos: 141.0ms (5.4% of total)
ival-pow2: 132.0ms (5.1% of total)
ival-add: 122.0ms (4.7% of total)
ival-pow: 122.0ms (4.7% of total)
ival-sin: 102.0ms (3.9% of total)
ival-sqrt: 97.0ms (3.7% of total)
adjust: 70.0ms (2.7% of total)
ival-neg: 28.0ms (1.1% of total)
ival-pi: 17.0ms (0.7% of total)
ival-hypot: 17.0ms (0.7% of total)
ival-true: 15.0ms (0.6% of total)
ival-acos: 14.0ms (0.5% of total)
...in/eval/compile.rkt:76:19: 13.0ms (0.5% of total)
ival-log: 12.0ms (0.5% of total)
...in/eval/compile.rkt:77:19: 10.0ms (0.4% of total)
ival-asin: 9.0ms (0.3% of total)
ival-atan: 9.0ms (0.3% of total)
ival-assert: 7.0ms (0.3% of total)
ival-fabs: 4.0ms (0.2% of total)

preprocess9.6s (2.2%)

Memory
-107.9MiB live, 9 515.7MiB allocated
Algorithm
32×egg-herbie
Rules
20 054×fma-define
13 409×fmm-def
8 518×times-frac
7 224×distribute-lft-in
7 153×unsub-neg
Stop Event
23×node limit
saturated
Compiler

Compiled 49 492 to 20 320 computations (58.9% saved)

analyze9.1s (2.1%)

Memory
146.5MiB live, 12 833.6MiB allocated
Algorithm
32×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%98.2%1.8%0%0%0%0
22.2%21.8%76.4%1.8%0%0%0%1
22.6%21.8%74.8%1.8%0%1.6%0%2
28.8%26.5%65.5%1.8%0%6.2%0%3
33.1%29.6%60%1.8%0%8.6%0%4
36.2%32.3%56.8%1.8%0%9.2%0%5
40.6%36.1%52.9%1.8%0%9.3%0%6
45.8%40.6%48.1%1.8%0%9.5%0%7
48.3%42.1%45%1.8%0%11.1%0%8
51.5%44.7%42%1.8%0%11.6%0%9
52.7%45.5%40.8%1.8%0%11.9%0%10
54.5%46.8%39%1.8%0%12.5%0%11
56.2%47.9%37.4%1.8%0%12.9%0%12
Compiler

Compiled 793 to 574 computations (27.6% saved)

end0.0ms (0%)

Memory
0.5MiB live, 0.4MiB allocated

Profiling

Loading profile data...