Details

Time bar (total: 6.3s)

sample21.0ms

Algorithm
intervals
Results
6.0ms53×body1280valid
3.0ms131×body80valid
3.0ms33×body640valid
2.0ms28×body320valid
1.0ms11×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.6b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
4.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
12.0ms
(/ x (+ x 1.0))
23.0ms
(/ (+ x 1.0) (- x 1.0))
114.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series205.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ x (+ x 1.0))
37.0ms
(/ (+ x 1.0) (- x 1.0))
133.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify190.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune747.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
4.0b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
4.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite591.0ms

Algorithm
rewrite-expression-head
Rules
1898×*-un-lft-identity
1428×times-frac
1132×add-sqr-sqrt
936×prod-diff
810×add-cube-cbrt
473×log-prod
470×exp-sum
365×distribute-lft-out
182×associate-/r/
175×distribute-lft-out--
157×difference-of-squares
91×div-inv
55×flip3-+ flip-+
38×flip3-- flip--
18×fma-neg
17×log-pow
16×exp-prod
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg frac-2neg div-exp clear-num associate-/l/
log-div exp-diff diff-log rem-log-exp frac-sub
Counts
4 → 1097
Calls
4 calls:
10.0ms
(/ x (+ x 1.0))
24.0ms
(/ (+ x 1.0) (- x 1.0))
311.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
115.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series347.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ x (+ x 1.0))
38.0ms
(/ (+ x 1.0) (- x 1.0))
135.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
134.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify329.0ms

Algorithm
egg-herbie
Counts
1109 → 1109
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
0183736120
1468926172
2500126146

prune1.4s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
13.6b
(/ x (- (* x x) (* 1.0 1.0)))
30.0b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
23×add-cube-cbrt
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
distribute-lft-out
distribute-lft-out--
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv associate-/l/
flip3-+ flip-+ fma-udef
Counts
3 → 92
Calls
3 calls:
23.0ms
(/ (+ x 1.0) (- x 1.0))
12.0ms
(/ x (- (* x x) (* 1.0 1.0)))
0.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))

series269.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (+ x 1.0) (- x 1.0))
70.0ms
(/ x (- (* x x) (* 1.0 1.0)))
162.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0426756
11608697
25001684

prune239.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

13.6b
(/ x (- (* x x) (* 1.0 1.0)))
30.0b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))
30.0b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))
30.0b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp difference-of-squares
fma-udef associate-/l*
associate-/r/
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
Counts
4 → 65
Calls
4 calls:
12.0ms
(/ x (- (* x x) (* 1.0 1.0)))
0.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))
0.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))
4.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))

series562.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(/ x (- (* x x) (* 1.0 1.0)))
168.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))
160.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))
162.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ (+ x 1.0) (- x 1.0))))

simplify37.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0258770
1979676
25001655

prune273.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes26.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.9b

bsearch86.0ms

Steps
ItersRangePoint
10
26.826342714152005
1.350953981158519e+19
11258.21718550442
8
-5184857.938787598
-4116.604674393256
-14610.347047709978

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03720
13720

end0.0ms

sample588.0ms

Algorithm
intervals
Results
188.0ms1716×body1280valid
121.0ms1241×body640valid
96.0ms4094×body80valid
45.0ms665×body320valid
13.0ms284×body160valid