Details

Time bar (total: 8.1s)

analyze775.0ms (9.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
25%75%0%4
37.5%62.5%0%5
43.7%56.2%0%6
46.9%53.1%0%7
48.4%51.5%0%8
48.4%51.5%0%9
48.4%51.5%0%10
48.4%51.5%0%11
48.5%51.4%0%12
48.6%51.4%0%13
48.6%51.3%0%14
Compiler

Compiled 17 to 9 computations (47.1% saved)

sample1.8s (22.7%)

Results
782.0ms2047×body1024valid
510.0ms4639×body128valid
313.0ms1058×body512valid
109.0ms505×body256valid
3.0msbody2048valid
Compiler

Compiled 50 to 26 computations (48% saved)

simplify90.0ms (1.1%)

Algorithm
egg-herbie
Rules
678×unsub-neg_binary64
627×times-frac_binary64
565×div-sub_binary64
547×fma-def_binary64
526×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0824
11922
23022
34722
49422
513722
621122
743722
892822
9171822
10307422
11386122
12444222
13482222

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.3b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
Compiler

Compiled 92 to 45 computations (51.1% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.1b
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
0.2b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.3b
(*.f64 (tan.f64 x) (tan.f64 x))

series131.0ms (1.6%)

Counts
4 → 48
Calls

4 calls:

92.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
17.0ms
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
11.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
10.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64
25×*-un-lft-identity_binary64
20×add-cube-cbrt_binary64
15×times-frac_binary64
11×pow1_binary64
Counts
4 → 102
Calls

4 calls:

4.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
4.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
3.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.0ms
(fma.f64 (tan.f64 x) (tan.f64 x) 1)

simplify101.0ms (1.3%)

Algorithm
egg-herbie
Rules
588×cancel-sign-sub-inv_binary64
342×fma-def_binary64
323×fma-neg_binary64
287×associate-*l*_binary64
237×associate-*r*_binary64
Counts
150 → 159
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01643084
13602781
29602730
331232721
450352721

prune230.0ms (2.9%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New14613159
Fresh101
Picked101
Done000
Total14813161
Error
0.0b
Counts
161 → 13
Alt Table
StatusErrorProgram
0.8b
(/.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (*.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.4b
(log.f64 (exp.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.9b
(/.f64 (log.f64 (/.f64 (exp.f64 1) (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (*.f64 (tan.f64 x) (tan.f64 x)) (*.f64 (tan.f64 x) (tan.f64 x)))) (*.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
0.8b
(*.f64 (/.f64 (+.f64 1 (tan.f64 x)) (*.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (-.f64 1 (tan.f64 x)) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.4b
(/.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
17.4b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.3b
(expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.4b
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
0.3b
(*.f64 (+.f64 1 (tan.f64 x)) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.8b
(/.f64 (-.f64 1 (log.f64 (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.5b
(*.f64 (/.f64 (+.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))) (/.f64 (-.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))))
0.4b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (*.f64 (*.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
Compiler

Compiled 3978 to 1909 computations (52% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
0.2b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.3b
(*.f64 (tan.f64 x) (tan.f64 x))
0.3b
(log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))

series1.8s (22%)

Counts
1 → 12
Calls

1 calls:

1.8s
(log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))

simplify95.0ms (1.2%)

Algorithm
egg-herbie
Rules
483×unswap-sqr_binary64
472×distribute-rgt-neg-in_binary64
431×distribute-lft-neg-in_binary64
309×associate-*l*_binary64
301×associate-*r*_binary64
Counts
23 → 21
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
048864
1105791
2237791
3690791
42888703
54846575
64878575
74948575

prune219.0ms (2.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1451146
Fresh21012
Picked101
Done000
Total14811159
Error
0.0b
Counts
159 → 11
Alt Table
StatusErrorProgram
0.8b
(/.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (*.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.4b
(log.f64 (exp.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.4b
(expm1.f64 (cbrt.f64 (pow.f64 (log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))) 3)))
0.4b
(/.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
17.4b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.9b
(/.f64 (log.f64 (/.f64 (exp.f64 1) (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
0.3b
(*.f64 (+.f64 1 (tan.f64 x)) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.8b
(/.f64 (-.f64 1 (log.f64 (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.5b
(*.f64 (/.f64 (+.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))) (/.f64 (-.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))))
0.4b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (*.f64 (*.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
Compiler

Compiled 3837 to 2029 computations (47.1% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
0.2b
(+.f64 1 (tan.f64 x))
0.2b
(*.f64 (+.f64 1 (tan.f64 x)) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.2b
(/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))

series179.0ms (2.2%)

Counts
3 → 36
Calls

3 calls:

91.0ms
(*.f64 (+.f64 1 (tan.f64 x)) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
81.0ms
(/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
7.0ms
(+.f64 1 (tan.f64 x))

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64
51×*-un-lft-identity_binary64
37×times-frac_binary64
26×add-cube-cbrt_binary64
22×associate-*r*_binary64
Counts
3 → 109
Calls

3 calls:

11.0ms
(*.f64 (+.f64 1 (tan.f64 x)) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
5.0ms
(/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
2.0ms
(+.f64 1 (tan.f64 x))

simplify147.0ms (1.8%)

Algorithm
egg-herbie
Rules
525×distribute-rgt-in_binary64
507×div-sub_binary64
490×distribute-lft-in_binary64
417×associate-*l*_binary64
398×fma-def_binary64
Counts
145 → 171
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01773767
14383513
214103404
342173404
446953404
558143404

prune270.0ms (3.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1893192
Fresh2810
Picked101
Done000
Total19211203
Error
0.0b
Counts
203 → 11
Alt Table
StatusErrorProgram
0.4b
(*.f64 (log.f64 (*.f64 (exp.f64 1) (exp.f64 (tan.f64 x)))) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.6b
(*.f64 (+.f64 1 (tan.f64 x)) (log.f64 (exp.f64 (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))
0.4b
(expm1.f64 (cbrt.f64 (pow.f64 (log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))) 3)))
0.4b
(/.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(log.f64 (exp.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.9b
(/.f64 (log.f64 (/.f64 (exp.f64 1) (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
0.4b
(*.f64 (+.f64 1 (tan.f64 x)) (expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))
0.8b
(/.f64 (-.f64 1 (log.f64 (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.5b
(*.f64 (/.f64 (+.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))) (/.f64 (-.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))))
0.4b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (*.f64 (*.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
Compiler

Compiled 5351 to 2993 computations (44.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.1b
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
0.2b
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
0.3b
(*.f64 (tan.f64 x) (tan.f64 x))

series178.0ms (2.2%)

Counts
2 → 24
Calls

2 calls:

91.0ms
(/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
87.0ms
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
138×times-frac_binary64
86×*-un-lft-identity_binary64
86×add-sqr-sqrt_binary64
70×add-cube-cbrt_binary64
32×difference-of-squares_binary64
Counts
2 → 149
Calls

2 calls:

6.0ms
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
5.0ms
(/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))

simplify198.0ms (2.5%)

Algorithm
egg-herbie
Rules
669×fma-neg_binary64
439×distribute-rgt-in_binary64
411×distribute-lft-in_binary64
248×cancel-sign-sub-inv_binary64
244×fma-def_binary64
Counts
173 → 216
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01656510
13425741
29315599
324195597
448505597
552875597

prune413.0ms (5.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2790279
Fresh01010
Picked011
Done000
Total27911290
Error
0.0b
Counts
290 → 11
Alt Table
StatusErrorProgram
0.4b
(*.f64 (log.f64 (*.f64 (exp.f64 1) (exp.f64 (tan.f64 x)))) (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))
0.6b
(*.f64 (+.f64 1 (tan.f64 x)) (log.f64 (exp.f64 (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))
0.4b
(expm1.f64 (cbrt.f64 (pow.f64 (log1p.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))) 3)))
0.4b
(/.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(log.f64 (exp.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.9b
(/.f64 (log.f64 (/.f64 (exp.f64 1) (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(/.f64 1 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
0.4b
(*.f64 (+.f64 1 (tan.f64 x)) (expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (tan.f64 x)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))
0.8b
(/.f64 (-.f64 1 (log.f64 (exp.f64 (*.f64 (tan.f64 x) (tan.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.5b
(*.f64 (/.f64 (+.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))) (/.f64 (-.f64 1 (tan.f64 x)) (hypot.f64 1 (tan.f64 x))))
0.4b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (*.f64 (*.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
Compiler

Compiled 7912 to 4152 computations (47.5% saved)

regimes1.1s (14.2%)

Accuracy

Total 0.2b remaining (75.2%)

Threshold costs 0.2b (75.2%)

Counts
275 → 1
Compiler

Compiled 24414 to 14654 computations (40% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
11322
21522
31622
41522

end167.0ms (2.1%)

Compiler

Compiled 261 to 152 computations (41.8% saved)

Profiling

Loading profile data...