Details

Time bar (total: 2.1s)

analyze3.0ms (0.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
50%25%25%0%0%50%0%4
75%37.5%12.5%0%0%50%0%5
87.5%43.7%6.2%0%0%50%0%6
93.8%46.9%3.1%0%0%50%0%7
96.9%48.4%1.6%0%0%50%0%8
98.4%49.2%0.8%0%0%50%0%9
99.2%49.6%0.4%0%0%50%0%10
99.6%49.8%0.2%0%0%50%0%11
99.8%49.9%0.1%0%0%50%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample1.0s (49.9%)

Results
1.0s8256×body256valid
0.0msbody256invalid
Bogosity

preprocess149.0ms (7.2%)

Algorithm
egg-herbie
Rules
600×unsub-neg_binary64
586×distribute-rgt-out--_binary64
492×fma-neg_binary64
430×distribute-neg-in_binary64
411×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1139
2209
3319
4489
5769
61239
73409
87079
914969
1028539
1142809
1252529
1355629
1458669
1559629
1660409
1763089
1872549
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify140.0ms (6.8%)

Algorithm
egg-herbie
Rules
600×unsub-neg_binary64
586×distribute-rgt-out--_binary64
492×fma-neg_binary64
430×distribute-neg-in_binary64
411×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1139
2209
3319
4489
5769
61239
73409
87079
914969
1028539
1142809
1252529
1355629
1458669
1559629
1660409
1763089
1872549
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 17 to 8 computations (52.9% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@0
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@-inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))

rewrite51.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
580×pow1_binary64
544×add-log-exp_binary64
543×log1p-expm1-u_binary64
543×expm1-log1p-u_binary64
531×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11269
215489
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) (pow.f64 (-.f64 1 (*.f64 x x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 6))) (sqrt.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))))))

simplify54.0ms (2.6%)

Algorithm
egg-herbie
Rules
698×associate-*l*_binary64
633×fma-def_binary64
591×distribute-neg-frac_binary64
560×associate-*r*_binary64
223×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
051276
1151256
2460244
31607238
46771238
Stop Event
node limit
Counts
34 → 45
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(*.f64 (sqrt.f64 -1) x)
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.f64 -1/8 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/8 (pow.f64 x 4) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/2 (*.f64 x x)))))
(fma.f64 -1/8 (pow.f64 x 4) (fma.f64 -1/16 (pow.f64 x 6) (fma.f64 x (*.f64 -1/2 x) 1)))
(*.f64 (sqrt.f64 -1) x)
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (pow.f64 x 3) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3)))))
(+.f64 (*.f64 x (sqrt.f64 -1)) (*.f64 (/.f64 1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (-.f64 (+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (fma.f64 x (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (pow.f64 x 3) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3)))))
(-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 (/.f64 -1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 (/.f64 1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(neg.f64 (*.f64 x (sqrt.f64 -1)))
(*.f64 x (neg.f64 (sqrt.f64 -1)))
(*.f64 (sqrt.f64 -1) (neg.f64 x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))))
(-.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (*.f64 x (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
(-.f64 (+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))
(-.f64 (fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))
(+.f64 (-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))) (/.f64 -1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))
(-.f64 (*.f64 (/.f64 -1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)) (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))

eval15.0ms (0.7%)

Compiler

Compiled 606 to 461 computations (23.9% saved)

prune7.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42345
Fresh000
Picked011
Done000
Total42446
Error
0b
Counts
46 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.5b
(fma.f64 x (*.f64 -1/2 x) 1)
1.0b
1
0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 25 to 19 computations (24% saved)

localize11.0ms (0.6%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2)
Compiler

Compiled 29 to 10 computations (65.5% saved)

series3.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
(*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2)
1.0ms
x
@inf
(*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2)
1.0ms
x
@-inf
(*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2)

rewrite47.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
508×pow1_binary64
494×add-sqr-sqrt_binary64
469×add-log-exp_binary64
468×expm1-log1p-u_binary64
467×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
11429
216869
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (log1p.f64 (*.f64 x x)) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 (log1p.f64 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (+.f64 1 (*.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (log1p.f64 (*.f64 x x)) 1/2)))))))

simplify237.0ms (11.5%)

Algorithm
egg-herbie
Rules
724×fma-def_binary64
643×times-frac_binary64
413×unswap-sqr_binary64
396×associate-*l*_binary64
365×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054302
1153282
2432267
31356264
45380264
Stop Event
node limit
Counts
23 → 35
Calls
Call 1
Inputs
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4))))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/8 (pow.f64 x 8)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))))
(*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
(*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
Outputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (*.f64 -1/4 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/4) -1/2)))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4))))
(fma.f64 -1/6 (pow.f64 x 6) (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/4 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/4 (pow.f64 x 4) (*.f64 -1/6 (pow.f64 x 6))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/4) -1/2) (*.f64 -1/6 (pow.f64 x 6)))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/8 (pow.f64 x 8)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))))
(fma.f64 -1/6 (pow.f64 x 6) (fma.f64 -1/8 (pow.f64 x 8) (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/4 (pow.f64 x 4)))))
(fma.f64 -1/6 (pow.f64 x 6) (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/4 (pow.f64 x 4) (*.f64 -1/8 (pow.f64 x 8)))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/8 -1/4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/6 (pow.f64 x 6))))
(*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))))
(*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x)))))
(*.f64 1/2 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)))
(fma.f64 1/2 (log.f64 -1) (log.f64 x))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x))))) (/.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x)))
(+.f64 (fma.f64 1/2 (log.f64 -1) (log.f64 x)) (/.f64 -1/2 (*.f64 x x)))
(fma.f64 1/2 (-.f64 (log.f64 -1) (/.f64 1 (*.f64 x x))) (log.f64 x))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x))))) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/4 (pow.f64 x 4))))
(-.f64 (fma.f64 1/2 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4)))
(+.f64 (fma.f64 1/2 (log.f64 -1) (log.f64 x)) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 -1/4 (pow.f64 x 4))))
(+.f64 (fma.f64 1/2 (log.f64 -1) (log.f64 x)) (-.f64 (/.f64 -1/4 (pow.f64 x 4)) (/.f64 1/2 (*.f64 x x))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x))))) (+.f64 (/.f64 1/4 (pow.f64 x 4)) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/6 (pow.f64 x 6)))))
(-.f64 (-.f64 (fma.f64 1/2 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4))) (/.f64 1/6 (pow.f64 x 6)))
(+.f64 (fma.f64 1/2 (log.f64 -1) (log.f64 x)) (+.f64 (/.f64 -1/4 (pow.f64 x 4)) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 -1/6 (pow.f64 x 6)))))
(+.f64 (+.f64 (fma.f64 1/2 (log.f64 -1) (log.f64 x)) (/.f64 -1/4 (pow.f64 x 4))) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 -1/6 (pow.f64 x 6))))
(*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)))
(*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)))
(fma.f64 1/2 (log.f64 -1) (neg.f64 (log.f64 (/.f64 -1 x))))
(-.f64 (*.f64 1/2 (log.f64 -1)) (log.f64 (/.f64 -1 x)))
(fma.f64 1/2 (log.f64 -1) (-.f64 (log.f64 x) (log.f64 -1)))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x)))
(fma.f64 1/2 (log.f64 -1) (-.f64 (/.f64 -1/2 (*.f64 x x)) (log.f64 (/.f64 -1 x))))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/4 (pow.f64 x 4))))
(-.f64 (fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4)))
(+.f64 (fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 -1/4 (pow.f64 x 4)))
(+.f64 (fma.f64 1/2 (log.f64 -1) (-.f64 (/.f64 -1/2 (*.f64 x x)) (log.f64 (/.f64 -1 x)))) (/.f64 -1/4 (pow.f64 x 4)))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
(-.f64 (*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (+.f64 (/.f64 1/4 (pow.f64 x 4)) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/6 (pow.f64 x 6)))))
(-.f64 (-.f64 (fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4))) (/.f64 1/6 (pow.f64 x 6)))
(fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (+.f64 (/.f64 -1/4 (pow.f64 x 4)) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 -1/6 (pow.f64 x 6)))))
(+.f64 (fma.f64 1/2 (log.f64 -1) (-.f64 (/.f64 -1/2 (*.f64 x x)) (log.f64 (/.f64 -1 x)))) (+.f64 (/.f64 -1/4 (pow.f64 x 4)) (/.f64 -1/6 (pow.f64 x 6))))

localize6.0ms (0.3%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

eval116.0ms (5.6%)

Compiler

Compiled 551 to 425 computations (22.9% saved)

prune13.0ms (0.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New35035
Fresh011
Picked011
Done022
Total35439
Error
0b
Counts
39 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.5b
(fma.f64 x (*.f64 -1/2 x) 1)
1.0b
1
0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 25 to 19 computations (24% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.5b
(fma.f64 x (*.f64 -1/2 x) 1)
1.0b
1
0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 25 to 19 computations (24% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.5b
(fma.f64 x (*.f64 -1/2 x) 1)
1.0b
1
0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 25 to 19 computations (24% saved)

regimes65.0ms (3.2%)

Counts
4 → 1
Calls
Call 1
Inputs
1
(fma.f64 x (*.f64 -1/2 x) 1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Outputs
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Calls

7 calls:

36.0ms
x
6.0ms
(*.f64 x x)
5.0ms
(*.f64 x x)
4.0ms
(-.f64 1 (*.f64 x x))
4.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Results
ErrorSegmentsBranch
0b1x
0b1(sqrt.f64 (-.f64 1 (*.f64 x x)))
0b1(sqrt.f64 (-.f64 1 (*.f64 x x)))
0b1(-.f64 1 (*.f64 x x))
0b1(-.f64 1 (*.f64 x x))
0b1(*.f64 x x)
0b1(*.f64 x x)
Compiler

Compiled 58 to 39 computations (32.8% saved)

regimes23.0ms (1.1%)

Counts
3 → 1
Calls
Call 1
Inputs
1
(fma.f64 x (*.f64 -1/2 x) 1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Calls

4 calls:

8.0ms
x
4.0ms
(*.f64 x x)
4.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
4.0ms
(-.f64 1 (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
Compiler

Compiled 33 to 22 computations (33.3% saved)

regimes8.0ms (0.4%)

Accuracy

Total -0.5b remaining (-100.8%)

Threshold costs -0.5b (-100.8%)

Counts
2 → 1
Calls
Call 1
Inputs
1
(fma.f64 x (*.f64 -1/2 x) 1)
Outputs
(fma.f64 x (*.f64 -1/2 x) 1)
Calls

1 calls:

7.0ms
x
Results
ErrorSegmentsBranch
0.5b1x
Compiler

Compiled 10 to 7 computations (30% saved)

simplify10.0ms (0.5%)

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
01531
12731
23231
33531
43631
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(fma.f64 x (*.f64 -1/2 x) 1)
1
Outputs
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (*.f64 x x))) 1/2))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(fma.f64 x (*.f64 -1/2 x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
1
Compiler

Compiled 25 to 19 computations (24% saved)

soundness0.0ms (0%)

end58.0ms (2.8%)

Compiler

Compiled 22 to 15 computations (31.8% saved)

Profiling

Loading profile data...