Details

Time bar (total: 8.2s)

sample21.0ms

Algorithm
intervals
Results
6.0ms56×body1280valid
4.0ms41×body640valid
3.0ms128×body80valid
1.0ms22×body320valid
0.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 30.2b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
11.0ms
(/ (+ x 1.0) (- x 1.0))
8.0ms
(/ x (+ x 1.0))
56.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series205.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25002716

prune218.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0))
7.7b
(- (* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
14.4b
(/ x (- (* x x) (* 1.0 1.0)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
50×add-sqr-sqrt
45×times-frac
33×add-cube-cbrt
18×associate-*l*
13×add-exp-log add-cbrt-cube difference-of-squares
associate-/r*
flip3-- flip--
associate-/l*
pow1 associate-/r/ distribute-lft-out distribute-lft-out-- add-log-exp
sub-neg associate-*r* frac-sub
distribute-rgt-in frac-times distribute-lft-in associate-*r/ associate--l+
cbrt-undiv div-exp div-inv
frac-2neg associate-*l/ prod-exp clear-num cbrt-unprod associate-/l/ unswap-sqr
flip3-+ diff-log pow-prod-down *-commutative flip-+
Counts
4 → 146
Calls
4 calls:
11.0ms
(/ (+ x 1.0) (- x 1.0))
24.0ms
(* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0))
24.0ms
(- (* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
5.0ms
(/ x (- (* x x) (* 1.0 1.0)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (+ x 1.0) (- x 1.0))
61.0ms
(* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0))
170.0ms
(- (* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
69.0ms
(/ x (- (* x x) (* 1.0 1.0)))

simplify94.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06981357
133231273
250011271

prune328.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:

0.0b
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
0.2b
(/ (- 1.0) (pow x 2))
0.3b
(/ 3.0 (pow x 3))
6.0b
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite730.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
85.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
6.0ms
(/ (- 1.0) (pow x 2))
4.0ms
(/ 3.0 (pow x 3))
624.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series171.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
25.0ms
(/ (- 1.0) (pow x 2))
40.0ms
(/ 3.0 (pow x 3))
33.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify95.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07381754
134531596
250011578

prune429.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (- (* (* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3))) (- x 1.0)) (* (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))) (+ x 1.0))) (* (- x 1.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2))))
5.8b
(* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3)))
14.4b
(/ x (- (* x x) (* 1.0 1.0)))
24.9b
(- (* (* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3))) (- x 1.0)) (* (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))) (+ x 1.0)))

rewrite470.0ms

Algorithm
rewrite-expression-head
Rules
398×frac-times
272×frac-sub
207×flip3-+ flip-+
201×flip3-- flip--
200×associate-*r/
199×associate-*l/
138×associate-/l/
53×add-sqr-sqrt
34×*-un-lft-identity
28×times-frac
25×associate-*r*
24×add-cube-cbrt
23×difference-of-squares
18×associate-*l*
16×add-exp-log add-cbrt-cube
12×unpow-prod-down cube-prod associate-/r/
sqr-pow
pow1 associate-/l* add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-/r* distribute-lft-out--
cbrt-undiv div-exp associate--l+
prod-exp cbrt-unprod div-inv
frac-2neg clear-num associate--r+ unswap-sqr
difference-cubes diff-log div-sub pow-prod-down *-commutative
Counts
4 → 422
Calls
4 calls:
251.0ms
(/ (- (* (* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3))) (- x 1.0)) (* (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))) (+ x 1.0))) (* (- x 1.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2))))
72.0ms
(* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3)))
6.0ms
(/ x (- (* x x) (* 1.0 1.0)))
91.0ms
(- (* (* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3))) (- x 1.0)) (* (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))) (+ x 1.0)))

series561.0ms

Counts
4 → 12
Calls
4 calls:
242.0ms
(/ (- (* (* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3))) (- x 1.0)) (* (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))) (+ x 1.0))) (* (- x 1.0) (+ (* 1.0 (+ 1.0 x)) (pow x 2))))
81.0ms
(* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3)))
65.0ms
(/ x (- (* x x) (* 1.0 1.0)))
173.0ms
(- (* (* (/ x (- (* x x) (* 1.0 1.0))) (- (pow x 3) (pow 1.0 3))) (- x 1.0)) (* (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))) (+ x 1.0)))

simplify222.0ms

Algorithm
egg-herbie
Counts
434 → 434
Iterations

Useful iterations: 1 (88.0ms)

IterNodesCost
0419114463
1500114242

prune3.1s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes36.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch327.0ms

Steps
ItersRangePoint
10
488.5072251079851
29561296481055.625
8870.391125684653
10
-146662999352.95746
-3.9934486818618
-9937.586096843137

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05639
15639

end0.0ms

sample561.0ms

Algorithm
intervals
Results
191.0ms1735×body1280valid
115.0ms1251×body640valid
99.0ms4040×body80valid
46.0ms656×body320valid
14.0ms318×body160valid