Details

Time bar (total: 1.3s)

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
50%50%50%0%0%0%0%3
75%75%25%0%0%0%0%4
87.5%87.5%12.5%0%0%0%0%5
93.8%93.7%6.2%0%0%0%0%6
96.9%96.8%3.1%0%0%0%0%7
98.4%98.4%1.6%0%0%0%0%8
99.2%99.2%0.8%0%0%0%0%9
99.6%99.6%0.4%0%0%0%0%10
99.8%99.8%0.2%0%0%0%0%11
99.9%99.9%0.1%0%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample985.0ms (73.4%)

Results
403.0ms2114×body1024valid
385.0ms4902×body256valid
134.0ms1033×body512valid
51.0ms207×body2048valid
Bogosity

preprocess7.0ms (0.5%)

Algorithm
egg-herbie
Rules
38×rational.json-simplify-27
30×rational.json-simplify-9
30×rational.json-simplify-41
28×rational.json-simplify-31
28×rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
11421
22121
33121
44521
56021
67921
79821
811521
911921
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Outputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify8.0ms (0.6%)

Algorithm
egg-herbie
Rules
38×rational.json-simplify-27
30×rational.json-simplify-9
30×rational.json-simplify-41
28×rational.json-simplify-31
28×rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
11421
22121
33121
44521
56021
67921
79821
811521
911921
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Outputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

eval0.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 6 computations (25% saved)

localize9.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(cbrt.f64 (+.f64 x 1))
0.5b
(cbrt.f64 x)
3.6b
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Compiler

Compiled 19 to 12 computations (36.8% saved)

series5.0ms (0.4%)

Counts
3 → 7
Calls

9 calls:

TimeVariablePointExpression
3.0ms
x
@inf
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
1.0ms
x
@-inf
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
0.0ms
x
@0
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
0.0ms
x
@-inf
(cbrt.f64 x)
0.0ms
x
@-inf
(cbrt.f64 (+.f64 x 1))

rewrite8.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
40×bool.json-1
38×rational.json-simplify-2
34×rational.json-1
34×rational.json-2
32×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0937
14437
28737
312837
414437
514937
Stop Event
saturated
Counts
3 → 27
Calls
Call 1
Inputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
(cbrt.f64 x)
(cbrt.f64 (+.f64 x 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cbrt.f64 (+.f64 x 1)) (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cbrt.f64 x)) (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x or (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cbrt.f64 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (cbrt.f64 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x or (cbrt.f64 x) (cbrt.f64 x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cbrt.f64 (+.f64 x 1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (cbrt.f64 (+.f64 x 1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (+.f64 x 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x or (cbrt.f64 (+.f64 x 1)) (cbrt.f64 (+.f64 x 1)))))))

simplify13.0ms (1%)

Algorithm
egg-herbie
Rules
70×rational.json-simplify-1
40×rational.json-simplify-33
28×rational.json-simplify-2
22×rational.json-simplify-31
16×rational.json-simplify-41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056442
185442
2129442
3158442
4164442
5165442
Stop Event
saturated
Counts
34 → 37
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/3 x))
0
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(+.f64 (cbrt.f64 (+.f64 x 1)) (neg.f64 (cbrt.f64 x)))
(+.f64 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) 0)
(+.f64 0 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))
(+.f64 (neg.f64 (cbrt.f64 x)) (cbrt.f64 (+.f64 x 1)))
(*.f64 1 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))
(*.f64 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) 1)
(*.f64 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))) -1)
(*.f64 -1 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))))
(neg.f64 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))))
(+.f64 (cbrt.f64 x) 0)
(+.f64 0 (cbrt.f64 x))
(-.f64 (cbrt.f64 x) 0)
(-.f64 0 (neg.f64 (cbrt.f64 x)))
(*.f64 1 (cbrt.f64 x))
(*.f64 (cbrt.f64 x) 1)
(*.f64 (neg.f64 (cbrt.f64 x)) -1)
(*.f64 -1 (neg.f64 (cbrt.f64 x)))
(neg.f64 (neg.f64 (cbrt.f64 x)))
(+.f64 (cbrt.f64 (+.f64 x 1)) 0)
(+.f64 0 (cbrt.f64 (+.f64 x 1)))
(-.f64 (cbrt.f64 (+.f64 x 1)) 0)
(-.f64 0 (neg.f64 (cbrt.f64 (+.f64 x 1))))
(*.f64 1 (cbrt.f64 (+.f64 x 1)))
(*.f64 (cbrt.f64 (+.f64 x 1)) 1)
(*.f64 -1 (neg.f64 (cbrt.f64 (+.f64 x 1))))
(*.f64 (neg.f64 (cbrt.f64 (+.f64 x 1))) -1)
(neg.f64 (neg.f64 (cbrt.f64 (+.f64 x 1))))
Outputs
1
(+.f64 1 (*.f64 1/3 x))
0
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x)))
(+.f64 (+.f64 1 (*.f64 1/3 x)) (*.f64 -1/9 (pow.f64 x 2)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
(+.f64 (cbrt.f64 (+.f64 x 1)) (neg.f64 (cbrt.f64 x)))
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(+.f64 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) 0)
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(+.f64 0 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(+.f64 (neg.f64 (cbrt.f64 x)) (cbrt.f64 (+.f64 x 1)))
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(*.f64 1 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)))
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(*.f64 (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) 1)
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(*.f64 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))) -1)
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(*.f64 -1 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))))
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(neg.f64 (-.f64 (cbrt.f64 x) (cbrt.f64 (+.f64 x 1))))
(-.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 x))
(+.f64 (cbrt.f64 x) 0)
(cbrt.f64 x)
(+.f64 0 (cbrt.f64 x))
(cbrt.f64 x)
(-.f64 (cbrt.f64 x) 0)
(cbrt.f64 x)
(-.f64 0 (neg.f64 (cbrt.f64 x)))
(cbrt.f64 x)
(*.f64 1 (cbrt.f64 x))
(cbrt.f64 x)
(*.f64 (cbrt.f64 x) 1)
(cbrt.f64 x)
(*.f64 (neg.f64 (cbrt.f64 x)) -1)
(cbrt.f64 x)
(*.f64 -1 (neg.f64 (cbrt.f64 x)))
(cbrt.f64 x)
(neg.f64 (neg.f64 (cbrt.f64 x)))
(cbrt.f64 x)
(+.f64 (cbrt.f64 (+.f64 x 1)) 0)
(cbrt.f64 (+.f64 1 x))
(+.f64 0 (cbrt.f64 (+.f64 x 1)))
(cbrt.f64 (+.f64 1 x))
(-.f64 (cbrt.f64 (+.f64 x 1)) 0)
(cbrt.f64 (+.f64 1 x))
(-.f64 0 (neg.f64 (cbrt.f64 (+.f64 x 1))))
(cbrt.f64 (+.f64 1 x))
(*.f64 1 (cbrt.f64 (+.f64 x 1)))
(cbrt.f64 (+.f64 1 x))
(*.f64 (cbrt.f64 (+.f64 x 1)) 1)
(cbrt.f64 (+.f64 1 x))
(*.f64 -1 (neg.f64 (cbrt.f64 (+.f64 x 1))))
(cbrt.f64 (+.f64 1 x))
(*.f64 (neg.f64 (cbrt.f64 (+.f64 x 1))) -1)
(cbrt.f64 (+.f64 1 x))
(neg.f64 (neg.f64 (cbrt.f64 (+.f64 x 1))))
(cbrt.f64 (+.f64 1 x))

eval7.0ms (0.5%)

Compiler

Compiled 343 to 230 computations (32.9% saved)

prune6.0ms (0.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New33437
Fresh000
Picked011
Done000
Total33538
Error
31.7b
Counts
38 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
34.3b
(-.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))) (cbrt.f64 x))
32.3b
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
35.8b
(+.f64 1 (*.f64 1/3 x))
34.7b
1
61.6b
0
Compiler

Compiled 39 to 32 computations (17.9% saved)

localize5.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 1/3 x))
0.3b
(*.f64 1/3 x)
Compiler

Compiled 12 to 9 computations (25% saved)

series2.0ms (0.1%)

Counts
2 → 3
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 1/3 x)
0.0ms
x
@inf
(*.f64 1/3 x)
0.0ms
x
@0
(*.f64 1/3 x)
0.0ms
x
@inf
(+.f64 1 (*.f64 1/3 x))
0.0ms
x
@-inf
(+.f64 1 (*.f64 1/3 x))

rewrite5.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
20×bool.json-1
16×rational.json-simplify-2
16×rational.json-simplify-1
14×rational.json-1
14×rational.json-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
13320
25220
35820
Stop Event
saturated
Counts
2 → 4
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/3 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 1/3 x) (*.f64 1/3 x))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 1/3 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/3 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 1/3 x) 1) (+.f64 (*.f64 1/3 x) 1))))))

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01279
11479
Stop Event
saturated
Counts
7 → 7
Calls
Call 1
Inputs
1
(*.f64 1/3 x)
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) 0)
(+.f64 0 (*.f64 1/3 x))
(*.f64 1 (+.f64 (*.f64 1/3 x) 1))
(*.f64 (+.f64 (*.f64 1/3 x) 1) 1)
Outputs
1
(*.f64 1/3 x)
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) 0)
(+.f64 0 (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) 0)
(*.f64 1 (+.f64 (*.f64 1/3 x) 1))
(*.f64 1 (+.f64 1 (*.f64 1/3 x)))
(*.f64 (+.f64 (*.f64 1/3 x) 1) 1)
(*.f64 1 (+.f64 1 (*.f64 1/3 x)))

localize33.0ms (2.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 -1/9 (pow.f64 x 2))
0.3b
(*.f64 1/3 x)
0.5b
(cbrt.f64 x)
6.8b
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
Compiler

Compiled 86 to 67 computations (22.1% saved)

series1.0ms (0.1%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 -1/9 (pow.f64 x 2))
0.0ms
x
@inf
(*.f64 -1/9 (pow.f64 x 2))
0.0ms
x
@inf
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
0.0ms
x
@-inf
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
0.0ms
x
@0
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))

rewrite10.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
100×rational.json-simplify-1
74×bool.json-1
60×rational.json-1
60×rational.json-2
52×rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01762
18162
213262
318862
423062
524462
Stop Event
saturated
Counts
2 → 4
Calls
Call 1
Inputs
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
(*.f64 -1/9 (pow.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/9 (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/9 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 -1/9 (pow.f64 x 2)) (*.f64 -1/9 (pow.f64 x 2)))))))

simplify10.0ms (0.7%)

Algorithm
egg-herbie
Rules
60×rational.json-simplify-1
32×rational.json-simplify-33
rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030514
150514
266514
378514
481514
Stop Event
saturated
Counts
16 → 20
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(*.f64 5/81 (pow.f64 x 3))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(*.f64 5/81 (pow.f64 x 3))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(*.f64 1 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))))
(*.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))) 1)
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) 0)
(+.f64 0 (*.f64 -1/9 (pow.f64 x 2)))
Outputs
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x)))
(+.f64 (+.f64 1 (*.f64 1/3 x)) (*.f64 -1/9 (pow.f64 x 2)))
(+.f64 (*.f64 1/3 x) (+.f64 1 (*.f64 -1/9 (pow.f64 x 2))))
(+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 -1/9 (pow.f64 x 2))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
(+.f64 1 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))))
(*.f64 5/81 (pow.f64 x 3))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
(+.f64 1 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))))
(*.f64 5/81 (pow.f64 x 3))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3)))))
(+.f64 1 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3)))))
(*.f64 1 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))))
(*.f64 1 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3))))))
(*.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 x 1/3) (*.f64 5/81 (pow.f64 x 3))))) 1)
(*.f64 1 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (*.f64 5/81 (pow.f64 x 3))))))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) 0)
(+.f64 0 (*.f64 -1/9 (pow.f64 x 2)))
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) 0)

eval12.0ms (0.9%)

Compiler

Compiled 641 to 485 computations (24.3% saved)

prune8.0ms (0.6%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New37239
Fresh022
Picked011
Done022
Total37744
Error
31.7b
Counts
44 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
34.3b
(-.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))) (cbrt.f64 x))
33.9b
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
32.3b
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
34.2b
(-.f64 1 (cbrt.f64 x))
35.8b
(+.f64 1 (*.f64 1/3 x))
34.7b
1
61.6b
0
Compiler

Compiled 53 to 43 computations (18.9% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 x)
Compiler

Compiled 9 to 5 computations (44.4% saved)

localize9.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 1/3 x))
0.0b
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
0.3b
(*.f64 1/3 x)
0.5b
(cbrt.f64 x)
Compiler

Compiled 22 to 15 computations (31.8% saved)

series1.0ms (0%)

Counts
1 → 6
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
0.0ms
x
@-inf
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
0.0ms
x
@inf
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))

rewrite13.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
92×bool.json-1
82×rational.json-1
82×rational.json-2
70×rational.json-simplify-2
66×rational.json-simplify-27
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
14923
210023
318923
429023
535223
636523
737923
839223
939323
Stop Event
saturated
Counts
1 → 13
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/3 x) (-.f64 1 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (*.f64 x -1/3)) (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cbrt.f64 x)) (-.f64 1 (*.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x or (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))))))

simplify18.0ms (1.4%)

Algorithm
egg-herbie
Rules
142×rational.json-simplify-27
122×rational.json-simplify-1
102×rational.json-simplify-33
94×rational.json-simplify-34
92×rational.json-simplify-29
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034353
159353
2101353
3165353
4274353
5472353
6679353
7701353
8704353
Stop Event
saturated
Counts
19 → 17
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(+.f64 (*.f64 1/3 x) (-.f64 1 (cbrt.f64 x)))
(+.f64 (-.f64 1 (*.f64 x -1/3)) (neg.f64 (cbrt.f64 x)))
(+.f64 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) 0)
(+.f64 0 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))
(+.f64 (neg.f64 (cbrt.f64 x)) (-.f64 1 (*.f64 x -1/3)))
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(*.f64 1 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))
(*.f64 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) 1)
(*.f64 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)) -1)
(*.f64 -1 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)))
(neg.f64 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)))
Outputs
1
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 (*.f64 1/3 x) (-.f64 1 (cbrt.f64 x)))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 (-.f64 1 (*.f64 x -1/3)) (neg.f64 (cbrt.f64 x)))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) 0)
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 0 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 (neg.f64 (cbrt.f64 x)) (-.f64 1 (*.f64 x -1/3)))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(*.f64 1 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(*.f64 (-.f64 1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3))) 1)
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(*.f64 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)) -1)
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(*.f64 -1 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(neg.f64 (+.f64 (cbrt.f64 x) (-.f64 (*.f64 x -1/3) 1)))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))

eval7.0ms (0.5%)

Compiler

Compiled 359 to 236 computations (34.3% saved)

prune7.0ms (0.5%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New42244
Fresh022
Picked101
Done044
Total43851
Error
31.7b
Counts
51 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
34.3b
(-.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))) (cbrt.f64 x))
32.3b
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
34.2b
(-.f64 1 (cbrt.f64 x))
33.9b
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
33.9b
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
35.8b
(+.f64 1 (*.f64 1/3 x))
34.7b
1
61.6b
0
Compiler

Compiled 62 to 50 computations (19.4% saved)

localize9.0ms (0.7%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
0.3b
(*.f64 1/3 x)
0.5b
(cbrt.f64 x)
Compiler

Compiled 21 to 13 computations (38.1% saved)

series0.0ms (0%)

Counts
1 → 6
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
0.0ms
x
@-inf
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
0.0ms
x
@inf
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))

rewrite8.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
46×bool.json-1
42×rational.json-simplify-2
40×rational.json-simplify-1
38×rational.json-1
38×rational.json-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
14923
29223
313023
416523
517923
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)) (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)))))))

simplify7.0ms (0.5%)

Algorithm
egg-herbie
Rules
22×rational.json-simplify-2
20×rational.json-simplify-1
18×rational.json-simplify-27
18×rational.json-simplify-9
16×rational.json-simplify-31
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014112
122112
232112
343112
452112
560112
672112
783112
891112
993112
Stop Event
saturated
Counts
8 → 6
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)))
(*.f64 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)) 1)
Outputs
1
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)))
(*.f64 1 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x)))
(*.f64 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 x 1/3)) 1)
(*.f64 1 (+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x)))

localize9.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
0.0b
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
0.3b
(*.f64 1/3 x)
0.5b
(cbrt.f64 x)
Compiler

Compiled 23 to 14 computations (39.1% saved)

series1.0ms (0.1%)

Counts
2 → 9
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
0.0ms
x
@-inf
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
0.0ms
x
@inf
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
0.0ms
x
@-inf
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
0.0ms
x
@0
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)

rewrite9.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
56×bool.json-1
52×rational.json-simplify-2
46×rational.json-1
46×rational.json-2
46×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01040
14940
29440
314540
417340
518640
620140
721240
821340
Stop Event
saturated
Counts
2 → 11
Calls
Call 1
Inputs
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/3 x) (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cbrt.f64 x)) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x or (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1) (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1))))))

simplify14.0ms (1%)

Algorithm
egg-herbie
Rules
78×rational.json-simplify-2
62×rational.json-simplify-31
48×rational.json-simplify-1
34×rational.json-simplify-27
34×rational.json-simplify-9
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028298
137298
254298
378286
4105286
5141286
6161286
7186286
8208286
9219286
10220286
Stop Event
saturated
Counts
20 → 18
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
1
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (neg.f64 (cbrt.f64 x)))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 0)
(+.f64 0 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(+.f64 (neg.f64 (cbrt.f64 x)) (*.f64 1/3 x))
(*.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(*.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(*.f64 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)) -1)
(*.f64 -1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)))
(neg.f64 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)))
(*.f64 1 (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1))
(*.f64 (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1) 1)
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
1
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) 1)
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) 1)
(*.f64 1/3 x)
(+.f64 1 (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) 1)
(+.f64 (*.f64 1/3 x) (neg.f64 (cbrt.f64 x)))
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 0)
(+.f64 0 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 0)
(+.f64 (neg.f64 (cbrt.f64 x)) (*.f64 1/3 x))
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(*.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(*.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(*.f64 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)) -1)
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(*.f64 -1 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)))
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(neg.f64 (+.f64 (cbrt.f64 x) (*.f64 x -1/3)))
(-.f64 (*.f64 1/3 x) (cbrt.f64 x))
(*.f64 1 (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1))
(*.f64 1 (+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x))))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))
(*.f64 (+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1) 1)
(*.f64 1 (+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x))))
(+.f64 1 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)))

eval9.0ms (0.6%)

Compiler

Compiled 431 to 294 computations (31.8% saved)

prune8.0ms (0.6%)

Pruning

8 alts after pruning (2 fresh and 6 done)

PrunedKeptTotal
New48048
Fresh022
Picked011
Done055
Total48856
Error
31.7b
Counts
56 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
34.3b
(-.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))) (cbrt.f64 x))
32.3b
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
34.2b
(-.f64 1 (cbrt.f64 x))
33.9b
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
33.9b
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
35.8b
(+.f64 1 (*.f64 1/3 x))
34.7b
1
61.6b
0
Compiler

Compiled 62 to 50 computations (19.4% saved)

regimes11.0ms (0.9%)

Counts
9 → 1
Calls
Call 1
Inputs
0
1
(+.f64 1 (*.f64 1/3 x))
(-.f64 1 (cbrt.f64 x))
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
(-.f64 (+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/3 x) (*.f64 5/81 (pow.f64 x 3))))) (cbrt.f64 x))
Outputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Calls

2 calls:

5.0ms
x
4.0ms
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Results
ErrorSegmentsBranch
32.3b1x
32.3b1(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
Compiler

Compiled 73 to 51 computations (30.1% saved)

regimes6.0ms (0.5%)

Counts
7 → 1
Calls
Call 1
Inputs
0
1
(+.f64 1 (*.f64 1/3 x))
(-.f64 1 (cbrt.f64 x))
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(-.f64 (+.f64 1 (*.f64 1/3 x)) (cbrt.f64 x))
Outputs
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
Calls

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
33.9b1x
Compiler

Compiled 38 to 26 computations (31.6% saved)

regimes5.0ms (0.4%)

Counts
5 → 1
Calls
Call 1
Inputs
0
1
(+.f64 1 (*.f64 1/3 x))
(-.f64 1 (cbrt.f64 x))
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
Outputs
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
33.9b1x
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes5.0ms (0.4%)

Counts
4 → 1
Calls
Call 1
Inputs
0
1
(+.f64 1 (*.f64 1/3 x))
(-.f64 1 (cbrt.f64 x))
Outputs
(-.f64 1 (cbrt.f64 x))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
34.2b1x
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes4.0ms (0.3%)

Accuracy

Total -27.7b remaining (-79.8%)

Threshold costs -27.7b (-79.8%)

Counts
3 → 1
Calls
Call 1
Inputs
0
1
(+.f64 1 (*.f64 1/3 x))
Outputs
1
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
34.7b1x
Compiler

Compiled 10 to 8 computations (20% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01680
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
(-.f64 1 (cbrt.f64 x))
1
0
Outputs
(-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))
(+.f64 (-.f64 (*.f64 1/3 x) (cbrt.f64 x)) 1)
(+.f64 (-.f64 1 (cbrt.f64 x)) (*.f64 1/3 x))
(-.f64 1 (cbrt.f64 x))
1
0
Compiler

Compiled 35 to 28 computations (20% saved)

soundness0.0ms (0%)

end31.0ms (2.3%)

Compiler

Compiled 30 to 20 computations (33.3% saved)

Profiling

Loading profile data...